We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c8d85 commit e408984Copy full SHA for e408984
package.json
@@ -21,13 +21,6 @@
21
"version": "changeset version && pnpm install --lockfile-only",
22
"release": "pnpm copy-readme-to-packages && pnpm build && changeset publish"
23
},
24
- "workspaces": [
25
- "packages/*",
26
- "test-helpers",
27
- "fixtures/*",
28
- "site",
29
- "examples/*"
30
- ],
31
"preconstruct": {
32
"packages": [
33
"packages/*"
pnpm-lock.yaml
site/package.json
@@ -35,6 +35,7 @@
35
"@vanilla-extract/css": "*",
36
"@vanilla-extract/css-utils": "*",
37
"@vanilla-extract/sprinkles": "*",
38
+ "@vanilla-extract/webpack-plugin": "*",
39
"babel-loader": "^8.2.2",
40
"copy-webpack-plugin": "^8.1.0",
41
"css-loader": "^5.2.4",
site/src/themes.css.ts
@@ -81,16 +81,16 @@ const tailwindPalette = {
81
teal800: colors.teal['800'],
82
teal900: colors.teal['900'],
83
84
- blue50: colors.lightBlue['50'],
85
- blue100: colors.lightBlue['100'],
86
- blue200: colors.lightBlue['200'],
87
- blue300: colors.lightBlue['300'],
88
- blue400: colors.lightBlue['400'],
89
- blue500: colors.lightBlue['500'],
90
- blue600: colors.lightBlue['600'],
91
- blue700: colors.lightBlue['700'],
92
- blue800: colors.lightBlue['800'],
93
- blue900: colors.lightBlue['900'],
+ blue50: colors.sky['50'],
+ blue100: colors.sky['100'],
+ blue200: colors.sky['200'],
+ blue300: colors.sky['300'],
+ blue400: colors.sky['400'],
+ blue500: colors.sky['500'],
+ blue600: colors.sky['600'],
+ blue700: colors.sky['700'],
+ blue800: colors.sky['800'],
+ blue900: colors.sky['900'],
94
95
pink50: colors.fuchsia['50'],
96
pink100: colors.fuchsia['100'],
site/webpack.config.js
@@ -92,20 +92,25 @@ module.exports = [
new CopyPlugin({
patterns: [{ from: join(__dirname, 'src/assets') }],
}),
- ...(process.env.CI !== 'true'
+ ...(process.env.CI !== 'true' && isProduction
? [
97
new BundleAnalyzerPlugin({
98
+ analyzerMode: 'static',
99
openAnalyzer: false,
100
101
]
102
: []),
103
],
- stats: 'errors-only',
104
+ stats: 'errors-warnings',
105
106
{
107
name: 'render',
108
target: 'node',
- externals: [nodeExternals()],
109
+ externals: [
110
+ nodeExternals({
111
+ allowlist: [/^react-syntax-highlighter\/dist\/esm/],
112
+ }),
113
+ ],
114
output: {
115
filename: 'render.js',
116
path: targetDirectory,
@@ -162,6 +167,6 @@ module.exports = [
162
167
163
168
htmlRenderPlugin.rendererPlugin,
164
169
165
170
166
171
172
];
test-helpers/package.json
@@ -1,5 +1,5 @@
1
2
- "name": "test-helpers",
+ "name": "@ve-private/test-helpers",
3
"private": true,
4
"version": "0.0.0",
5
"main": "src/index.ts",
tests/package.json
- "name": "tests",
+ "name": "@ve-private/tests",
"author": "SEEK",
@@ -12,6 +12,6 @@
12
"@vanilla-extract/dynamic": "*",
13
"@vanilla-extract/recipes": "*",
14
15
- "test-helpers": "workspace:*"
+ "@ve-private/test-helpers": "*"
16
}
17
tests/screenshots/features.playwright.ts
import { expect } from '@playwright/test';
-import { startFixture, TestServer } from 'test-helpers';
+import { startFixture, TestServer } from '@ve-private/test-helpers';
import test from './fixture';
tests/screenshots/recipes.playwright.ts
tests/screenshots/sprinkles.playwright.ts
0 commit comments