@wix/cli-app 1.0.65
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/build/index.cjs +77480 -0
- package/build/index.cjs.map +1 -0
- package/build/index.d.ts +31 -0
- package/package.json +93 -0
- package/tsconfig.app.json +11 -0
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
interface ErrorReporterOptions {
|
|
2
|
+
dsn: string;
|
|
3
|
+
release: string;
|
|
4
|
+
}
|
|
5
|
+
type ErrorReporter = ReturnType<typeof createErrorReporter>;
|
|
6
|
+
declare function createErrorReporter({ dsn, release }: ErrorReporterOptions): {
|
|
7
|
+
reportError: (error: unknown, { data }?: {
|
|
8
|
+
data?: unknown;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
interface CommandServices {
|
|
13
|
+
errorReporter: ErrorReporter;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare function dev(services: CommandServices): Promise<void>;
|
|
17
|
+
|
|
18
|
+
declare function build(_services: CommandServices): Promise<void>;
|
|
19
|
+
|
|
20
|
+
declare function serve(services: CommandServices): Promise<void>;
|
|
21
|
+
|
|
22
|
+
declare function preview(options: {
|
|
23
|
+
site?: string;
|
|
24
|
+
}, services: CommandServices): Promise<void>;
|
|
25
|
+
|
|
26
|
+
declare function createVersion(options: {
|
|
27
|
+
versionType?: string;
|
|
28
|
+
approvePreview?: boolean;
|
|
29
|
+
}, services: CommandServices): Promise<void>;
|
|
30
|
+
|
|
31
|
+
export { build, createVersion, dev, preview, serve };
|
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/cli-app",
|
|
3
|
+
"description": "CLI tool for Wix apps",
|
|
4
|
+
"version": "1.0.65",
|
|
5
|
+
"author": "Amit Dahan",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@vitejs/plugin-react-swc": "3.0.1",
|
|
8
|
+
"vite": "4.0.3"
|
|
9
|
+
},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"@rollup/plugin-virtual": "^3.0.1",
|
|
12
|
+
"@types/verror": "^1.10.6",
|
|
13
|
+
"@vitejs/plugin-basic-ssl": "^1.0.1",
|
|
14
|
+
"@wix/ambassador-ctp-app-cloud-deployer-service-v1-app-cloud-deployer": "^1.0.7",
|
|
15
|
+
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.20",
|
|
16
|
+
"@wix/ambassador-devcenter-components-v1-component": "^1.0.193",
|
|
17
|
+
"@wix/cli-app-definitions": "0.0.0",
|
|
18
|
+
"@wix/cli-auth": "0.0.0",
|
|
19
|
+
"@wix/cli-core-definitions": "0.0.0",
|
|
20
|
+
"@wix/cli-error-reporter": "0.0.0",
|
|
21
|
+
"@wix/cli-fs": "0.0.0",
|
|
22
|
+
"@wix/cli-i18n": "0.0.0",
|
|
23
|
+
"@wix/cli-logger": "0.0.0",
|
|
24
|
+
"@wix/dev-center-client": "0.0.0",
|
|
25
|
+
"@wix/http-client": "^1.526.0",
|
|
26
|
+
"@wix/site-list-client": "0.0.0",
|
|
27
|
+
"@wix/tsup-configs": "0.0.0",
|
|
28
|
+
"@wix/user-browser": "0.0.0",
|
|
29
|
+
"chalk": "^5.2.0",
|
|
30
|
+
"form-data": "^4.0.0",
|
|
31
|
+
"get-port": "^6.1.2",
|
|
32
|
+
"globby": "^13.1.3",
|
|
33
|
+
"jsonfile": "^6.1.0",
|
|
34
|
+
"p-retry": "^5.1.2",
|
|
35
|
+
"p-wait-for": "^5.0.0",
|
|
36
|
+
"prompts": "^2.4.2",
|
|
37
|
+
"semver": "^7.3.8",
|
|
38
|
+
"terminal-link": "^3.0.0",
|
|
39
|
+
"verror": "^1.10.1",
|
|
40
|
+
"vite-plugin-externals": "^0.6.2",
|
|
41
|
+
"zod": "^3.21.0"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">= 14.18"
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"build",
|
|
48
|
+
"tsconfig.app.json"
|
|
49
|
+
],
|
|
50
|
+
"main": "./build/index.cjs",
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": "^16.14 || ^17 || ^18",
|
|
53
|
+
"react-dom": "^16.14 || ^17 || ^18"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"react-dom": {
|
|
57
|
+
"optional": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"perfer": {
|
|
61
|
+
"bundleSize": {
|
|
62
|
+
"files": [
|
|
63
|
+
{
|
|
64
|
+
"glob": "./build/index.cjs",
|
|
65
|
+
"maxSize": "435kb"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"registry": "https://registry.npmjs.org/",
|
|
72
|
+
"access": "public"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "run -T tsup",
|
|
76
|
+
"build:watch": "run build --watch",
|
|
77
|
+
"typecheck": "run -T tsc --noEmit"
|
|
78
|
+
},
|
|
79
|
+
"type": "module",
|
|
80
|
+
"types": "./build/index.d.ts",
|
|
81
|
+
"wix": {
|
|
82
|
+
"artifact": {
|
|
83
|
+
"groupId": "com.wixpress.npm",
|
|
84
|
+
"artifactId": "wix-cli-app"
|
|
85
|
+
},
|
|
86
|
+
"validations": {
|
|
87
|
+
"postBuild": [
|
|
88
|
+
"typecheck"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"falconPackageHash": "50d60c9414fc5b10ee84a9f21e341fdbd18bff1acb01ec17b8557f3c"
|
|
93
|
+
}
|