extension 3.11.1 → 3.12.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/dist/cli.cjs +6 -6
- package/package.json +5 -5
package/dist/cli.cjs
CHANGED
|
@@ -33,13 +33,13 @@ var external_pintor_default = /*#__PURE__*/ __webpack_require__.n(external_pinto
|
|
|
33
33
|
function getLoggingPrefix(type) {
|
|
34
34
|
const isAuthor = 'true' === process.env.EXTENSION_AUTHOR_MODE;
|
|
35
35
|
if (isAuthor) {
|
|
36
|
-
const base = 'error' === type ? 'ERROR Author says' : '
|
|
36
|
+
const base = 'error' === type ? 'ERROR Author says' : '⏵⏵⏵ Author says';
|
|
37
37
|
return external_pintor_default().brightMagenta(base);
|
|
38
38
|
}
|
|
39
39
|
if ('error' === type) return external_pintor_default().red('ERROR');
|
|
40
|
-
if ('warn' === type) return external_pintor_default().brightYellow('
|
|
41
|
-
if ('info' === type) return external_pintor_default().gray('
|
|
42
|
-
return external_pintor_default().green('
|
|
40
|
+
if ('warn' === type) return external_pintor_default().brightYellow('⏵⏵⏵');
|
|
41
|
+
if ('info' === type) return external_pintor_default().gray('⏵⏵⏵');
|
|
42
|
+
return external_pintor_default().green('⏵⏵⏵');
|
|
43
43
|
}
|
|
44
44
|
const code = (text)=>external_pintor_default().blue(text);
|
|
45
45
|
const messages_arg = (text)=>external_pintor_default().gray(text);
|
|
@@ -804,7 +804,7 @@ class Telemetry {
|
|
|
804
804
|
this.track('cli_telemetry_consent', {
|
|
805
805
|
value: 'implicit_opt_in'
|
|
806
806
|
});
|
|
807
|
-
console.log(`${external_pintor_default().gray('
|
|
807
|
+
console.log(`${external_pintor_default().gray('⏵⏵⏵')} Telemetry is enabled for Extension.js. To opt out, run with --no-telemetry. Learn more in TELEMETRY.md.`);
|
|
808
808
|
}
|
|
809
809
|
} catch {}
|
|
810
810
|
}
|
|
@@ -1098,7 +1098,7 @@ const create_require = (0, external_module_namespaceObject.createRequire)(__rsli
|
|
|
1098
1098
|
function registerCreateCommand(program, telemetry) {
|
|
1099
1099
|
program.command('create').arguments('<project-name|project-path>').usage('create <project-name|project-path> [options]').description(commandDescriptions.create).option('-t, --template <template-name>', 'specify a template for the created project').option('--install [boolean]', 'whether or not to install the dependencies after creating the project (enabled by default)', parseOptionalBoolean, true).action(async function(pathOrRemoteUrl, { template, install }) {
|
|
1100
1100
|
const startedAt = Date.now();
|
|
1101
|
-
const templateValue = String(template
|
|
1101
|
+
const templateValue = String(template ?? "javascript");
|
|
1102
1102
|
const isRemoteTemplate = /^https?:/i.test(templateValue);
|
|
1103
1103
|
const workflowProfile = collectWorkflowProfile({
|
|
1104
1104
|
command: 'create',
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"extension": "./bin/extension.cjs"
|
|
34
34
|
},
|
|
35
35
|
"name": "extension",
|
|
36
|
-
"version": "3.
|
|
36
|
+
"version": "3.12.0",
|
|
37
37
|
"description": "Create cross-browser extensions with no build configuration.",
|
|
38
38
|
"homepage": "https://extension.js.org/",
|
|
39
39
|
"bugs": {
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"@types/chrome": "^0.1.33",
|
|
91
91
|
"@types/node": "^25.2.0",
|
|
92
92
|
"@types/webextension-polyfill": "0.12.4",
|
|
93
|
-
"extension-create": "3.
|
|
94
|
-
"extension-develop": "3.
|
|
95
|
-
"extension-install": "3.
|
|
93
|
+
"extension-create": "3.12.0",
|
|
94
|
+
"extension-develop": "3.12.0",
|
|
95
|
+
"extension-install": "3.12.0",
|
|
96
96
|
"commander": "^14.0.3",
|
|
97
97
|
"pintor": "0.3.0",
|
|
98
98
|
"semver": "^7.7.3",
|
|
@@ -108,6 +108,6 @@
|
|
|
108
108
|
"webextension-polyfill": "^0.12.0",
|
|
109
109
|
"tsconfig": "*",
|
|
110
110
|
"typescript": "6.0.2",
|
|
111
|
-
"vitest": "^4.
|
|
111
|
+
"vitest": "^4.1.3"
|
|
112
112
|
}
|
|
113
113
|
}
|