Commit c12e5db4 by Seefs Committed by GitHub

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

parent 0bf42781
......@@ -43,7 +43,7 @@ jobs:
CI: ""
run: |
cd web
bun install --frozen-lockfile
bun install --filter ./classic --frozen-lockfile
cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../..
......@@ -103,7 +103,7 @@ jobs:
CI: ""
run: |
cd web
bun install --frozen-lockfile
bun install --filter ./classic --frozen-lockfile
cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../..
......@@ -160,7 +160,7 @@ jobs:
CI: ""
run: |
cd web
bun install --frozen-lockfile
bun install --filter ./classic --frozen-lockfile
cd classic
VITE_REACT_APP_VERSION=$VERSION bun run build
cd ../..
......
......@@ -18,8 +18,6 @@
"@visactor/vchart-semi-theme": "~1.8.8",
"axios": "catalog:",
"clsx": "catalog:",
"date-fns": "2.30.0",
"date-fns-tz": "1.3.8",
"dayjs": "catalog:",
"highlight.js": "^11.11.1",
"history": "^5.3.0",
......@@ -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/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-browser-languagedetector": ["i18next-browser-languagedetector@7.2.2", "", { "dependencies": { "@babel/runtime": "^7.23.2" } }, "sha512-6b7r75uIJDWCcCflmbof+sJ94k9UQO4X0YR62oUfqGI/GjCLVzlCwu8TFdRZIqVLzWbzNcmkmhfqKEr4TLz4HQ=="],
......
......@@ -13,8 +13,6 @@
"@visactor/vchart-semi-theme": "~1.8.8",
"axios": "catalog:",
"clsx": "catalog:",
"date-fns": "2.30.0",
"date-fns-tz": "1.3.8",
"dayjs": "catalog:",
"history": "^5.3.0",
"highlight.js": "^11.11.1",
......
......@@ -10,8 +10,6 @@ const semiUiDir = path.resolve(
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 }) => {
const env = loadEnv({ mode: envMode, prefixes: ['VITE_'] })
......@@ -49,8 +47,6 @@ export default defineConfig(({ envMode }) => {
semiUiDir,
'dist/css/semi.css',
),
'date-fns': dateFnsDir,
'date-fns-tz': dateFnsTzDir,
},
},
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