cloudmason 1.0.5 → 1.0.7
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/main.js +2 -4
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -150,8 +150,9 @@ async function main(){
|
|
|
150
150
|
return;
|
|
151
151
|
}
|
|
152
152
|
// Exit if no org found
|
|
153
|
-
if (args.cmd !== 'init-org' && args.cmd !== 'set-org' && !orgExists){
|
|
153
|
+
if (args.cmd !== 'init-org' && args.cmd !== 'set-org' && args.cmd !== 'starter' && !orgExists){
|
|
154
154
|
console.log(`No organization found. Use init-org or set-org`);
|
|
155
|
+
return
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
// Check for valid command
|
|
@@ -176,9 +177,6 @@ async function main(){
|
|
|
176
177
|
args.args.region = process.env.orgRegion = args.args.region || 'us-east-1';
|
|
177
178
|
process.env.orgName = args.args.name;
|
|
178
179
|
process.env.orgId = args.args.domain;
|
|
179
|
-
} else if (!orgExists){
|
|
180
|
-
console.log('Run init-org or set-org first');
|
|
181
|
-
return
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
// Exec Command
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cloudmason","version":"1.0.
|
|
1
|
+
{"name":"cloudmason","version":"1.0.7","description":"","main":"main.js","scripts":{"build":"node build.js"},"bin":{"mason":"./main.js"},"repository":{"type":"git","url":"https://github.com/kai-harvey/secure-saas.git"},"author":"Kai Harvey","license":"ISC","dependencies":{"@aws-sdk/client-acm":"^3.418.0","@aws-sdk/client-auto-scaling":"^3.470.0","@aws-sdk/client-cloudformation":"^3.418.0","@aws-sdk/client-ec2":"^3.416.0","@aws-sdk/client-iam":"^3.418.0","@aws-sdk/client-route-53":"^3.425.0","@aws-sdk/client-s3":"^3.418.0","@aws-sdk/client-ssm":"^3.421.0","adm-zip":"^0.5.10"}}
|