@rsbuild/core 2.0.0-beta.1 → 2.0.0-beta.11
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/compiled/chokidar/index.d.ts +197 -29
- package/compiled/chokidar/package.json +1 -1
- package/compiled/connect-next/index.d.ts +56 -0
- package/compiled/connect-next/license +26 -0
- package/compiled/connect-next/package.json +1 -0
- package/compiled/cors/index.d.ts +56 -0
- package/compiled/cors/license +22 -0
- package/compiled/cors/package.json +1 -0
- package/compiled/css-loader/index.js +2 -2
- package/compiled/css-loader/package.json +1 -1
- package/compiled/html-rspack-plugin/index.js +29 -74
- package/compiled/html-rspack-plugin/package.json +1 -1
- package/compiled/jiti/LICENSE +21 -0
- package/compiled/jiti/README.md +243 -0
- package/compiled/jiti/dist/babel.cjs +46699 -0
- package/compiled/jiti/dist/jiti.cjs +4842 -0
- package/compiled/jiti/lib/jiti-cli.mjs +19 -0
- package/compiled/jiti/lib/jiti-hooks.mjs +89 -0
- package/compiled/jiti/lib/jiti-native.mjs +76 -0
- package/compiled/jiti/lib/jiti-register.d.mts +1 -0
- package/compiled/jiti/lib/jiti-register.mjs +2 -0
- package/compiled/jiti/lib/jiti.cjs +24 -0
- package/compiled/jiti/lib/jiti.d.cts +8 -0
- package/compiled/jiti/lib/jiti.d.mts +8 -0
- package/compiled/jiti/lib/jiti.mjs +23 -0
- package/compiled/jiti/lib/types.d.ts +363 -0
- package/compiled/jiti/package.json +133 -0
- package/compiled/postcss/index.js +1 -1
- package/compiled/postcss/lib/at-rule.d.ts +1 -1
- package/compiled/postcss/lib/comment.d.ts +1 -1
- package/compiled/postcss/lib/container.d.ts +1 -1
- package/compiled/postcss/lib/css-syntax-error.d.ts +1 -1
- package/compiled/postcss/lib/declaration.d.ts +1 -1
- package/compiled/postcss/lib/document.d.ts +1 -1
- package/compiled/postcss/lib/input.d.ts +1 -1
- package/compiled/postcss/lib/lazy-result.d.ts +1 -1
- package/compiled/postcss/lib/no-work-result.d.ts +1 -1
- package/compiled/postcss/lib/node.d.ts +1 -1
- package/compiled/postcss/lib/previous-map.d.ts +1 -1
- package/compiled/postcss/lib/processor.d.ts +1 -1
- package/compiled/postcss/lib/result.d.ts +1 -1
- package/compiled/postcss/lib/root.d.ts +1 -1
- package/compiled/postcss/lib/rule.d.ts +1 -1
- package/compiled/postcss/lib/stringifier.d.ts +1 -1
- package/compiled/postcss/lib/warning.d.ts +1 -1
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-loader/index.js +10 -9
- package/compiled/postcss-loader/package.json +1 -1
- package/compiled/rslog/index.d.ts +34 -3
- package/compiled/rslog/package.json +1 -1
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-chain/types/index.d.ts +0 -5
- package/compiled/rspack-manifest-plugin/index.d.ts +48 -0
- package/compiled/rspack-manifest-plugin/license +21 -0
- package/compiled/rspack-manifest-plugin/package.json +1 -0
- package/compiled/style-loader/index.js +37 -94
- package/compiled/style-loader/package.json +1 -1
- package/dist/{rslib-runtime.js → 1~rslib-runtime.js} +4 -4
- package/dist/{131.js → 552.js} +1753 -1573
- package/dist/chokidar.js +60 -57
- package/dist/client/hmr.js +3 -3
- package/dist/client/overlay.js +2 -2
- package/dist/connect-next.js +264 -0
- package/dist/{connect.js.LICENSE.txt → connect-next.js.LICENSE.txt} +3 -13
- package/dist/cors.js +3 -3
- package/dist/debug.js +503 -0
- package/dist/http-proxy-middleware.js +2947 -0
- package/dist/http-proxy-middleware.js.LICENSE.txt +69 -0
- package/dist/index.js +1 -1
- package/dist/launch-editor-middleware.js +81 -20
- package/dist/manifest-plugin.js +12 -19
- package/dist/memfs.js +223 -781
- package/dist/open.js +32 -28
- package/dist/range-parser.js +3 -3
- package/dist/remapping.js +2 -2
- package/dist/sirv.js +18 -18
- package/dist/tinyglobby.js +115 -70
- package/dist/transformLoader.mjs +38 -1
- package/dist/transformRawLoader.mjs +1 -1
- package/dist/ws.js +1513 -0
- package/dist-types/createContext.d.ts +3 -2
- package/dist-types/helpers/format.d.ts +2 -1
- package/dist-types/helpers/fs.d.ts +2 -1
- package/dist-types/helpers/index.d.ts +1 -1
- package/dist-types/helpers/stats.d.ts +4 -3
- package/dist-types/helpers/vendors.d.ts +0 -2
- package/dist-types/hooks.d.ts +3 -3
- package/dist-types/index.d.ts +4 -3
- package/dist-types/initPlugins.d.ts +2 -1
- package/dist-types/logger.d.ts +9 -3
- package/dist-types/pluginManager.d.ts +2 -1
- package/dist-types/restart.d.ts +4 -2
- package/dist-types/server/assets-middleware/index.d.ts +3 -2
- package/dist-types/server/assets-middleware/setupWriteToDisk.d.ts +2 -1
- package/dist-types/server/cliShortcuts.d.ts +4 -1
- package/dist-types/server/devMiddlewares.d.ts +4 -6
- package/dist-types/server/devServer.d.ts +8 -42
- package/dist-types/server/helper.d.ts +50 -16
- package/dist-types/server/historyApiFallback.d.ts +2 -1
- package/dist-types/server/middlewares.d.ts +5 -3
- package/dist-types/server/open.d.ts +4 -2
- package/dist-types/server/previewServer.d.ts +4 -0
- package/dist-types/server/proxy.d.ts +3 -2
- package/dist-types/server/runner/asModule.d.ts +1 -1
- package/dist-types/server/serverSetup.d.ts +2 -0
- package/dist-types/server/socketServer.d.ts +4 -1
- package/dist-types/server/watchFiles.d.ts +1 -1
- package/dist-types/types/config.d.ts +110 -17
- package/dist-types/types/context.d.ts +3 -0
- package/dist-types/types/hooks.d.ts +17 -15
- package/dist-types/types/plugin.d.ts +14 -11
- package/dist-types/types/rsbuild.d.ts +11 -4
- package/dist-types/types/thirdParty.d.ts +15 -6
- package/package.json +25 -28
- package/types.d.ts +1 -1
- package/compiled/chokidar/handler.d.ts +0 -90
- package/compiled/http-proxy-middleware/index.js +0 -6132
- package/compiled/ws/index.d.ts +0 -437
- package/compiled/ws/index.js +0 -3166
- package/compiled/ws/license +0 -20
- package/compiled/ws/package.json +0 -1
- package/dist/397.js +0 -11
- package/dist/7.js +0 -1
- package/dist/743.js +0 -7
- package/dist/88.js +0 -40
- package/dist/connect.js +0 -581
- package/dist-types/server/prodServer.d.ts +0 -24
- /package/compiled/html-rspack-plugin/{loader.js → htmlLoader.js} +0 -0
- /package/dist/{131.js.LICENSE.txt → 552.js.LICENSE.txt} +0 -0
- /package/dist/client/{59.js → 797.js} +0 -0
- /package/dist/{710.js → mrmime.js} +0 -0
- /package/dist/{31.js → trace-mapping.js} +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jiti",
|
|
3
|
+
"version": "2.6.1",
|
|
4
|
+
"description": "Runtime typescript and ESM support for Node.js",
|
|
5
|
+
"repository": "unjs/jiti",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./lib/jiti.d.mts",
|
|
12
|
+
"default": "./lib/jiti.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./lib/jiti.d.cts",
|
|
16
|
+
"default": "./lib/jiti.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./register": {
|
|
20
|
+
"types": "./lib/jiti-register.d.mts",
|
|
21
|
+
"import": "./lib/jiti-register.mjs"
|
|
22
|
+
},
|
|
23
|
+
"./native": {
|
|
24
|
+
"types": "./lib/jiti.d.mts",
|
|
25
|
+
"import": "./lib/jiti-native.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"main": "./lib/jiti.cjs",
|
|
30
|
+
"module": "./lib/jiti.mjs",
|
|
31
|
+
"types": "./lib/jiti.d.cts",
|
|
32
|
+
"typesVersions": {
|
|
33
|
+
"*": {
|
|
34
|
+
"register": [
|
|
35
|
+
"./lib/jiti-register.d.mts"
|
|
36
|
+
],
|
|
37
|
+
"native": [
|
|
38
|
+
"./lib/jiti.d.mts"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"bin": {
|
|
43
|
+
"jiti": "./lib/jiti-cli.mjs"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"lib",
|
|
47
|
+
"dist",
|
|
48
|
+
"register.cjs"
|
|
49
|
+
],
|
|
50
|
+
"scripts": {
|
|
51
|
+
"bench": "node test/bench.mjs && deno -A test/bench.mjs && bun --bun test/bench.mjs",
|
|
52
|
+
"build": "pnpm clean && pnpm rspack",
|
|
53
|
+
"clean": "rm -rf dist",
|
|
54
|
+
"dev": "pnpm clean && pnpm rspack --watch",
|
|
55
|
+
"jiti": "JITI_DEBUG=1 JITI_JSX=1 lib/jiti-cli.mjs",
|
|
56
|
+
"lint": "eslint . && prettier -c src lib test stubs",
|
|
57
|
+
"lint:fix": "eslint --fix . && prettier -w src lib test stubs",
|
|
58
|
+
"prepack": "pnpm build",
|
|
59
|
+
"release": "pnpm build && pnpm test && changelogen --release --push --publish",
|
|
60
|
+
"test": "pnpm lint && pnpm test:types && vitest run --coverage && pnpm test:node-register && pnpm test:bun && pnpm test:native",
|
|
61
|
+
"test:bun": "bun --bun test test/bun",
|
|
62
|
+
"test:native": "pnpm test:native:bun && pnpm test:native:node && pnpm test:native:deno",
|
|
63
|
+
"test:native:bun": "bun --bun test test/native/bun.test.ts",
|
|
64
|
+
"test:native:deno": "deno test -A --no-check test/native/deno.test.ts",
|
|
65
|
+
"test:native:node": "node --test --experimental-strip-types test/native/node.test.ts",
|
|
66
|
+
"test:node-register": "JITI_JSX=1 node --test test/node-register.test.mjs",
|
|
67
|
+
"test:types": "tsc --noEmit"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@babel/core": "^7.28.4",
|
|
71
|
+
"@babel/helper-module-imports": "^7.27.1",
|
|
72
|
+
"@babel/helper-module-transforms": "^7.28.3",
|
|
73
|
+
"@babel/helper-plugin-utils": "^7.27.1",
|
|
74
|
+
"@babel/helper-simple-access": "^7.27.1",
|
|
75
|
+
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
76
|
+
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
|
77
|
+
"@babel/plugin-syntax-import-assertions": "^7.27.1",
|
|
78
|
+
"@babel/plugin-syntax-jsx": "^7.27.1",
|
|
79
|
+
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
|
|
80
|
+
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
|
81
|
+
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
82
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
83
|
+
"@babel/template": "^7.27.2",
|
|
84
|
+
"@babel/traverse": "^7.28.4",
|
|
85
|
+
"@babel/types": "^7.28.4",
|
|
86
|
+
"@rspack/cli": "^1.5.8",
|
|
87
|
+
"@rspack/core": "^1.5.8",
|
|
88
|
+
"@types/babel__core": "^7.20.5",
|
|
89
|
+
"@types/babel__helper-module-imports": "^7.18.3",
|
|
90
|
+
"@types/babel__helper-plugin-utils": "^7.10.3",
|
|
91
|
+
"@types/babel__template": "^7.4.4",
|
|
92
|
+
"@types/babel__traverse": "^7.28.0",
|
|
93
|
+
"@types/node": "^24.6.1",
|
|
94
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
95
|
+
"acorn": "^8.15.0",
|
|
96
|
+
"babel-plugin-parameter-decorator": "^1.0.16",
|
|
97
|
+
"changelogen": "^0.6.2",
|
|
98
|
+
"config": "^4.1.1",
|
|
99
|
+
"consola": "^3.4.2",
|
|
100
|
+
"defu": "^6.1.4",
|
|
101
|
+
"destr": "^2.0.5",
|
|
102
|
+
"escape-string-regexp": "^5.0.0",
|
|
103
|
+
"eslint": "^9.36.0",
|
|
104
|
+
"eslint-config-unjs": "^0.5.0",
|
|
105
|
+
"estree-walker": "^3.0.3",
|
|
106
|
+
"etag": "^1.8.1",
|
|
107
|
+
"fast-glob": "^3.3.3",
|
|
108
|
+
"is-installed-globally": "^1.0.0",
|
|
109
|
+
"mime": "^4.1.0",
|
|
110
|
+
"mlly": "^1.8.0",
|
|
111
|
+
"moment-timezone": "^0.6.0",
|
|
112
|
+
"nano-jsx": "^0.2.0",
|
|
113
|
+
"pathe": "^2.0.3",
|
|
114
|
+
"pkg-types": "^2.3.0",
|
|
115
|
+
"preact": "^10.27.2",
|
|
116
|
+
"preact-render-to-string": "^6.6.2",
|
|
117
|
+
"prettier": "^3.6.2",
|
|
118
|
+
"react": "^19.1.1",
|
|
119
|
+
"react-dom": "^19.1.1",
|
|
120
|
+
"reflect-metadata": "^0.2.2",
|
|
121
|
+
"solid-js": "^1.9.9",
|
|
122
|
+
"std-env": "^3.9.0",
|
|
123
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
124
|
+
"tinyexec": "^1.0.1",
|
|
125
|
+
"ts-loader": "^9.5.4",
|
|
126
|
+
"typescript": "^5.9.3",
|
|
127
|
+
"vitest": "^3.2.4",
|
|
128
|
+
"vue": "^3.5.22",
|
|
129
|
+
"yoctocolors": "^2.1.2",
|
|
130
|
+
"zod": "^4.1.11"
|
|
131
|
+
},
|
|
132
|
+
"packageManager": "pnpm@10.17.1"
|
|
133
|
+
}
|