@storm-software/terraform-tools 0.53.9 → 0.54.1

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 CHANGED
@@ -1,3 +1,25 @@
1
+ ## 0.54.1 (2025-01-24)
2
+
3
+ ### Miscellaneous
4
+
5
+ - **monorepo:** Regenerate the README markdown files ([e7d99d45](https://github.com/storm-software/storm-ops/commit/e7d99d45))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated workspace-tools to 1.243.0
10
+ - Updated workspace-tools to 1.243.0
11
+
12
+ ## 0.54.0 (2025-01-23)
13
+
14
+ ### Features
15
+
16
+ - **config:** Update package to use modern tooling ([8ac7afa3](https://github.com/storm-software/storm-ops/commit/8ac7afa3))
17
+
18
+ ### 🧱 Updated Dependencies
19
+
20
+ - Updated workspace-tools to 1.242.0
21
+ - Updated workspace-tools to 1.242.0
22
+
1
23
  ## 0.53.9 (2025-01-23)
2
24
 
3
25
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.53.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.54.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -2082,48 +2082,48 @@ var nodeVersion = "20.11.0";
2082
2082
  var pnpmVersion = "8.10.2";
2083
2083
 
2084
2084
  // ../workspace-tools/src/base/typescript-library-generator.ts
2085
- async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2086
- const options = await normalizeOptions(tree, {
2087
- ...schema
2085
+ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2086
+ const normalized = await normalizeOptions(tree, {
2087
+ ...options
2088
2088
  });
2089
2089
  const tasks = [];
2090
2090
  tasks.push(await _init2.default.call(void 0, tree, {
2091
- ...options,
2092
- tsConfigName: options.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2091
+ ...normalized,
2092
+ tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2093
2093
  }));
2094
2094
  tasks.push(_devkit.addDependenciesToPackageJson.call(void 0, tree, {}, {
2095
2095
  "@storm-software/workspace-tools": "latest",
2096
2096
  "@storm-software/testing-tools": "latest",
2097
- ..._nullishCoalesce(schema.devDependencies, () => ( {}))
2097
+ ..._nullishCoalesce(options.devDependencies, () => ( {}))
2098
2098
  }));
2099
- if (options.publishable) {
2099
+ if (normalized.publishable) {
2100
2100
  tasks.push(await _generator2.default.call(void 0, tree, {
2101
- ...options,
2101
+ ...normalized,
2102
2102
  skipFormat: true
2103
2103
  }));
2104
2104
  }
2105
2105
  const projectConfig = {
2106
- root: options.directory,
2106
+ root: normalized.directory,
2107
2107
  projectType: "library",
2108
- sourceRoot: _chunkARUOVAUXjs.joinPaths.call(void 0, _nullishCoalesce(options.directory, () => ( "")), "src"),
2108
+ sourceRoot: _chunkARUOVAUXjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
2109
2109
  targets: {
2110
2110
  build: {
2111
- executor: schema.buildExecutor,
2111
+ executor: options.buildExecutor,
2112
2112
  outputs: [
2113
2113
  "{options.outputPath}"
2114
2114
  ],
2115
2115
  options: {
2116
2116
  entry: [
2117
- _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "src", "index.ts")
2117
+ _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
2118
2118
  ],
2119
- outputPath: getOutputPath(options),
2120
- tsconfig: _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
2121
- project: _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
2119
+ outputPath: getOutputPath(normalized),
2120
+ tsconfig: _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
2121
+ project: _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
2122
2122
  defaultConfiguration: "production",
2123
2123
  platform: "neutral",
2124
2124
  assets: [
2125
2125
  {
2126
- input: options.projectRoot,
2126
+ input: normalized.projectRoot,
2127
2127
  glob: "*.md",
2128
2128
  output: "/"
2129
2129
  },
@@ -2147,19 +2147,19 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2147
2147
  }
2148
2148
  }
2149
2149
  };
2150
- if (schema.platform) {
2151
- projectConfig.targets.build.options.platform = schema.platform === "worker" ? "node" : schema.platform;
2150
+ if (options.platform) {
2151
+ projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
2152
2152
  }
2153
- addProjectTag(projectConfig, ProjectTagConstants.Platform.TAG_ID, schema.platform === "node" ? ProjectTagConstants.Platform.NODE : schema.platform === "worker" ? ProjectTagConstants.Platform.WORKER : schema.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL, {
2153
+ addProjectTag(projectConfig, ProjectTagConstants.Platform.TAG_ID, options.platform === "node" ? ProjectTagConstants.Platform.NODE : options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL, {
2154
2154
  overwrite: false
2155
2155
  });
2156
- createProjectTsConfigJson(tree, options);
2157
- _devkit.addProjectConfiguration.call(void 0, tree, options.name, projectConfig);
2156
+ createProjectTsConfigJson(tree, normalized);
2157
+ _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
2158
2158
  let repository = {
2159
2159
  type: "github",
2160
2160
  url: _optionalChain([config, 'optionalAccess', _93 => _93.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _94 => _94.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _95 => _95.namespace]) || _optionalChain([config, 'optionalAccess', _96 => _96.name]) || "repository"}.git`
2161
2161
  };
2162
- let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2162
+ let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2163
2163
  if (tree.exists("package.json")) {
2164
2164
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2165
2165
  if (_optionalChain([packageJson, 'optionalAccess', _97 => _97.repository])) {
@@ -2169,18 +2169,18 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2169
2169
  description = packageJson.description;
2170
2170
  }
2171
2171
  }
2172
- if (!options.importPath) {
2173
- options.importPath = options.name;
2172
+ if (!normalized.importPath) {
2173
+ normalized.importPath = normalized.name;
2174
2174
  }
2175
- const packageJsonPath = _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "package.json");
2175
+ const packageJsonPath = _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2176
2176
  if (tree.exists(packageJsonPath)) {
2177
2177
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2178
- if (!options.importPath) {
2179
- options.importPath = options.name;
2178
+ if (!normalized.importPath) {
2179
+ normalized.importPath = normalized.name;
2180
2180
  }
2181
- json.name = options.importPath;
2181
+ json.name = normalized.importPath;
2182
2182
  json.version = "0.0.1";
2183
- if (json.private && (options.publishable || options.rootProject)) {
2183
+ if (json.private && (normalized.publishable || normalized.rootProject)) {
2184
2184
  json.private = void 0;
2185
2185
  }
2186
2186
  return {
@@ -2189,7 +2189,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2189
2189
  description,
2190
2190
  repository: {
2191
2191
  ...repository,
2192
- directory: options.projectRoot
2192
+ directory: normalized.projectRoot
2193
2193
  },
2194
2194
  type: "module",
2195
2195
  dependencies: {
@@ -2202,37 +2202,37 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2202
2202
  });
2203
2203
  } else {
2204
2204
  _devkit.writeJson.call(void 0, tree, packageJsonPath, {
2205
- name: options.importPath,
2205
+ name: normalized.importPath,
2206
2206
  version: "0.0.1",
2207
2207
  description,
2208
2208
  repository: {
2209
2209
  ...repository,
2210
- directory: options.projectRoot
2210
+ directory: normalized.projectRoot
2211
2211
  },
2212
- private: !options.publishable || options.rootProject,
2212
+ private: !normalized.publishable || normalized.rootProject,
2213
2213
  type: "module",
2214
2214
  publishConfig: {
2215
2215
  access: "public"
2216
2216
  }
2217
2217
  });
2218
2218
  }
2219
- if (tree.exists("package.json") && options.importPath) {
2219
+ if (tree.exists("package.json") && normalized.importPath) {
2220
2220
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
2221
2221
  ...json,
2222
2222
  pnpm: {
2223
2223
  ..._optionalChain([json, 'optionalAccess', _99 => _99.pnpm]),
2224
2224
  overrides: {
2225
2225
  ..._optionalChain([json, 'optionalAccess', _100 => _100.pnpm, 'optionalAccess', _101 => _101.overrides]),
2226
- [_nullishCoalesce(options.importPath, () => ( ""))]: "workspace:*"
2226
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
2227
2227
  }
2228
2228
  }
2229
2229
  }));
2230
2230
  }
2231
- _js.addTsConfigPath.call(void 0, tree, options.importPath, [
2232
- _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
2231
+ _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2232
+ _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2233
2233
  ]);
2234
- _js.addTsConfigPath.call(void 0, tree, _chunkARUOVAUXjs.joinPaths.call(void 0, options.importPath, "/*"), [
2235
- _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "./src", "/*")
2234
+ _js.addTsConfigPath.call(void 0, tree, _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2235
+ _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2236
2236
  ]);
2237
2237
  if (tree.exists("package.json")) {
2238
2238
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2243,7 +2243,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2243
2243
  description = packageJson.description;
2244
2244
  }
2245
2245
  }
2246
- const tsconfigPath = _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
2246
+ const tsconfigPath = _chunkARUOVAUXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2247
2247
  if (tree.exists(tsconfigPath)) {
2248
2248
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2249
2249
  json.composite ??= true;
@@ -2251,10 +2251,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2251
2251
  });
2252
2252
  } else {
2253
2253
  _devkit.writeJson.call(void 0, tree, tsconfigPath, {
2254
- extends: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}tsconfig.base.json`,
2254
+ extends: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}tsconfig.base.json`,
2255
2255
  composite: true,
2256
2256
  compilerOptions: {
2257
- outDir: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}dist/out-tsc`
2257
+ outDir: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}dist/out-tsc`
2258
2258
  },
2259
2259
  files: [],
2260
2260
  include: [
@@ -2313,9 +2313,13 @@ function createProjectTsConfigJson(tree, options) {
2313
2313
  _devkit.writeJson.call(void 0, tree, _chunkARUOVAUXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2314
2314
  }
2315
2315
  _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2316
- async function normalizeOptions(tree, options) {
2316
+ async function normalizeOptions(tree, options, config) {
2317
+ let importPath = options.importPath;
2318
+ if (!importPath && _optionalChain([config, 'optionalAccess', _113 => _113.namespace])) {
2319
+ importPath = `@${_optionalChain([config, 'optionalAccess', _114 => _114.namespace])}/${options.name}`;
2320
+ }
2317
2321
  if (options.publishable) {
2318
- if (!options.importPath) {
2322
+ if (!importPath) {
2319
2323
  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)`);
2320
2324
  }
2321
2325
  }
@@ -2324,14 +2328,14 @@ async function normalizeOptions(tree, options) {
2324
2328
  bundler = "none";
2325
2329
  }
2326
2330
  const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint", nxVersion);
2327
- const { projectName, names: projectNames, projectRoot, importPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
2331
+ const rootProject = false;
2332
+ const { projectName, names: projectNames, projectRoot, importPath: normalizedImportPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
2328
2333
  name: options.name,
2329
2334
  projectType: "library",
2330
2335
  directory: options.directory,
2331
- importPath: options.importPath,
2332
- rootProject: options.rootProject
2336
+ importPath,
2337
+ rootProject
2333
2338
  });
2334
- options.rootProject = projectRoot === ".";
2335
2339
  const normalized = _devkit.names.call(void 0, projectNames.projectFileName);
2336
2340
  const fileName = normalized.fileName;
2337
2341
  return {
@@ -2357,14 +2361,15 @@ async function normalizeOptions(tree, options) {
2357
2361
  projectNames,
2358
2362
  projectRoot,
2359
2363
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
2360
- importPath
2364
+ importPath: normalizedImportPath,
2365
+ rootProject
2361
2366
  };
2362
2367
  }
2363
2368
  _chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
2364
2369
 
2365
2370
  // ../workspace-tools/src/generators/browser-library/generator.ts
2366
2371
  async function browserLibraryGeneratorFn(tree, schema, config) {
2367
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2372
+ const filesDir = _chunkARUOVAUXjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2368
2373
  const tsLibraryGeneratorOptions = {
2369
2374
  buildExecutor: "@storm-software/workspace-tools:unbuild",
2370
2375
  platform: "browser",
@@ -2442,7 +2447,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
2442
2447
  name: "StormWorkspaceConfiguration"
2443
2448
  });
2444
2449
  _chunkARUOVAUXjs.writeTrace.call(void 0, jsonSchema, config);
2445
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _113 => _113.workspaceRoot]), () => ( _chunkARUOVAUXjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _114 => _114.outputFile, 'optionalAccess', _115 => _115.startsWith, 'call', _116 => _116("./")]) ? "" : "./");
2450
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _115 => _115.workspaceRoot]), () => ( _chunkARUOVAUXjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _116 => _116.outputFile, 'optionalAccess', _117 => _117.startsWith, 'call', _118 => _118("./")]) ? "" : "./");
2446
2451
  _chunkARUOVAUXjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2447
2452
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2448
2453
  spaces: 2
@@ -2487,7 +2492,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, initGenerator, "initGenerator");
2487
2492
  // ../workspace-tools/src/generators/neutral-library/generator.ts
2488
2493
 
2489
2494
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2490
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2495
+ const filesDir = _chunkARUOVAUXjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2491
2496
  const tsLibraryGeneratorOptions = {
2492
2497
  ...schema,
2493
2498
  platform: "neutral",
@@ -2530,7 +2535,7 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
2530
2535
  // ../workspace-tools/src/generators/node-library/generator.ts
2531
2536
 
2532
2537
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2533
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2538
+ const filesDir = _chunkARUOVAUXjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2534
2539
  const tsLibraryGeneratorOptions = {
2535
2540
  platform: "node",
2536
2541
  devDependencies: {
@@ -3160,37 +3165,17 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3160
3165
  enum: [
3161
3166
  "neutral",
3162
3167
  "node",
3168
+ "worker",
3163
3169
  "browser"
3164
3170
  ]
3165
3171
  },
3166
3172
  $default: "neutral"
3167
3173
  },
3168
- devDependencies: {
3169
- $schema: {
3170
- title: "Dev Dependencies",
3171
- type: "object",
3172
- description: "The dev dependencies to install"
3173
- }
3174
- },
3175
- dependencies: {
3176
- $schema: {
3177
- title: "Dependencies",
3178
- type: "object",
3179
- description: "The dependencies to install"
3180
- }
3181
- },
3182
- peerDependencies: {
3183
- $schema: {
3184
- title: "Peer Dependencies",
3185
- type: "object",
3186
- description: "The peer dependencies to install"
3187
- }
3188
- },
3189
- peerDependenciesMeta: {
3174
+ importPath: {
3190
3175
  $schema: {
3191
- title: "Peer Dependencies Meta",
3192
- type: "object",
3193
- description: "The peer dependencies meta"
3176
+ title: "Import Path",
3177
+ type: "string",
3178
+ description: "The import path for the library"
3194
3179
  }
3195
3180
  },
3196
3181
  tags: {
@@ -3200,41 +3185,6 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3200
3185
  description: "The tags for the library"
3201
3186
  }
3202
3187
  },
3203
- tsconfigOptions: {
3204
- $schema: {
3205
- title: "TypeScript Config (tsconfig.json) Options",
3206
- type: "object",
3207
- description: "The TypeScript configuration options"
3208
- }
3209
- },
3210
- skipFormat: {
3211
- $schema: {
3212
- title: "Skip Format",
3213
- type: "boolean",
3214
- description: "Skip formatting"
3215
- }
3216
- },
3217
- skipTsConfig: {
3218
- $schema: {
3219
- title: "Skip TsConfig",
3220
- type: "boolean",
3221
- description: "Skip TypeScript configuration"
3222
- }
3223
- },
3224
- skipPackageJson: {
3225
- $schema: {
3226
- title: "Skip Package Json",
3227
- type: "boolean",
3228
- description: "Skip package.json"
3229
- }
3230
- },
3231
- includeBabelRc: {
3232
- $schema: {
3233
- title: "Include Babel Rc",
3234
- type: "boolean",
3235
- description: "Include Babel configuration"
3236
- }
3237
- },
3238
3188
  unitTestRunner: {
3239
3189
  $schema: {
3240
3190
  title: "Unit Test Runner",
@@ -3247,13 +3197,6 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3247
3197
  description: "The unit test runner to use"
3248
3198
  }
3249
3199
  },
3250
- linter: {
3251
- $schema: {
3252
- title: "Linter",
3253
- type: "string",
3254
- description: "The linter to use"
3255
- }
3256
- },
3257
3200
  testEnvironment: {
3258
3201
  $schema: {
3259
3202
  title: "Test Environment",
@@ -3265,136 +3208,37 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3265
3208
  description: "The test environment to use"
3266
3209
  }
3267
3210
  },
3268
- importPath: {
3269
- $schema: {
3270
- title: "Import Path",
3271
- type: "string",
3272
- description: "The import path for the library"
3273
- }
3274
- },
3275
- js: {
3276
- $schema: {
3277
- title: "JavaScript",
3278
- type: "boolean",
3279
- description: "Use JavaScript instead of TypeScript"
3280
- }
3281
- },
3282
3211
  pascalCaseFiles: {
3283
3212
  $schema: {
3284
3213
  title: "Pascal Case Files",
3285
3214
  type: "boolean",
3286
3215
  description: "Use PascalCase for file names"
3287
- }
3216
+ },
3217
+ $default: false
3288
3218
  },
3289
3219
  strict: {
3290
3220
  $schema: {
3291
3221
  title: "Strict",
3292
3222
  type: "boolean",
3293
3223
  description: "Enable strict mode"
3294
- }
3224
+ },
3225
+ $default: true
3295
3226
  },
3296
3227
  publishable: {
3297
3228
  $schema: {
3298
3229
  title: "Publishable",
3299
3230
  type: "boolean",
3300
3231
  description: "Make the library publishable"
3301
- }
3232
+ },
3233
+ $default: false
3302
3234
  },
3303
3235
  buildable: {
3304
3236
  $schema: {
3305
3237
  title: "Buildable",
3306
3238
  type: "boolean",
3307
3239
  description: "Make the library buildable"
3308
- }
3309
- },
3310
- setParserOptionsProject: {
3311
- $schema: {
3312
- title: "Set Parser Options Project",
3313
- type: "boolean",
3314
- description: "Set parser options project"
3315
- }
3316
- },
3317
- config: {
3318
- $schema: {
3319
- title: "Config",
3320
- type: "string",
3321
- enum: [
3322
- "workspace",
3323
- "project",
3324
- "npm-scripts"
3325
- ],
3326
- description: "The configuration type"
3327
- }
3328
- },
3329
- compiler: {
3330
- $schema: {
3331
- title: "Compiler",
3332
- type: "string",
3333
- description: "The compiler to use"
3334
- }
3335
- },
3336
- bundler: {
3337
- $schema: {
3338
- title: "Bundler",
3339
- type: "string",
3340
- description: "The bundler to use"
3341
- }
3342
- },
3343
- skipTypeCheck: {
3344
- $schema: {
3345
- title: "Skip Type Check",
3346
- type: "boolean",
3347
- description: "Skip type checking"
3348
- }
3349
- },
3350
- minimal: {
3351
- $schema: {
3352
- title: "Minimal",
3353
- type: "boolean",
3354
- description: "Create a minimal library"
3355
- }
3356
- },
3357
- rootProject: {
3358
- $schema: {
3359
- title: "Root Project",
3360
- type: "boolean",
3361
- description: "Create a root project"
3362
- }
3363
- },
3364
- simpleName: {
3365
- $schema: {
3366
- title: "Simple Name",
3367
- type: "boolean",
3368
- description: "Use a simple name for the library"
3369
- }
3370
- },
3371
- addPlugin: {
3372
- $schema: {
3373
- title: "Add Plugin",
3374
- type: "boolean",
3375
- description: "Add a plugin to the library"
3376
- }
3377
- },
3378
- useProjectJson: {
3379
- $schema: {
3380
- title: "Use Project Json",
3381
- type: "boolean",
3382
- description: "Use project.json"
3383
- }
3384
- },
3385
- skipWorkspacesWarning: {
3386
- $schema: {
3387
- title: "Skip Workspaces Warning",
3388
- type: "boolean",
3389
- description: "Skip workspaces warning"
3390
- }
3391
- },
3392
- useTscExecutor: {
3393
- $schema: {
3394
- title: "Use Tsc Executor",
3395
- type: "boolean",
3396
- description: "Use TSC executor"
3397
- }
3240
+ },
3241
+ $default: true
3398
3242
  }
3399
3243
  });
3400
3244
 
@@ -1947,7 +1947,7 @@ var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExec
1947
1947
  });
1948
1948
 
1949
1949
  // ../workspace-tools/src/generators/browser-library/generator.ts
1950
- import { formatFiles as formatFiles2, generateFiles, joinPathFragments as joinPathFragments4, names as names2, offsetFromRoot as offsetFromRoot2 } from "@nx/devkit";
1950
+ import { formatFiles as formatFiles2, generateFiles, names as names2, offsetFromRoot as offsetFromRoot2 } from "@nx/devkit";
1951
1951
 
1952
1952
  // ../workspace-tools/src/base/base-generator.ts
1953
1953
  var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
@@ -2083,48 +2083,48 @@ var nodeVersion = "20.11.0";
2083
2083
  var pnpmVersion = "8.10.2";
2084
2084
 
2085
2085
  // ../workspace-tools/src/base/typescript-library-generator.ts
2086
- async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2087
- const options = await normalizeOptions(tree, {
2088
- ...schema
2086
+ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2087
+ const normalized = await normalizeOptions(tree, {
2088
+ ...options
2089
2089
  });
2090
2090
  const tasks = [];
2091
2091
  tasks.push(await jsInitGenerator(tree, {
2092
- ...options,
2093
- tsConfigName: options.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2092
+ ...normalized,
2093
+ tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2094
2094
  }));
2095
2095
  tasks.push(addDependenciesToPackageJson(tree, {}, {
2096
2096
  "@storm-software/workspace-tools": "latest",
2097
2097
  "@storm-software/testing-tools": "latest",
2098
- ...schema.devDependencies ?? {}
2098
+ ...options.devDependencies ?? {}
2099
2099
  }));
2100
- if (options.publishable) {
2100
+ if (normalized.publishable) {
2101
2101
  tasks.push(await setupVerdaccio(tree, {
2102
- ...options,
2102
+ ...normalized,
2103
2103
  skipFormat: true
2104
2104
  }));
2105
2105
  }
2106
2106
  const projectConfig = {
2107
- root: options.directory,
2107
+ root: normalized.directory,
2108
2108
  projectType: "library",
2109
- sourceRoot: joinPaths(options.directory ?? "", "src"),
2109
+ sourceRoot: joinPaths(normalized.directory ?? "", "src"),
2110
2110
  targets: {
2111
2111
  build: {
2112
- executor: schema.buildExecutor,
2112
+ executor: options.buildExecutor,
2113
2113
  outputs: [
2114
2114
  "{options.outputPath}"
2115
2115
  ],
2116
2116
  options: {
2117
2117
  entry: [
2118
- joinPaths(options.projectRoot, "src", "index.ts")
2118
+ joinPaths(normalized.projectRoot, "src", "index.ts")
2119
2119
  ],
2120
- outputPath: getOutputPath(options),
2121
- tsconfig: joinPaths(options.projectRoot, "tsconfig.json"),
2122
- project: joinPaths(options.projectRoot, "package.json"),
2120
+ outputPath: getOutputPath(normalized),
2121
+ tsconfig: joinPaths(normalized.projectRoot, "tsconfig.json"),
2122
+ project: joinPaths(normalized.projectRoot, "package.json"),
2123
2123
  defaultConfiguration: "production",
2124
2124
  platform: "neutral",
2125
2125
  assets: [
2126
2126
  {
2127
- input: options.projectRoot,
2127
+ input: normalized.projectRoot,
2128
2128
  glob: "*.md",
2129
2129
  output: "/"
2130
2130
  },
@@ -2148,19 +2148,19 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2148
2148
  }
2149
2149
  }
2150
2150
  };
2151
- if (schema.platform) {
2152
- projectConfig.targets.build.options.platform = schema.platform === "worker" ? "node" : schema.platform;
2151
+ if (options.platform) {
2152
+ projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
2153
2153
  }
2154
- addProjectTag(projectConfig, ProjectTagConstants.Platform.TAG_ID, schema.platform === "node" ? ProjectTagConstants.Platform.NODE : schema.platform === "worker" ? ProjectTagConstants.Platform.WORKER : schema.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL, {
2154
+ addProjectTag(projectConfig, ProjectTagConstants.Platform.TAG_ID, options.platform === "node" ? ProjectTagConstants.Platform.NODE : options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL, {
2155
2155
  overwrite: false
2156
2156
  });
2157
- createProjectTsConfigJson(tree, options);
2158
- addProjectConfiguration(tree, options.name, projectConfig);
2157
+ createProjectTsConfigJson(tree, normalized);
2158
+ addProjectConfiguration(tree, normalized.name, projectConfig);
2159
2159
  let repository = {
2160
2160
  type: "github",
2161
2161
  url: config?.repository || `https://github.com/${config?.organization || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
2162
2162
  };
2163
- let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2163
+ let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2164
2164
  if (tree.exists("package.json")) {
2165
2165
  const packageJson = readJson(tree, "package.json");
2166
2166
  if (packageJson?.repository) {
@@ -2170,18 +2170,18 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2170
2170
  description = packageJson.description;
2171
2171
  }
2172
2172
  }
2173
- if (!options.importPath) {
2174
- options.importPath = options.name;
2173
+ if (!normalized.importPath) {
2174
+ normalized.importPath = normalized.name;
2175
2175
  }
2176
- const packageJsonPath = joinPaths(options.projectRoot, "package.json");
2176
+ const packageJsonPath = joinPaths(normalized.projectRoot, "package.json");
2177
2177
  if (tree.exists(packageJsonPath)) {
2178
2178
  updateJson(tree, packageJsonPath, (json) => {
2179
- if (!options.importPath) {
2180
- options.importPath = options.name;
2179
+ if (!normalized.importPath) {
2180
+ normalized.importPath = normalized.name;
2181
2181
  }
2182
- json.name = options.importPath;
2182
+ json.name = normalized.importPath;
2183
2183
  json.version = "0.0.1";
2184
- if (json.private && (options.publishable || options.rootProject)) {
2184
+ if (json.private && (normalized.publishable || normalized.rootProject)) {
2185
2185
  json.private = void 0;
2186
2186
  }
2187
2187
  return {
@@ -2190,7 +2190,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2190
2190
  description,
2191
2191
  repository: {
2192
2192
  ...repository,
2193
- directory: options.projectRoot
2193
+ directory: normalized.projectRoot
2194
2194
  },
2195
2195
  type: "module",
2196
2196
  dependencies: {
@@ -2203,37 +2203,37 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2203
2203
  });
2204
2204
  } else {
2205
2205
  writeJson(tree, packageJsonPath, {
2206
- name: options.importPath,
2206
+ name: normalized.importPath,
2207
2207
  version: "0.0.1",
2208
2208
  description,
2209
2209
  repository: {
2210
2210
  ...repository,
2211
- directory: options.projectRoot
2211
+ directory: normalized.projectRoot
2212
2212
  },
2213
- private: !options.publishable || options.rootProject,
2213
+ private: !normalized.publishable || normalized.rootProject,
2214
2214
  type: "module",
2215
2215
  publishConfig: {
2216
2216
  access: "public"
2217
2217
  }
2218
2218
  });
2219
2219
  }
2220
- if (tree.exists("package.json") && options.importPath) {
2220
+ if (tree.exists("package.json") && normalized.importPath) {
2221
2221
  updateJson(tree, "package.json", (json) => ({
2222
2222
  ...json,
2223
2223
  pnpm: {
2224
2224
  ...json?.pnpm,
2225
2225
  overrides: {
2226
2226
  ...json?.pnpm?.overrides,
2227
- [options.importPath ?? ""]: "workspace:*"
2227
+ [normalized.importPath ?? ""]: "workspace:*"
2228
2228
  }
2229
2229
  }
2230
2230
  }));
2231
2231
  }
2232
- addTsConfigPath(tree, options.importPath, [
2233
- joinPaths(options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
2232
+ addTsConfigPath(tree, normalized.importPath, [
2233
+ joinPaths(normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2234
2234
  ]);
2235
- addTsConfigPath(tree, joinPaths(options.importPath, "/*"), [
2236
- joinPaths(options.projectRoot, "./src", "/*")
2235
+ addTsConfigPath(tree, joinPaths(normalized.importPath, "/*"), [
2236
+ joinPaths(normalized.projectRoot, "./src", "/*")
2237
2237
  ]);
2238
2238
  if (tree.exists("package.json")) {
2239
2239
  const packageJson = readJson(tree, "package.json");
@@ -2244,7 +2244,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2244
2244
  description = packageJson.description;
2245
2245
  }
2246
2246
  }
2247
- const tsconfigPath = joinPaths(options.projectRoot, "tsconfig.json");
2247
+ const tsconfigPath = joinPaths(normalized.projectRoot, "tsconfig.json");
2248
2248
  if (tree.exists(tsconfigPath)) {
2249
2249
  updateJson(tree, tsconfigPath, (json) => {
2250
2250
  json.composite ??= true;
@@ -2252,10 +2252,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2252
2252
  });
2253
2253
  } else {
2254
2254
  writeJson(tree, tsconfigPath, {
2255
- extends: `${offsetFromRoot(options.projectRoot)}tsconfig.base.json`,
2255
+ extends: `${offsetFromRoot(normalized.projectRoot)}tsconfig.base.json`,
2256
2256
  composite: true,
2257
2257
  compilerOptions: {
2258
- outDir: `${offsetFromRoot(options.projectRoot)}dist/out-tsc`
2258
+ outDir: `${offsetFromRoot(normalized.projectRoot)}dist/out-tsc`
2259
2259
  },
2260
2260
  files: [],
2261
2261
  include: [
@@ -2314,9 +2314,13 @@ function createProjectTsConfigJson(tree, options) {
2314
2314
  writeJson(tree, joinPaths(options.projectRoot, "tsconfig.json"), tsconfig);
2315
2315
  }
2316
2316
  __name(createProjectTsConfigJson, "createProjectTsConfigJson");
2317
- async function normalizeOptions(tree, options) {
2317
+ async function normalizeOptions(tree, options, config) {
2318
+ let importPath = options.importPath;
2319
+ if (!importPath && config?.namespace) {
2320
+ importPath = `@${config?.namespace}/${options.name}`;
2321
+ }
2318
2322
  if (options.publishable) {
2319
- if (!options.importPath) {
2323
+ if (!importPath) {
2320
2324
  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)`);
2321
2325
  }
2322
2326
  }
@@ -2325,14 +2329,14 @@ async function normalizeOptions(tree, options) {
2325
2329
  bundler = "none";
2326
2330
  }
2327
2331
  const { Linter } = ensurePackage("@nx/eslint", nxVersion);
2328
- const { projectName, names: projectNames, projectRoot, importPath } = await determineProjectNameAndRootOptions(tree, {
2332
+ const rootProject = false;
2333
+ const { projectName, names: projectNames, projectRoot, importPath: normalizedImportPath } = await determineProjectNameAndRootOptions(tree, {
2329
2334
  name: options.name,
2330
2335
  projectType: "library",
2331
2336
  directory: options.directory,
2332
- importPath: options.importPath,
2333
- rootProject: options.rootProject
2337
+ importPath,
2338
+ rootProject
2334
2339
  });
2335
- options.rootProject = projectRoot === ".";
2336
2340
  const normalized = names(projectNames.projectFileName);
2337
2341
  const fileName = normalized.fileName;
2338
2342
  return {
@@ -2358,14 +2362,15 @@ async function normalizeOptions(tree, options) {
2358
2362
  projectNames,
2359
2363
  projectRoot,
2360
2364
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
2361
- importPath
2365
+ importPath: normalizedImportPath,
2366
+ rootProject
2362
2367
  };
2363
2368
  }
2364
2369
  __name(normalizeOptions, "normalizeOptions");
2365
2370
 
2366
2371
  // ../workspace-tools/src/generators/browser-library/generator.ts
2367
2372
  async function browserLibraryGeneratorFn(tree, schema, config) {
2368
- const filesDir = joinPathFragments4(__dirname, "./files");
2373
+ const filesDir = joinPaths(__dirname, "src", "generators", "browser-library", "files");
2369
2374
  const tsLibraryGeneratorOptions = {
2370
2375
  buildExecutor: "@storm-software/workspace-tools:unbuild",
2371
2376
  platform: "browser",
@@ -2486,9 +2491,9 @@ async function initGenerator(tree, schema) {
2486
2491
  __name(initGenerator, "initGenerator");
2487
2492
 
2488
2493
  // ../workspace-tools/src/generators/neutral-library/generator.ts
2489
- import { formatFiles as formatFiles5, generateFiles as generateFiles2, joinPathFragments as joinPathFragments5, names as names3, offsetFromRoot as offsetFromRoot3 } from "@nx/devkit";
2494
+ import { formatFiles as formatFiles5, generateFiles as generateFiles2, names as names3, offsetFromRoot as offsetFromRoot3 } from "@nx/devkit";
2490
2495
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2491
- const filesDir = joinPathFragments5(__dirname, "./files");
2496
+ const filesDir = joinPaths(__dirname, "src", "generators", "neutral-library", "files");
2492
2497
  const tsLibraryGeneratorOptions = {
2493
2498
  ...schema,
2494
2499
  platform: "neutral",
@@ -2529,9 +2534,9 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
2529
2534
  });
2530
2535
 
2531
2536
  // ../workspace-tools/src/generators/node-library/generator.ts
2532
- import { formatFiles as formatFiles6, generateFiles as generateFiles3, joinPathFragments as joinPathFragments6, names as names4, offsetFromRoot as offsetFromRoot4 } from "@nx/devkit";
2537
+ import { formatFiles as formatFiles6, generateFiles as generateFiles3, names as names4, offsetFromRoot as offsetFromRoot4 } from "@nx/devkit";
2533
2538
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2534
- const filesDir = joinPathFragments6(__dirname, "./files");
2539
+ const filesDir = joinPaths(__dirname, "src", "generators", "node-library", "files");
2535
2540
  const tsLibraryGeneratorOptions = {
2536
2541
  platform: "node",
2537
2542
  devDependencies: {
@@ -2576,7 +2581,7 @@ var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Pl
2576
2581
  });
2577
2582
 
2578
2583
  // ../workspace-tools/src/generators/preset/generator.ts
2579
- import { addDependenciesToPackageJson as addDependenciesToPackageJson3, addProjectConfiguration as addProjectConfiguration2, formatFiles as formatFiles7, generateFiles as generateFiles4, joinPathFragments as joinPathFragments7, updateJson as updateJson2 } from "@nx/devkit";
2584
+ import { addDependenciesToPackageJson as addDependenciesToPackageJson3, addProjectConfiguration as addProjectConfiguration2, formatFiles as formatFiles7, generateFiles as generateFiles4, joinPathFragments as joinPathFragments4, updateJson as updateJson2 } from "@nx/devkit";
2580
2585
  import * as path6 from "node:path";
2581
2586
  async function presetGeneratorFn(tree, options) {
2582
2587
  const projectRoot = ".";
@@ -2794,14 +2799,14 @@ async function presetGeneratorFn(tree, options) {
2794
2799
  "nx-cloud": "latest"
2795
2800
  };
2796
2801
  }
2797
- await Promise.resolve(addDependenciesToPackageJson3(tree, dependencies, {}, joinPathFragments7(projectRoot, "package.json")));
2802
+ await Promise.resolve(addDependenciesToPackageJson3(tree, dependencies, {}, joinPathFragments4(projectRoot, "package.json")));
2798
2803
  return null;
2799
2804
  }
2800
2805
  __name(presetGeneratorFn, "presetGeneratorFn");
2801
2806
  var generator_default5 = withRunGenerator("Storm Workspace Preset Generator", presetGeneratorFn);
2802
2807
 
2803
2808
  // ../workspace-tools/src/generators/release-version/generator.ts
2804
- import { formatFiles as formatFiles8, joinPathFragments as joinPathFragments8, output, readJson as readJson2, updateJson as updateJson3, writeJson as writeJson3 } from "@nx/devkit";
2809
+ import { formatFiles as formatFiles8, joinPathFragments as joinPathFragments5, output, readJson as readJson2, updateJson as updateJson3, writeJson as writeJson3 } from "@nx/devkit";
2805
2810
  import { resolveLocalPackageDependencies as resolveLocalPackageJsonDependencies } from "@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies";
2806
2811
  import { updateLockFile } from "@nx/js/src/generators/release-version/utils/update-lock-file";
2807
2812
 
@@ -3161,37 +3166,17 @@ var typescript_library_generator_untyped_default = defineUntypedSchema5({
3161
3166
  enum: [
3162
3167
  "neutral",
3163
3168
  "node",
3169
+ "worker",
3164
3170
  "browser"
3165
3171
  ]
3166
3172
  },
3167
3173
  $default: "neutral"
3168
3174
  },
3169
- devDependencies: {
3170
- $schema: {
3171
- title: "Dev Dependencies",
3172
- type: "object",
3173
- description: "The dev dependencies to install"
3174
- }
3175
- },
3176
- dependencies: {
3177
- $schema: {
3178
- title: "Dependencies",
3179
- type: "object",
3180
- description: "The dependencies to install"
3181
- }
3182
- },
3183
- peerDependencies: {
3184
- $schema: {
3185
- title: "Peer Dependencies",
3186
- type: "object",
3187
- description: "The peer dependencies to install"
3188
- }
3189
- },
3190
- peerDependenciesMeta: {
3175
+ importPath: {
3191
3176
  $schema: {
3192
- title: "Peer Dependencies Meta",
3193
- type: "object",
3194
- description: "The peer dependencies meta"
3177
+ title: "Import Path",
3178
+ type: "string",
3179
+ description: "The import path for the library"
3195
3180
  }
3196
3181
  },
3197
3182
  tags: {
@@ -3201,41 +3186,6 @@ var typescript_library_generator_untyped_default = defineUntypedSchema5({
3201
3186
  description: "The tags for the library"
3202
3187
  }
3203
3188
  },
3204
- tsconfigOptions: {
3205
- $schema: {
3206
- title: "TypeScript Config (tsconfig.json) Options",
3207
- type: "object",
3208
- description: "The TypeScript configuration options"
3209
- }
3210
- },
3211
- skipFormat: {
3212
- $schema: {
3213
- title: "Skip Format",
3214
- type: "boolean",
3215
- description: "Skip formatting"
3216
- }
3217
- },
3218
- skipTsConfig: {
3219
- $schema: {
3220
- title: "Skip TsConfig",
3221
- type: "boolean",
3222
- description: "Skip TypeScript configuration"
3223
- }
3224
- },
3225
- skipPackageJson: {
3226
- $schema: {
3227
- title: "Skip Package Json",
3228
- type: "boolean",
3229
- description: "Skip package.json"
3230
- }
3231
- },
3232
- includeBabelRc: {
3233
- $schema: {
3234
- title: "Include Babel Rc",
3235
- type: "boolean",
3236
- description: "Include Babel configuration"
3237
- }
3238
- },
3239
3189
  unitTestRunner: {
3240
3190
  $schema: {
3241
3191
  title: "Unit Test Runner",
@@ -3248,13 +3198,6 @@ var typescript_library_generator_untyped_default = defineUntypedSchema5({
3248
3198
  description: "The unit test runner to use"
3249
3199
  }
3250
3200
  },
3251
- linter: {
3252
- $schema: {
3253
- title: "Linter",
3254
- type: "string",
3255
- description: "The linter to use"
3256
- }
3257
- },
3258
3201
  testEnvironment: {
3259
3202
  $schema: {
3260
3203
  title: "Test Environment",
@@ -3266,136 +3209,37 @@ var typescript_library_generator_untyped_default = defineUntypedSchema5({
3266
3209
  description: "The test environment to use"
3267
3210
  }
3268
3211
  },
3269
- importPath: {
3270
- $schema: {
3271
- title: "Import Path",
3272
- type: "string",
3273
- description: "The import path for the library"
3274
- }
3275
- },
3276
- js: {
3277
- $schema: {
3278
- title: "JavaScript",
3279
- type: "boolean",
3280
- description: "Use JavaScript instead of TypeScript"
3281
- }
3282
- },
3283
3212
  pascalCaseFiles: {
3284
3213
  $schema: {
3285
3214
  title: "Pascal Case Files",
3286
3215
  type: "boolean",
3287
3216
  description: "Use PascalCase for file names"
3288
- }
3217
+ },
3218
+ $default: false
3289
3219
  },
3290
3220
  strict: {
3291
3221
  $schema: {
3292
3222
  title: "Strict",
3293
3223
  type: "boolean",
3294
3224
  description: "Enable strict mode"
3295
- }
3225
+ },
3226
+ $default: true
3296
3227
  },
3297
3228
  publishable: {
3298
3229
  $schema: {
3299
3230
  title: "Publishable",
3300
3231
  type: "boolean",
3301
3232
  description: "Make the library publishable"
3302
- }
3233
+ },
3234
+ $default: false
3303
3235
  },
3304
3236
  buildable: {
3305
3237
  $schema: {
3306
3238
  title: "Buildable",
3307
3239
  type: "boolean",
3308
3240
  description: "Make the library buildable"
3309
- }
3310
- },
3311
- setParserOptionsProject: {
3312
- $schema: {
3313
- title: "Set Parser Options Project",
3314
- type: "boolean",
3315
- description: "Set parser options project"
3316
- }
3317
- },
3318
- config: {
3319
- $schema: {
3320
- title: "Config",
3321
- type: "string",
3322
- enum: [
3323
- "workspace",
3324
- "project",
3325
- "npm-scripts"
3326
- ],
3327
- description: "The configuration type"
3328
- }
3329
- },
3330
- compiler: {
3331
- $schema: {
3332
- title: "Compiler",
3333
- type: "string",
3334
- description: "The compiler to use"
3335
- }
3336
- },
3337
- bundler: {
3338
- $schema: {
3339
- title: "Bundler",
3340
- type: "string",
3341
- description: "The bundler to use"
3342
- }
3343
- },
3344
- skipTypeCheck: {
3345
- $schema: {
3346
- title: "Skip Type Check",
3347
- type: "boolean",
3348
- description: "Skip type checking"
3349
- }
3350
- },
3351
- minimal: {
3352
- $schema: {
3353
- title: "Minimal",
3354
- type: "boolean",
3355
- description: "Create a minimal library"
3356
- }
3357
- },
3358
- rootProject: {
3359
- $schema: {
3360
- title: "Root Project",
3361
- type: "boolean",
3362
- description: "Create a root project"
3363
- }
3364
- },
3365
- simpleName: {
3366
- $schema: {
3367
- title: "Simple Name",
3368
- type: "boolean",
3369
- description: "Use a simple name for the library"
3370
- }
3371
- },
3372
- addPlugin: {
3373
- $schema: {
3374
- title: "Add Plugin",
3375
- type: "boolean",
3376
- description: "Add a plugin to the library"
3377
- }
3378
- },
3379
- useProjectJson: {
3380
- $schema: {
3381
- title: "Use Project Json",
3382
- type: "boolean",
3383
- description: "Use project.json"
3384
- }
3385
- },
3386
- skipWorkspacesWarning: {
3387
- $schema: {
3388
- title: "Skip Workspaces Warning",
3389
- type: "boolean",
3390
- description: "Skip workspaces warning"
3391
- }
3392
- },
3393
- useTscExecutor: {
3394
- $schema: {
3395
- title: "Use Tsc Executor",
3396
- type: "boolean",
3397
- description: "Use TSC executor"
3398
- }
3241
+ },
3242
+ $default: true
3399
3243
  }
3400
3244
  });
3401
3245
 
@@ -3420,7 +3264,7 @@ var NPM_LOCK_PATH = join2(workspaceRoot2, NPM_LOCK_FILE);
3420
3264
  var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
3421
3265
 
3422
3266
  // ../workspace-tools/src/utils/package-helpers.ts
3423
- import { joinPathFragments as joinPathFragments9, readJsonFile as readJsonFile2 } from "@nx/devkit";
3267
+ import { joinPathFragments as joinPathFragments6, readJsonFile as readJsonFile2 } from "@nx/devkit";
3424
3268
  import { existsSync as existsSync5 } from "node:fs";
3425
3269
 
3426
3270
  // ../workspace-tools/src/utils/plugin-helpers.ts
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkSWGZ2GWFjs = require('./chunk-SWGZ2GWF.js');
4
+ var _chunk2VDQN4UVjs = require('./chunk-2VDQN4UV.js');
5
5
  require('./chunk-ARUOVAUX.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkSWGZ2GWFjs.initGenerator;
9
+ exports.initGenerator = _chunk2VDQN4UVjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-S2CDMFT4.mjs";
4
+ } from "./chunk-IWQYYN5V.mjs";
5
5
  import "./chunk-MZ27JZT5.mjs";
6
6
  import "./chunk-XUV4U54K.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ require('./chunk-IILCY4K6.js');
5
5
  require('./chunk-N2YKXZ5R.js');
6
6
 
7
7
 
8
- var _chunkSWGZ2GWFjs = require('./chunk-SWGZ2GWF.js');
8
+ var _chunk2VDQN4UVjs = require('./chunk-2VDQN4UV.js');
9
9
  require('./chunk-GUQOEBFW.js');
10
10
 
11
11
 
@@ -20,4 +20,4 @@ require('./chunk-3GQAWCBQ.js');
20
20
 
21
21
 
22
22
 
23
- exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkSWGZ2GWFjs.initGenerator; exports.withTerraformExecutor = _chunk5SJJD7T2js.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunk2VDQN4UVjs.initGenerator; exports.withTerraformExecutor = _chunk5SJJD7T2js.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import "./chunk-JSGMKYAJ.mjs";
5
5
  import "./chunk-23KFTIT2.mjs";
6
6
  import {
7
7
  initGenerator
8
- } from "./chunk-S2CDMFT4.mjs";
8
+ } from "./chunk-IWQYYN5V.mjs";
9
9
  import "./chunk-CA7S5MOH.mjs";
10
10
  import {
11
11
  base_terraform_executor_untyped_default
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkSWGZ2GWFjs = require('../../../chunk-SWGZ2GWF.js');
4
+ var _chunk2VDQN4UVjs = require('../../../chunk-2VDQN4UV.js');
5
5
  require('../../../chunk-ARUOVAUX.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkSWGZ2GWFjs.init_default; exports.initGenerator = _chunkSWGZ2GWFjs.initGenerator;
10
+ exports.default = _chunk2VDQN4UVjs.init_default; exports.initGenerator = _chunk2VDQN4UVjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-S2CDMFT4.mjs";
4
+ } from "../../../chunk-IWQYYN5V.mjs";
5
5
  import "../../../chunk-MZ27JZT5.mjs";
6
6
  import "../../../chunk-XUV4U54K.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/terraform-tools",
3
- "version": "0.53.9",
3
+ "version": "0.54.1",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -123,7 +123,7 @@
123
123
  "nx": { "optional": false }
124
124
  },
125
125
  "dependencies": {
126
- "@storm-software/workspace-tools": "1.241.0",
126
+ "@storm-software/workspace-tools": "1.243.0",
127
127
  "shelljs": "^0.8.5",
128
128
  "tslib": "^2.6.3"
129
129
  },