@shopify/oxygen-cli 2.1.3-unstable.202310181354.0 → 2.1.3-unstable.202310181355.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/oclif.manifest.json +85 -59
  2. package/package.json +2 -2
@@ -1,145 +1,171 @@
1
1
  {
2
- "version": "2.1.3-unstable.202310181354.0",
3
2
  "commands": {
4
3
  "oxygen:deploy": {
5
- "id": "oxygen:deploy",
6
- "description": "Creates a deployment to Oxygen",
7
- "strict": true,
8
- "pluginName": "@shopify/oxygen-cli",
9
- "pluginAlias": "@shopify/oxygen-cli",
10
- "pluginType": "core",
11
- "hidden": false,
12
4
  "aliases": [],
5
+ "args": {},
6
+ "description": "Creates a deployment to Oxygen",
13
7
  "flags": {
14
8
  "assetsFolder": {
15
- "name": "assetsFolder",
16
- "type": "option",
17
9
  "char": "a",
18
10
  "description": "Assets folder",
11
+ "name": "assetsFolder",
19
12
  "required": false,
13
+ "default": "dist/client/",
14
+ "hasDynamicHelp": false,
20
15
  "multiple": false,
21
- "default": "dist/client/"
16
+ "type": "option"
22
17
  },
23
18
  "buildCommand": {
24
- "name": "buildCommand",
25
- "type": "option",
26
19
  "char": "b",
27
20
  "description": "Build command",
21
+ "name": "buildCommand",
28
22
  "required": false,
23
+ "default": "yarn build",
24
+ "hasDynamicHelp": false,
29
25
  "multiple": false,
30
- "default": "yarn build"
26
+ "type": "option"
31
27
  },
32
28
  "disableBugsnag": {
33
- "name": "disableBugsnag",
34
- "type": "boolean",
35
29
  "description": "Disable Bugsnag error reporting",
30
+ "name": "disableBugsnag",
36
31
  "required": false,
37
- "allowNo": false
32
+ "allowNo": false,
33
+ "type": "boolean"
38
34
  },
39
35
  "environmentTag": {
40
- "name": "environmentTag",
41
- "type": "option",
42
36
  "char": "e",
43
37
  "description": "Tag of the environment to deploy to",
38
+ "name": "environmentTag",
44
39
  "required": false,
45
- "multiple": false
40
+ "hasDynamicHelp": false,
41
+ "multiple": false,
42
+ "type": "option"
46
43
  },
47
44
  "verificationMaxDuration": {
48
- "name": "verificationMaxDuration",
49
- "type": "option",
50
45
  "char": "d",
51
46
  "description": "the maximum duration (in seconds) that the deployment verification step is allowed to run before it is considered failed.",
47
+ "name": "verificationMaxDuration",
52
48
  "required": false,
53
- "multiple": false
49
+ "hasDynamicHelp": false,
50
+ "multiple": false,
51
+ "type": "option"
54
52
  },
55
53
  "path": {
56
- "name": "path",
57
- "type": "option",
58
54
  "char": "p",
59
55
  "description": "Root path",
56
+ "name": "path",
60
57
  "required": false,
58
+ "default": "./",
59
+ "hasDynamicHelp": false,
61
60
  "multiple": false,
62
- "default": "./"
61
+ "type": "option"
63
62
  },
64
63
  "publicDeployment": {
65
- "name": "publicDeployment",
66
- "type": "boolean",
67
64
  "description": "Marks a preview deployment as publicly accessible.",
65
+ "env": "OXYGEN_PUBLIC_DEPLOYMENT",
66
+ "name": "publicDeployment",
68
67
  "required": false,
69
- "allowNo": false
68
+ "allowNo": false,
69
+ "type": "boolean"
70
70
  },
71
71
  "skipBuild": {
72
- "name": "skipBuild",
73
- "type": "boolean",
74
72
  "char": "s",
75
73
  "description": "Skip running build command",
74
+ "name": "skipBuild",
76
75
  "required": false,
77
- "allowNo": false
76
+ "allowNo": false,
77
+ "type": "boolean"
78
78
  },
79
79
  "skipVerification": {
80
- "name": "skipVerification",
81
- "type": "boolean",
82
80
  "char": "v",
83
81
  "description": "Skip running deployment verification step",
82
+ "name": "skipVerification",
84
83
  "required": false,
85
- "allowNo": false
84
+ "allowNo": false,
85
+ "type": "boolean"
86
86
  },
87
87
  "token": {
88
- "name": "token",
89
- "type": "option",
90
88
  "char": "t",
91
89
  "description": "Oxygen deployment token",
90
+ "env": "OXYGEN_DEPLOYMENT_TOKEN",
91
+ "name": "token",
92
92
  "required": true,
93
- "multiple": false
93
+ "hasDynamicHelp": false,
94
+ "multiple": false,
95
+ "type": "option"
94
96
  },
95
97
  "workerFolder": {
96
- "name": "workerFolder",
97
- "type": "option",
98
98
  "char": "w",
99
99
  "description": "Worker folder",
100
+ "name": "workerFolder",
100
101
  "required": false,
102
+ "default": "dist/worker/",
103
+ "hasDynamicHelp": false,
101
104
  "multiple": false,
102
- "default": "dist/worker/"
105
+ "type": "option"
103
106
  },
104
107
  "workerOnly": {
105
- "name": "workerOnly",
106
- "type": "boolean",
107
108
  "char": "o",
108
109
  "description": "Worker only deployment",
110
+ "name": "workerOnly",
109
111
  "required": false,
110
- "allowNo": false
112
+ "allowNo": false,
113
+ "type": "boolean"
111
114
  },
112
115
  "metadataDescription": {
113
- "name": "metadataDescription",
114
- "type": "option",
115
116
  "description": "Description of the deployment. Will be saved and displayed in the Shopify admin",
117
+ "env": "OXYGEN_METADATA_DESCRIPTION",
118
+ "name": "metadataDescription",
116
119
  "required": false,
117
- "multiple": false
120
+ "hasDynamicHelp": false,
121
+ "multiple": false,
122
+ "type": "option"
118
123
  },
119
124
  "metadataUrl": {
120
- "name": "metadataUrl",
121
- "type": "option",
122
125
  "description": "URL that links to the deployment. Will be saved and displayed in the Shopify admin",
126
+ "env": "OXYGEN_METADATA_URL",
127
+ "name": "metadataUrl",
123
128
  "required": false,
124
- "multiple": false
129
+ "hasDynamicHelp": false,
130
+ "multiple": false,
131
+ "type": "option"
125
132
  },
126
133
  "metadataUser": {
127
- "name": "metadataUser",
128
- "type": "option",
129
134
  "description": "User that initiated the deployment. Will be saved and displayed in the Shopify admin",
135
+ "env": "OXYGEN_METADATA_USER",
136
+ "name": "metadataUser",
130
137
  "required": false,
131
- "multiple": false
138
+ "hasDynamicHelp": false,
139
+ "multiple": false,
140
+ "type": "option"
132
141
  },
133
142
  "metadataVersion": {
134
- "name": "metadataVersion",
135
- "type": "option",
136
143
  "description": "A version identifier for the deployment. Will be saved and displayed in the Shopify admin",
144
+ "env": "OXYGEN_METADATA_VERSION",
145
+ "name": "metadataVersion",
137
146
  "required": false,
138
- "multiple": false
147
+ "hasDynamicHelp": false,
148
+ "multiple": false,
149
+ "type": "option"
139
150
  }
140
151
  },
141
- "args": {},
142
- "hasCustomBuildCommand": false
152
+ "hasDynamicHelp": false,
153
+ "hidden": false,
154
+ "hiddenAliases": [],
155
+ "id": "oxygen:deploy",
156
+ "pluginAlias": "@shopify/oxygen-cli",
157
+ "pluginName": "@shopify/oxygen-cli",
158
+ "pluginType": "core",
159
+ "strict": true,
160
+ "hasCustomBuildCommand": false,
161
+ "isESM": true,
162
+ "relativePath": [
163
+ "dist",
164
+ "commands",
165
+ "oxygen",
166
+ "deploy.js"
167
+ ]
143
168
  }
144
- }
169
+ },
170
+ "version": "2.1.3-unstable.202310181355.0"
145
171
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "2.1.3-unstable.202310181354.0",
8
+ "version": "2.1.3-unstable.202310181355.0",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "build": "tsup --sourcemap --clean --config ./tsup.config.ts && oclif manifest",
@@ -52,7 +52,7 @@
52
52
  "eslint": "^8.50.0",
53
53
  "eslint-plugin-prettier": "^5.0.1",
54
54
  "node-fetch": "^3.3.2",
55
- "oclif": "^3",
55
+ "oclif": "^4",
56
56
  "tsup": "^7.2.0",
57
57
  "typescript": "^5.2.2",
58
58
  "vite": "^4.4.9",