Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: align frontend toolchain pins (#20067)

p0ny11b26669f760
diff --git a/frontend/package.json b/frontend/package.json
index a1a6dc0a1d..69fc1f31d9 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,6 +1,7 @@
{
"name": "bytebase",
"license": "SEE LICENSE IN LICENSE",
+ "packageManager": "[email protected]",
"scripts": {
"copy:config-files": "sh ./scripts/copy_config_files.sh",
"prepare:artifacts": "pnpm run copy:config-files && pnpm run generate:openapi-index",
@@ -121,7 +122,7 @@
"@types/lodash-es": "4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4",
- "@types/node": "25.3.3",
+ "@types/node": "24.12.2",
"@types/normalize-wheel": "^1.0.4",
"@types/pouchdb": "^6.4.2",
"@types/pouchdb-find": "^7.3.3",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 1a8236c63b..7b65f9b76c 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -179,7 +179,7 @@ importers:
version: 19.2.4
react-arborist:
specifier: ^3.4.3
react-dom:
specifier: ^19.2.4
version: 19.2.4([email protected])
@@ -273,7 +273,7 @@ importers:
version: 0.5.19([email protected])
'@tailwindcss/vite':
specifier: ^4.1.17
'@tsconfig/node24':
specifier: 24.0.4
version: 24.0.4
@@ -305,8 +305,8 @@ importers:
specifier: ^4.0.4
version: 4.0.4
'@types/node':
- specifier: 25.3.3
- version: 25.3.3
+ specifier: 24.12.2
+ version: 24.12.2
'@types/normalize-wheel':
specifier: ^1.0.4
version: 1.0.4
@@ -336,13 +336,13 @@ importers:
version: 5.0.9
'@vitejs/plugin-legacy':
specifier: ~7.2.1
'@vitejs/plugin-vue':
specifier: 6.0.4
'@vitejs/plugin-vue-jsx':
specifier: 5.1.4
'@vue/compiler-sfc':
specifier: 3.5.29
version: 3.5.29
@@ -396,7 +396,7 @@ importers:
version: 4.2.1
ts-node:
specifier: ^10.9.2
- version: 10.9.2(@types/[email protected])([email protected])
+ version: 10.9.2(@types/[email protected])([email protected])
typescript:
specifier: 6.0.2
version: 6.0.2
@@ -414,13 +414,13 @@ importers:
vite:
specifier: 7.3.2
vite-bundle-visualizer:
specifier: ^1.2.1
version: 1.2.1([email protected])
vitest:
specifier: 4.0.18
vscode-oniguruma:
specifier: ^2.0.1
version: 2.0.1
@@ -1016,24 +1016,28 @@ packages:
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@biomejs/[email protected]':
resolution: {integrity: sha512-kMLaI7OF5GN1Q8Doymjro1P8rVEoy7BKQALNz6fiR8IC1WKduoNyteBtJlHT7ASIL0Cx2jR6VUOBIbcB1B8pew==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@biomejs/[email protected]':
resolution: {integrity: sha512-C9s98IPDu7DYarjlZNuzJKTjVHN03RUnmHV5htvqsx6vEUXCDSJ59DNwjKVD5XYoSS4N+BYhq3RTBAL8X6svEg==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@biomejs/[email protected]':
resolution: {integrity: sha512-oHXmUFEoH8Lql1xfc3QkFLiC1hGR7qedv5eKNlC185or+o4/4HiaU7vYODAH3peRCfsuLr1g6v2fK9dFFOYdyw==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@biomejs/[email protected]':
resolution: {integrity: sha512-xzThn87Pf3YrOGTEODFGONmqXpTwUNxovQb72iaUOdcw8sBSY3+3WD8Hm9IhMYLnPi0n32s3L3NWU6+eSjfqFg==}
@@ -1949,66 +1953,79 @@ packages:
resolution: {integrity: sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==}
cpu: [loong64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==}
cpu: [loong64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==}
cpu: [ppc64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@rollup/[email protected]':
resolution: {integrity: sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@rollup/[email protected]':
resolution: {integrity: sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==}
@@ -2086,24 +2103,28 @@ packages:
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-WZA0CHRL/SP1TRbA5mp9htsppSEkWuQ4KsSUumYQnyl8ZdT39ntwqmz4IUHGN6p4XdSlYfJwM4rRzZLShHsGAQ==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-qMFzxI2YlBOLW5PhblzuSWlWfwLHaneBE0xHzLrBgNtqN6mWfs+qYbhryGSXQjFYB1Dzf5w+LN5qbUTPhW7Y5g==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-5r1X2FKnCMUPlXTWRYpHdPYUY6a1Ar/t7P24OuiEdEOmms5lyqjDRvVY1yy9Rmioh+AunQ0rWiOTPE8F9A3v5g==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-MGFB5cVPvshR85MTJkEvqDUnuNoysrsRxd6vnk1Lf2tbiqNlXpHYZqkqOQalydienEWOHHFyyuTSYRsLfxFJ2Q==}
@@ -2230,8 +2251,8 @@ packages:
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-DpzbrH7wIcBaJibpKo9nnSQL0MTRdnWttGyE5haGwK86xgMOkFLp7vEyfQPGLOJh5wNYiJ3V9PmUMDhV9u8kkQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==}
resolution: {integrity: sha512-iclKEmOclXH2LGVkMkdal0+ffJphB3kbazakec96z1hW/CfJYmsZNFYLAmkpzePxKoKewXp2HSlsN6G4SG0b0g==}
@@ -3788,24 +3809,28 @@ packages:
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
+ libc: [glibc]
resolution: {integrity: sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [linux]
+ libc: [musl]
resolution: {integrity: sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==}
@@ -4879,8 +4904,8 @@ packages:
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
- resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==}
+ resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
@@ -7056,12 +7081,12 @@ snapshots:
postcss-selector-parser: 6.0.10
tailwindcss: 4.2.1
dependencies:
'@tailwindcss/node': 4.2.1
'@tailwindcss/oxide': 4.2.1
tailwindcss: 4.2.1
'@tsconfig/[email protected]': {}
@@ -7112,7 +7137,7 @@ snapshots:
dependencies:
- '@types/node': 25.3.3
+ '@types/node': 24.12.2
'@types/tough-cookie': 4.0.5
parse5: 7.3.0
@@ -7148,9 +7173,9 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
- undici-types: 7.18.2
+ undici-types: 7.16.0
'@types/[email protected]': {}
@@ -7371,7 +7396,7 @@ snapshots:
'@ungap/[email protected]': {}
dependencies:
'@babel/core': 7.29.0
'@babel/plugin-transform-dynamic-import': 7.27.1(@babel/[email protected])
@@ -7386,26 +7411,26 @@ snapshots:
regenerator-runtime: 0.14.1
systemjs: 6.15.1
terser: 5.39.0
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.29.0
'@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])
'@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])
'@rolldown/pluginutils': 1.0.0-rc.2
'@vue/babel-plugin-jsx': 2.0.1(@babel/[email protected])
vue: 3.5.29([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
'@rolldown/pluginutils': 1.0.0-rc.2
vue: 3.5.29([email protected])
'@vitest/[email protected]':
@@ -7417,13 +7442,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.0.3
dependencies:
'@vitest/spy': 4.0.18
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -9756,10 +9781,10 @@ snapshots:
discontinuous-range: 1.0.0
ret: 0.1.15
dependencies:
react: 19.2.4
- react-dnd: 14.0.5(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 14.0.5(@types/[email protected])(@types/[email protected])([email protected])
react-dnd-html5-backend: 14.1.0
react-dom: 19.2.4([email protected])
@@ -9774,7 +9799,7 @@ snapshots:
dependencies:
dnd-core: 14.0.1
dependencies:
'@react-dnd/invariant': 2.0.0
'@react-dnd/shallowequal': 2.0.0
@@ -9783,7 +9808,7 @@ snapshots:
hoist-non-react-statics: 3.3.2
react: 19.2.4
optionalDependencies:
- '@types/node': 25.3.3
+ '@types/node': 24.12.2
'@types/react': 19.2.14
@@ -10241,14 +10266,14 @@ snapshots:
dependencies:
typescript: 6.0.2
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 25.3.3
+ '@types/node': 24.12.2
acorn: 8.16.0
acorn-walk: 8.3.4
arg: 4.1.3
@@ -10282,7 +10307,7 @@ snapshots:
@@ -10418,7 +10443,7 @@ snapshots:
- rollup
- supports-color
dependencies:
esbuild: 0.27.2
fdir: 6.5.0([email protected])
@@ -10427,17 +10452,17 @@ snapshots:
rollup: 4.59.0
tinyglobby: 0.2.15
optionalDependencies:
- '@types/node': 25.3.3
+ '@types/node': 24.12.2
fsevents: 2.3.3
jiti: 2.6.1
lightningcss: 1.31.1
terser: 5.39.0
yaml: 2.8.0
dependencies:
'@vitest/expect': 4.0.18
'@vitest/pretty-format': 4.0.18
'@vitest/runner': 4.0.18
'@vitest/snapshot': 4.0.18
@@ -10454,10 +10479,10 @@ snapshots:
tinyexec: 1.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.0.3
why-is-node-running: 2.3.0
optionalDependencies:
- '@types/node': 25.3.3
+ '@types/node': 24.12.2
jsdom: 27.4.0
transitivePeerDependencies:
- jiti
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 1df0b789f0..fad71c754d 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -1,7 +1,7 @@
FROM node:24.14.0-slim AS frontend
ARG GIT_COMMIT
-RUN npm i -g [email protected]
+RUN npm i -g [email protected]
WORKDIR /frontend-build
diff --git a/scripts/build_init.sh b/scripts/build_init.sh
index 6857ca0220..460dd55bd1 100644
--- a/scripts/build_init.sh
+++ b/scripts/build_init.sh
@@ -38,12 +38,13 @@ then
fi
NODE_VERSION=`node -v | { read v; echo ${v#v}; }`
-if [ "$(version ${NODE_VERSION})" -lt "$(version 23.11.0)" ];
+TARGET_NODE_VERSION=24.14.0
+if [ "$(version ${NODE_VERSION})" -lt "$(version $TARGET_NODE_VERSION)" ];
then
- echo "${RED}Precheck failed.${NC} Require node.js version >= 23.11.0. Current version ${NODE_VERSION}."; exit 1;
+ echo "${RED}Precheck failed.${NC} Require node.js version >= $TARGET_NODE_VERSION. Current version ${NODE_VERSION}."; exit 1;
fi
if ! command -v npm > /dev/null
then
echo "${RED}Precheck failed.${NC} npm is not installed."; exit 1;
-fi
\ No newline at end of file
+fi