extension-create 4.0.30 → 4.0.32

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.cjs CHANGED
@@ -460,7 +460,10 @@ const NETWORK_TIMEOUT_MS = (()=>{
460
460
  return Number.isFinite(raw) && raw > 0 ? raw : 60000;
461
461
  })();
462
462
  const CODELOAD_BASE = 'https://codeload.github.com/extension-js/examples/zip';
463
- const DEFAULT_TEMPLATES_REF = '52c0d871c433d9c54878767175ce8ffc9a951756';
463
+ const DEFAULT_TEMPLATES_REF = 'f7f4e6efb56a7e5ae08d58dbff3972d94af7d021';
464
+ const BUNDLED_TEMPLATES = [
465
+ "javascript"
466
+ ];
464
467
  function resolveCatalogUrls(ref, overrideUrl) {
465
468
  if (overrideUrl) return [
466
469
  overrideUrl
@@ -677,8 +680,8 @@ async function importExternalTemplate(projectPath, projectName, template, logger
677
680
  await promises_namespaceObject.mkdir(projectPath, {
678
681
  recursive: true
679
682
  });
680
- if (!isHttp && !isGithub && "javascript" === resolvedTemplate) {
681
- const localTemplate = bundledTemplateDir("javascript");
683
+ if (!isHttp && !isGithub && BUNDLED_TEMPLATES.includes(resolvedTemplate)) {
684
+ const localTemplate = bundledTemplateDir(resolvedTemplate);
682
685
  if ((0, external_node_fs_namespaceObject.existsSync)(localTemplate)) {
683
686
  await copyDirectoryWithSymlinks(localTemplate, projectPath);
684
687
  await removeTemplateScaffoldingFiles(projectPath);
@@ -1,4 +1,5 @@
1
- export declare const DEFAULT_TEMPLATES_REF = "52c0d871c433d9c54878767175ce8ffc9a951756";
1
+ export declare const DEFAULT_TEMPLATES_REF = "f7f4e6efb56a7e5ae08d58dbff3972d94af7d021";
2
+ export declare const BUNDLED_TEMPLATES: readonly string[];
2
3
  export declare function resolveCatalogUrls(ref: string, overrideUrl?: string): string[];
3
4
  export interface TemplateProvenance {
4
5
  template: string;
@@ -1,5 +1,5 @@
1
1
  {
2
- "createdWith": "extension-create@4.0.29",
2
+ "createdWith": "extension-create@4.0.30",
3
3
  "template": "javascript",
4
4
  "source": "bundled"
5
5
  }
@@ -9,7 +9,7 @@ Packaging your extension is local and free. Submitting the result to a
9
9
  store is what [extension.dev](https://docs.extension.dev/publish/overview?utm_source=store-md)
10
10
  does, and it sponsors Extension.js.
11
11
 
12
- Last updated: 2026-08-04
12
+ Last updated: 2026-08-08
13
13
 
14
14
  ## Listing
15
15
 
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {},
18
18
  "devDependencies": {
19
- "extension": "^4.0.29"
19
+ "extension": "^4.0.30"
20
20
  },
21
21
  "packageManager": "pnpm@10.28.0",
22
22
  "pnpm": {
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "templates"
26
26
  ],
27
27
  "name": "extension-create",
28
- "version": "4.0.30",
28
+ "version": "4.0.32",
29
29
  "description": "The standalone extension creation engine for Extension.js",
30
30
  "author": {
31
31
  "name": "Cezar Augusto",