create-storm-workspace 1.5.0 → 1.5.2
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 +14 -0
- package/README.md +1 -1
- package/bin/index.js +4 -4
- package/bin/index.js.map +1 -1
- package/bin/index.ts +4 -6
- package/package.json +1 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.5.1](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.5.0...create-storm-workspace-v1.5.1) (2023-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **create-storm-workspace:** Resolved issue with linked workspace-tools dependency in package.json ([90b0b76](https://github.com/storm-software/storm-ops/commit/90b0b766817445084cec96126c51c8302ca16d6d))
|
|
7
|
+
|
|
8
|
+
# [1.5.0](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.4.0...create-storm-workspace-v1.5.0) (2023-11-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added the node-library generator ([85ada65](https://github.com/storm-software/storm-ops/commit/85ada65f9737f972a36d0a001179f87963b4aa98))
|
|
14
|
+
|
|
1
15
|
# [1.4.0](https://github.com/storm-software/storm-ops/compare/create-storm-workspace-v1.3.0...create-storm-workspace-v1.4.0) (2023-11-07)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
15
|
|
|
16
16
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
19
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
20
|
|
|
21
21
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
package/bin/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
|
+
const get_npm_package_version_1 = require("@nx/workspace/src/generators/utils/get-npm-package-version");
|
|
6
7
|
const create_nx_workspace_1 = require("create-nx-workspace");
|
|
7
8
|
const enquirer_1 = require("enquirer");
|
|
8
9
|
function main() {
|
|
@@ -31,7 +32,7 @@ function main() {
|
|
|
31
32
|
const response = yield (0, enquirer_1.prompt)({
|
|
32
33
|
type: "input",
|
|
33
34
|
name: "namespace",
|
|
34
|
-
message: "What
|
|
35
|
+
message: "What is the namespace of this repository (npm scope)?",
|
|
35
36
|
initial: organization ? organization : "storm-software"
|
|
36
37
|
});
|
|
37
38
|
namespace = response.namespace;
|
|
@@ -90,9 +91,8 @@ function main() {
|
|
|
90
91
|
})).mode;
|
|
91
92
|
}
|
|
92
93
|
console.log(`⚡ Creating the Storm Workspace: ${name}`);
|
|
93
|
-
|
|
94
|
-
const
|
|
95
|
-
const { directory } = yield (0, create_nx_workspace_1.createWorkspace)(`@storm-software/workspace-tools@${packageJson === null || packageJson === void 0 ? void 0 : packageJson.version}`, {
|
|
94
|
+
const version = (0, get_npm_package_version_1.getNpmPackageVersion)("@storm-software/workspace-tools");
|
|
95
|
+
const { directory } = yield (0, create_nx_workspace_1.createWorkspace)(`@storm-software/workspace-tools@${version ? version : "latest"}`, {
|
|
96
96
|
name,
|
|
97
97
|
organization,
|
|
98
98
|
namespace,
|
package/bin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/create-storm-workspace/bin/index.ts"],"names":[],"mappings":";;AAEA,uDAAuD;;;AAEvD,6DAAsD;AACtD,uCAAkC;AAElC,SAAe,IAAI;;QACjB,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC3B,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,QAAQ,GAAG,MAAM,IAAA,iBAAM,EAAmB;gBAC9C,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,oCAAoC;aAC9C,CAAC,CAAC;YACH,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;SACtB;QAED,IAAI,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,YAAY,EAAE;YACjB,MAAM,QAAQ,GAAG,MAAM,IAAA,iBAAM,EAA2B;gBACtD,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE,yCAAyC;gBAClD,OAAO,EAAE,gBAAgB;aAC1B,CAAC,CAAC;YACH,YAAY,GAAG,QAAQ,CAAC,YAAY,CAAC;SACtC;QAED,IAAI,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,QAAQ,GAAG,MAAM,IAAA,iBAAM,EAAwB;gBACnD,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,WAAW;gBACjB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/create-storm-workspace/bin/index.ts"],"names":[],"mappings":";;AAEA,uDAAuD;;;AAEvD,wGAAkG;AAClG,6DAAsD;AACtD,uCAAkC;AAElC,SAAe,IAAI;;QACjB,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,C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AAqF;gBACvF,OAAO,EAAE,KAAK;aACf,CAAC,CAAC;YACH,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;SAC5B;QAED,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC3B,IAAI,CAAC,IAAI,EAAE;YACT,IAAI,GAAG,CACL,MAAM,IAAA,iBAAM,EAA6B;gBACvC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,4BAA4B;gBACrC,OAAO,EAAE,MAAa;gBACtB,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE;oBACP,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE;oBACnC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;iBAClC;aACF,CAAC,CACH,CAAC,IAAI,CAAC;SACR;QAED,OAAO,CAAC,GAAG,CAAC,mCAAmC,IAAI,EAAE,CAAC,CAAC;QAEvD,MAAM,OAAO,GAAG,IAAA,8CAAoB,EAAC,iCAAiC,CAAC,CAAC;QACxE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,qCAAe,EACzC,mCAAmC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EACjE;YACE,IAAI;YACJ,YAAY;YACZ,SAAS;YACT,WAAW;YACX,WAAW;YACX,aAAa;YACb,OAAO,EAAE,CAAC,CAAC,OAAO;YAClB,cAAc,EAAE,MAAM;YACtB,IAAI;SACL,CACF,CAAC;QAEF,OAAO,CAAC,GAAG,CAAC,yCAAyC,SAAS,GAAG,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,IAAI,EAAE,CAAC"}
|
package/bin/index.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4
4
|
|
|
5
|
+
import { getNpmPackageVersion } from "@nx/workspace/src/generators/utils/get-npm-package-version";
|
|
5
6
|
import { createWorkspace } from "create-nx-workspace";
|
|
6
7
|
import { prompt } from "enquirer";
|
|
7
8
|
|
|
@@ -32,7 +33,7 @@ async function main() {
|
|
|
32
33
|
const response = await prompt<{ namespace: string }>({
|
|
33
34
|
type: "input",
|
|
34
35
|
name: "namespace",
|
|
35
|
-
message: "What
|
|
36
|
+
message: "What is the namespace of this repository (npm scope)?",
|
|
36
37
|
initial: organization ? organization : "storm-software"
|
|
37
38
|
});
|
|
38
39
|
namespace = response.namespace;
|
|
@@ -107,12 +108,9 @@ async function main() {
|
|
|
107
108
|
|
|
108
109
|
console.log(`⚡ Creating the Storm Workspace: ${name}`);
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
const packageJson =
|
|
112
|
-
await require("@storm-software/workspace-tools/package.json");
|
|
113
|
-
|
|
111
|
+
const version = getNpmPackageVersion("@storm-software/workspace-tools");
|
|
114
112
|
const { directory } = await createWorkspace(
|
|
115
|
-
`@storm-software/workspace-tools@${
|
|
113
|
+
`@storm-software/workspace-tools@${version ? version : "latest"}`,
|
|
116
114
|
{
|
|
117
115
|
name,
|
|
118
116
|
organization,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-storm-workspace",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡A CLI tool used to generate and fully configure a Storm Workspace repository.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,12 +37,6 @@
|
|
|
37
37
|
"create-nx-workspace": "17.0.3",
|
|
38
38
|
"enquirer": "2.4.1"
|
|
39
39
|
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@storm-software/workspace-tools": "*"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"@storm-software/workspace-tools": "workspace:*"
|
|
45
|
-
},
|
|
46
40
|
"publishConfig": {
|
|
47
41
|
"access": "public"
|
|
48
42
|
},
|