@rsbuild/core 2.0.0-alpha.1 → 2.0.0-alpha.2
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/handler.d.ts +90 -0
- package/compiled/chokidar/index.d.ts +34 -201
- package/compiled/chokidar/package.json +1 -1
- package/compiled/css-loader/index.js +2 -2
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rslog/package.json +1 -1
- package/compiled/rspack-chain/package.json +1 -1
- package/dist/131.js +11 -9
- package/dist/397.js +11 -0
- package/dist/7.js +1 -0
- package/dist/chokidar.js +1044 -0
- package/dist/chokidar.js.LICENSE.txt +1 -0
- package/dist/manifest-plugin.js +5 -5
- package/dist/memfs.js +1 -8
- package/dist/open.js +1 -1
- package/dist-types/helpers/vendors.d.ts +0 -1
- package/package.json +4 -4
- package/compiled/chokidar/index.js +0 -1793
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
|
package/dist/manifest-plugin.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as __rspack_external__rspack_lite_tapable_c6bdf810 from "@rspack/lite-t
|
|
|
2
2
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
3
3
|
import "./131.js";
|
|
4
4
|
__webpack_require__.add({
|
|
5
|
-
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-
|
|
5
|
+
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-alpha.0_@module-federation+runtime-tools@0.22.1_@swc+helpers@0.5.18_/node_modules/rspack-manifest-plugin/dist/helpers.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
6
6
|
Object.defineProperty(exports, "__esModule", {
|
|
7
7
|
value: !0
|
|
8
8
|
}), exports.transformFiles = exports.reduceChunk = exports.reduceAssets = exports.generateManifest = void 0;
|
|
@@ -64,11 +64,11 @@ __webpack_require__.add({
|
|
|
64
64
|
'sort'
|
|
65
65
|
].filter((fname)=>!!options[fname]).reduce((prev, fname)=>prev[fname](options[fname]), files).map(standardizeFilePaths);
|
|
66
66
|
},
|
|
67
|
-
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-
|
|
67
|
+
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-alpha.0_@module-federation+runtime-tools@0.22.1_@swc+helpers@0.5.18_/node_modules/rspack-manifest-plugin/dist/hooks.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
68
68
|
Object.defineProperty(exports, "__esModule", {
|
|
69
69
|
value: !0
|
|
70
70
|
}), exports.normalModuleLoaderHook = exports.getCompilerHooks = exports.emitHook = exports.beforeRunHook = void 0;
|
|
71
|
-
let node_fs_1 = __webpack_require__("node:fs"), node_path_1 = __webpack_require__("node:path"), lite_tapable_1 = __webpack_require__("@rspack/lite-tapable"), helpers_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-
|
|
71
|
+
let node_fs_1 = __webpack_require__("node:fs"), node_path_1 = __webpack_require__("node:path"), lite_tapable_1 = __webpack_require__("@rspack/lite-tapable"), helpers_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-alpha.0_@module-federation+runtime-tools@0.22.1_@swc+helpers@0.5.18_/node_modules/rspack-manifest-plugin/dist/helpers.js"), compilerHookMap = new WeakMap(), getCompilerHooks = (compiler)=>{
|
|
72
72
|
let hooks = compilerHookMap.get(compiler);
|
|
73
73
|
return void 0 === hooks && (hooks = {
|
|
74
74
|
afterEmit: new lite_tapable_1.SyncWaterfallHook([
|
|
@@ -122,9 +122,9 @@ __webpack_require__.add({
|
|
|
122
122
|
}), emitFile.call(module, file, content, sourceMap));
|
|
123
123
|
};
|
|
124
124
|
},
|
|
125
|
-
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-
|
|
125
|
+
"../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-alpha.0_@module-federation+runtime-tools@0.22.1_@swc+helpers@0.5.18_/node_modules/rspack-manifest-plugin/dist/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
126
126
|
exports.RspackManifestPlugin = void 0;
|
|
127
|
-
let node_path_1 = __webpack_require__("node:path"), hooks_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-
|
|
127
|
+
let node_path_1 = __webpack_require__("node:path"), hooks_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-alpha.0_@module-federation+runtime-tools@0.22.1_@swc+helpers@0.5.18_/node_modules/rspack-manifest-plugin/dist/hooks.js"), emitCountMap = new Map(), defaults = {
|
|
128
128
|
assetHookStage: 1 / 0,
|
|
129
129
|
basePath: '',
|
|
130
130
|
fileName: 'manifest.json',
|
package/dist/memfs.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as __rspack_external_node_events_0a6aefe7 from "node:events";
|
|
2
|
-
import * as __rspack_external_node_stream_444d1c2b from "node:stream";
|
|
3
1
|
import * as __rspack_external_process from "process";
|
|
4
2
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
5
3
|
import "./131.js";
|
|
6
4
|
import "./743.js";
|
|
5
|
+
import "./397.js";
|
|
7
6
|
__webpack_require__.add({
|
|
8
7
|
"../../node_modules/.pnpm/glob-to-regex.js@1.2.0_tslib@2.8.1/node_modules/glob-to-regex.js/lib/index.js" (__unused_rspack_module, exports) {
|
|
9
8
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3123,12 +3122,6 @@ __webpack_require__.add({
|
|
|
3123
3122
|
return str;
|
|
3124
3123
|
};
|
|
3125
3124
|
},
|
|
3126
|
-
"node:events" (module) {
|
|
3127
|
-
module.exports = __rspack_external_node_events_0a6aefe7;
|
|
3128
|
-
},
|
|
3129
|
-
"node:stream" (module) {
|
|
3130
|
-
module.exports = __rspack_external_node_stream_444d1c2b;
|
|
3131
|
-
},
|
|
3132
3125
|
process (module) {
|
|
3133
3126
|
module.exports = __rspack_external_process;
|
|
3134
3127
|
},
|
package/dist/open.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
let isDockerCached, cachedResult, canAccessPowerShellPromise, mountPoint, defaultMountPoint;
|
|
2
2
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
3
3
|
import node_child_process, { execFile } from "node:child_process";
|
|
4
|
-
import promises, { constants } from "node:fs/promises";
|
|
5
4
|
import { node_process, node_os, external_node_util_promisify } from "./131.js";
|
|
6
5
|
import "./743.js";
|
|
6
|
+
import { constants, promises } from "./7.js";
|
|
7
7
|
let external_node_fs_ = __webpack_require__("node:fs");
|
|
8
8
|
function hasDockerEnv() {
|
|
9
9
|
try {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
type CompiledPackages = {
|
|
2
2
|
ws: typeof import('../../compiled/ws').default;
|
|
3
|
-
chokidar: typeof import('../../compiled/chokidar').default;
|
|
4
3
|
'webpack-merge': typeof import('../../compiled/webpack-merge');
|
|
5
4
|
'html-rspack-plugin': typeof import('../../compiled/html-rspack-plugin').default;
|
|
6
5
|
'http-proxy-middleware': typeof import('../../compiled/http-proxy-middleware');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"description": "The Rspack-based build tool.",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"types.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@rspack/core": "2.0.0-
|
|
39
|
+
"@rspack/core": "2.0.0-alpha.0",
|
|
40
40
|
"@rspack/lite-tapable": "~1.1.0",
|
|
41
41
|
"@swc/helpers": "^0.5.18",
|
|
42
42
|
"jiti": "^2.6.1"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@types/ws": "^8.18.1",
|
|
62
62
|
"browserslist-load-config": "1.0.1",
|
|
63
63
|
"cac": "^6.7.14",
|
|
64
|
-
"chokidar": "^
|
|
64
|
+
"chokidar": "^5.0.0",
|
|
65
65
|
"connect": "3.7.0",
|
|
66
66
|
"cors": "^2.8.5",
|
|
67
67
|
"css-loader": "7.1.2",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"postcss": "^8.5.6",
|
|
79
79
|
"postcss-load-config": "6.0.1",
|
|
80
80
|
"postcss-loader": "8.2.0",
|
|
81
|
-
"prebundle": "1.6.
|
|
81
|
+
"prebundle": "1.6.2",
|
|
82
82
|
"range-parser": "^1.2.1",
|
|
83
83
|
"reduce-configs": "^1.1.1",
|
|
84
84
|
"rslog": "^1.3.2",
|