extension-create 2.0.0-rc.32 → 2.0.0-rc.33

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.
Files changed (2) hide show
  1. package/dist/module.js +4 -4
  2. package/package.json +1 -3
package/dist/module.js CHANGED
@@ -420,17 +420,17 @@ async function writeManifestJson(projectPath, projectName) {
420
420
  }
421
421
  async function generateExtensionTypes(projectPath, projectName) {
422
422
  const extensionEnvFile = external_path_namespaceObject.join(projectPath, 'extension-env.d.ts');
423
- const typePath = 'development' === process.env.EXTENSION_ENV ? external_path_namespaceObject.resolve(process.cwd(), 'programs/cli/types') : 'extension/dist/types';
423
+ const typePath = 'development' === process.env.EXTENSION_ENV ? external_path_namespaceObject.resolve(process.cwd(), 'programs/cli/types') : 'extension';
424
424
  const fileContent = `\
425
425
  // Required Extension.js types for TypeScript projects.
426
426
  // This file is auto-generated and should not be excluded.
427
427
  // If you need additional types, consider creating a new *.d.ts file and
428
428
  // referencing it in the "include" array of your tsconfig.json file.
429
429
  // See https://www.typescriptlang.org/tsconfig#include for more information.
430
- /// <reference types="${typePath}/index.d.ts" />
430
+ /// <reference types="${typePath}" />
431
431
 
432
- // Polyfill types for browser.* APIs.
433
- /// <reference types="${typePath}/polyfill.d.ts" />
432
+ // Polyfill types for browser.* APIs
433
+ /// <reference types="${typePath}/polyfill" />
434
434
  `;
435
435
  try {
436
436
  await promises_namespaceObject.mkdir(projectPath, {
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "dist"
22
22
  ],
23
23
  "name": "extension-create",
24
- "version": "2.0.0-rc.32",
24
+ "version": "2.0.0-rc.33",
25
25
  "description": "The create step of Extension.js",
26
26
  "author": {
27
27
  "name": "Cezar Augusto",
@@ -29,7 +29,6 @@
29
29
  "url": "https://cezaraugusto.com"
30
30
  },
31
31
  "dependencies": {
32
- "@types/firefox-webext-browser": "^120.0.4",
33
32
  "chalk": "^5.3.0",
34
33
  "cross-spawn": "^7.0.6",
35
34
  "go-git-it": "4.0.0",
@@ -40,7 +39,6 @@
40
39
  "@rslib/core": "^0.6.9",
41
40
  "@types/cross-spawn": "^6.0.6",
42
41
  "@types/node": "^22.10.1",
43
- "@types/react-dom": "^19.0.1",
44
42
  "@vitest/coverage-v8": "^1.3.1",
45
43
  "globals": "^15.13.0",
46
44
  "tsconfig": "*",