@granite-js/forge-cli 2.5.5 → 3.0.0
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/CHANGELOG.md +28 -0
- package/dist/index.js +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @granite-js/forge-cli
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @granite-js/deployment-manager@3.0.0
|
|
8
|
+
- @granite-js/plugin-core@3.0.0
|
|
9
|
+
|
|
3
10
|
## 2.5.5
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -124,6 +131,27 @@
|
|
|
124
131
|
- @granite-js/deployment-manager@2.0.0
|
|
125
132
|
- @granite-js/plugin-core@2.0.0
|
|
126
133
|
|
|
134
|
+
## 1.0.45
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- @granite-js/deployment-manager@1.0.45
|
|
139
|
+
- @granite-js/plugin-core@1.0.45
|
|
140
|
+
|
|
141
|
+
## 1.0.44
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- @granite-js/deployment-manager@1.0.44
|
|
146
|
+
- @granite-js/plugin-core@1.0.44
|
|
147
|
+
|
|
148
|
+
## 1.0.43
|
|
149
|
+
|
|
150
|
+
### Patch Changes
|
|
151
|
+
|
|
152
|
+
- @granite-js/deployment-manager@1.0.43
|
|
153
|
+
- @granite-js/plugin-core@1.0.43
|
|
154
|
+
|
|
127
155
|
## 1.0.42
|
|
128
156
|
|
|
129
157
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -156,7 +156,7 @@ const envSchema = v.object({
|
|
|
156
156
|
});
|
|
157
157
|
const awsCredentialsProvider = fromNodeProviderChain();
|
|
158
158
|
function deploy() {
|
|
159
|
-
return new Command("deploy").description("Deploy a Granite application").requiredOption("--bucket <BUCKET>", "AWS bucket").option("--channel <CHANNEL>", "Deployment channel (omit for the legacy namespace)", validateChannel).action(async (options) => {
|
|
159
|
+
return new Command("deploy").description("Deploy a Granite application").requiredOption("--bucket <BUCKET>", "AWS bucket").option("--channel <CHANNEL>", "Deployment channel (omit for the legacy namespace)", validateChannel).option("--outdir <DIRECTORY>", "Directory containing built Hermes bundles", "dist").action(async (options) => {
|
|
160
160
|
const [config, awsCredentials, region] = await Promise.all([
|
|
161
161
|
loadConfig(),
|
|
162
162
|
awsCredentialsProvider(),
|
|
@@ -179,8 +179,8 @@ function deploy() {
|
|
|
179
179
|
}
|
|
180
180
|
await deploy$1({
|
|
181
181
|
appName: config.appName,
|
|
182
|
-
iosBundle: path.
|
|
183
|
-
androidBundle: path.
|
|
182
|
+
iosBundle: path.resolve(config.cwd, options.outdir, "bundle.ios.hbc"),
|
|
183
|
+
androidBundle: path.resolve(config.cwd, options.outdir, "bundle.android.hbc")
|
|
184
184
|
}, {
|
|
185
185
|
channel: options.channel,
|
|
186
186
|
s3Client: new S3Client({
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@granite-js/forge-cli",
|
|
3
3
|
"description": "A CLI tool for managing Granite applications",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "3.0.0",
|
|
6
6
|
"bin": {
|
|
7
7
|
"granite-forge": "./bin/index.js"
|
|
8
8
|
},
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@aws-sdk/shared-ini-file-loader": "^3.374.0",
|
|
35
35
|
"@clack/prompts": "^0.10.1",
|
|
36
36
|
"@commander-js/extra-typings": "^14.0.0",
|
|
37
|
-
"@granite-js/deployment-manager": "
|
|
38
|
-
"@granite-js/plugin-core": "
|
|
37
|
+
"@granite-js/deployment-manager": "3.0.0",
|
|
38
|
+
"@granite-js/plugin-core": "3.0.0",
|
|
39
39
|
"commander": "^14.0.0",
|
|
40
40
|
"uuid": "^11.1.0",
|
|
41
41
|
"valibot": "^1.1.0"
|