extension-create 4.1.10 → 4.1.11

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
@@ -716,8 +716,8 @@ async function importExternalTemplate(projectPath, projectName, template, logger
716
716
  const resolvedTemplate = template;
717
717
  const isHttp = /^https?:\/\//i.test(template);
718
718
  const isGithub = /^https?:\/\/github\.com\//i.test(template);
719
- const isBareName = !isHttp && !template.includes('/') && !template.includes(external_node_path_namespaceObject.sep);
720
- const resolvedTemplateName = isBareName ? resolveTemplateAlias(templateName) : templateName;
719
+ const namesCatalogEntry = !isHttp;
720
+ const resolvedTemplateName = namesCatalogEntry ? resolveTemplateAlias(templateName) : templateName;
721
721
  const dirExistedBeforeImport = (0, external_node_fs_namespaceObject.existsSync)(projectPath);
722
722
  const ownsProjectDir = options?.ownsProjectDir ?? !dirExistedBeforeImport;
723
723
  let preExistingEntries = [];
@@ -1977,7 +1977,7 @@ async function extensionCreate(projectNameInput, { cliVersion, template = "javas
1977
1977
  return {
1978
1978
  projectPath,
1979
1979
  projectName,
1980
- template,
1980
+ template: templateProvenance?.template ?? template,
1981
1981
  depsInstalled: install,
1982
1982
  packageManager: resolveScaffoldPackageManager(),
1983
1983
  templateProvenance
@@ -1,5 +1,5 @@
1
1
  {
2
- "createdWith": "extension-create@4.1.9",
2
+ "createdWith": "extension-create@4.1.10",
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-29
12
+ Last updated: 2026-08-31
13
13
 
14
14
  ## Listing
15
15
 
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {},
18
18
  "devDependencies": {
19
- "extension": "^4.1.9"
19
+ "extension": "^4.1.10"
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.1.10",
28
+ "version": "4.1.11",
29
29
  "description": "The standalone extension creation engine for Extension.js",
30
30
  "author": {
31
31
  "name": "Cezar Augusto",