@rspack/dev-server 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/clients/WebSocketClient.d.ts +17 -0
- package/client/clients/WebSocketClient.js +32 -0
- package/client/index.d.ts +17 -0
- package/client/index.js +356 -0
- package/client/modules/logger/Logger.d.ts +39 -0
- package/client/modules/logger/Logger.js +121 -0
- package/client/modules/logger/createConsoleLogger.d.ts +12 -0
- package/client/modules/logger/createConsoleLogger.js +119 -0
- package/client/modules/logger/index.d.ts +26 -0
- package/client/modules/logger/index.js +32 -0
- package/client/modules/types.d.ts +45 -0
- package/client/modules/types.js +17 -0
- package/client/overlay.d.ts +47 -0
- package/client/overlay.js +455 -0
- package/client/progress.d.ts +11 -0
- package/client/progress.js +197 -0
- package/client/socket.d.ts +15 -0
- package/client/socket.js +34 -0
- package/client/type.d.ts +15 -0
- package/client/type.js +1 -0
- package/client/utils/ansiHTML.d.ts +30 -0
- package/client/utils/ansiHTML.js +195 -0
- package/client/utils/log.d.ts +13 -0
- package/client/utils/log.js +11 -0
- package/client/utils/sendMessage.d.ts +11 -0
- package/client/utils/sendMessage.js +8 -0
- package/dist/0~chokidar.js +1476 -0
- package/dist/0~chokidar.js.LICENSE.txt +1 -0
- package/dist/0~connect-history-api-fallback.js +76 -0
- package/dist/0~connect-next.js +1249 -0
- package/dist/0~connect-next.js.LICENSE.txt +57 -0
- package/dist/0~debug.js +621 -0
- package/dist/0~http-proxy-middleware.js +3862 -0
- package/dist/0~http-proxy-middleware.js.LICENSE.txt +34 -0
- package/dist/0~launch-editor.js +649 -0
- package/dist/0~open.js +555 -0
- package/dist/0~p-retry.js +161 -0
- package/dist/0~serve-static.js +1595 -0
- package/dist/0~serve-static.js.LICENSE.txt +108 -0
- package/dist/944.js +5183 -0
- package/dist/index.d.ts +1008 -0
- package/dist/index.js +1 -0
- package/package.json +16 -17
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RspackDevServer } from "./944.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/dev-server",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Development server for Rspack",
|
|
5
5
|
"homepage": "https://github.com/rstackjs/rspack-dev-server",
|
|
6
6
|
"bugs": "https://github.com/rstackjs/rspack-dev-server/issues",
|
|
@@ -34,37 +34,37 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@rspack/dev-middleware": "^2.0.
|
|
37
|
+
"@rspack/dev-middleware": "^2.0.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@hono/node-server": "^2.0.
|
|
41
|
-
"@microsoft/api-extractor": "^7.58.
|
|
42
|
-
"@rslib/core": "^0.
|
|
43
|
-
"@rslint/core": "^0.
|
|
40
|
+
"@hono/node-server": "^2.0.4",
|
|
41
|
+
"@microsoft/api-extractor": "^7.58.9",
|
|
42
|
+
"@rslib/core": "^0.22.1",
|
|
43
|
+
"@rslint/core": "^0.6.1",
|
|
44
44
|
"@rspack/core": "2.0.0-rc.0",
|
|
45
|
-
"@rspack/plugin-react-refresh": "2.0.
|
|
46
|
-
"@rstest/core": "^0.10.
|
|
45
|
+
"@rspack/plugin-react-refresh": "2.0.2",
|
|
46
|
+
"@rstest/core": "^0.10.4",
|
|
47
47
|
"@types/connect-history-api-fallback": "^1.5.4",
|
|
48
48
|
"@types/mime-types": "3.0.1",
|
|
49
|
-
"@types/node": "^24.
|
|
49
|
+
"@types/node": "^24.13.2",
|
|
50
50
|
"@types/serve-static": "^2.2.0",
|
|
51
51
|
"@types/trusted-types": "^2.0.7",
|
|
52
52
|
"@types/ws": "8.18.1",
|
|
53
53
|
"chokidar": "^5.0.0",
|
|
54
54
|
"connect-history-api-fallback": "^2.0.0",
|
|
55
|
-
"connect-next": "^4.0.
|
|
55
|
+
"connect-next": "^4.0.3",
|
|
56
56
|
"cross-env": "^10.1.0",
|
|
57
57
|
"express": "^5.2.1",
|
|
58
|
-
"hono": "^4.12.
|
|
58
|
+
"hono": "^4.12.25",
|
|
59
59
|
"http-compression": "^1.1.3",
|
|
60
60
|
"http-proxy": "^1.18.1",
|
|
61
|
-
"http-proxy-middleware": "4.
|
|
61
|
+
"http-proxy-middleware": "4.1.1",
|
|
62
62
|
"ipaddr.js": "^2.4.0",
|
|
63
|
-
"launch-editor": "^2.
|
|
63
|
+
"launch-editor": "^2.14.1",
|
|
64
64
|
"nano-staged": "^1.0.2",
|
|
65
65
|
"open": "^11.0.0",
|
|
66
66
|
"p-retry": "^7.1.1",
|
|
67
|
-
"prettier": "3.8.
|
|
67
|
+
"prettier": "3.8.4",
|
|
68
68
|
"puppeteer": "^24.43.1",
|
|
69
69
|
"react-refresh": "0.18.0",
|
|
70
70
|
"require-from-string": "^2.0.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"ws": "^8.21.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@rspack/core": "^2.0.0
|
|
78
|
+
"@rspack/core": "^2.0.0",
|
|
79
79
|
"selfsigned": "^5.0.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependenciesMeta": {
|
|
@@ -98,8 +98,7 @@
|
|
|
98
98
|
"lint": "rslint",
|
|
99
99
|
"lint:write": "rslint --fix",
|
|
100
100
|
"prettier:ci": "prettier --check .",
|
|
101
|
-
"test": "pnpm run test:
|
|
102
|
-
"test:install": "cross-env ./node_modules/.bin/puppeteer browsers install chrome",
|
|
101
|
+
"test": "pnpm run test:type && rstest",
|
|
103
102
|
"test:type": "pnpm run build && pnpm --dir tests run type-check"
|
|
104
103
|
}
|
|
105
104
|
}
|