extension-create 4.1.34 → 4.1.35
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/lib/messaging.d.ts +2 -0
- package/dist/module.cjs +7 -1
- package/dist/module.d.ts +1 -0
- package/dist/steps/import-external-template.d.ts +1 -1
- package/dist/test-template-javascript/.extension-create.json +2 -2
- package/dist/test-template-javascript/package.json +1 -1
- package/package.json +3 -3
- package/templates/javascript/STORE.md +20 -10
package/dist/lib/messaging.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export declare const CODES: {
|
|
|
112
112
|
readonly E_POLYFILL_NOT_FOUND: 'E_POLYFILL_NOT_FOUND';
|
|
113
113
|
readonly E_LOCALES_LAYOUT: 'E_LOCALES_LAYOUT';
|
|
114
114
|
readonly E_WAR_INVALID: 'E_WAR_INVALID';
|
|
115
|
+
readonly E_DEV_SESSION_DIST_SHARED: 'E_DEV_SESSION_DIST_SHARED';
|
|
115
116
|
readonly E_BACKGROUND_REQUIRED: 'E_BACKGROUND_REQUIRED';
|
|
116
117
|
readonly E_CONTENT_SCRIPT_SYNTAX: 'E_CONTENT_SCRIPT_SYNTAX';
|
|
117
118
|
readonly E_NO_ENTRYPOINTS: 'E_NO_ENTRYPOINTS';
|
|
@@ -121,6 +122,7 @@ export declare const CODES: {
|
|
|
121
122
|
readonly E_ENV_NO_MATCH: 'E_ENV_NO_MATCH';
|
|
122
123
|
readonly E_REMOTE_FETCH_TIMEOUT: 'E_REMOTE_FETCH_TIMEOUT';
|
|
123
124
|
readonly E_REMOTE_DOWNLOAD: 'E_REMOTE_DOWNLOAD';
|
|
125
|
+
readonly E_REMOTE_ACCESS_DENIED: 'E_REMOTE_ACCESS_DENIED';
|
|
124
126
|
readonly E_REMOTE_ZIP_INVALID: 'E_REMOTE_ZIP_INVALID';
|
|
125
127
|
readonly E_LOCAL_ZIP_NOT_FOUND: 'E_LOCAL_ZIP_NOT_FOUND';
|
|
126
128
|
readonly E_PROJECT_DOWNLOAD_EMPTY: 'E_PROJECT_DOWNLOAD_EMPTY';
|
package/dist/module.cjs
CHANGED
|
@@ -789,7 +789,7 @@ const NETWORK_TIMEOUT_MS = (()=>{
|
|
|
789
789
|
return Number.isFinite(raw) && raw > 0 ? raw : 60000;
|
|
790
790
|
})();
|
|
791
791
|
const CODELOAD_BASE = 'https://codeload.github.com/extension-js/examples/zip';
|
|
792
|
-
const DEFAULT_TEMPLATES_REF = '
|
|
792
|
+
const DEFAULT_TEMPLATES_REF = '4753cbd121dac8784f4cb5c515b773f87ebff3b4';
|
|
793
793
|
const BUNDLED_TEMPLATES = [
|
|
794
794
|
"javascript"
|
|
795
795
|
];
|
|
@@ -2632,10 +2632,13 @@ async function scaffoldProject({ projectPath, projectName, effectiveTemplate, te
|
|
|
2632
2632
|
}, logger);
|
|
2633
2633
|
}
|
|
2634
2634
|
await writeTemplateProvenance(projectPath, templateProvenance, logger);
|
|
2635
|
+
let installSeconds;
|
|
2635
2636
|
if (install) {
|
|
2637
|
+
const installStartedAt = Date.now();
|
|
2636
2638
|
const requestedTemplate = templateWasOmitted ? void 0 : effectiveTemplate;
|
|
2637
2639
|
await installDependencies(projectPath, projectName, logger, packageManager, requestedTemplate);
|
|
2638
2640
|
await installInternalDependencies(projectPath, logger, packageManager, requestedTemplate);
|
|
2641
|
+
installSeconds = Math.round((Date.now() - installStartedAt) / 1000);
|
|
2639
2642
|
}
|
|
2640
2643
|
await writeReadmeFile(projectPath, projectName, logger, packageManager);
|
|
2641
2644
|
const templateManifestName = await writeManifestJson(projectPath, logger);
|
|
@@ -2653,6 +2656,9 @@ async function scaffoldProject({ projectPath, projectName, effectiveTemplate, te
|
|
|
2653
2656
|
projectName,
|
|
2654
2657
|
template: templateProvenance?.template ?? scaffoldedTemplate,
|
|
2655
2658
|
depsInstalled: install,
|
|
2659
|
+
...void 0 === installSeconds ? {} : {
|
|
2660
|
+
installSeconds
|
|
2661
|
+
},
|
|
2656
2662
|
packageManager,
|
|
2657
2663
|
templateProvenance
|
|
2658
2664
|
};
|
package/dist/module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const DEFAULT_TEMPLATES_REF = "
|
|
1
|
+
export declare const DEFAULT_TEMPLATES_REF = "4753cbd121dac8784f4cb5c515b773f87ebff3b4";
|
|
2
2
|
export declare const BUNDLED_TEMPLATES: readonly string[];
|
|
3
3
|
export declare const DEFAULT_TEMPLATE_NAME = "typescript";
|
|
4
4
|
export declare const OFFLINE_FALLBACK_TEMPLATE = "javascript";
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"templates"
|
|
26
26
|
],
|
|
27
27
|
"name": "extension-create",
|
|
28
|
-
"version": "4.1.
|
|
28
|
+
"version": "4.1.35",
|
|
29
29
|
"description": "The standalone extension creation engine for Extension.js",
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Cezar Augusto",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"@types/cross-spawn": "^6.0.6",
|
|
92
92
|
"@types/node": "^26",
|
|
93
93
|
"@types/webextension-polyfill": "0.12.4",
|
|
94
|
-
"@vitest/coverage-v8": "^5.0.
|
|
94
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
95
95
|
"tsconfig": "*",
|
|
96
96
|
"typescript": "7.0.2",
|
|
97
|
-
"vitest": "^5.0.
|
|
97
|
+
"vitest": "^5.0.5",
|
|
98
98
|
"webextension-polyfill": "^0.12.0"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
Starter file generated from this template's manifest. Every store asks
|
|
4
4
|
for this material at submission time; keep it current as the code
|
|
5
5
|
changes instead of rewriting it at the end. Replace the placeholder
|
|
6
|
-
lines marked TODO before you submit.
|
|
6
|
+
lines marked TODO before you submit. The Privacy and data use section
|
|
7
|
+
is listing copy; set the Privacy policy URL row under Listing to your
|
|
8
|
+
own address once you host a policy.
|
|
7
9
|
|
|
8
|
-
Last updated: 2026-
|
|
10
|
+
Last updated: 2026-10-19
|
|
9
11
|
|
|
10
12
|
## Listing
|
|
11
13
|
|
|
@@ -18,14 +20,22 @@ Last updated: 2026-07-30
|
|
|
18
20
|
- Screenshots: TODO at least one 1280x800 screenshot per store.
|
|
19
21
|
|
|
20
22
|
## Privacy and data use
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
|
|
23
|
+
- Collected: nothing. The extension sends no user data to any server, has
|
|
24
|
+
no account or sign-in, and runs no analytics.
|
|
25
|
+
- sidePanel (Chromium only): opens the extension's interface in the
|
|
26
|
+
browser side panel; it reads no page data by itself.
|
|
27
|
+
- tabs: reads the title and address of the open tab so the interface can
|
|
28
|
+
say which page it refers to.
|
|
29
|
+
- Host access <all_urls>: lets the extension's content script run on the
|
|
30
|
+
pages the user visits so its interface can appear there.
|
|
31
|
+
- Not collected: browsing history, page content, activity on websites,
|
|
32
|
+
sign-in or account data, messages the user writes, location, search
|
|
33
|
+
terms, bookmarks, payment details, health information, personal files,
|
|
34
|
+
and usage analytics. Nothing leaves the browser.
|
|
35
|
+
- Firefox data collection declaration: the manifest declares
|
|
36
|
+
data_collection_permissions required: none, which matches the lines
|
|
37
|
+
above. If you add data collection, update the declaration, this section,
|
|
38
|
+
and your privacy policy in the same change.
|
|
29
39
|
|
|
30
40
|
## Chrome Web Store
|
|
31
41
|
|