extension-create 4.0.27 → 4.0.28

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,6 +460,7 @@ 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
464
  function resolveCatalogUrls(ref, overrideUrl) {
464
465
  if (overrideUrl) return [
465
466
  overrideUrl
@@ -536,7 +537,7 @@ async function extractExamplesTemplateFromZip(zipBuffer, templateName, projectPa
536
537
  return written;
537
538
  }
538
539
  async function importFromExamplesCatalog(templateName, projectPath) {
539
- const ref = process.env.EXTENSION_CREATE_TEMPLATE_REF || 'main';
540
+ const ref = process.env.EXTENSION_CREATE_TEMPLATE_REF || DEFAULT_TEMPLATES_REF;
540
541
  const overrideUrl = process.env.EXTENSION_CREATE_TEMPLATE_URL || void 0;
541
542
  const urls = resolveCatalogUrls(ref, overrideUrl);
542
543
  let buffer;
@@ -1452,13 +1453,6 @@ async function overridePackageJson(projectPath, { template = "javascript", cliVe
1452
1453
  onlyBuiltDependencies: onlyBuilt
1453
1454
  } : {}
1454
1455
  };
1455
- const identity = readGitIdentity(projectPath);
1456
- const author = identity.name ? {
1457
- name: identity.name,
1458
- ...identity.email ? {
1459
- email: identity.email
1460
- } : {}
1461
- } : void 0;
1462
1456
  const templateFields = {
1463
1457
  ...packageJson
1464
1458
  };
@@ -1481,9 +1475,6 @@ async function overridePackageJson(projectPath, { template = "javascript", cliVe
1481
1475
  } : {},
1482
1476
  ...trustedDeps.length ? {
1483
1477
  trustedDependencies: trustedDeps
1484
- } : {},
1485
- ...author ? {
1486
- author
1487
1478
  } : {}
1488
1479
  };
1489
1480
  try {
@@ -1,3 +1,4 @@
1
+ export declare const DEFAULT_TEMPLATES_REF = "52c0d871c433d9c54878767175ce8ffc9a951756";
1
2
  export declare function resolveCatalogUrls(ref: string, overrideUrl?: string): string[];
2
3
  export interface TemplateProvenance {
3
4
  template: string;
@@ -1,5 +1,5 @@
1
1
  {
2
- "createdWith": "extension-create@4.0.26",
2
+ "createdWith": "extension-create@4.0.27",
3
3
  "template": "javascript",
4
4
  "source": "bundled"
5
5
  }
@@ -4,8 +4,6 @@
4
4
 
5
5
  > Adds a sidebar panel to the browser with a simple page.
6
6
 
7
-
8
- ![screenshot](./public/screenshot.png)
9
7
  ## Commands
10
8
 
11
9
  ### dev
@@ -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-02
12
+ Last updated: 2026-08-03
13
13
 
14
14
  ## Listing
15
15
 
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {},
18
18
  "devDependencies": {
19
- "extension": "^4.0.26"
19
+ "extension": "^4.0.27"
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.27",
28
+ "version": "4.0.28",
29
29
  "description": "The standalone extension creation engine for Extension.js",
30
30
  "author": {
31
31
  "name": "Cezar Augusto",
@@ -7,7 +7,7 @@
7
7
 
8
8
  > Adds a sidebar panel to the browser with a simple page.
9
9
 
10
- ![screenshot](./public/screenshot.png)
10
+ ![screenshot](./screenshot.png)
11
11
 
12
12
  **What you'll see**: A small UI injected into any web page, isolated in a Shadow DOM so site styles don't bleed through.
13
13
 
@@ -4,10 +4,5 @@
4
4
  "description": "Adds a sidebar panel to the browser with a simple page.",
5
5
  "version": "1.0.0",
6
6
  "license": "MIT",
7
- "type": "module",
8
- "author": {
9
- "name": "Cezar Augusto",
10
- "email": "boss@cezaraugusto.net",
11
- "url": "https://cezaraugusto.com"
12
- }
7
+ "type": "module"
13
8
  }