create-storm-workspace 1.5.7 → 1.5.9

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.5.8](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.7...create-storm-workspace-v1.5.8) (2023-11-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolved issue with README template in preset ([5824423](https://github.com/storm-software/storm-ops/commit/5824423e787aa2bec7e94cca89105a2bee2828f4))
7
+
8
+ ## [1.5.7](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.6...create-storm-workspace-v1.5.7) (2023-11-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **workspace-tools:** Resolved issue with nx.json file in preset ([ce132a0](https://github.com/storm-software/storm-ops/commit/ce132a00334b9c6e6123c1302301b808212db4fb))
14
+
1
15
  ## [1.5.6](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.5...create-storm-workspace-v1.5.6) (2023-11-08)
2
16
 
3
17
 
package/bin/index.ts CHANGED
@@ -83,19 +83,7 @@ async function main() {
83
83
  repositoryUrl = response.repositoryUrl;
84
84
  }
85
85
 
86
- let nxCloud = process.argv[8] ? Boolean(process.argv[8]) : null;
87
- if (!nxCloud && typeof nxCloud !== "boolean") {
88
- const response = await prompt<{ nxCloud: boolean }>({
89
- type: "confirm",
90
- name: "nxCloud",
91
- message:
92
- "Should Nx Cloud be enabled for the workspace (allows for remote workspace caching)?",
93
- initial: false
94
- });
95
- nxCloud = response.nxCloud;
96
- }
97
-
98
- let mode: NxClientMode = process.argv[9] as NxClientMode;
86
+ let mode: NxClientMode = process.argv[8] as NxClientMode;
99
87
  if (!mode) {
100
88
  mode = (
101
89
  await prompt<{ mode: "light" | "dark" }>({
@@ -124,13 +112,16 @@ async function main() {
124
112
  includeApps,
125
113
  repositoryUrl,
126
114
  packageManager: "pnpm",
127
- nxCloud,
115
+ nxCloud: false,
128
116
  mode
129
117
  }
130
118
  );
131
119
 
132
120
  console.log(`⚡ Successfully created the workspace: ${directory}.`);
133
121
  } catch (error) {
122
+ console.log(
123
+ "❌ An error occurred while creating the workspace. Please correct the below issue:"
124
+ );
134
125
  console.error(error);
135
126
  }
136
127
  }