@storm-software/workspace-tools 1.296.104 → 1.296.106

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.
Files changed (60) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-PS3344Z2.js → chunk-CBTNZPVD.js} +4 -4
  3. package/dist/{chunk-MVSTFKO3.mjs → chunk-XNPPL6DM.mjs} +4 -4
  4. package/dist/executors.js +12 -12
  5. package/dist/executors.mjs +11 -11
  6. package/dist/generators.js +7 -7
  7. package/dist/generators.mjs +6 -6
  8. package/dist/index.js +43 -43
  9. package/dist/index.mjs +67 -67
  10. package/dist/src/base/index.js +10 -10
  11. package/dist/src/base/index.mjs +15 -15
  12. package/dist/src/executors/cargo-build/executor.js +4 -4
  13. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  14. package/dist/src/executors/cargo-check/executor.js +4 -4
  15. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  16. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  17. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  18. package/dist/src/executors/cargo-doc/executor.js +4 -4
  19. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  20. package/dist/src/executors/cargo-format/executor.js +4 -4
  21. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  22. package/dist/src/executors/napi/executor.js +4 -4
  23. package/dist/src/executors/napi/executor.mjs +3 -3
  24. package/dist/src/executors/npm-publish/executor.js +4 -4
  25. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  26. package/dist/src/generators/browser-library/generator.js +2 -2
  27. package/dist/src/generators/browser-library/generator.mjs +2 -2
  28. package/dist/src/generators/neutral-library/generator.js +2 -2
  29. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  30. package/dist/src/generators/node-library/generator.js +4 -4
  31. package/dist/src/generators/node-library/generator.mjs +3 -3
  32. package/dist/src/generators/preset/generator.js +4 -4
  33. package/dist/src/generators/preset/generator.mjs +3 -3
  34. package/dist/src/plugins/rust/cargo-toml.js +1 -1
  35. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  36. package/dist/src/plugins/rust/index.js +1 -1
  37. package/dist/src/plugins/rust/index.mjs +1 -1
  38. package/dist/src/utils/index.js +8 -8
  39. package/dist/src/utils/index.mjs +23 -23
  40. package/dist/src/utils/package-helpers.js +3 -3
  41. package/dist/src/utils/package-helpers.mjs +2 -2
  42. package/package.json +12 -12
  43. package/dist/chunk-2D2626GQ.js +0 -128
  44. package/dist/chunk-5T4QN26P.js +0 -93
  45. package/dist/chunk-62U3K4QL.js +0 -31
  46. package/dist/chunk-6DTG46OS.mjs +0 -128
  47. package/dist/chunk-7YO4PMLG.mjs +0 -32
  48. package/dist/chunk-BKTSNX4U.js +0 -41
  49. package/dist/chunk-BZB6C7OW.mjs +0 -31
  50. package/dist/chunk-CW6ERHR6.js +0 -79
  51. package/dist/chunk-DPKPIVRB.mjs +0 -93
  52. package/dist/chunk-K4DWEHZO.js +0 -262
  53. package/dist/chunk-MBQOVLFH.js +0 -32
  54. package/dist/chunk-NP4JJVGY.js +0 -32
  55. package/dist/chunk-P42HBYJL.js +0 -32
  56. package/dist/chunk-TYLGU2FW.mjs +0 -41
  57. package/dist/chunk-UUWXIOS5.mjs +0 -32
  58. package/dist/chunk-WAXMGLST.mjs +0 -32
  59. package/dist/chunk-WSB4F36F.mjs +0 -82
  60. package/dist/chunk-Z2ZHQ4GR.mjs +0 -265
@@ -1,32 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunk2VQ55YPWjs = require('./chunk-2VQ55YPW.js');
4
-
5
-
6
-
7
- var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
8
-
9
- // src/executors/cargo-build/executor.ts
10
- async function cargoBuildExecutor(options, context) {
11
- const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "build", options, context);
12
- return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
13
- }
14
- var executor_default = _chunk2VQ55YPWjs.withRunExecutor.call(void 0,
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
-
30
-
31
-
32
- exports.cargoBuildExecutor = cargoBuildExecutor; exports.executor_default = executor_default;
@@ -1,32 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunk2VQ55YPWjs = require('./chunk-2VQ55YPW.js');
4
-
5
-
6
-
7
- var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
8
-
9
- // src/executors/cargo-format/executor.ts
10
- async function cargoFormatExecutor(options, context) {
11
- const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "fmt", options, context);
12
- return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
13
- }
14
- var executor_default = _chunk2VQ55YPWjs.withRunExecutor.call(void 0,
15
- "Cargo - Format",
16
- cargoFormatExecutor,
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
-
30
-
31
-
32
- exports.cargoFormatExecutor = cargoFormatExecutor; exports.executor_default = executor_default;
@@ -1,32 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunk2VQ55YPWjs = require('./chunk-2VQ55YPW.js');
4
-
5
-
6
-
7
- var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
8
-
9
- // src/executors/cargo-clippy/executor.ts
10
- async function cargoClippyExecutor(options, context) {
11
- const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "clippy", options, context);
12
- return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
13
- }
14
- var executor_default = _chunk2VQ55YPWjs.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;
@@ -1,41 +0,0 @@
1
- import {
2
- withRunExecutor
3
- } from "./chunk-Y3CN5O3K.mjs";
4
- import {
5
- buildCargoCommand,
6
- cargoCommand
7
- } from "./chunk-C3G4MZGP.mjs";
8
-
9
- // src/executors/cargo-doc/executor.ts
10
- async function cargoDocExecutor(options, context) {
11
- const opts = { ...options };
12
- opts["no-deps"] = opts.noDeps;
13
- delete opts.noDeps;
14
- const command = buildCargoCommand("doc", options, context);
15
- return await cargoCommand(context.root, ...command);
16
- }
17
- var executor_default = withRunExecutor(
18
- "Cargo - Doc",
19
- cargoDocExecutor,
20
- {
21
- skipReadingConfig: false,
22
- hooks: {
23
- applyDefaultOptions: (options) => {
24
- options.outputPath ??= "dist/{projectRoot}/docs";
25
- options.toolchain ??= "stable";
26
- options.release ??= options.profile ? false : true;
27
- options.allFeatures ??= true;
28
- options.lib ??= true;
29
- options.bins ??= true;
30
- options.examples ??= true;
31
- options.noDeps ??= false;
32
- return options;
33
- }
34
- }
35
- }
36
- );
37
-
38
- export {
39
- cargoDocExecutor,
40
- executor_default
41
- };
@@ -1,32 +0,0 @@
1
- import {
2
- withRunExecutor
3
- } from "./chunk-Y3CN5O3K.mjs";
4
- import {
5
- buildCargoCommand,
6
- cargoCommand
7
- } from "./chunk-C3G4MZGP.mjs";
8
-
9
- // src/executors/cargo-format/executor.ts
10
- async function cargoFormatExecutor(options, context) {
11
- const command = buildCargoCommand("fmt", options, context);
12
- return await cargoCommand(context.root, ...command);
13
- }
14
- var executor_default = withRunExecutor(
15
- "Cargo - Format",
16
- cargoFormatExecutor,
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
- cargoFormatExecutor,
31
- executor_default
32
- };
@@ -1,32 +0,0 @@
1
- import {
2
- withRunExecutor
3
- } from "./chunk-Y3CN5O3K.mjs";
4
- import {
5
- buildCargoCommand,
6
- cargoCommand
7
- } from "./chunk-C3G4MZGP.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
- };
@@ -1,82 +0,0 @@
1
- import {
2
- normalizeOptions,
3
- typeScriptLibraryGeneratorFn
4
- } from "./chunk-XSHN3XHD.mjs";
5
- import {
6
- withRunGenerator
7
- } from "./chunk-3G7TXYW2.mjs";
8
- import {
9
- typesNodeVersion
10
- } from "./chunk-DEHA5C77.mjs";
11
- import {
12
- joinPaths
13
- } from "./chunk-TBW5MCN6.mjs";
14
- import {
15
- __dirname
16
- } from "./chunk-77J7VIDG.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
- };
@@ -1,265 +0,0 @@
1
- import {
2
- withRunGenerator
3
- } from "./chunk-3G7TXYW2.mjs";
4
- import {
5
- nodeVersion,
6
- packageManagerVersions,
7
- pnpmVersion
8
- } from "./chunk-DEHA5C77.mjs";
9
- import {
10
- getLockFileName
11
- } from "./chunk-VQYZG5YE.mjs";
12
- import {
13
- __dirname
14
- } from "./chunk-77J7VIDG.mjs";
15
-
16
- // src/generators/preset/generator.ts
17
- import {
18
- addDependenciesToPackageJson,
19
- addProjectConfiguration,
20
- formatFiles,
21
- generateFiles,
22
- getPackageManagerCommand,
23
- joinPathFragments,
24
- updateJson
25
- } from "@nx/devkit";
26
- import * as path from "node:path";
27
- async function presetGeneratorFn(tree, options) {
28
- const projectRoot = ".";
29
- const packageManager = options.packageManager ?? "pnpm";
30
- const packageManagerVersion = packageManagerVersions[packageManager];
31
- const pmc = getPackageManagerCommand(packageManager);
32
- const lockFileName = getLockFileName(packageManager);
33
- options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
34
- options.namespace ??= options.organization;
35
- addProjectConfiguration(tree, `@${options.namespace}/${options.name}`, {
36
- root: projectRoot,
37
- projectType: "application",
38
- targets: {
39
- "local-registry": {
40
- executor: "@nx/js:verdaccio",
41
- options: {
42
- port: 4873,
43
- config: ".verdaccio/config.yml",
44
- storage: "tmp/local-registry/storage"
45
- }
46
- }
47
- }
48
- });
49
- updateJson(tree, "package.json", (json) => {
50
- json.scripts = json.scripts || {};
51
- json.version = "0.0.0";
52
- json.triggerEmptyDevReleaseByIncrementingThisNumber = 0;
53
- json.private = true;
54
- json.keywords ??= [
55
- options.name,
56
- options.namespace,
57
- "storm",
58
- "storm-stack",
59
- "storm-ops",
60
- "rust",
61
- "nx",
62
- "graphql",
63
- "sullivanpj",
64
- "monorepo"
65
- ];
66
- json.homepage ??= "https://stormsoftware.com";
67
- json.bugs ??= {
68
- url: `https://github.com/${options.organization}/${options.name}/issues`,
69
- email: "support@stormsoftware.com"
70
- };
71
- json.license = "Apache-2.0";
72
- json.author ??= {
73
- name: "Storm Software",
74
- email: "contact@stormsoftware.com",
75
- url: "https://stormsoftware.com"
76
- };
77
- json.maintainers ??= [
78
- {
79
- name: "Storm Software",
80
- email: "contact@stormsoftware.com",
81
- url: "https://stormsoftware.com"
82
- },
83
- {
84
- name: "Pat Sullivan",
85
- email: "admin@stormsoftware.com",
86
- url: "https://patsullivan.org"
87
- }
88
- ];
89
- json.funding ??= {
90
- type: "github",
91
- url: "https://github.com/sponsors/storm-software"
92
- };
93
- json.namespace ??= `@${options.namespace}`;
94
- json.description ??= options.description;
95
- options.repositoryUrl ??= `https://github.com/${options.organization}/${options.name}`;
96
- json.repository ??= {
97
- type: "github",
98
- url: `${options.repositoryUrl}.git`
99
- };
100
- json.prettier = "@storm-software/prettier/config.json";
101
- json.nx ??= {
102
- includedScripts: [
103
- "lint-sherif",
104
- "lint-knip",
105
- "lint-ls",
106
- "lint",
107
- "format",
108
- "format-sherif",
109
- "format-readme",
110
- "format-prettier",
111
- "format-toml",
112
- "commit",
113
- "release"
114
- ]
115
- };
116
- json.scripts.adr = pmc.run("log4brains", "adr new");
117
- json.scripts["adr-preview"] = pmc.run("log4brains", "preview");
118
- json.scripts.prepare = `${pmc.addDev} lefthook && ${packageManager} lefthook install`;
119
- json.scripts.preinstall = `npx -y only-allow ${packageManager}`;
120
- json.scripts["install-csb"] = packageManager === "bun" ? "bun install" : `corepack enable && ${pmc.install}`;
121
- 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";
122
- json.scripts.nuke = `nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && ${packageManager} clean && rimraf ${lockFileName} && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules`;
123
- json.scripts.prebuild = `${packageManager} clean`;
124
- json.scripts.build = "nx affected -t build --parallel=5";
125
- json.scripts["build-all"] = "nx run-many -t build --all --parallel=5";
126
- json.scripts["build-prod"] = "nx run-many -t build --all --prod --parallel=5";
127
- json.scripts["build-tools"] = "nx run-many -t build --projects=tools/* --parallel=5";
128
- json.scripts["build-docs"] = "nx run-many -t build --projects=docs/* --parallel=5";
129
- if (!options.includeApps) {
130
- json.scripts["build-packages"] = "nx run-many -t build --projects=packages/* --parallel=5";
131
- } else {
132
- json.scripts["build-apps"] = "nx run-many -t build --projects=apps/* --parallel=5";
133
- json.scripts["build-libs"] = "nx run-many -t build --projects=libs/* --parallel=5";
134
- json.scripts["build-storybook"] = "storybook build -s public";
135
- }
136
- json.scripts.nx = "nx";
137
- json.scripts.graph = "nx graph";
138
- if (options.includeApps) {
139
- json.scripts.start = "nx serve";
140
- json.scripts.storybook = pmc.run("storybook", "dev -p 6006");
141
- }
142
- json.scripts.help = "nx help";
143
- json.scripts["dep-graph"] = "nx dep-graph";
144
- json.scripts["local-registry"] = `nx local-registry @${options.namespace}/${options.name}`;
145
- json.scripts.e2e = "nx e2e";
146
- if (options.includeApps) {
147
- json.scripts.test = `nx test && ${packageManager} test-storybook`;
148
- json.scripts["test-storybook"] = `${packageManager} test-storybook`;
149
- } else {
150
- json.scripts.test = "nx test";
151
- }
152
- json.scripts.commit = pmc.run("storm-git", "commit");
153
- json.scripts["api-extractor"] = pmc.run(
154
- "storm-docs",
155
- 'api-extractor --outputPath="docs/api-reference" --clean'
156
- );
157
- json.scripts.release = pmc.run("storm-git", "release");
158
- json.scripts.format = "nx format:write";
159
- json.scripts["format-sherif"] = `${pmc.exec} sherif -f -i typescript -i react -i react-dom`;
160
- json.scripts["format-toml"] = `${pmc.exec} taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"`;
161
- json.scripts["format-readme"] = pmc.run(
162
- "storm-git",
163
- 'readme --templates="tools/readme-templates"'
164
- );
165
- json.scripts["format-prettier"] = `${pmc.exec} prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index`;
166
- json.scripts.lint = pmc.run("storm-lint", "all --skip-cspell");
167
- json.scripts["lint-knip"] = `${pmc.exec} knip`;
168
- json.scripts["lint-sherif"] = `${pmc.exec} sherif -i typescript -i react -i react-dom`;
169
- json.scripts["lint-ls"] = `${pmc.exec} ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"`;
170
- json.packageManager ??= `${packageManager}@${packageManagerVersion}`;
171
- json.engines = {
172
- node: `>=${nodeVersion}`,
173
- [packageManager]: `>=${packageManagerVersion}`
174
- };
175
- return json;
176
- });
177
- generateFiles(tree, path.join(__dirname, "files"), projectRoot, {
178
- ...options,
179
- packageManager,
180
- packageManagerVersion,
181
- pnpmVersion,
182
- nodeVersion,
183
- lockFileName,
184
- exec: pmc.exec
185
- });
186
- await formatFiles(tree);
187
- let dependencies = {
188
- "@ls-lint/ls-lint": "2.2.3",
189
- "@ltd/j-toml": "1.38.0",
190
- "@nx/devkit": "^20.2.2",
191
- "@nx/eslint-plugin": "^20.2.2",
192
- "@nx/js": "^20.2.2",
193
- "@nx/workspace": "^20.2.2",
194
- "@storm-software/config": "latest",
195
- "@storm-software/git-tools": "latest",
196
- "@storm-software/linting-tools": "latest",
197
- "@storm-software/testing-tools": "latest",
198
- "@storm-software/workspace-tools": "latest",
199
- "@storm-software/eslint": "latest",
200
- "@storm-software/cspell": "latest",
201
- "@storm-software/prettier": "latest",
202
- "@taplo/cli": "0.7.0",
203
- "@types/node": "^25.3.0",
204
- copyfiles: "2.4.1",
205
- eslint: "9.5.0",
206
- jest: "29.7.0",
207
- "jest-environment-node": "29.7.0",
208
- knip: "5.25.2",
209
- lefthook: "1.6.18",
210
- nx: "^20.2.2",
211
- prettier: "3.3.2",
212
- "prettier-plugin-prisma": "5.0.0",
213
- rimraf: "5.0.7",
214
- sherif: "0.10.0",
215
- "ts-jest": "29.1.5",
216
- "ts-node": "10.9.2",
217
- tslib: "2.6.3",
218
- typescript: "5.5.3",
219
- verdaccio: "5.31.1"
220
- };
221
- if (options.includeApps) {
222
- dependencies = {
223
- ...dependencies,
224
- react: "latest",
225
- "react-dom": "latest",
226
- storybook: "latest",
227
- "@storybook/addons": "latest",
228
- "@nx/react": "latest",
229
- "@nx/next": "latest",
230
- "@nx/node": "latest",
231
- "@nx/storybook": "latest",
232
- "jest-environment-jsdom": "29.7.0"
233
- };
234
- }
235
- if (options.includeRust) {
236
- dependencies = {
237
- ...dependencies,
238
- "@monodon/rust": "1.4.0"
239
- };
240
- }
241
- if (options.nxCloud) {
242
- dependencies = {
243
- ...dependencies,
244
- "nx-cloud": "latest"
245
- };
246
- }
247
- await Promise.resolve(
248
- addDependenciesToPackageJson(
249
- tree,
250
- dependencies,
251
- {},
252
- joinPathFragments(projectRoot, "package.json")
253
- )
254
- );
255
- return null;
256
- }
257
- var generator_default = withRunGenerator(
258
- "Storm Workspace Preset Generator",
259
- presetGeneratorFn
260
- );
261
-
262
- export {
263
- presetGeneratorFn,
264
- generator_default
265
- };