refactor: move @jridgewell/remapping to production dep

This commit is contained in:
三咲智子 Kevin Deng 2025-08-14 06:17:28 +08:00
parent 2cfa1b813b
commit cde7857651
No known key found for this signature in database
3 changed files with 8 additions and 8 deletions

View File

@ -43,6 +43,7 @@
"test:build": "jiti scripts/buildFixtures.ts"
},
"dependencies": {
"@jridgewell/remapping": "catalog:prod",
"acorn": "catalog:prod",
"picomatch": "catalog:prod",
"webpack-virtual-modules": "catalog:prod"
@ -52,7 +53,6 @@
"@antfu/ni": "catalog:",
"@farmfe/cli": "catalog:",
"@farmfe/core": "catalog:",
"@jridgewell/remapping": "catalog:",
"@rspack/cli": "catalog:",
"@rspack/core": "catalog:",
"@types/fs-extra": "catalog:",

12
pnpm-lock.yaml generated
View File

@ -18,9 +18,6 @@ catalogs:
'@farmfe/core':
specifier: ^1.7.11
version: 1.7.11
'@jridgewell/remapping':
specifier: ^2.3.5
version: 2.3.5
'@rspack/cli':
specifier: ^1.4.11
version: 1.4.11
@ -149,6 +146,9 @@ catalogs:
specifier: ^3.0.5
version: 3.0.5
prod:
'@jridgewell/remapping':
specifier: ^2.3.5
version: 2.3.5
acorn:
specifier: ^8.15.0
version: 8.15.0
@ -166,6 +166,9 @@ importers:
.:
dependencies:
'@jridgewell/remapping':
specifier: catalog:prod
version: 2.3.5
acorn:
specifier: catalog:prod
version: 8.15.0
@ -188,9 +191,6 @@ importers:
'@farmfe/core':
specifier: 'catalog:'
version: 1.7.11
'@jridgewell/remapping':
specifier: 'catalog:'
version: 2.3.5
'@rspack/cli':
specifier: 'catalog:'
version: 1.4.11(@rspack/core@1.4.11(@swc/helpers@0.5.17))(@types/express@4.17.23)(webpack-cli@6.0.1)(webpack@5.101.1)

View File

@ -6,7 +6,6 @@ catalog:
'@antfu/ni': ^25.0.0
'@farmfe/cli': ^1.0.5
'@farmfe/core': ^1.7.11
'@jridgewell/remapping': ^2.3.5
'@rspack/cli': ^1.4.11
'@rspack/core': ^1.4.11
'@types/fs-extra': ^11.0.4
@ -55,6 +54,7 @@ catalogs:
vue-tsc: ^3.0.5
prod:
'@jridgewell/remapping': ^2.3.5
acorn: ^8.15.0
picomatch: ^4.0.3
webpack-virtual-modules: ^0.6.2