extension-develop 4.0.2 → 4.0.3
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/dist/0~rspack-config.mjs +6 -20
- package/dist/101.mjs +1 -1
- package/dist/extension-js-devtools/extension-js/chrome/events.ndjson +2 -2
- package/dist/extension-js-devtools/extension-js/chrome/ready.json +5 -5
- package/dist/extension-js-devtools/extension-js/chromium/events.ndjson +2 -2
- package/dist/extension-js-devtools/extension-js/chromium/ready.json +5 -5
- package/dist/extension-js-devtools/extension-js/edge/events.ndjson +2 -2
- package/dist/extension-js-devtools/extension-js/edge/ready.json +5 -5
- package/dist/extension-js-devtools/extension-js/firefox/events.ndjson +2 -2
- package/dist/extension-js-devtools/extension-js/firefox/ready.json +5 -5
- package/dist/extension-js-theme/extension-js/chrome/events.ndjson +2 -2
- package/dist/extension-js-theme/extension-js/chrome/ready.json +5 -5
- package/dist/extension-js-theme/extension-js/chromium/events.ndjson +2 -2
- package/dist/extension-js-theme/extension-js/chromium/ready.json +5 -5
- package/dist/extension-js-theme/extension-js/edge/events.ndjson +2 -2
- package/dist/extension-js-theme/extension-js/edge/ready.json +5 -5
- package/dist/extension-js-theme/extension-js/firefox/events.ndjson +6 -4
- package/dist/extension-js-theme/extension-js/firefox/ready.json +5 -5
- package/package.json +1 -1
package/dist/0~rspack-config.mjs
CHANGED
|
@@ -2305,17 +2305,6 @@ function isUsingPreact(projectPath) {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
async function maybeUsePreact(projectPath) {
|
|
2307
2307
|
if (!isUsingPreact(projectPath)) return;
|
|
2308
|
-
await optional_deps_resolver_ensureOptionalContractPackageResolved({
|
|
2309
|
-
contractId: 'preact-refresh',
|
|
2310
|
-
projectPath,
|
|
2311
|
-
dependencyId: '@rspack/plugin-preact-refresh'
|
|
2312
|
-
});
|
|
2313
|
-
const PreactRefreshPlugin = await ensureOptionalContractModuleLoaded({
|
|
2314
|
-
contractId: 'preact-refresh',
|
|
2315
|
-
projectPath,
|
|
2316
|
-
dependencyId: '@rspack/plugin-preact-refresh',
|
|
2317
|
-
moduleAdapter: (mod)=>mod?.PreactRefreshRspackPlugin ?? mod?.default?.PreactRefreshRspackPlugin ?? mod?.default ?? mod
|
|
2318
|
-
});
|
|
2319
2308
|
const requireFromProject = createRequire(__rspack_external_path.join(projectPath, 'package.json'));
|
|
2320
2309
|
const resolveFromProject = (id)=>{
|
|
2321
2310
|
try {
|
|
@@ -2330,11 +2319,6 @@ async function maybeUsePreact(projectPath) {
|
|
|
2330
2319
|
const preactTestUtils = resolveFromProject('preact/test-utils');
|
|
2331
2320
|
const preactJsxRuntime = resolveFromProject('preact/jsx-runtime');
|
|
2332
2321
|
const preactJsxDevRuntime = resolveFromProject('preact/jsx-dev-runtime');
|
|
2333
|
-
const preactPlugins = [
|
|
2334
|
-
new PreactRefreshPlugin(preactDir ? {
|
|
2335
|
-
preactPath: preactDir
|
|
2336
|
-
} : {})
|
|
2337
|
-
];
|
|
2338
2322
|
const alias = {};
|
|
2339
2323
|
if (preactDir) alias.preact = preactDir;
|
|
2340
2324
|
if (preactCompat) {
|
|
@@ -2345,7 +2329,7 @@ async function maybeUsePreact(projectPath) {
|
|
|
2345
2329
|
if (preactJsxRuntime) alias['react/jsx-runtime'] = preactJsxRuntime;
|
|
2346
2330
|
if (preactJsxDevRuntime) alias['react/jsx-dev-runtime'] = preactJsxDevRuntime;
|
|
2347
2331
|
return {
|
|
2348
|
-
plugins:
|
|
2332
|
+
plugins: [],
|
|
2349
2333
|
loaders: void 0,
|
|
2350
2334
|
alias
|
|
2351
2335
|
};
|
|
@@ -9294,9 +9278,11 @@ function webpackConfig(projectStructure, devOptions) {
|
|
|
9294
9278
|
__rspack_external_path.join(packageJsonDir, 'node_modules'),
|
|
9295
9279
|
...(()=>{
|
|
9296
9280
|
const developRoot = resolveDevelopInstallRoot();
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9281
|
+
if (!developRoot) return [];
|
|
9282
|
+
return [
|
|
9283
|
+
__rspack_external_path.join(developRoot, 'node_modules'),
|
|
9284
|
+
__rspack_external_path.dirname(developRoot)
|
|
9285
|
+
];
|
|
9300
9286
|
})()
|
|
9301
9287
|
],
|
|
9302
9288
|
extensions: [
|
package/dist/101.mjs
CHANGED
|
@@ -665,7 +665,7 @@ async function config_loader_isUsingExperimentalConfig(projectPath) {
|
|
|
665
665
|
}
|
|
666
666
|
return false;
|
|
667
667
|
}
|
|
668
|
-
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.0.
|
|
668
|
+
var package_namespaceObject = /*#__PURE__*/ JSON.parse('{"rE":"4.0.3","El":{"@prefresh/core":"1.5.9","@prefresh/utils":"1.2.1","@rspack/core":"^2.1.1","@rspack/dev-server":"2.1.0","@rspack/plugin-preact-refresh":"2.0.1","@rspack/plugin-react-refresh":"2.0.2","@vue/compiler-sfc":"3.5.26","adm-zip":"^0.5.16","browser-extension-manifest-fields":"^2.2.8","case-sensitive-paths-webpack-plugin":"^2.4.0","content-security-policy-parser":"^0.6.0","dotenv":"^17.2.3","es-module-lexer":"^2.1.0","extension-from-store":"^0.1.1","go-git-it":"^5.1.5","ignore":"^7.0.5","less":"4.6.7","less-loader":"13.0.0","parse5-utilities":"^1.0.0","pintor":"0.3.0","postcss":"8.5.10","postcss-loader":"8.2.1","postcss-preset-env":"11.1.1","postcss-scss":"4.0.9","preact":"10.27.3","prefers-yarn":"2.0.1","react-refresh":"0.18.0","sass-loader":"17.0.0","schema-utils":"^4.3.3","svelte-loader":"3.2.4","tiny-glob":"^0.2.9","typescript":"5.9.3","vue":"3.5.26","vue-loader":"17.4.2","webextension-polyfill":"^0.12.0","webpack-merge":"^6.0.1","webpack-target-webextension":"^2.1.3","ws":"^8.20.1"}}');
|
|
669
669
|
function asAbsolute(p) {
|
|
670
670
|
return __rspack_external_path.isAbsolute(p) ? p : __rspack_external_path.resolve(p);
|
|
671
671
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:22.000Z","command":"start","browser":"chrome"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:22.941Z","command":"start","browser":"chrome","durationMs":1035,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "chrome",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n4ab-z4weu5tu",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:21.875Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/dist/chrome",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/src/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 2834,
|
|
13
|
+
"ts": "2026-07-01T14:40:22.942Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:22.941Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:20.357Z","command":"start","browser":"chromium"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:21.323Z","command":"start","browser":"chromium","durationMs":1066,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "chromium",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n30h-f2rmd80v",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:20.225Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/dist/chromium",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/src/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 2785,
|
|
13
|
+
"ts": "2026-07-01T14:40:21.323Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:21.323Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:25.222Z","command":"start","browser":"edge"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:26.176Z","command":"start","browser":"edge","durationMs":1049,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "edge",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n6rs-5wky5zhf",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:25.096Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/dist/edge",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/src/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 2930,
|
|
13
|
+
"ts": "2026-07-01T14:40:26.176Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:26.176Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:23.613Z","command":"start","browser":"firefox"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:24.548Z","command":"start","browser":"firefox","durationMs":1033,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "firefox",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n5j0-stax0r0i",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:23.484Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/dist/firefox",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-devtools/src/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 2882,
|
|
13
|
+
"ts": "2026-07-01T14:40:24.548Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:24.548Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:27.334Z","command":"start","browser":"chrome"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:27.373Z","command":"start","browser":"chrome","durationMs":39,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "chrome",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n8hd-19m0r3i0",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:27.313Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/dist/chrome",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 3019,
|
|
13
|
+
"ts": "2026-07-01T14:40:27.374Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:27.374Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:26.756Z","command":"start","browser":"chromium"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:26.794Z","command":"start","browser":"chromium","durationMs":39,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "chromium",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n81a-v0itvss4",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:26.734Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/dist/chromium",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 2979,
|
|
13
|
+
"ts": "2026-07-01T14:40:26.794Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:26.794Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:28.474Z","command":"start","browser":"edge"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:28.510Z","command":"start","browser":"edge","durationMs":38,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "edge",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26n9cz-0mqvl3eo",
|
|
6
|
+
"startedAt": "2026-07-01T14:40:28.451Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/dist/edge",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 3099,
|
|
13
|
+
"ts": "2026-07-01T14:40:28.510Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:40:28.510Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
{"type":"compile_start","ts":"2026-07-
|
|
2
|
-
{"type":"compile_success","ts":"2026-07-
|
|
3
|
-
{"type":"compile_start","ts":"2026-07-
|
|
4
|
-
{"type":"compile_success","ts":"2026-07-
|
|
1
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:27.906Z","command":"start","browser":"firefox"}
|
|
2
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:27.941Z","command":"start","browser":"firefox","durationMs":38,"errorCount":0}
|
|
3
|
+
{"type":"compile_start","ts":"2026-07-01T14:40:49.814Z","command":"start","browser":"firefox"}
|
|
4
|
+
{"type":"compile_success","ts":"2026-07-01T14:40:49.865Z","command":"start","browser":"firefox","durationMs":53,"errorCount":0}
|
|
5
|
+
{"type":"compile_start","ts":"2026-07-01T14:42:57.920Z","command":"start","browser":"firefox"}
|
|
6
|
+
{"type":"compile_success","ts":"2026-07-01T14:42:57.957Z","command":"start","browser":"firefox","durationMs":39,"errorCount":0}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"command": "start",
|
|
4
4
|
"browser": "firefox",
|
|
5
|
-
"runId": "
|
|
6
|
-
"startedAt": "2026-07-
|
|
5
|
+
"runId": "mr26qgoa-0stwjmon",
|
|
6
|
+
"startedAt": "2026-07-01T14:42:57.898Z",
|
|
7
7
|
"distPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/dist/firefox",
|
|
8
8
|
"manifestPath": "/home/runner/work/extension.js/extension.js/extensions/extension-js-theme/manifest.json",
|
|
9
9
|
"port": null,
|
|
10
10
|
"controlPort": null,
|
|
11
11
|
"status": "ready",
|
|
12
|
-
"pid":
|
|
13
|
-
"ts": "2026-07-
|
|
14
|
-
"compiledAt": "2026-07-
|
|
12
|
+
"pid": 8517,
|
|
13
|
+
"ts": "2026-07-01T14:42:57.957Z",
|
|
14
|
+
"compiledAt": "2026-07-01T14:42:57.957Z",
|
|
15
15
|
"errors": []
|
|
16
16
|
}
|