extension 3.0.0 → 3.1.0-next.5

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/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "extension": "./dist/cli.js"
36
36
  },
37
37
  "name": "extension",
38
- "version": "3.0.0",
38
+ "version": "3.1.0-next.5",
39
39
  "description": "Create cross-browser extensions with no build configuration.",
40
40
  "homepage": "https://extension.js.org/",
41
41
  "bugs": {
@@ -88,26 +88,26 @@
88
88
  "cli"
89
89
  ],
90
90
  "dependencies": {
91
- "extension-develop": "^3.0.0",
92
- "commander": "^12.1.0",
93
- "extension-create": "^2.2.0",
91
+ "extension-create": "^3.1.0-next.5",
92
+ "extension-develop": "^3.1.0-next.5",
93
+ "commander": "^14.0.2",
94
94
  "pintor": "0.3.0",
95
- "semver": "^7.6.3",
95
+ "semver": "^7.7.3",
96
96
  "update-check": "^1.5.4"
97
97
  },
98
98
  "devDependencies": {
99
- "@rslib/core": "^0.6.9",
100
- "@types/chrome": "^0.0.287",
101
- "@types/node": "^22.10.1",
102
- "@types/react": "^19.0.1",
103
- "@types/react-dom": "^19.0.1",
104
- "@types/webextension-polyfill": "0.12.3",
99
+ "@rslib/core": "^0.19.2",
100
+ "@types/chrome": "^0.1.33",
101
+ "@types/node": "^25.0.9",
102
+ "@types/react": "^19.2.8",
103
+ "@types/react-dom": "^19.2.3",
104
+ "@types/webextension-polyfill": "0.12.4",
105
105
  "@types/mock-fs": "^4.13.4",
106
- "@types/semver": "^7.5.8",
107
- "mock-fs": "^5.4.1",
106
+ "@types/semver": "^7.7.1",
107
+ "mock-fs": "^5.5.0",
108
108
  "webextension-polyfill": "^0.12.0",
109
109
  "tsconfig": "*",
110
- "typescript": "5.7.2",
111
- "vitest": "^3.2.4"
110
+ "typescript": "5.9.3",
111
+ "vitest": "^4.0.17"
112
112
  }
113
113
  }
@@ -0,0 +1,24 @@
1
+ // ██████╗██╗ ██╗
2
+ // ██╔════╝██║ ██║
3
+ // ██║ ██║ ██║
4
+ // ██║ ██║ ██║
5
+ // ╚██████╗███████╗██║
6
+ // ╚═════╝╚══════╝╚═╝
7
+ // MIT License (c) 2020–present Cezar Augusto & the Extension.js authors — presence implies inheritance
8
+
9
+ declare module 'extension-create' {
10
+ // These types mirror the public surface of programs/create/module.ts,
11
+ // but are intentionally loose on the CLI side. The real, precise types
12
+ // come from the installed `extension-create` package when consumers
13
+ // depend on it directly.
14
+ export interface CreateOptions {
15
+ template: string
16
+ install?: boolean
17
+ cliVersion?: string
18
+ }
19
+
20
+ export function extensionCreate(
21
+ projectNameInput: string | undefined,
22
+ options: CreateOptions
23
+ ): Promise<void>
24
+ }