create-storm-workspace 1.5.13 → 1.5.14
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 +7 -0
- package/bin/index.ts +2 -23
- package/index.js +12 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.5.13](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.12...create-storm-workspace-v1.5.13) (2023-11-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issues with all-contributors template ([56f40e0](https://github.com/storm-software/storm-ops/commit/56f40e06143203c6d24658d192cba20fefa75004))
|
|
7
|
+
|
|
1
8
|
## [1.5.12](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.11...create-storm-workspace-v1.5.12) (2023-11-08)
|
|
2
9
|
|
|
3
10
|
|
package/bin/index.ts
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4
4
|
|
|
5
5
|
import { getNpmPackageVersion } from "@nx/workspace/src/generators/utils/get-npm-package-version";
|
|
6
|
-
import type {
|
|
7
|
-
NxClientMode,
|
|
8
|
-
PresetGeneratorSchema
|
|
9
|
-
} from "@storm-software/workspace-tools";
|
|
6
|
+
import type { PresetGeneratorSchema } from "@storm-software/workspace-tools";
|
|
10
7
|
import { createWorkspace } from "create-nx-workspace";
|
|
11
8
|
import { prompt } from "enquirer";
|
|
12
9
|
|
|
@@ -86,24 +83,6 @@ async function main() {
|
|
|
86
83
|
repositoryUrl = response.repositoryUrl;
|
|
87
84
|
}
|
|
88
85
|
|
|
89
|
-
let mode: NxClientMode = (
|
|
90
|
-
process.argv.length > 8 ? process.argv[8] : null
|
|
91
|
-
) as NxClientMode;
|
|
92
|
-
if (!mode) {
|
|
93
|
-
mode = (
|
|
94
|
-
await prompt<{ mode: "light" | "dark" }>({
|
|
95
|
-
name: "mode",
|
|
96
|
-
message: "Which mode should be used?",
|
|
97
|
-
initial: "dark" as any,
|
|
98
|
-
type: "autocomplete",
|
|
99
|
-
choices: [
|
|
100
|
-
{ name: "light", message: "light" },
|
|
101
|
-
{ name: "dark", message: "dark" }
|
|
102
|
-
]
|
|
103
|
-
})
|
|
104
|
-
).mode;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
86
|
console.log(`⚡ Creating the Storm Workspace: ${name}`);
|
|
108
87
|
|
|
109
88
|
const version = getNpmPackageVersion("@storm-software/workspace-tools");
|
|
@@ -118,7 +97,7 @@ async function main() {
|
|
|
118
97
|
repositoryUrl,
|
|
119
98
|
packageManager: "pnpm",
|
|
120
99
|
nxCloud: false,
|
|
121
|
-
mode
|
|
100
|
+
mode: "dark"
|
|
122
101
|
}
|
|
123
102
|
);
|
|
124
103
|
|