Commit c12e5db4 by Seefs Committed by GitHub

fix(ci): install classic workspace dependencies for releases (#5719)

parent 0bf42781
...@@ -43,7 +43,7 @@ jobs: ...@@ -43,7 +43,7 @@ jobs:
CI: "" CI: ""
run: | run: |
cd web cd web
bun install --frozen-lockfile bun install --filter ./classic --frozen-lockfile
cd classic cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../.. cd ../..
...@@ -103,7 +103,7 @@ jobs: ...@@ -103,7 +103,7 @@ jobs:
CI: "" CI: ""
run: | run: |
cd web cd web
bun install --frozen-lockfile bun install --filter ./classic --frozen-lockfile
cd classic cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../.. cd ../..
...@@ -160,7 +160,7 @@ jobs: ...@@ -160,7 +160,7 @@ jobs:
CI: "" CI: ""
run: | run: |
cd web cd web
bun install --frozen-lockfile bun install --filter ./classic --frozen-lockfile
cd classic cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../.. cd ../..
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
"@visactor/vchart-semi-theme": "~1.8.8", "@visactor/vchart-semi-theme": "~1.8.8",
"axios": "catalog:", "axios": "catalog:",
"clsx": "catalog:", "clsx": "catalog:",
"date-fns": "2.30.0",
"date-fns-tz": "1.3.8",
"dayjs": "catalog:", "dayjs": "catalog:",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
"history": "^5.3.0", "history": "^5.3.0",
...@@ -3307,8 +3305,6 @@ ...@@ -3307,8 +3305,6 @@
"react-template/@visactor/vchart": ["@visactor/vchart@1.8.11", "", { "dependencies": { "@visactor/vdataset": "~0.17.3", "@visactor/vgrammar-core": "0.10.11", "@visactor/vgrammar-hierarchy": "0.10.11", "@visactor/vgrammar-projection": "0.10.11", "@visactor/vgrammar-sankey": "0.10.11", "@visactor/vgrammar-util": "0.10.11", "@visactor/vgrammar-wordcloud": "0.10.11", "@visactor/vgrammar-wordcloud-shape": "0.10.11", "@visactor/vrender-components": "0.17.17", "@visactor/vrender-core": "0.17.17", "@visactor/vrender-kits": "0.17.17", "@visactor/vscale": "~0.17.3", "@visactor/vutils": "~0.17.3", "@visactor/vutils-extension": "1.8.11" } }, "sha512-RdQ822J02GgAQNXvO1LiT0T3O6FjdgPdcm9hVBFyrpBBmuI8MH02IE7Y1kGe9NiFTH4tDwP0ixRgBmqNSGSLZQ=="], "react-template/@visactor/vchart": ["@visactor/vchart@1.8.11", "", { "dependencies": { "@visactor/vdataset": "~0.17.3", "@visactor/vgrammar-core": "0.10.11", "@visactor/vgrammar-hierarchy": "0.10.11", "@visactor/vgrammar-projection": "0.10.11", "@visactor/vgrammar-sankey": "0.10.11", "@visactor/vgrammar-util": "0.10.11", "@visactor/vgrammar-wordcloud": "0.10.11", "@visactor/vgrammar-wordcloud-shape": "0.10.11", "@visactor/vrender-components": "0.17.17", "@visactor/vrender-core": "0.17.17", "@visactor/vrender-kits": "0.17.17", "@visactor/vscale": "~0.17.3", "@visactor/vutils": "~0.17.3", "@visactor/vutils-extension": "1.8.11" } }, "sha512-RdQ822J02GgAQNXvO1LiT0T3O6FjdgPdcm9hVBFyrpBBmuI8MH02IE7Y1kGe9NiFTH4tDwP0ixRgBmqNSGSLZQ=="],
"react-template/date-fns": ["date-fns@2.30.0", "", { "dependencies": { "@babel/runtime": "^7.21.0" } }, "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw=="],
"react-template/i18next": ["i18next@23.16.8", "", { "dependencies": { "@babel/runtime": "^7.23.2" } }, "sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg=="], "react-template/i18next": ["i18next@23.16.8", "", { "dependencies": { "@babel/runtime": "^7.23.2" } }, "sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg=="],
"react-template/i18next-browser-languagedetector": ["i18next-browser-languagedetector@7.2.2", "", { "dependencies": { "@babel/runtime": "^7.23.2" } }, "sha512-6b7r75uIJDWCcCflmbof+sJ94k9UQO4X0YR62oUfqGI/GjCLVzlCwu8TFdRZIqVLzWbzNcmkmhfqKEr4TLz4HQ=="], "react-template/i18next-browser-languagedetector": ["i18next-browser-languagedetector@7.2.2", "", { "dependencies": { "@babel/runtime": "^7.23.2" } }, "sha512-6b7r75uIJDWCcCflmbof+sJ94k9UQO4X0YR62oUfqGI/GjCLVzlCwu8TFdRZIqVLzWbzNcmkmhfqKEr4TLz4HQ=="],
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
"@visactor/vchart-semi-theme": "~1.8.8", "@visactor/vchart-semi-theme": "~1.8.8",
"axios": "catalog:", "axios": "catalog:",
"clsx": "catalog:", "clsx": "catalog:",
"date-fns": "2.30.0",
"date-fns-tz": "1.3.8",
"dayjs": "catalog:", "dayjs": "catalog:",
"history": "^5.3.0", "history": "^5.3.0",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
......
...@@ -10,8 +10,6 @@ const semiUiDir = path.resolve( ...@@ -10,8 +10,6 @@ const semiUiDir = path.resolve(
path.dirname(require.resolve('@douyinfe/semi-ui')), path.dirname(require.resolve('@douyinfe/semi-ui')),
'../..', '../..',
) )
const dateFnsDir = path.dirname(require.resolve('date-fns/package.json'))
const dateFnsTzDir = path.dirname(require.resolve('date-fns-tz/package.json'))
export default defineConfig(({ envMode }) => { export default defineConfig(({ envMode }) => {
const env = loadEnv({ mode: envMode, prefixes: ['VITE_'] }) const env = loadEnv({ mode: envMode, prefixes: ['VITE_'] })
...@@ -49,8 +47,6 @@ export default defineConfig(({ envMode }) => { ...@@ -49,8 +47,6 @@ export default defineConfig(({ envMode }) => {
semiUiDir, semiUiDir,
'dist/css/semi.css', 'dist/css/semi.css',
), ),
'date-fns': dateFnsDir,
'date-fns-tz': dateFnsTzDir,
}, },
}, },
html: { html: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment