Commit 7b4a13ae by weiyudumei

feat: 修复本地包JSON格式问题

parent 6a2a6ea7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"type": "git", "type": "git",
"url": "https://github.com/web-infra-dev/rsbuild", "url": "https://github.com/web-infra-dev/rsbuild",
"directory": "packages/plugin-less" "directory": "packages/plugin-less"
}, }
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"exports": { "exports": {
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"import": "./dist/index.js", "import": "./dist/index.js",
"require": "./dist/index.cjs" "require": "./dist/index.cjs"
} }
}, }
"main": "./dist/index.cjs", "main": "./dist/index.cjs",
"types": "./dist-types/index.d.ts", "types": "./dist-types/index.d.ts",
"files": [ "files": [
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"dependencies": { "dependencies": {
"deepmerge": "^4.3.1", "deepmerge": "^4.3.1",
"reduce-configs": "^1.0.0" "reduce-configs": "^1.0.0"
}, }
"devDependencies": { "devDependencies": {
"@types/less": "^3.0.6", "@types/less": "^3.0.6",
"less": "^4.2.0", "less": "^4.2.0",
...@@ -35,16 +35,15 @@ ...@@ -35,16 +35,15 @@
"prebundle": "1.2.2", "prebundle": "1.2.2",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"@rsbuild/core": "1.0.1-beta.9", "@rsbuild/core": "1.0.1-beta.9",
"@scripts/test-helper": "1.0.1-beta.9" }
},
"peerDependencies": { "peerDependencies": {
"@rsbuild/core": "^1.0.1-beta.9" "@rsbuild/core": "^1.0.1-beta.9"
}, }
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true, "provenance": true,
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
}, }
"scripts": { "scripts": {
"build": "modern build", "build": "modern build",
"dev": "modern build --watch", "dev": "modern build --watch",
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"type": "git", "type": "git",
"url": "https://github.com/web-infra-dev/rsbuild", "url": "https://github.com/web-infra-dev/rsbuild",
"directory": "packages/plugin-react" "directory": "packages/plugin-react"
}, }
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"exports": { "exports": {
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"import": "./dist/index.js", "import": "./dist/index.js",
"require": "./dist/index.cjs" "require": "./dist/index.cjs"
} }
}, }
"main": "./dist/index.cjs", "main": "./dist/index.cjs",
"types": "./dist-types/index.d.ts", "types": "./dist-types/index.d.ts",
"files": [ "files": [
...@@ -25,21 +25,20 @@ ...@@ -25,21 +25,20 @@
"dependencies": { "dependencies": {
"@rspack/plugin-react-refresh": "1.0.0-beta.1", "@rspack/plugin-react-refresh": "1.0.0-beta.1",
"react-refresh": "^0.14.2" "react-refresh": "^0.14.2"
}, }
"devDependencies": { "devDependencies": {
"@types/node": "18.x", "@types/node": "18.x",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"@rsbuild/core": "1.0.1-beta.9", "@rsbuild/core": "1.0.1-beta.9",
"@scripts/test-helper": "1.0.1-beta.9" }
},
"peerDependencies": { "peerDependencies": {
"@rsbuild/core": "^1.0.1-beta.9" "@rsbuild/core": "^1.0.1-beta.9"
}, }
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true, "provenance": true,
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
}, }
"scripts": { "scripts": {
"build": "modern build", "build": "modern build",
"dev": "modern build --watch" "dev": "modern build --watch"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"type": "git", "type": "git",
"url": "https://github.com/web-infra-dev/rsbuild", "url": "https://github.com/web-infra-dev/rsbuild",
"directory": "packages/plugin-svgr" "directory": "packages/plugin-svgr"
}, }
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"exports": { "exports": {
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"import": "./dist/index.js", "import": "./dist/index.js",
"require": "./dist/index.cjs" "require": "./dist/index.cjs"
} }
}, }
"main": "./dist/index.cjs", "main": "./dist/index.cjs",
"types": "./dist-types/index.d.ts", "types": "./dist-types/index.d.ts",
"files": [ "files": [
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
"deepmerge": "^4.3.1", "deepmerge": "^4.3.1",
"loader-utils": "^2.0.4", "loader-utils": "^2.0.4",
"@rsbuild/plugin-react": "1.0.1-beta.9" "@rsbuild/plugin-react": "1.0.1-beta.9"
}, }
"devDependencies": { "devDependencies": {
"@types/node": "18.x", "@types/node": "18.x",
"file-loader": "6.2.0", "file-loader": "6.2.0",
...@@ -39,16 +39,15 @@ ...@@ -39,16 +39,15 @@
"typescript": "^5.5.2", "typescript": "^5.5.2",
"url-loader": "4.1.1", "url-loader": "4.1.1",
"@rsbuild/core": "1.0.1-beta.9", "@rsbuild/core": "1.0.1-beta.9",
"@scripts/test-helper": "1.0.1-beta.9" }
},
"peerDependencies": { "peerDependencies": {
"@rsbuild/core": "^1.0.1-beta.9" "@rsbuild/core": "^1.0.1-beta.9"
}, }
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"provenance": true, "provenance": true,
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
}, }
"scripts": { "scripts": {
"build": "modern build", "build": "modern build",
"dev": "modern build --watch", "dev": "modern build --watch",
......
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 to comment