extension-develop 2.0.0-rc.32 → 2.0.0-rc.34
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/module.js +5 -5
- package/package.json +1 -4
package/dist/module.js
CHANGED
|
@@ -164,7 +164,7 @@ const GECKO_BASED_BROWSERS = [
|
|
|
164
164
|
];
|
|
165
165
|
const external_console_namespaceObject = require("console");
|
|
166
166
|
var package_namespaceObject = {
|
|
167
|
-
i8: "2.0.0-rc.
|
|
167
|
+
i8: "2.0.0-rc.34"
|
|
168
168
|
};
|
|
169
169
|
function getLoggingPrefix(feature, type) {
|
|
170
170
|
if ('error' === type) return `${external_chalk_default().bold(external_chalk_default().red('ERROR'))} in ${feature} ${external_chalk_default().red("\u2716\uFE0E\u2716\uFE0E\u2716\uFE0E")}`;
|
|
@@ -6171,17 +6171,17 @@ async function dev_server_devServer(projectPath, devOptions) {
|
|
|
6171
6171
|
const promises_namespaceObject = require("fs/promises");
|
|
6172
6172
|
async function generateExtensionTypes(projectPath) {
|
|
6173
6173
|
const extensionEnvFile = external_path_namespaceObject.join(projectPath, 'extension-env.d.ts');
|
|
6174
|
-
const typePath = 'development' === process.env.EXTENSION_ENV ? external_path_namespaceObject.resolve(process.cwd(), 'programs/cli/types') : 'extension
|
|
6174
|
+
const typePath = 'development' === process.env.EXTENSION_ENV ? external_path_namespaceObject.resolve(process.cwd(), 'programs/cli/types') : 'extension';
|
|
6175
6175
|
const fileContent = `\
|
|
6176
6176
|
// Required Extension.js types for TypeScript projects.
|
|
6177
6177
|
// This file is auto-generated and should not be excluded.
|
|
6178
6178
|
// If you need additional types, consider creating a new *.d.ts file and
|
|
6179
6179
|
// referencing it in the "include" array of your tsconfig.json file.
|
|
6180
6180
|
// See https://www.typescriptlang.org/tsconfig#include for more information.
|
|
6181
|
-
/// <reference types="${typePath}/
|
|
6181
|
+
/// <reference types="${typePath}/types" />
|
|
6182
6182
|
|
|
6183
|
-
// Polyfill types for browser.* APIs
|
|
6184
|
-
/// <reference types="${typePath}/polyfill
|
|
6183
|
+
// Polyfill types for browser.* APIs
|
|
6184
|
+
/// <reference types="${typePath}/types/polyfill" />
|
|
6185
6185
|
`;
|
|
6186
6186
|
try {
|
|
6187
6187
|
await promises_namespaceObject.access(extensionEnvFile);
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"name": "extension-develop",
|
|
24
|
-
"version": "2.0.0-rc.
|
|
24
|
+
"version": "2.0.0-rc.34",
|
|
25
25
|
"description": "The develop step of Extension.js",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Cezar Augusto",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"@rspack/core": "^1.3.8",
|
|
33
33
|
"@rspack/dev-server": "^1.1.1",
|
|
34
34
|
"@swc/helpers": "^0.5.15",
|
|
35
|
-
"@types/firefox-webext-browser": "^120.0.4",
|
|
36
35
|
"@vue/compiler-sfc": "^3.5.13",
|
|
37
36
|
"adm-zip": "^0.5.16",
|
|
38
37
|
"axios": "^1.8.4",
|
|
@@ -65,7 +64,6 @@
|
|
|
65
64
|
"webextension-polyfill": "^0.12.0",
|
|
66
65
|
"webpack-merge": "^6.0.1",
|
|
67
66
|
"webpack-target-webextension": "^2.1.3",
|
|
68
|
-
"which": "^5.0.0",
|
|
69
67
|
"ws": "^8.18.0"
|
|
70
68
|
},
|
|
71
69
|
"devDependencies": {
|
|
@@ -79,7 +77,6 @@
|
|
|
79
77
|
"@types/loader-utils": "^2.0.6",
|
|
80
78
|
"@types/node": "^22.10.1",
|
|
81
79
|
"@types/sass-loader": "8.0.9",
|
|
82
|
-
"@types/webextension-polyfill": "^0.12.1",
|
|
83
80
|
"@types/ws": "^8.5.13",
|
|
84
81
|
"jest": "^29.7.0",
|
|
85
82
|
"ts-jest": "^29.3.1",
|