extension-create 4.1.9 → 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
|
|
720
|
-
const resolvedTemplateName =
|
|
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
|
|
@@ -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-
|
|
12
|
+
Last updated: 2026-08-31
|
|
13
13
|
|
|
14
14
|
## Listing
|
|
15
15
|
|