extension 2.0.0-rc.23 → 2.0.0-rc.25
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/check-updates.d.ts +1 -0
- package/dist/cli-lib/messages.d.ts +8 -0
- package/dist/cli.js +1 -1
- package/dist/rslib.config.d.ts +2 -0
- package/dist/types.d.ts +16 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function checkUpdates(packageJson: Record<string, any>): Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function updateFailed(err: any): string;
|
|
2
|
+
export declare function checkUpdates(packageJson: Record<string, any>, update: {
|
|
3
|
+
latest: string;
|
|
4
|
+
}): string;
|
|
5
|
+
export declare function unsupportedNodeVersion(): string;
|
|
6
|
+
export declare function noURLWithoutStart(argument: string): string;
|
|
7
|
+
export declare function notImplemented(argument: string): string;
|
|
8
|
+
export declare function programHelp(): string;
|
package/dist/cli.js
CHANGED
|
@@ -117,7 +117,7 @@ var package_default = {
|
|
|
117
117
|
node: ">=18"
|
|
118
118
|
},
|
|
119
119
|
name: "extension",
|
|
120
|
-
version: "2.0.0-rc.
|
|
120
|
+
version: "2.0.0-rc.25",
|
|
121
121
|
description: "Create cross-browser extensions with no build configuration.",
|
|
122
122
|
main: "./dist/cli.js",
|
|
123
123
|
types: "./dist/cli.d.ts",
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type BrowsersSupported = 'chrome' | 'edge' | 'firefox' | 'chromium-based' | 'gecko-based' | 'all';
|
|
2
|
+
export interface CreateOptions {
|
|
3
|
+
template?: string;
|
|
4
|
+
targetDir?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DevOptions {
|
|
7
|
+
port?: number;
|
|
8
|
+
browser?: BrowsersSupported;
|
|
9
|
+
}
|
|
10
|
+
export interface StartOptions {
|
|
11
|
+
port?: number;
|
|
12
|
+
browser?: BrowsersSupported;
|
|
13
|
+
}
|
|
14
|
+
export interface BuildOptions {
|
|
15
|
+
browser?: BrowsersSupported;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"node": ">=18"
|
|
10
10
|
},
|
|
11
11
|
"name": "extension",
|
|
12
|
-
"version": "2.0.0-rc.
|
|
12
|
+
"version": "2.0.0-rc.25",
|
|
13
13
|
"description": "Create cross-browser extensions with no build configuration.",
|
|
14
14
|
"main": "./dist/cli.js",
|
|
15
15
|
"types": "./dist/cli.d.ts",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"semver": "^7.6.3",
|
|
51
51
|
"update-check": "^1.5.4",
|
|
52
52
|
"webextension-polyfill": "^0.12.0",
|
|
53
|
-
"extension-create": "2.0.
|
|
54
|
-
"extension-develop": "2.0.0-rc.
|
|
53
|
+
"extension-create": "2.0.0-rc.25",
|
|
54
|
+
"extension-develop": "2.0.0-rc.25"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/jest": "^29.5.14",
|