Skip to content

Commit 41ebac2

Browse files
committed
chore: upgrade @rspack/core to 1.0.6
1 parent 5b1cb28 commit 41ebac2

File tree

3 files changed

+55
-76
lines changed

3 files changed

+55
-76
lines changed

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rspack/dev-server",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"license": "MIT",
55
"description": "Development server for rspack",
66
"main": "./dist/index.js",
@@ -50,7 +50,7 @@
5050
"devDependencies": {
5151
"@biomejs/biome": "^1.8.3",
5252
"@jest/test-sequencer": "^29.7.0",
53-
"@rspack/core": "1.0.5",
53+
"@rspack/core": "1.0.6",
5454
"@rspack/plugin-react-refresh": "1.0.0",
5555
"@types/connect-history-api-fallback": "1.5.4",
5656
"@types/express": "4.17.21",
@@ -100,16 +100,5 @@
100100
},
101101
"peerDependencies": {
102102
"@rspack/core": "*"
103-
},
104-
"pnpm": {
105-
"overrides": {
106-
"@rspack/binding": "npm:@rspack/binding-canary@nightly",
107-
"@rspack/core": "npm:@rspack/core-canary@nightly"
108-
},
109-
"peerDependencyRules": {
110-
"allowAny": [
111-
"@rspack/*"
112-
]
113-
}
114103
}
115104
}

pnpm-lock.yaml

Lines changed: 52 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/helpers/normalize.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ const ROOT = path.resolve(__dirname, "../../");
55

66
const CSS_LOADER = path.dirname(require.resolve("css-loader"));
77
const RELATIVE_CSS_LOADER = path.relative(path.dirname(path.resolve(__dirname, "../fixtures/reload-config/webpack.config")), CSS_LOADER);
8-
9-
let RSPACK = "";
10-
try {
11-
RSPACK = path.dirname(require.resolve("@rspack/core-canary/package.json"));
12-
} catch(e) {
13-
RSPACK = path.dirname(require.resolve("@rspack/core/package.json"));
14-
}
8+
const RSPACK = path.dirname(require.resolve("@rspack/core/package.json"));
159

1610
const normalize = str => {
1711
let normalizedStr = str.replace(/(\\)+/g, "/");

0 commit comments

Comments
 (0)