@storm-software/workspace-tools 1.294.40 → 1.294.42
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 +37 -0
- package/README.md +1 -1
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
- package/dist/chunk-54MA4WSQ.mjs +0 -32
- package/dist/chunk-652HZZQ6.mjs +0 -82
- package/dist/chunk-BLSUQ4AI.mjs +0 -32
- package/dist/chunk-CFGJEIMQ.js +0 -31
- package/dist/chunk-CX42PCEC.mjs +0 -253
- package/dist/chunk-DGX22JSK.js +0 -32
- package/dist/chunk-EFCYTQCA.js +0 -93
- package/dist/chunk-FUI4YPOR.js +0 -41
- package/dist/chunk-G3ETC7F5.mjs +0 -41
- package/dist/chunk-GBESJVYG.mjs +0 -32
- package/dist/chunk-GGYEFCAI.mjs +0 -116
- package/dist/chunk-HUC5CYJB.mjs +0 -31
- package/dist/chunk-JBRRO6VB.js +0 -548
- package/dist/chunk-JMKTY5ZQ.js +0 -32
- package/dist/chunk-KMDUHEVQ.js +0 -79
- package/dist/chunk-MLI55MFR.js +0 -250
- package/dist/chunk-MORI7YVO.js +0 -32
- package/dist/chunk-NJLZBEYW.mjs +0 -93
- package/dist/chunk-RPQZ234N.js +0 -116
- package/dist/chunk-VWKETDBY.mjs +0 -548
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.294.41](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.41) (02/23/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `README.md` files in repository ([e4da3c176](https://github.com/storm-software/storm-ops/commit/e4da3c176))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **testing-tools** to **v1.119.83**
|
|
14
|
+
- Updated **config-tools** to **v1.189.8**
|
|
15
|
+
- Updated **pnpm-tools** to **v0.6.92**
|
|
16
|
+
- Updated **npm-tools** to **v0.6.46**
|
|
17
|
+
- Updated **prettier** to **v0.58.7**
|
|
18
|
+
- Updated **esbuild** to **v0.53.90**
|
|
19
|
+
- Updated **unbuild** to **v0.57.90**
|
|
20
|
+
- Updated **config** to **v1.135.9**
|
|
21
|
+
- Updated **tsdown** to **v0.45.90**
|
|
22
|
+
|
|
23
|
+
## [1.294.40](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.40) (02/21/2026)
|
|
24
|
+
|
|
25
|
+
### Miscellaneous
|
|
26
|
+
|
|
27
|
+
- **monorepo:** Update workspace's `README.md` files ([ab3bce03c](https://github.com/storm-software/storm-ops/commit/ab3bce03c))
|
|
28
|
+
- **monorepo:** Upgrade NodeJs to v25.5.0 ([8be0f998d](https://github.com/storm-software/storm-ops/commit/8be0f998d))
|
|
29
|
+
|
|
30
|
+
### Updated Dependencies
|
|
31
|
+
|
|
32
|
+
- Updated **testing-tools** to **v1.119.82**
|
|
33
|
+
- Updated **config-tools** to **v1.189.7**
|
|
34
|
+
- Updated **pnpm-tools** to **v0.6.91**
|
|
35
|
+
- Updated **npm-tools** to **v0.6.45**
|
|
36
|
+
- Updated **prettier** to **v0.58.6**
|
|
37
|
+
- Updated **esbuild** to **v0.53.89**
|
|
38
|
+
- Updated **unbuild** to **v0.57.89**
|
|
39
|
+
- Updated **config** to **v1.135.8**
|
|
40
|
+
- Updated **tsdown** to **v0.45.89**
|
|
41
|
+
|
|
5
42
|
## [1.294.39](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.39) (02/20/2026)
|
|
6
43
|
|
|
7
44
|
### Updated Dependencies
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-P6HSE7LH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkH3IKVCIQjs = require('./chunk-H3IKVCIQ.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
4
|
var _chunkRXZNL5UAjs = require('./chunk-RXZNL5UA.js');
|
|
8
5
|
|
|
9
6
|
|
|
@@ -13,6 +10,9 @@ var _chunkJWDJFIY2js = require('./chunk-JWDJFIY2.js');
|
|
|
13
10
|
var _chunkEE66SW3Cjs = require('./chunk-EE66SW3C.js');
|
|
14
11
|
|
|
15
12
|
|
|
13
|
+
var _chunkH3IKVCIQjs = require('./chunk-H3IKVCIQ.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
16
|
var _chunkEE24BJX6js = require('./chunk-EE24BJX6.js');
|
|
17
17
|
require('./chunk-GKKPBHC2.js');
|
|
18
18
|
|
package/dist/executors.mjs
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import "./chunk-GHQJKIMQ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
sizeLimitExecutorFn
|
|
4
|
-
} from "./chunk-CN3UL6AL.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tsdownExecutorFn
|
|
7
4
|
} from "./chunk-MYOUONF2.mjs";
|
|
@@ -11,6 +8,9 @@ import {
|
|
|
11
8
|
import {
|
|
12
9
|
unbuildExecutorFn
|
|
13
10
|
} from "./chunk-IE6KPWWN.mjs";
|
|
11
|
+
import {
|
|
12
|
+
sizeLimitExecutorFn
|
|
13
|
+
} from "./chunk-CN3UL6AL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
esbuildExecutorFn
|
|
16
16
|
} from "./chunk-37K47MPA.mjs";
|
package/dist/index.js
CHANGED
|
@@ -58,9 +58,6 @@ var _chunkVXHOSAQ7js = require('./chunk-VXHOSAQ7.js');
|
|
|
58
58
|
require('./chunk-P6HSE7LH.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
var _chunkH3IKVCIQjs = require('./chunk-H3IKVCIQ.js');
|
|
62
|
-
|
|
63
|
-
|
|
64
61
|
var _chunkRXZNL5UAjs = require('./chunk-RXZNL5UA.js');
|
|
65
62
|
|
|
66
63
|
|
|
@@ -70,6 +67,9 @@ var _chunkJWDJFIY2js = require('./chunk-JWDJFIY2.js');
|
|
|
70
67
|
var _chunkEE66SW3Cjs = require('./chunk-EE66SW3C.js');
|
|
71
68
|
|
|
72
69
|
|
|
70
|
+
var _chunkH3IKVCIQjs = require('./chunk-H3IKVCIQ.js');
|
|
71
|
+
|
|
72
|
+
|
|
73
73
|
var _chunkEE24BJX6js = require('./chunk-EE24BJX6.js');
|
|
74
74
|
require('./chunk-GKKPBHC2.js');
|
|
75
75
|
|
package/dist/index.mjs
CHANGED
|
@@ -56,9 +56,6 @@ import {
|
|
|
56
56
|
applyWorkspaceExecutorTokens
|
|
57
57
|
} from "./chunk-UBVTASOE.mjs";
|
|
58
58
|
import "./chunk-GHQJKIMQ.mjs";
|
|
59
|
-
import {
|
|
60
|
-
sizeLimitExecutorFn
|
|
61
|
-
} from "./chunk-CN3UL6AL.mjs";
|
|
62
59
|
import {
|
|
63
60
|
tsdownExecutorFn
|
|
64
61
|
} from "./chunk-MYOUONF2.mjs";
|
|
@@ -68,6 +65,9 @@ import {
|
|
|
68
65
|
import {
|
|
69
66
|
unbuildExecutorFn
|
|
70
67
|
} from "./chunk-IE6KPWWN.mjs";
|
|
68
|
+
import {
|
|
69
|
+
sizeLimitExecutorFn
|
|
70
|
+
} from "./chunk-CN3UL6AL.mjs";
|
|
71
71
|
import {
|
|
72
72
|
esbuildExecutorFn
|
|
73
73
|
} from "./chunk-37K47MPA.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.294.
|
|
3
|
+
"version": "1.294.42",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -240,13 +240,13 @@
|
|
|
240
240
|
"@size-limit/esbuild": "11.1.4",
|
|
241
241
|
"@size-limit/esbuild-why": "11.1.4",
|
|
242
242
|
"@size-limit/file": "11.1.4",
|
|
243
|
-
"@storm-software/config-tools": "^1.189.
|
|
244
|
-
"@storm-software/esbuild": "^0.53.
|
|
245
|
-
"@storm-software/npm-tools": "^0.6.
|
|
246
|
-
"@storm-software/pnpm-tools": "^0.6.
|
|
247
|
-
"@storm-software/prettier": "^0.58.
|
|
248
|
-
"@storm-software/tsdown": "^0.45.
|
|
249
|
-
"@storm-software/unbuild": "^0.57.
|
|
243
|
+
"@storm-software/config-tools": "^1.189.9",
|
|
244
|
+
"@storm-software/esbuild": "^0.53.91",
|
|
245
|
+
"@storm-software/npm-tools": "^0.6.47",
|
|
246
|
+
"@storm-software/pnpm-tools": "^0.6.93",
|
|
247
|
+
"@storm-software/prettier": "^0.58.8",
|
|
248
|
+
"@storm-software/tsdown": "^0.45.91",
|
|
249
|
+
"@storm-software/unbuild": "^0.57.91",
|
|
250
250
|
"fs-extra": "11.2.0",
|
|
251
251
|
"glob": "^11.1.0",
|
|
252
252
|
"jiti": "2.4.2",
|
|
@@ -272,5 +272,5 @@
|
|
|
272
272
|
"publishConfig": { "access": "public" },
|
|
273
273
|
"executors": "./executors.json",
|
|
274
274
|
"generators": "./generators.json",
|
|
275
|
-
"gitHead": "
|
|
275
|
+
"gitHead": "119c9bc1238cfee3860bcc9f7a7445ecbac88aa2"
|
|
276
276
|
}
|
package/dist/chunk-54MA4WSQ.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withRunExecutor
|
|
3
|
-
} from "./chunk-S3RWO7R6.mjs";
|
|
4
|
-
import {
|
|
5
|
-
buildCargoCommand,
|
|
6
|
-
cargoCommand
|
|
7
|
-
} from "./chunk-ZTN2676G.mjs";
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-build/executor.ts
|
|
10
|
-
async function cargoBuildExecutor(options, context) {
|
|
11
|
-
const command = buildCargoCommand("build", options, context);
|
|
12
|
-
return await cargoCommand(context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = withRunExecutor(
|
|
15
|
-
"Cargo - Build",
|
|
16
|
-
cargoBuildExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.outputPath ??= "dist/{projectRoot}/target";
|
|
22
|
-
options.toolchain ??= "stable";
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
cargoBuildExecutor,
|
|
31
|
-
executor_default
|
|
32
|
-
};
|
package/dist/chunk-652HZZQ6.mjs
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
normalizeOptions,
|
|
3
|
-
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-M3YWCYUX.mjs";
|
|
5
|
-
import {
|
|
6
|
-
withRunGenerator
|
|
7
|
-
} from "./chunk-CDEOZ2LA.mjs";
|
|
8
|
-
import {
|
|
9
|
-
typesNodeVersion
|
|
10
|
-
} from "./chunk-QC5ON3X4.mjs";
|
|
11
|
-
import {
|
|
12
|
-
joinPaths
|
|
13
|
-
} from "./chunk-TBW5MCN6.mjs";
|
|
14
|
-
import {
|
|
15
|
-
__dirname
|
|
16
|
-
} from "./chunk-GX3NWVA7.mjs";
|
|
17
|
-
|
|
18
|
-
// src/generators/node-library/generator.ts
|
|
19
|
-
import {
|
|
20
|
-
formatFiles,
|
|
21
|
-
generateFiles,
|
|
22
|
-
names,
|
|
23
|
-
offsetFromRoot
|
|
24
|
-
} from "@nx/devkit";
|
|
25
|
-
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
26
|
-
const filesDir = joinPaths(
|
|
27
|
-
__dirname,
|
|
28
|
-
"src",
|
|
29
|
-
"generators",
|
|
30
|
-
"node-library",
|
|
31
|
-
"files"
|
|
32
|
-
);
|
|
33
|
-
const tsLibraryGeneratorOptions = {
|
|
34
|
-
platform: "node",
|
|
35
|
-
devDependencies: {
|
|
36
|
-
"@types/node": typesNodeVersion
|
|
37
|
-
},
|
|
38
|
-
buildExecutor: "@storm-software/workspace-tools:unbuild",
|
|
39
|
-
...schema,
|
|
40
|
-
directory: schema.directory,
|
|
41
|
-
description: schema.description
|
|
42
|
-
};
|
|
43
|
-
const options = await normalizeOptions(tree, tsLibraryGeneratorOptions);
|
|
44
|
-
const { className, name, propertyName } = names(options.name);
|
|
45
|
-
generateFiles(tree, filesDir, options.projectRoot, {
|
|
46
|
-
...schema,
|
|
47
|
-
dot: ".",
|
|
48
|
-
className,
|
|
49
|
-
name,
|
|
50
|
-
namespace: process.env.STORM_NAMESPACE ?? "storm-software",
|
|
51
|
-
description: schema.description ?? "",
|
|
52
|
-
propertyName,
|
|
53
|
-
js: !!options.js,
|
|
54
|
-
cliCommand: "nx",
|
|
55
|
-
strict: void 0,
|
|
56
|
-
tmpl: "",
|
|
57
|
-
offsetFromRoot: offsetFromRoot(options.projectRoot),
|
|
58
|
-
buildable: options.bundler && options.bundler !== "none",
|
|
59
|
-
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
60
|
-
});
|
|
61
|
-
await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config);
|
|
62
|
-
await formatFiles(tree);
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
var generator_default = withRunGenerator(
|
|
66
|
-
"TypeScript Library Creator (NodeJs Platform)",
|
|
67
|
-
nodeLibraryGeneratorFn,
|
|
68
|
-
{
|
|
69
|
-
hooks: {
|
|
70
|
-
applyDefaultOptions: (options) => {
|
|
71
|
-
options.description ??= "A library used by Storm Software to support NodeJs applications";
|
|
72
|
-
options.platform ??= "node";
|
|
73
|
-
return options;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
export {
|
|
80
|
-
nodeLibraryGeneratorFn,
|
|
81
|
-
generator_default
|
|
82
|
-
};
|
package/dist/chunk-BLSUQ4AI.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withRunExecutor
|
|
3
|
-
} from "./chunk-S3RWO7R6.mjs";
|
|
4
|
-
import {
|
|
5
|
-
buildCargoCommand,
|
|
6
|
-
cargoCommand
|
|
7
|
-
} from "./chunk-ZTN2676G.mjs";
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-clippy/executor.ts
|
|
10
|
-
async function cargoClippyExecutor(options, context) {
|
|
11
|
-
const command = buildCargoCommand("clippy", options, context);
|
|
12
|
-
return await cargoCommand(context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = withRunExecutor(
|
|
15
|
-
"Cargo - Clippy",
|
|
16
|
-
cargoClippyExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.toolchain ??= "stable";
|
|
22
|
-
options.fix ??= false;
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
cargoClippyExecutor,
|
|
31
|
-
executor_default
|
|
32
|
-
};
|
package/dist/chunk-CFGJEIMQ.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-check/executor.ts
|
|
10
|
-
async function cargoCheckExecutor(options, context) {
|
|
11
|
-
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
|
-
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
|
|
15
|
-
"Cargo - Check",
|
|
16
|
-
cargoCheckExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.toolchain ??= "stable";
|
|
22
|
-
return options;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.cargoCheckExecutor = cargoCheckExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-CX42PCEC.mjs
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
withRunGenerator
|
|
3
|
-
} from "./chunk-CDEOZ2LA.mjs";
|
|
4
|
-
import {
|
|
5
|
-
nodeVersion,
|
|
6
|
-
pnpmVersion
|
|
7
|
-
} from "./chunk-QC5ON3X4.mjs";
|
|
8
|
-
import {
|
|
9
|
-
__dirname
|
|
10
|
-
} from "./chunk-GX3NWVA7.mjs";
|
|
11
|
-
|
|
12
|
-
// src/generators/preset/generator.ts
|
|
13
|
-
import {
|
|
14
|
-
addDependenciesToPackageJson,
|
|
15
|
-
addProjectConfiguration,
|
|
16
|
-
formatFiles,
|
|
17
|
-
generateFiles,
|
|
18
|
-
joinPathFragments,
|
|
19
|
-
updateJson
|
|
20
|
-
} from "@nx/devkit";
|
|
21
|
-
import * as path from "node:path";
|
|
22
|
-
async function presetGeneratorFn(tree, options) {
|
|
23
|
-
const projectRoot = ".";
|
|
24
|
-
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
25
|
-
options.namespace ??= options.organization;
|
|
26
|
-
addProjectConfiguration(tree, `@${options.namespace}/${options.name}`, {
|
|
27
|
-
root: projectRoot,
|
|
28
|
-
projectType: "application",
|
|
29
|
-
targets: {
|
|
30
|
-
"local-registry": {
|
|
31
|
-
executor: "@nx/js:verdaccio",
|
|
32
|
-
options: {
|
|
33
|
-
port: 4873,
|
|
34
|
-
config: ".verdaccio/config.yml",
|
|
35
|
-
storage: "tmp/local-registry/storage"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
updateJson(tree, "package.json", (json) => {
|
|
41
|
-
json.scripts = json.scripts || {};
|
|
42
|
-
json.version = "0.0.0";
|
|
43
|
-
json.triggerEmptyDevReleaseByIncrementingThisNumber = 0;
|
|
44
|
-
json.private = true;
|
|
45
|
-
json.keywords ??= [
|
|
46
|
-
options.name,
|
|
47
|
-
options.namespace,
|
|
48
|
-
"storm",
|
|
49
|
-
"storm-stack",
|
|
50
|
-
"storm-ops",
|
|
51
|
-
"rust",
|
|
52
|
-
"nx",
|
|
53
|
-
"graphql",
|
|
54
|
-
"sullivanpj",
|
|
55
|
-
"monorepo"
|
|
56
|
-
];
|
|
57
|
-
json.homepage ??= "https://stormsoftware.com";
|
|
58
|
-
json.bugs ??= {
|
|
59
|
-
url: `https://github.com/${options.organization}/${options.name}/issues`,
|
|
60
|
-
email: "support@stormsoftware.com"
|
|
61
|
-
};
|
|
62
|
-
json.license = "Apache-2.0";
|
|
63
|
-
json.author ??= {
|
|
64
|
-
name: "Storm Software",
|
|
65
|
-
email: "contact@stormsoftware.com",
|
|
66
|
-
url: "https://stormsoftware.com"
|
|
67
|
-
};
|
|
68
|
-
json.maintainers ??= [
|
|
69
|
-
{
|
|
70
|
-
name: "Storm Software",
|
|
71
|
-
email: "contact@stormsoftware.com",
|
|
72
|
-
url: "https://stormsoftware.com"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "Pat Sullivan",
|
|
76
|
-
email: "admin@stormsoftware.com",
|
|
77
|
-
url: "https://patsullivan.org"
|
|
78
|
-
}
|
|
79
|
-
];
|
|
80
|
-
json.funding ??= {
|
|
81
|
-
type: "github",
|
|
82
|
-
url: "https://github.com/sponsors/storm-software"
|
|
83
|
-
};
|
|
84
|
-
json.namespace ??= `@${options.namespace}`;
|
|
85
|
-
json.description ??= options.description;
|
|
86
|
-
options.repositoryUrl ??= `https://github.com/${options.organization}/${options.name}`;
|
|
87
|
-
json.repository ??= {
|
|
88
|
-
type: "github",
|
|
89
|
-
url: `${options.repositoryUrl}.git`
|
|
90
|
-
};
|
|
91
|
-
json.packageManager ??= "pnpm@10.3.0";
|
|
92
|
-
json.engines ??= {
|
|
93
|
-
node: ">=20.11.0",
|
|
94
|
-
pnpm: ">=10.3.0"
|
|
95
|
-
};
|
|
96
|
-
json.prettier = "@storm-software/prettier/config.json";
|
|
97
|
-
json.nx ??= {
|
|
98
|
-
includedScripts: [
|
|
99
|
-
"lint-sherif",
|
|
100
|
-
"lint-knip",
|
|
101
|
-
"lint-ls",
|
|
102
|
-
"lint",
|
|
103
|
-
"format",
|
|
104
|
-
"format-sherif",
|
|
105
|
-
"format-readme",
|
|
106
|
-
"format-prettier",
|
|
107
|
-
"format-toml",
|
|
108
|
-
"commit",
|
|
109
|
-
"release"
|
|
110
|
-
]
|
|
111
|
-
};
|
|
112
|
-
json.scripts.adr = "pnpm log4brains adr new";
|
|
113
|
-
json.scripts["adr-preview"] = "pnpm log4brains preview";
|
|
114
|
-
json.scripts.prepare = "pnpm add lefthook -w && pnpm lefthook install";
|
|
115
|
-
json.scripts.preinstall = "npx -y only-allow pnpm";
|
|
116
|
-
json.scripts["install-csb"] = "corepack enable && pnpm install --no-frozen-lockfile";
|
|
117
|
-
json.scripts.clean = "rimraf dist && rimraf --glob packages/**/dist && rimraf --glob tools/**/dist && rimraf --glob docs/**/dist && rimraf --glob apps/**/dist && rimraf --glob libs/**/dist";
|
|
118
|
-
json.scripts.nuke = "nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && pnpm clean && rimraf pnpm-lock.yaml && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules";
|
|
119
|
-
json.scripts.prebuild = "pnpm clean";
|
|
120
|
-
json.scripts.build = "nx affected -t build --parallel=5";
|
|
121
|
-
json.scripts["build-all"] = "nx run-many -t build --all --parallel=5";
|
|
122
|
-
json.scripts["build-prod"] = "nx run-many -t build --all --prod --parallel=5";
|
|
123
|
-
json.scripts["build-tools"] = "nx run-many -t build --projects=tools/* --parallel=5";
|
|
124
|
-
json.scripts["build-docs"] = "nx run-many -t build --projects=docs/* --parallel=5";
|
|
125
|
-
if (!options.includeApps) {
|
|
126
|
-
json.scripts["build-packages"] = "nx run-many -t build --projects=packages/* --parallel=5";
|
|
127
|
-
} else {
|
|
128
|
-
json.scripts["build-apps"] = "nx run-many -t build --projects=apps/* --parallel=5";
|
|
129
|
-
json.scripts["build-libs"] = "nx run-many -t build --projects=libs/* --parallel=5";
|
|
130
|
-
json.scripts["build-storybook"] = "storybook build -s public";
|
|
131
|
-
}
|
|
132
|
-
json.scripts.nx = "nx";
|
|
133
|
-
json.scripts.graph = "nx graph";
|
|
134
|
-
json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
|
|
135
|
-
if (options.includeApps) {
|
|
136
|
-
json.scripts.start = "nx serve";
|
|
137
|
-
json.scripts.storybook = "pnpm storybook dev -p 6006";
|
|
138
|
-
}
|
|
139
|
-
json.scripts.help = "nx help";
|
|
140
|
-
json.scripts["dep-graph"] = "nx dep-graph";
|
|
141
|
-
json.scripts["local-registry"] = `nx local-registry @${options.namespace}/${options.name}`;
|
|
142
|
-
json.scripts.e2e = "nx e2e";
|
|
143
|
-
if (options.includeApps) {
|
|
144
|
-
json.scripts.test = "nx test && pnpm test-storybook";
|
|
145
|
-
json.scripts["test-storybook"] = "pnpm test-storybook";
|
|
146
|
-
} else {
|
|
147
|
-
json.scripts.test = "nx test";
|
|
148
|
-
}
|
|
149
|
-
json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
|
|
150
|
-
json.scripts.commit = "pnpm storm-git commit";
|
|
151
|
-
json.scripts["api-extractor"] = 'pnpm storm-docs api-extractor --outputPath="docs/api-reference" --clean';
|
|
152
|
-
json.scripts.release = "pnpm storm-git release";
|
|
153
|
-
json.scripts.format = "nx format:write";
|
|
154
|
-
json.scripts["format-sherif"] = "pnpm exec sherif -f -i typescript -i react -i react-dom";
|
|
155
|
-
json.scripts["format-toml"] = 'pnpm exec taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"';
|
|
156
|
-
json.scripts["format-readme"] = 'pnpm storm-git readme --templates="tools/readme-templates"';
|
|
157
|
-
json.scripts["format-prettier"] = "pnpm exec prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index";
|
|
158
|
-
json.scripts.lint = "pnpm storm-lint all --skip-cspell";
|
|
159
|
-
json.scripts["lint-knip"] = "pnpm exec knip";
|
|
160
|
-
json.scripts["lint-sherif"] = "pnpm exec sherif -i typescript -i react -i react-dom";
|
|
161
|
-
json.scripts["lint-ls"] = 'pnpm exec ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"';
|
|
162
|
-
json.packageManager ??= `pnpm@${pnpmVersion}`;
|
|
163
|
-
json.engines = {
|
|
164
|
-
node: `>=${nodeVersion}`,
|
|
165
|
-
pnpm: `>=${pnpmVersion}`
|
|
166
|
-
};
|
|
167
|
-
return json;
|
|
168
|
-
});
|
|
169
|
-
generateFiles(tree, path.join(__dirname, "files"), projectRoot, {
|
|
170
|
-
...options,
|
|
171
|
-
pnpmVersion,
|
|
172
|
-
nodeVersion
|
|
173
|
-
});
|
|
174
|
-
await formatFiles(tree);
|
|
175
|
-
let dependencies = {
|
|
176
|
-
"@ls-lint/ls-lint": "2.2.3",
|
|
177
|
-
"@ltd/j-toml": "1.38.0",
|
|
178
|
-
"@nx/devkit": "^20.2.2",
|
|
179
|
-
"@nx/eslint-plugin": "^20.2.2",
|
|
180
|
-
"@nx/js": "^20.2.2",
|
|
181
|
-
"@nx/workspace": "^20.2.2",
|
|
182
|
-
"@storm-software/config": "latest",
|
|
183
|
-
"@storm-software/git-tools": "latest",
|
|
184
|
-
"@storm-software/linting-tools": "latest",
|
|
185
|
-
"@storm-software/testing-tools": "latest",
|
|
186
|
-
"@storm-software/workspace-tools": "latest",
|
|
187
|
-
"@storm-software/eslint": "latest",
|
|
188
|
-
"@storm-software/cspell": "latest",
|
|
189
|
-
"@storm-software/prettier": "latest",
|
|
190
|
-
"@taplo/cli": "0.7.0",
|
|
191
|
-
"@types/node": "^25.3.0",
|
|
192
|
-
copyfiles: "2.4.1",
|
|
193
|
-
eslint: "9.5.0",
|
|
194
|
-
jest: "29.7.0",
|
|
195
|
-
"jest-environment-node": "29.7.0",
|
|
196
|
-
knip: "5.25.2",
|
|
197
|
-
lefthook: "1.6.18",
|
|
198
|
-
nx: "^20.2.2",
|
|
199
|
-
prettier: "3.3.2",
|
|
200
|
-
"prettier-plugin-prisma": "5.0.0",
|
|
201
|
-
rimraf: "5.0.7",
|
|
202
|
-
sherif: "0.10.0",
|
|
203
|
-
"ts-jest": "29.1.5",
|
|
204
|
-
"ts-node": "10.9.2",
|
|
205
|
-
tslib: "2.6.3",
|
|
206
|
-
typescript: "5.5.3",
|
|
207
|
-
verdaccio: "5.31.1"
|
|
208
|
-
};
|
|
209
|
-
if (options.includeApps) {
|
|
210
|
-
dependencies = {
|
|
211
|
-
...dependencies,
|
|
212
|
-
react: "latest",
|
|
213
|
-
"react-dom": "latest",
|
|
214
|
-
storybook: "latest",
|
|
215
|
-
"@storybook/addons": "latest",
|
|
216
|
-
"@nx/react": "latest",
|
|
217
|
-
"@nx/next": "latest",
|
|
218
|
-
"@nx/node": "latest",
|
|
219
|
-
"@nx/storybook": "latest",
|
|
220
|
-
"jest-environment-jsdom": "29.7.0"
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
if (options.includeRust) {
|
|
224
|
-
dependencies = {
|
|
225
|
-
...dependencies,
|
|
226
|
-
"@monodon/rust": "1.4.0"
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
if (options.nxCloud) {
|
|
230
|
-
dependencies = {
|
|
231
|
-
...dependencies,
|
|
232
|
-
"nx-cloud": "latest"
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
await Promise.resolve(
|
|
236
|
-
addDependenciesToPackageJson(
|
|
237
|
-
tree,
|
|
238
|
-
dependencies,
|
|
239
|
-
{},
|
|
240
|
-
joinPathFragments(projectRoot, "package.json")
|
|
241
|
-
)
|
|
242
|
-
);
|
|
243
|
-
return null;
|
|
244
|
-
}
|
|
245
|
-
var generator_default = withRunGenerator(
|
|
246
|
-
"Storm Workspace Preset Generator",
|
|
247
|
-
presetGeneratorFn
|
|
248
|
-
);
|
|
249
|
-
|
|
250
|
-
export {
|
|
251
|
-
presetGeneratorFn,
|
|
252
|
-
generator_default
|
|
253
|
-
};
|
package/dist/chunk-DGX22JSK.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-clippy/executor.ts
|
|
10
|
-
async function cargoClippyExecutor(options, context) {
|
|
11
|
-
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
|
-
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
|
|
15
|
-
"Cargo - Clippy",
|
|
16
|
-
cargoClippyExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.toolchain ??= "stable";
|
|
22
|
-
options.fix ??= false;
|
|
23
|
-
return options;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
exports.cargoClippyExecutor = cargoClippyExecutor; exports.executor_default = executor_default;
|