@storm-software/workspace-tools 1.241.0 → 1.243.0

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 (80) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-EFPBJWHS.js → chunk-6ZRK5I4N.js} +7 -4
  4. package/dist/chunk-7O34DHUG.js +127 -0
  5. package/dist/chunk-7TLYMNLD.mjs +127 -0
  6. package/dist/{chunk-5AQJQ72E.mjs → chunk-C2REXPET.mjs} +54 -49
  7. package/dist/{chunk-JOJ3CZQC.js → chunk-C3YSVZWO.js} +7 -4
  8. package/dist/{chunk-RTFFYOEY.js → chunk-PCPEJBLO.js} +7 -4
  9. package/dist/{chunk-XHH2IY66.js → chunk-RAVLTWJV.js} +54 -49
  10. package/dist/{chunk-LNDWWYO3.mjs → chunk-RLGZCVPW.mjs} +6 -3
  11. package/dist/{chunk-U4K5KWKS.mjs → chunk-T2NTGJ6O.mjs} +6 -3
  12. package/dist/{chunk-3SP4ZXOA.mjs → chunk-UHNTJRTW.mjs} +6 -3
  13. package/dist/executors.js +2 -2
  14. package/dist/executors.mjs +3 -3
  15. package/dist/generator-AFivysTp.d.ts +130 -0
  16. package/dist/generator-BAbOohf7.d.mts +130 -0
  17. package/dist/generator-B_HN13az.d.mts +130 -0
  18. package/dist/generator-CrR9QK6B.d.mts +130 -0
  19. package/dist/generator-DNdirMec.d.ts +130 -0
  20. package/dist/generator-F6EuzmJD.d.ts +130 -0
  21. package/dist/generators.d.mts +3 -3
  22. package/dist/generators.d.ts +3 -3
  23. package/dist/generators.js +6 -6
  24. package/dist/generators.mjs +7 -7
  25. package/dist/index.d.mts +4 -4
  26. package/dist/index.d.ts +4 -4
  27. package/dist/index.js +9 -9
  28. package/dist/index.mjs +11 -11
  29. package/dist/src/base/index.d.mts +22 -206
  30. package/dist/src/base/index.d.ts +22 -206
  31. package/dist/src/base/index.js +3 -3
  32. package/dist/src/base/index.mjs +2 -2
  33. package/dist/src/base/typescript-library-generator.schema.d.ts +8 -200
  34. package/dist/src/base/typescript-library-generator.schema.json +18 -162
  35. package/dist/src/base/typescript-library-generator.schema.md +9 -177
  36. package/dist/src/base/typescript-library-generator.untyped.js +2 -2
  37. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  38. package/dist/src/generators/browser-library/generator.d.mts +1 -1
  39. package/dist/src/generators/browser-library/generator.d.ts +1 -1
  40. package/dist/src/generators/browser-library/generator.js +3 -3
  41. package/dist/src/generators/browser-library/generator.mjs +2 -2
  42. package/dist/src/generators/browser-library/schema.d.ts +7 -199
  43. package/dist/src/generators/browser-library/schema.json +17 -162
  44. package/dist/src/generators/browser-library/schema.md +9 -177
  45. package/dist/src/generators/browser-library/untyped.js +2 -2
  46. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  47. package/dist/src/generators/neutral-library/generator.d.mts +1 -1
  48. package/dist/src/generators/neutral-library/generator.d.ts +1 -1
  49. package/dist/src/generators/neutral-library/generator.js +3 -3
  50. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  51. package/dist/src/generators/neutral-library/schema.d.ts +7 -199
  52. package/dist/src/generators/neutral-library/schema.json +17 -162
  53. package/dist/src/generators/neutral-library/schema.md +9 -177
  54. package/dist/src/generators/neutral-library/untyped.js +2 -2
  55. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  56. package/dist/src/generators/node-library/files/README.md +8 -3
  57. package/dist/src/generators/node-library/files/src/index.ts.template +1 -1
  58. package/dist/src/generators/node-library/generator.d.mts +1 -1
  59. package/dist/src/generators/node-library/generator.d.ts +1 -1
  60. package/dist/src/generators/node-library/generator.js +3 -3
  61. package/dist/src/generators/node-library/generator.mjs +2 -2
  62. package/dist/src/generators/node-library/schema.d.ts +7 -199
  63. package/dist/src/generators/node-library/schema.json +17 -162
  64. package/dist/src/generators/node-library/schema.md +9 -177
  65. package/dist/src/generators/node-library/untyped.js +2 -2
  66. package/dist/src/generators/node-library/untyped.mjs +1 -1
  67. package/docs/api/base/typescript-library-generator.schema.md +9 -177
  68. package/docs/api/generators/browser-library/schema.md +9 -177
  69. package/docs/api/generators/neutral-library/schema.md +9 -177
  70. package/docs/api/generators/node-library/files/README.md +8 -3
  71. package/docs/api/generators/node-library/schema.md +9 -177
  72. package/package.json +1 -1
  73. package/dist/chunk-RPECQQG4.mjs +0 -288
  74. package/dist/chunk-ZFIZ5Q46.js +0 -288
  75. package/dist/generator-BQRJyq3B.d.mts +0 -322
  76. package/dist/generator-BrNmpinc.d.mts +0 -322
  77. package/dist/generator-CNu7WVP-.d.mts +0 -322
  78. package/dist/generator-CnbxQjWD.d.ts +0 -322
  79. package/dist/generator-GzlgTDGq.d.ts +0 -322
  80. package/dist/generator-pV0dN2TY.d.ts +0 -322
@@ -18,48 +18,48 @@ var _projectnameandrootutils = require('@nx/devkit/src/generators/project-name-a
18
18
  var _js = require('@nx/js');
19
19
  var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
20
20
  var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
21
- async function typeScriptLibraryGeneratorFn(tree, schema, config) {
22
- const options = await normalizeOptions(tree, {
23
- ...schema
21
+ async function typeScriptLibraryGeneratorFn(tree, options, config) {
22
+ const normalized = await normalizeOptions(tree, {
23
+ ...options
24
24
  });
25
25
  const tasks = [];
26
26
  tasks.push(await _init2.default.call(void 0, tree, {
27
- ...options,
28
- tsConfigName: options.rootProject ? "tsconfig.json" : "tsconfig.base.json"
27
+ ...normalized,
28
+ tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
29
29
  }));
30
30
  tasks.push(_devkit.addDependenciesToPackageJson.call(void 0, tree, {}, {
31
31
  "@storm-software/workspace-tools": "latest",
32
32
  "@storm-software/testing-tools": "latest",
33
- ..._nullishCoalesce(schema.devDependencies, () => ( {}))
33
+ ..._nullishCoalesce(options.devDependencies, () => ( {}))
34
34
  }));
35
- if (options.publishable) {
35
+ if (normalized.publishable) {
36
36
  tasks.push(await _generator2.default.call(void 0, tree, {
37
- ...options,
37
+ ...normalized,
38
38
  skipFormat: true
39
39
  }));
40
40
  }
41
41
  const projectConfig = {
42
- root: options.directory,
42
+ root: normalized.directory,
43
43
  projectType: "library",
44
- sourceRoot: _chunkBUXJSVJGjs.joinPaths.call(void 0, _nullishCoalesce(options.directory, () => ( "")), "src"),
44
+ sourceRoot: _chunkBUXJSVJGjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
45
45
  targets: {
46
46
  build: {
47
- executor: schema.buildExecutor,
47
+ executor: options.buildExecutor,
48
48
  outputs: [
49
49
  "{options.outputPath}"
50
50
  ],
51
51
  options: {
52
52
  entry: [
53
- _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "src", "index.ts")
53
+ _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
54
54
  ],
55
- outputPath: getOutputPath(options),
56
- tsconfig: _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
57
- project: _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
55
+ outputPath: getOutputPath(normalized),
56
+ tsconfig: _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
57
+ project: _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
58
58
  defaultConfiguration: "production",
59
59
  platform: "neutral",
60
60
  assets: [
61
61
  {
62
- input: options.projectRoot,
62
+ input: normalized.projectRoot,
63
63
  glob: "*.md",
64
64
  output: "/"
65
65
  },
@@ -83,19 +83,19 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
83
83
  }
84
84
  }
85
85
  };
86
- if (schema.platform) {
87
- projectConfig.targets.build.options.platform = schema.platform === "worker" ? "node" : schema.platform;
86
+ if (options.platform) {
87
+ projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
88
88
  }
89
- _chunk7YRW5HNXjs.addProjectTag.call(void 0, projectConfig, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, schema.platform === "node" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE : schema.platform === "worker" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER : schema.platform === "browser" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER : _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
89
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, projectConfig, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, options.platform === "node" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER : _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
90
90
  overwrite: false
91
91
  });
92
- createProjectTsConfigJson(tree, options);
93
- _devkit.addProjectConfiguration.call(void 0, tree, options.name, projectConfig);
92
+ createProjectTsConfigJson(tree, normalized);
93
+ _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
94
94
  let repository = {
95
95
  type: "github",
96
96
  url: _optionalChain([config, 'optionalAccess', _ => _.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _2 => _2.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _3 => _3.namespace]) || _optionalChain([config, 'optionalAccess', _4 => _4.name]) || "repository"}.git`
97
97
  };
98
- let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
98
+ let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
99
99
  if (tree.exists("package.json")) {
100
100
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
101
101
  if (_optionalChain([packageJson, 'optionalAccess', _5 => _5.repository])) {
@@ -105,18 +105,18 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
105
105
  description = packageJson.description;
106
106
  }
107
107
  }
108
- if (!options.importPath) {
109
- options.importPath = options.name;
108
+ if (!normalized.importPath) {
109
+ normalized.importPath = normalized.name;
110
110
  }
111
- const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "package.json");
111
+ const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
112
112
  if (tree.exists(packageJsonPath)) {
113
113
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
114
- if (!options.importPath) {
115
- options.importPath = options.name;
114
+ if (!normalized.importPath) {
115
+ normalized.importPath = normalized.name;
116
116
  }
117
- json.name = options.importPath;
117
+ json.name = normalized.importPath;
118
118
  json.version = "0.0.1";
119
- if (json.private && (options.publishable || options.rootProject)) {
119
+ if (json.private && (normalized.publishable || normalized.rootProject)) {
120
120
  json.private = void 0;
121
121
  }
122
122
  return {
@@ -125,7 +125,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
125
125
  description,
126
126
  repository: {
127
127
  ...repository,
128
- directory: options.projectRoot
128
+ directory: normalized.projectRoot
129
129
  },
130
130
  type: "module",
131
131
  dependencies: {
@@ -138,37 +138,37 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
138
138
  });
139
139
  } else {
140
140
  _devkit.writeJson.call(void 0, tree, packageJsonPath, {
141
- name: options.importPath,
141
+ name: normalized.importPath,
142
142
  version: "0.0.1",
143
143
  description,
144
144
  repository: {
145
145
  ...repository,
146
- directory: options.projectRoot
146
+ directory: normalized.projectRoot
147
147
  },
148
- private: !options.publishable || options.rootProject,
148
+ private: !normalized.publishable || normalized.rootProject,
149
149
  type: "module",
150
150
  publishConfig: {
151
151
  access: "public"
152
152
  }
153
153
  });
154
154
  }
155
- if (tree.exists("package.json") && options.importPath) {
155
+ if (tree.exists("package.json") && normalized.importPath) {
156
156
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
157
157
  ...json,
158
158
  pnpm: {
159
159
  ..._optionalChain([json, 'optionalAccess', _7 => _7.pnpm]),
160
160
  overrides: {
161
161
  ..._optionalChain([json, 'optionalAccess', _8 => _8.pnpm, 'optionalAccess', _9 => _9.overrides]),
162
- [_nullishCoalesce(options.importPath, () => ( ""))]: "workspace:*"
162
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
163
163
  }
164
164
  }
165
165
  }));
166
166
  }
167
- _js.addTsConfigPath.call(void 0, tree, options.importPath, [
168
- _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
167
+ _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
168
+ _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
169
169
  ]);
170
- _js.addTsConfigPath.call(void 0, tree, _chunkBUXJSVJGjs.joinPaths.call(void 0, options.importPath, "/*"), [
171
- _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "./src", "/*")
170
+ _js.addTsConfigPath.call(void 0, tree, _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
171
+ _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
172
172
  ]);
173
173
  if (tree.exists("package.json")) {
174
174
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -179,7 +179,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
179
179
  description = packageJson.description;
180
180
  }
181
181
  }
182
- const tsconfigPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
182
+ const tsconfigPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
183
183
  if (tree.exists(tsconfigPath)) {
184
184
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
185
185
  json.composite ??= true;
@@ -187,10 +187,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
187
187
  });
188
188
  } else {
189
189
  _devkit.writeJson.call(void 0, tree, tsconfigPath, {
190
- extends: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}tsconfig.base.json`,
190
+ extends: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}tsconfig.base.json`,
191
191
  composite: true,
192
192
  compilerOptions: {
193
- outDir: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}dist/out-tsc`
193
+ outDir: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}dist/out-tsc`
194
194
  },
195
195
  files: [],
196
196
  include: [
@@ -249,9 +249,13 @@ function createProjectTsConfigJson(tree, options) {
249
249
  _devkit.writeJson.call(void 0, tree, _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
250
250
  }
251
251
  _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
252
- async function normalizeOptions(tree, options) {
252
+ async function normalizeOptions(tree, options, config) {
253
+ let importPath = options.importPath;
254
+ if (!importPath && _optionalChain([config, 'optionalAccess', _21 => _21.namespace])) {
255
+ importPath = `@${_optionalChain([config, 'optionalAccess', _22 => _22.namespace])}/${options.name}`;
256
+ }
253
257
  if (options.publishable) {
254
- if (!options.importPath) {
258
+ if (!importPath) {
255
259
  throw new Error(`For publishable libs you have to provide a proper "--importPath" which needs to be a valid npm package name (e.g. my-awesome-lib or @myorg/my-lib)`);
256
260
  }
257
261
  }
@@ -260,14 +264,14 @@ async function normalizeOptions(tree, options) {
260
264
  bundler = "none";
261
265
  }
262
266
  const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint", _chunkHI4G4OOGjs.nxVersion);
263
- const { projectName, names: projectNames, projectRoot, importPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
267
+ const rootProject = false;
268
+ const { projectName, names: projectNames, projectRoot, importPath: normalizedImportPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
264
269
  name: options.name,
265
270
  projectType: "library",
266
271
  directory: options.directory,
267
- importPath: options.importPath,
268
- rootProject: options.rootProject
272
+ importPath,
273
+ rootProject
269
274
  });
270
- options.rootProject = projectRoot === ".";
271
275
  const normalized = _devkit.names.call(void 0, projectNames.projectFileName);
272
276
  const fileName = normalized.fileName;
273
277
  return {
@@ -293,7 +297,8 @@ async function normalizeOptions(tree, options) {
293
297
  projectNames,
294
298
  projectRoot,
295
299
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
296
- importPath
300
+ importPath: normalizedImportPath,
301
+ rootProject
297
302
  };
298
303
  }
299
304
  _chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
@@ -1,19 +1,22 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-5AQJQ72E.mjs";
4
+ } from "./chunk-C2REXPET.mjs";
5
5
  import {
6
6
  withRunGenerator
7
7
  } from "./chunk-SNFZL5BN.mjs";
8
+ import {
9
+ joinPaths
10
+ } from "./chunk-2AUNU6UA.mjs";
8
11
  import {
9
12
  __dirname,
10
13
  __name
11
14
  } from "./chunk-XUV4U54K.mjs";
12
15
 
13
16
  // src/generators/browser-library/generator.ts
14
- import { formatFiles, generateFiles, joinPathFragments, names, offsetFromRoot } from "@nx/devkit";
17
+ import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
15
18
  async function browserLibraryGeneratorFn(tree, schema, config) {
16
- const filesDir = joinPathFragments(__dirname, "./files");
19
+ const filesDir = joinPaths(__dirname, "src", "generators", "browser-library", "files");
17
20
  const tsLibraryGeneratorOptions = {
18
21
  buildExecutor: "@storm-software/workspace-tools:unbuild",
19
22
  platform: "browser",
@@ -1,22 +1,25 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-5AQJQ72E.mjs";
4
+ } from "./chunk-C2REXPET.mjs";
5
5
  import {
6
6
  typesNodeVersion
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
10
  } from "./chunk-SNFZL5BN.mjs";
11
+ import {
12
+ joinPaths
13
+ } from "./chunk-2AUNU6UA.mjs";
11
14
  import {
12
15
  __dirname,
13
16
  __name
14
17
  } from "./chunk-XUV4U54K.mjs";
15
18
 
16
19
  // src/generators/node-library/generator.ts
17
- import { formatFiles, generateFiles, joinPathFragments, names, offsetFromRoot } from "@nx/devkit";
20
+ import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
18
21
  async function nodeLibraryGeneratorFn(tree, schema, config) {
19
- const filesDir = joinPathFragments(__dirname, "./files");
22
+ const filesDir = joinPaths(__dirname, "src", "generators", "node-library", "files");
20
23
  const tsLibraryGeneratorOptions = {
21
24
  platform: "node",
22
25
  devDependencies: {
@@ -1,19 +1,22 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-5AQJQ72E.mjs";
4
+ } from "./chunk-C2REXPET.mjs";
5
5
  import {
6
6
  withRunGenerator
7
7
  } from "./chunk-SNFZL5BN.mjs";
8
+ import {
9
+ joinPaths
10
+ } from "./chunk-2AUNU6UA.mjs";
8
11
  import {
9
12
  __dirname,
10
13
  __name
11
14
  } from "./chunk-XUV4U54K.mjs";
12
15
 
13
16
  // src/generators/neutral-library/generator.ts
14
- import { formatFiles, generateFiles, joinPathFragments, names, offsetFromRoot } from "@nx/devkit";
17
+ import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
15
18
  async function neutralLibraryGeneratorFn(tree, schema, config) {
16
- const filesDir = joinPathFragments(__dirname, "./files");
19
+ const filesDir = joinPaths(__dirname, "src", "generators", "neutral-library", "files");
17
20
  const tsLibraryGeneratorOptions = {
18
21
  ...schema,
19
22
  platform: "neutral",
package/dist/executors.js CHANGED
@@ -29,10 +29,10 @@ require('./chunk-RSILHGEU.js');
29
29
  var _chunkYSYBVJGRjs = require('./chunk-YSYBVJGR.js');
30
30
 
31
31
 
32
- var _chunkYWKUJJ34js = require('./chunk-YWKUJJ34.js');
32
+ var _chunkHONSACRTjs = require('./chunk-HONSACRT.js');
33
33
 
34
34
 
35
- var _chunkHONSACRTjs = require('./chunk-HONSACRT.js');
35
+ var _chunkYWKUJJ34js = require('./chunk-YWKUJJ34.js');
36
36
 
37
37
 
38
38
  var _chunkK7QVZAWDjs = require('./chunk-K7QVZAWD.js');
@@ -27,12 +27,12 @@ import "./chunk-EUCOXCI2.mjs";
27
27
  import {
28
28
  cargoBuildExecutor
29
29
  } from "./chunk-TGDWEUKX.mjs";
30
- import {
31
- cargoClippyExecutor
32
- } from "./chunk-5XF4CY7D.mjs";
33
30
  import {
34
31
  cargoCheckExecutor
35
32
  } from "./chunk-UI3SQYV3.mjs";
33
+ import {
34
+ cargoClippyExecutor
35
+ } from "./chunk-5XF4CY7D.mjs";
36
36
  import {
37
37
  cargoDocExecutor
38
38
  } from "./chunk-ZERO7WV2.mjs";
@@ -0,0 +1,130 @@
1
+ import { e as BaseGeneratorResult } from './types-DpaECebR.js';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormConfig } from './types-B5IG4iSJ.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface NeutralLibraryGeneratorSchema {
10
+ /**
11
+ * Directory
12
+ *
13
+ * The directory to create the library in
14
+ *
15
+ */
16
+ directory: string,
17
+
18
+ /**
19
+ * Name
20
+ *
21
+ * The name of the library
22
+ *
23
+ */
24
+ name: string,
25
+
26
+ /**
27
+ * Description
28
+ *
29
+ * The description of the library
30
+ *
31
+ */
32
+ description?: string,
33
+
34
+ /**
35
+ * Build Executor
36
+ *
37
+ * The executor to use for building the library
38
+ *
39
+ * @default "@storm-software/workspace-tools:unbuild"
40
+ */
41
+ buildExecutor?: string,
42
+
43
+ /**
44
+ * Platform
45
+ *
46
+ * The platform to target with the library
47
+ *
48
+ * @default "neutral"
49
+ *
50
+ * @enum neutral
51
+ */
52
+ platform?: string,
53
+
54
+ /**
55
+ * Import Path
56
+ *
57
+ * The import path for the library
58
+ *
59
+ */
60
+ importPath?: string,
61
+
62
+ /**
63
+ * Tags
64
+ *
65
+ * The tags for the library
66
+ *
67
+ */
68
+ tags?: string,
69
+
70
+ /**
71
+ * Unit Test Runner
72
+ *
73
+ * The unit test runner to use
74
+ *
75
+ *
76
+ * @enum jest,vitest,none
77
+ */
78
+ unitTestRunner?: string,
79
+
80
+ /**
81
+ * Test Environment
82
+ *
83
+ * The test environment to use
84
+ *
85
+ *
86
+ * @enum jsdom,node
87
+ */
88
+ testEnvironment?: string,
89
+
90
+ /**
91
+ * Pascal Case Files
92
+ *
93
+ * Use PascalCase for file names
94
+ *
95
+ * @default false
96
+ */
97
+ pascalCaseFiles?: boolean,
98
+
99
+ /**
100
+ * Strict
101
+ *
102
+ * Enable strict mode
103
+ *
104
+ * @default true
105
+ */
106
+ strict?: boolean,
107
+
108
+ /**
109
+ * Publishable
110
+ *
111
+ * Make the library publishable
112
+ *
113
+ * @default false
114
+ */
115
+ publishable?: boolean,
116
+
117
+ /**
118
+ * Buildable
119
+ *
120
+ * Make the library buildable
121
+ *
122
+ * @default true
123
+ */
124
+ buildable?: boolean,
125
+ }
126
+
127
+ declare function neutralLibraryGeneratorFn(tree: Tree, schema: NeutralLibraryGeneratorSchema, config?: StormConfig): Promise<null>;
128
+ declare const _default: (tree: Tree, _options: NeutralLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
129
+
130
+ export { type NeutralLibraryGeneratorSchema as N, _default as _, neutralLibraryGeneratorFn as n };
@@ -0,0 +1,130 @@
1
+ import { e as BaseGeneratorResult } from './types-44XkV3HO.mjs';
2
+ import * as _nx_devkit from '@nx/devkit';
3
+ import { Tree } from '@nx/devkit';
4
+ import { S as StormConfig } from './types-B5IG4iSJ.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface NodeLibraryGeneratorSchema {
10
+ /**
11
+ * Directory
12
+ *
13
+ * The directory to create the library in
14
+ *
15
+ */
16
+ directory: string,
17
+
18
+ /**
19
+ * Name
20
+ *
21
+ * The name of the library
22
+ *
23
+ */
24
+ name: string,
25
+
26
+ /**
27
+ * Description
28
+ *
29
+ * The description of the library
30
+ *
31
+ */
32
+ description?: string,
33
+
34
+ /**
35
+ * Build Executor
36
+ *
37
+ * The executor to use for building the library
38
+ *
39
+ * @default "@storm-software/workspace-tools:unbuild"
40
+ */
41
+ buildExecutor?: string,
42
+
43
+ /**
44
+ * Platform
45
+ *
46
+ * The platform to target with the library
47
+ *
48
+ * @default "node"
49
+ *
50
+ * @enum node,neutral
51
+ */
52
+ platform?: string,
53
+
54
+ /**
55
+ * Import Path
56
+ *
57
+ * The import path for the library
58
+ *
59
+ */
60
+ importPath?: string,
61
+
62
+ /**
63
+ * Tags
64
+ *
65
+ * The tags for the library
66
+ *
67
+ */
68
+ tags?: string,
69
+
70
+ /**
71
+ * Unit Test Runner
72
+ *
73
+ * The unit test runner to use
74
+ *
75
+ *
76
+ * @enum jest,vitest,none
77
+ */
78
+ unitTestRunner?: string,
79
+
80
+ /**
81
+ * Test Environment
82
+ *
83
+ * The test environment to use
84
+ *
85
+ *
86
+ * @enum jsdom,node
87
+ */
88
+ testEnvironment?: string,
89
+
90
+ /**
91
+ * Pascal Case Files
92
+ *
93
+ * Use PascalCase for file names
94
+ *
95
+ * @default false
96
+ */
97
+ pascalCaseFiles?: boolean,
98
+
99
+ /**
100
+ * Strict
101
+ *
102
+ * Enable strict mode
103
+ *
104
+ * @default true
105
+ */
106
+ strict?: boolean,
107
+
108
+ /**
109
+ * Publishable
110
+ *
111
+ * Make the library publishable
112
+ *
113
+ * @default false
114
+ */
115
+ publishable?: boolean,
116
+
117
+ /**
118
+ * Buildable
119
+ *
120
+ * Make the library buildable
121
+ *
122
+ * @default true
123
+ */
124
+ buildable?: boolean,
125
+ }
126
+
127
+ declare function nodeLibraryGeneratorFn(tree: Tree, schema: NodeLibraryGeneratorSchema, config?: StormConfig): Promise<null>;
128
+ declare const _default: (tree: Tree, _options: NodeLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
129
+
130
+ export { type NodeLibraryGeneratorSchema as N, _default as _, nodeLibraryGeneratorFn as n };