@storm-software/cloudflare-tools 0.54.9 → 0.55.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.
@@ -2187,48 +2187,48 @@ var nodeVersion = "20.11.0";
2187
2187
  var pnpmVersion = "8.10.2";
2188
2188
 
2189
2189
  // ../workspace-tools/src/base/typescript-library-generator.ts
2190
- async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2191
- const options = await normalizeOptions(tree, {
2192
- ...schema
2190
+ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2191
+ const normalized = await normalizeOptions(tree, {
2192
+ ...options
2193
2193
  });
2194
2194
  const tasks = [];
2195
2195
  tasks.push(await _init2.default.call(void 0, tree, {
2196
- ...options,
2197
- tsConfigName: options.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2196
+ ...normalized,
2197
+ tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
2198
2198
  }));
2199
2199
  tasks.push(_devkit.addDependenciesToPackageJson.call(void 0, tree, {}, {
2200
2200
  "@storm-software/workspace-tools": "latest",
2201
2201
  "@storm-software/testing-tools": "latest",
2202
- ..._nullishCoalesce(schema.devDependencies, () => ( {}))
2202
+ ..._nullishCoalesce(options.devDependencies, () => ( {}))
2203
2203
  }));
2204
- if (options.publishable) {
2204
+ if (normalized.publishable) {
2205
2205
  tasks.push(await _generator2.default.call(void 0, tree, {
2206
- ...options,
2206
+ ...normalized,
2207
2207
  skipFormat: true
2208
2208
  }));
2209
2209
  }
2210
2210
  const projectConfig = {
2211
- root: options.directory,
2211
+ root: normalized.directory,
2212
2212
  projectType: "library",
2213
- sourceRoot: _chunk43HWVEICjs.joinPaths.call(void 0, _nullishCoalesce(options.directory, () => ( "")), "src"),
2213
+ sourceRoot: _chunk43HWVEICjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
2214
2214
  targets: {
2215
2215
  build: {
2216
- executor: schema.buildExecutor,
2216
+ executor: options.buildExecutor,
2217
2217
  outputs: [
2218
2218
  "{options.outputPath}"
2219
2219
  ],
2220
2220
  options: {
2221
2221
  entry: [
2222
- _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "src", "index.ts")
2222
+ _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
2223
2223
  ],
2224
- outputPath: getOutputPath(options),
2225
- tsconfig: _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
2226
- project: _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
2224
+ outputPath: getOutputPath(normalized),
2225
+ tsconfig: _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
2226
+ project: _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
2227
2227
  defaultConfiguration: "production",
2228
2228
  platform: "neutral",
2229
2229
  assets: [
2230
2230
  {
2231
- input: options.projectRoot,
2231
+ input: normalized.projectRoot,
2232
2232
  glob: "*.md",
2233
2233
  output: "/"
2234
2234
  },
@@ -2252,19 +2252,19 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2252
2252
  }
2253
2253
  }
2254
2254
  };
2255
- if (schema.platform) {
2256
- projectConfig.targets.build.options.platform = schema.platform === "worker" ? "node" : schema.platform;
2255
+ if (options.platform) {
2256
+ projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
2257
2257
  }
2258
- _chunkVTHBMY4Bjs.addProjectTag.call(void 0, projectConfig, _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.TAG_ID, schema.platform === "node" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.NODE : schema.platform === "worker" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.WORKER : schema.platform === "browser" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.BROWSER : _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.NEUTRAL, {
2258
+ _chunkVTHBMY4Bjs.addProjectTag.call(void 0, projectConfig, _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.TAG_ID, options.platform === "node" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.BROWSER : _chunkVTHBMY4Bjs.ProjectTagConstants.Platform.NEUTRAL, {
2259
2259
  overwrite: false
2260
2260
  });
2261
- createProjectTsConfigJson(tree, options);
2262
- _devkit.addProjectConfiguration.call(void 0, tree, options.name, projectConfig);
2261
+ createProjectTsConfigJson(tree, normalized);
2262
+ _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
2263
2263
  let repository = {
2264
2264
  type: "github",
2265
2265
  url: _optionalChain([config, 'optionalAccess', _117 => _117.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _118 => _118.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _119 => _119.namespace]) || _optionalChain([config, 'optionalAccess', _120 => _120.name]) || "repository"}.git`
2266
2266
  };
2267
- let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2267
+ let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2268
2268
  if (tree.exists("package.json")) {
2269
2269
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2270
2270
  if (_optionalChain([packageJson, 'optionalAccess', _121 => _121.repository])) {
@@ -2274,18 +2274,18 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2274
2274
  description = packageJson.description;
2275
2275
  }
2276
2276
  }
2277
- if (!options.importPath) {
2278
- options.importPath = options.name;
2277
+ if (!normalized.importPath) {
2278
+ normalized.importPath = normalized.name;
2279
2279
  }
2280
- const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json");
2280
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2281
2281
  if (tree.exists(packageJsonPath)) {
2282
2282
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2283
- if (!options.importPath) {
2284
- options.importPath = options.name;
2283
+ if (!normalized.importPath) {
2284
+ normalized.importPath = normalized.name;
2285
2285
  }
2286
- json.name = options.importPath;
2286
+ json.name = normalized.importPath;
2287
2287
  json.version = "0.0.1";
2288
- if (json.private && (options.publishable || options.rootProject)) {
2288
+ if (json.private && (normalized.publishable || normalized.rootProject)) {
2289
2289
  json.private = void 0;
2290
2290
  }
2291
2291
  return {
@@ -2294,7 +2294,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2294
2294
  description,
2295
2295
  repository: {
2296
2296
  ...repository,
2297
- directory: options.projectRoot
2297
+ directory: normalized.projectRoot
2298
2298
  },
2299
2299
  type: "module",
2300
2300
  dependencies: {
@@ -2307,37 +2307,37 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2307
2307
  });
2308
2308
  } else {
2309
2309
  _devkit.writeJson.call(void 0, tree, packageJsonPath, {
2310
- name: options.importPath,
2310
+ name: normalized.importPath,
2311
2311
  version: "0.0.1",
2312
2312
  description,
2313
2313
  repository: {
2314
2314
  ...repository,
2315
- directory: options.projectRoot
2315
+ directory: normalized.projectRoot
2316
2316
  },
2317
- private: !options.publishable || options.rootProject,
2317
+ private: !normalized.publishable || normalized.rootProject,
2318
2318
  type: "module",
2319
2319
  publishConfig: {
2320
2320
  access: "public"
2321
2321
  }
2322
2322
  });
2323
2323
  }
2324
- if (tree.exists("package.json") && options.importPath) {
2324
+ if (tree.exists("package.json") && normalized.importPath) {
2325
2325
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
2326
2326
  ...json,
2327
2327
  pnpm: {
2328
2328
  ..._optionalChain([json, 'optionalAccess', _123 => _123.pnpm]),
2329
2329
  overrides: {
2330
2330
  ..._optionalChain([json, 'optionalAccess', _124 => _124.pnpm, 'optionalAccess', _125 => _125.overrides]),
2331
- [_nullishCoalesce(options.importPath, () => ( ""))]: "workspace:*"
2331
+ [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
2332
2332
  }
2333
2333
  }
2334
2334
  }));
2335
2335
  }
2336
- _js.addTsConfigPath.call(void 0, tree, options.importPath, [
2337
- _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
2336
+ _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2337
+ _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2338
2338
  ]);
2339
- _js.addTsConfigPath.call(void 0, tree, _chunk43HWVEICjs.joinPaths.call(void 0, options.importPath, "/*"), [
2340
- _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "./src", "/*")
2339
+ _js.addTsConfigPath.call(void 0, tree, _chunk43HWVEICjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2340
+ _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2341
2341
  ]);
2342
2342
  if (tree.exists("package.json")) {
2343
2343
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2348,7 +2348,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2348
2348
  description = packageJson.description;
2349
2349
  }
2350
2350
  }
2351
- const tsconfigPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
2351
+ const tsconfigPath = _chunk43HWVEICjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2352
2352
  if (tree.exists(tsconfigPath)) {
2353
2353
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2354
2354
  json.composite ??= true;
@@ -2356,10 +2356,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2356
2356
  });
2357
2357
  } else {
2358
2358
  _devkit.writeJson.call(void 0, tree, tsconfigPath, {
2359
- extends: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}tsconfig.base.json`,
2359
+ extends: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}tsconfig.base.json`,
2360
2360
  composite: true,
2361
2361
  compilerOptions: {
2362
- outDir: `${_devkit.offsetFromRoot.call(void 0, options.projectRoot)}dist/out-tsc`
2362
+ outDir: `${_devkit.offsetFromRoot.call(void 0, normalized.projectRoot)}dist/out-tsc`
2363
2363
  },
2364
2364
  files: [],
2365
2365
  include: [
@@ -2418,9 +2418,13 @@ function createProjectTsConfigJson(tree, options) {
2418
2418
  _devkit.writeJson.call(void 0, tree, _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2419
2419
  }
2420
2420
  _chunkJ5SB6L2Ljs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2421
- async function normalizeOptions(tree, options) {
2421
+ async function normalizeOptions(tree, options, config) {
2422
+ let importPath = options.importPath;
2423
+ if (!importPath && _optionalChain([config, 'optionalAccess', _137 => _137.namespace])) {
2424
+ importPath = `@${_optionalChain([config, 'optionalAccess', _138 => _138.namespace])}/${options.name}`;
2425
+ }
2422
2426
  if (options.publishable) {
2423
- if (!options.importPath) {
2427
+ if (!importPath) {
2424
2428
  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)`);
2425
2429
  }
2426
2430
  }
@@ -2429,14 +2433,14 @@ async function normalizeOptions(tree, options) {
2429
2433
  bundler = "none";
2430
2434
  }
2431
2435
  const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint", nxVersion);
2432
- const { projectName, names: projectNames, projectRoot, importPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
2436
+ const rootProject = false;
2437
+ const { projectName, names: projectNames, projectRoot, importPath: normalizedImportPath } = await _projectnameandrootutils.determineProjectNameAndRootOptions.call(void 0, tree, {
2433
2438
  name: options.name,
2434
2439
  projectType: "library",
2435
2440
  directory: options.directory,
2436
- importPath: options.importPath,
2437
- rootProject: options.rootProject
2441
+ importPath,
2442
+ rootProject
2438
2443
  });
2439
- options.rootProject = projectRoot === ".";
2440
2444
  const normalized = _devkit.names.call(void 0, projectNames.projectFileName);
2441
2445
  const fileName = normalized.fileName;
2442
2446
  return {
@@ -2462,14 +2466,15 @@ async function normalizeOptions(tree, options) {
2462
2466
  projectNames,
2463
2467
  projectRoot,
2464
2468
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
2465
- importPath
2469
+ importPath: normalizedImportPath,
2470
+ rootProject
2466
2471
  };
2467
2472
  }
2468
2473
  _chunkJ5SB6L2Ljs.__name.call(void 0, normalizeOptions, "normalizeOptions");
2469
2474
 
2470
2475
  // ../workspace-tools/src/generators/browser-library/generator.ts
2471
2476
  async function browserLibraryGeneratorFn(tree, schema, config) {
2472
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2477
+ const filesDir = _chunk43HWVEICjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2473
2478
  const tsLibraryGeneratorOptions = {
2474
2479
  buildExecutor: "@storm-software/workspace-tools:unbuild",
2475
2480
  platform: "browser",
@@ -2547,7 +2552,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
2547
2552
  name: "StormWorkspaceConfiguration"
2548
2553
  });
2549
2554
  _chunk43HWVEICjs.writeTrace.call(void 0, jsonSchema, config);
2550
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _137 => _137.workspaceRoot]), () => ( _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _138 => _138.outputFile, 'optionalAccess', _139 => _139.startsWith, 'call', _140 => _140("./")]) ? "" : "./");
2555
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _139 => _139.workspaceRoot]), () => ( _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _140 => _140.outputFile, 'optionalAccess', _141 => _141.startsWith, 'call', _142 => _142("./")]) ? "" : "./");
2551
2556
  _chunk43HWVEICjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2552
2557
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2553
2558
  spaces: 2
@@ -2574,7 +2579,7 @@ var generator_default2 = withRunGenerator("Configuration Schema Creator", config
2574
2579
  // ../workspace-tools/src/generators/neutral-library/generator.ts
2575
2580
 
2576
2581
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2577
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2582
+ const filesDir = _chunk43HWVEICjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2578
2583
  const tsLibraryGeneratorOptions = {
2579
2584
  ...schema,
2580
2585
  platform: "neutral",
@@ -2617,7 +2622,7 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
2617
2622
  // ../workspace-tools/src/generators/node-library/generator.ts
2618
2623
 
2619
2624
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2620
- const filesDir = _devkit.joinPathFragments.call(void 0, __dirname, "./files");
2625
+ const filesDir = _chunk43HWVEICjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2621
2626
  const tsLibraryGeneratorOptions = {
2622
2627
  platform: "node",
2623
2628
  devDependencies: {
@@ -3247,37 +3252,17 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3247
3252
  enum: [
3248
3253
  "neutral",
3249
3254
  "node",
3255
+ "worker",
3250
3256
  "browser"
3251
3257
  ]
3252
3258
  },
3253
3259
  $default: "neutral"
3254
3260
  },
3255
- devDependencies: {
3256
- $schema: {
3257
- title: "Dev Dependencies",
3258
- type: "object",
3259
- description: "The dev dependencies to install"
3260
- }
3261
- },
3262
- dependencies: {
3263
- $schema: {
3264
- title: "Dependencies",
3265
- type: "object",
3266
- description: "The dependencies to install"
3267
- }
3268
- },
3269
- peerDependencies: {
3270
- $schema: {
3271
- title: "Peer Dependencies",
3272
- type: "object",
3273
- description: "The peer dependencies to install"
3274
- }
3275
- },
3276
- peerDependenciesMeta: {
3261
+ importPath: {
3277
3262
  $schema: {
3278
- title: "Peer Dependencies Meta",
3279
- type: "object",
3280
- description: "The peer dependencies meta"
3263
+ title: "Import Path",
3264
+ type: "string",
3265
+ description: "The import path for the library"
3281
3266
  }
3282
3267
  },
3283
3268
  tags: {
@@ -3287,41 +3272,6 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3287
3272
  description: "The tags for the library"
3288
3273
  }
3289
3274
  },
3290
- tsconfigOptions: {
3291
- $schema: {
3292
- title: "TypeScript Config (tsconfig.json) Options",
3293
- type: "object",
3294
- description: "The TypeScript configuration options"
3295
- }
3296
- },
3297
- skipFormat: {
3298
- $schema: {
3299
- title: "Skip Format",
3300
- type: "boolean",
3301
- description: "Skip formatting"
3302
- }
3303
- },
3304
- skipTsConfig: {
3305
- $schema: {
3306
- title: "Skip TsConfig",
3307
- type: "boolean",
3308
- description: "Skip TypeScript configuration"
3309
- }
3310
- },
3311
- skipPackageJson: {
3312
- $schema: {
3313
- title: "Skip Package Json",
3314
- type: "boolean",
3315
- description: "Skip package.json"
3316
- }
3317
- },
3318
- includeBabelRc: {
3319
- $schema: {
3320
- title: "Include Babel Rc",
3321
- type: "boolean",
3322
- description: "Include Babel configuration"
3323
- }
3324
- },
3325
3275
  unitTestRunner: {
3326
3276
  $schema: {
3327
3277
  title: "Unit Test Runner",
@@ -3334,13 +3284,6 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3334
3284
  description: "The unit test runner to use"
3335
3285
  }
3336
3286
  },
3337
- linter: {
3338
- $schema: {
3339
- title: "Linter",
3340
- type: "string",
3341
- description: "The linter to use"
3342
- }
3343
- },
3344
3287
  testEnvironment: {
3345
3288
  $schema: {
3346
3289
  title: "Test Environment",
@@ -3352,136 +3295,37 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
3352
3295
  description: "The test environment to use"
3353
3296
  }
3354
3297
  },
3355
- importPath: {
3356
- $schema: {
3357
- title: "Import Path",
3358
- type: "string",
3359
- description: "The import path for the library"
3360
- }
3361
- },
3362
- js: {
3363
- $schema: {
3364
- title: "JavaScript",
3365
- type: "boolean",
3366
- description: "Use JavaScript instead of TypeScript"
3367
- }
3368
- },
3369
3298
  pascalCaseFiles: {
3370
3299
  $schema: {
3371
3300
  title: "Pascal Case Files",
3372
3301
  type: "boolean",
3373
3302
  description: "Use PascalCase for file names"
3374
- }
3303
+ },
3304
+ $default: false
3375
3305
  },
3376
3306
  strict: {
3377
3307
  $schema: {
3378
3308
  title: "Strict",
3379
3309
  type: "boolean",
3380
3310
  description: "Enable strict mode"
3381
- }
3311
+ },
3312
+ $default: true
3382
3313
  },
3383
3314
  publishable: {
3384
3315
  $schema: {
3385
3316
  title: "Publishable",
3386
3317
  type: "boolean",
3387
3318
  description: "Make the library publishable"
3388
- }
3319
+ },
3320
+ $default: false
3389
3321
  },
3390
3322
  buildable: {
3391
3323
  $schema: {
3392
3324
  title: "Buildable",
3393
3325
  type: "boolean",
3394
3326
  description: "Make the library buildable"
3395
- }
3396
- },
3397
- setParserOptionsProject: {
3398
- $schema: {
3399
- title: "Set Parser Options Project",
3400
- type: "boolean",
3401
- description: "Set parser options project"
3402
- }
3403
- },
3404
- config: {
3405
- $schema: {
3406
- title: "Config",
3407
- type: "string",
3408
- enum: [
3409
- "workspace",
3410
- "project",
3411
- "npm-scripts"
3412
- ],
3413
- description: "The configuration type"
3414
- }
3415
- },
3416
- compiler: {
3417
- $schema: {
3418
- title: "Compiler",
3419
- type: "string",
3420
- description: "The compiler to use"
3421
- }
3422
- },
3423
- bundler: {
3424
- $schema: {
3425
- title: "Bundler",
3426
- type: "string",
3427
- description: "The bundler to use"
3428
- }
3429
- },
3430
- skipTypeCheck: {
3431
- $schema: {
3432
- title: "Skip Type Check",
3433
- type: "boolean",
3434
- description: "Skip type checking"
3435
- }
3436
- },
3437
- minimal: {
3438
- $schema: {
3439
- title: "Minimal",
3440
- type: "boolean",
3441
- description: "Create a minimal library"
3442
- }
3443
- },
3444
- rootProject: {
3445
- $schema: {
3446
- title: "Root Project",
3447
- type: "boolean",
3448
- description: "Create a root project"
3449
- }
3450
- },
3451
- simpleName: {
3452
- $schema: {
3453
- title: "Simple Name",
3454
- type: "boolean",
3455
- description: "Use a simple name for the library"
3456
- }
3457
- },
3458
- addPlugin: {
3459
- $schema: {
3460
- title: "Add Plugin",
3461
- type: "boolean",
3462
- description: "Add a plugin to the library"
3463
- }
3464
- },
3465
- useProjectJson: {
3466
- $schema: {
3467
- title: "Use Project Json",
3468
- type: "boolean",
3469
- description: "Use project.json"
3470
- }
3471
- },
3472
- skipWorkspacesWarning: {
3473
- $schema: {
3474
- title: "Skip Workspaces Warning",
3475
- type: "boolean",
3476
- description: "Skip workspaces warning"
3477
- }
3478
- },
3479
- useTscExecutor: {
3480
- $schema: {
3481
- title: "Use Tsc Executor",
3482
- type: "boolean",
3483
- description: "Use TSC executor"
3484
- }
3327
+ },
3328
+ $default: true
3485
3329
  }
3486
3330
  });
3487
3331
 
package/dist/executors.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-R7AIVBS7.js');
3
- require('./chunk-J4ZEL2FS.js');
4
3
  require('./chunk-GCD4ACJC.js');
5
4
  require('./chunk-ADRS43PR.js');
5
+ require('./chunk-ZND42QSU.js');
6
6
  require('./chunk-VTHBMY4B.js');
7
7
  require('./chunk-6Q4S7VSU.js');
8
8
  require('./chunk-43HWVEIC.js');
@@ -1,8 +1,8 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-QEWY5YJA.mjs";
3
- import "./chunk-FRA27Q4O.mjs";
4
3
  import "./chunk-XSVPXWSA.mjs";
5
4
  import "./chunk-NP7DE7UM.mjs";
5
+ import "./chunk-IKCEMAOR.mjs";
6
6
  import "./chunk-XU6MTFCV.mjs";
7
7
  import "./chunk-BKBJDKMA.mjs";
8
8
  import "./chunk-GMLMIRU7.mjs";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPI2GYWCKjs = require('./chunk-PI2GYWCK.js');
5
+ var _chunkKUTJAYRPjs = require('./chunk-KUTJAYRP.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkUUCB3PD3js = require('./chunk-UUCB3PD3.js');
9
+ var _chunk52L33AXEjs = require('./chunk-52L33AXE.js');
10
10
  require('./chunk-6Q4S7VSU.js');
11
11
  require('./chunk-43HWVEIC.js');
12
12
  require('./chunk-J5SB6L2L.js');
@@ -15,4 +15,4 @@ require('./chunk-J5SB6L2L.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkPI2GYWCKjs.applicationGenerator; exports.applicationSchematic = _chunkPI2GYWCKjs.applicationSchematic; exports.initGenerator = _chunkUUCB3PD3js.initGenerator; exports.initSchematic = _chunkUUCB3PD3js.initSchematic;
18
+ exports.applicationGenerator = _chunkKUTJAYRPjs.applicationGenerator; exports.applicationSchematic = _chunkKUTJAYRPjs.applicationSchematic; exports.initGenerator = _chunk52L33AXEjs.initGenerator; exports.initSchematic = _chunk52L33AXEjs.initSchematic;
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-SXIJ3Y7H.mjs";
5
+ } from "./chunk-5WNLJW4K.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-6FLJY5GI.mjs";
9
+ } from "./chunk-I3W6J4WY.mjs";
10
10
  import "./chunk-BKBJDKMA.mjs";
11
11
  import "./chunk-GMLMIRU7.mjs";
12
12
  import "./chunk-A7FFSBE6.mjs";
package/dist/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-XO66D74Z.js');
2
+ require('./chunk-R7AIVBS7.js');
2
3
  require('./chunk-DHBG5ASJ.js');
3
4
 
4
5
 
5
6
 
6
- var _chunkPI2GYWCKjs = require('./chunk-PI2GYWCK.js');
7
+ var _chunkKUTJAYRPjs = require('./chunk-KUTJAYRP.js');
7
8
 
8
9
 
9
10
 
10
- var _chunkUUCB3PD3js = require('./chunk-UUCB3PD3.js');
11
+ var _chunk52L33AXEjs = require('./chunk-52L33AXE.js');
11
12
  require('./chunk-CVGPWUNP.js');
12
- require('./chunk-R7AIVBS7.js');
13
- require('./chunk-J4ZEL2FS.js');
14
13
  require('./chunk-GCD4ACJC.js');
15
14
 
16
15
 
17
16
 
18
17
  var _chunkADRS43PRjs = require('./chunk-ADRS43PR.js');
18
+ require('./chunk-ZND42QSU.js');
19
19
 
20
20
 
21
21
 
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
148
148
 
149
149
 
150
150
 
151
- exports.applicationGenerator = _chunkPI2GYWCKjs.applicationGenerator; exports.applicationSchematic = _chunkPI2GYWCKjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkADRS43PRjs.getInternalDependencies; exports.initGenerator = _chunkUUCB3PD3js.initGenerator; exports.initSchematic = _chunkUUCB3PD3js.initSchematic; exports.name = name; exports.r2UploadFile = _chunkADRS43PRjs.r2UploadFile;
151
+ exports.applicationGenerator = _chunkKUTJAYRPjs.applicationGenerator; exports.applicationSchematic = _chunkKUTJAYRPjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkADRS43PRjs.getInternalDependencies; exports.initGenerator = _chunk52L33AXEjs.initGenerator; exports.initSchematic = _chunk52L33AXEjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkADRS43PRjs.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -1,21 +1,21 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
+ import "./chunk-QEWY5YJA.mjs";
2
3
  import "./chunk-3J7KBHMJ.mjs";
3
4
  import {
4
5
  applicationGenerator,
5
6
  applicationSchematic
6
- } from "./chunk-SXIJ3Y7H.mjs";
7
+ } from "./chunk-5WNLJW4K.mjs";
7
8
  import {
8
9
  initGenerator,
9
10
  initSchematic
10
- } from "./chunk-6FLJY5GI.mjs";
11
+ } from "./chunk-I3W6J4WY.mjs";
11
12
  import "./chunk-7Z5PILRU.mjs";
12
- import "./chunk-QEWY5YJA.mjs";
13
- import "./chunk-FRA27Q4O.mjs";
14
13
  import "./chunk-XSVPXWSA.mjs";
15
14
  import {
16
15
  getInternalDependencies,
17
16
  r2UploadFile
18
17
  } from "./chunk-NP7DE7UM.mjs";
18
+ import "./chunk-IKCEMAOR.mjs";
19
19
  import {
20
20
  ProjectTagConstants,
21
21
  addProjectTag
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
4
- require('../../../chunk-J4ZEL2FS.js');
4
+ require('../../../chunk-ZND42QSU.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
6
  require('../../../chunk-6Q4S7VSU.js');
7
7
  require('../../../chunk-43HWVEIC.js');
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-QEWY5YJA.mjs";
4
- import "../../../chunk-FRA27Q4O.mjs";
4
+ import "../../../chunk-IKCEMAOR.mjs";
5
5
  import "../../../chunk-XU6MTFCV.mjs";
6
6
  import "../../../chunk-BKBJDKMA.mjs";
7
7
  import "../../../chunk-GMLMIRU7.mjs";