@storm-software/workspace-tools 1.30.11 → 1.30.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.30.11",
3
+ "version": "1.30.13",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -117377,15 +117377,15 @@ ${externalDependencies.map((dep) => {
117377
117377
  if (!ret[packageJsonKey]) {
117378
117378
  ret[packageJsonKey] = {
117379
117379
  import: {
117380
- types: `./dist/modern/${key}.d.ts`,
117380
+ types: "./dist/modern/index.d.ts",
117381
117381
  default: `./dist/modern/${key}.js`
117382
117382
  },
117383
117383
  require: {
117384
- types: `./dist/modern/${key}.d.cts`,
117384
+ types: "./dist/modern/index.d.cts",
117385
117385
  default: `./dist/modern/${key}.cjs`
117386
117386
  },
117387
117387
  default: {
117388
- types: `./dist/modern/${key}.d.ts`,
117388
+ types: "./dist/modern/index.d.ts",
117389
117389
  default: `./dist/modern/${key}.js`
117390
117390
  }
117391
117391
  };
@@ -117480,58 +117480,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
117480
117480
  })
117481
117481
  );
117482
117482
  options.plugins.push(environmentPlugin(stormEnv));
117483
- console.log("\u26A1 Building with the following entry points: ", entry);
117484
- const config = (0, import_tsup.defineConfig)(
117485
- Object.keys(entry).reduce((ret, key) => {
117486
- const getConfigOptions = {
117487
- ...options,
117488
- define: {
117489
- __STORM_CONFIG: JSON.stringify(stormEnv)
117490
- },
117491
- env: {
117492
- __STORM_CONFIG: JSON.stringify(stormEnv),
117493
- ...stormEnv
117494
- },
117495
- dtsTsConfig: getNormalizedTsConfig(
117483
+ const getConfigOptions = {
117484
+ ...options,
117485
+ define: {
117486
+ __STORM_CONFIG: JSON.stringify(stormEnv)
117487
+ },
117488
+ env: {
117489
+ __STORM_CONFIG: JSON.stringify(stormEnv),
117490
+ ...stormEnv
117491
+ },
117492
+ dtsTsConfig: getNormalizedTsConfig(
117493
+ context.root,
117494
+ options.outputPath,
117495
+ (0, import_tsc.createTypeScriptCompilationOptions)(
117496
+ (0, import_normalize_options.normalizeOptions)(
117497
+ {
117498
+ ...options,
117499
+ watch: false,
117500
+ main: options.entry,
117501
+ transformers: []
117502
+ },
117496
117503
  context.root,
117497
- options.outputPath,
117498
- (0, import_tsc.createTypeScriptCompilationOptions)(
117499
- (0, import_normalize_options.normalizeOptions)(
117500
- {
117501
- ...options,
117502
- watch: false,
117503
- main: entry[key],
117504
- transformers: []
117505
- },
117506
- context.root,
117507
- sourceRoot,
117508
- workspaceRoot
117509
- ),
117510
- context
117511
- )
117504
+ sourceRoot,
117505
+ workspaceRoot
117512
117506
  ),
117513
- banner: options.banner ? {
117514
- js: `${options.banner}
117507
+ context
117508
+ )
117509
+ ),
117510
+ banner: options.banner ? {
117511
+ js: `${options.banner}
117515
117512
 
117516
117513
  `,
117517
- css: `/*
117514
+ css: `/*
117518
117515
  ${options.banner}
117519
117516
  */
117520
117517
 
117521
117518
  `
117522
- } : void 0,
117523
- outputPath: options.outputPath,
117524
- entry: entry[key]
117525
- };
117526
- ret.push(
117527
- getConfig(context.root, projectRoot, legacyConfig, getConfigOptions)
117528
- );
117529
- ret.push(
117530
- getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117531
- );
117532
- return ret;
117533
- }, [])
117534
- );
117519
+ } : void 0,
117520
+ outputPath: options.outputPath,
117521
+ entry
117522
+ };
117523
+ const config = (0, import_tsup.defineConfig)([
117524
+ getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
117525
+ getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117526
+ ]);
117535
117527
  if (typeof config === "function") {
117536
117528
  await build(await Promise.resolve(config({})));
117537
117529
  } else {
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
117408
117408
  if (!ret[packageJsonKey]) {
117409
117409
  ret[packageJsonKey] = {
117410
117410
  import: {
117411
- types: `./dist/modern/${key}.d.ts`,
117411
+ types: "./dist/modern/index.d.ts",
117412
117412
  default: `./dist/modern/${key}.js`
117413
117413
  },
117414
117414
  require: {
117415
- types: `./dist/modern/${key}.d.cts`,
117415
+ types: "./dist/modern/index.d.cts",
117416
117416
  default: `./dist/modern/${key}.cjs`
117417
117417
  },
117418
117418
  default: {
117419
- types: `./dist/modern/${key}.d.ts`,
117419
+ types: "./dist/modern/index.d.ts",
117420
117420
  default: `./dist/modern/${key}.js`
117421
117421
  }
117422
117422
  };
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
117511
117511
  })
117512
117512
  );
117513
117513
  options.plugins.push(environmentPlugin(stormEnv));
117514
- console.log("\u26A1 Building with the following entry points: ", entry);
117515
- const config = (0, import_tsup.defineConfig)(
117516
- Object.keys(entry).reduce((ret, key) => {
117517
- const getConfigOptions = {
117518
- ...options,
117519
- define: {
117520
- __STORM_CONFIG: JSON.stringify(stormEnv)
117521
- },
117522
- env: {
117523
- __STORM_CONFIG: JSON.stringify(stormEnv),
117524
- ...stormEnv
117525
- },
117526
- dtsTsConfig: getNormalizedTsConfig(
117514
+ const getConfigOptions = {
117515
+ ...options,
117516
+ define: {
117517
+ __STORM_CONFIG: JSON.stringify(stormEnv)
117518
+ },
117519
+ env: {
117520
+ __STORM_CONFIG: JSON.stringify(stormEnv),
117521
+ ...stormEnv
117522
+ },
117523
+ dtsTsConfig: getNormalizedTsConfig(
117524
+ context.root,
117525
+ options.outputPath,
117526
+ (0, import_tsc.createTypeScriptCompilationOptions)(
117527
+ (0, import_normalize_options.normalizeOptions)(
117528
+ {
117529
+ ...options,
117530
+ watch: false,
117531
+ main: options.entry,
117532
+ transformers: []
117533
+ },
117527
117534
  context.root,
117528
- options.outputPath,
117529
- (0, import_tsc.createTypeScriptCompilationOptions)(
117530
- (0, import_normalize_options.normalizeOptions)(
117531
- {
117532
- ...options,
117533
- watch: false,
117534
- main: entry[key],
117535
- transformers: []
117536
- },
117537
- context.root,
117538
- sourceRoot,
117539
- workspaceRoot
117540
- ),
117541
- context
117542
- )
117535
+ sourceRoot,
117536
+ workspaceRoot
117543
117537
  ),
117544
- banner: options.banner ? {
117545
- js: `${options.banner}
117538
+ context
117539
+ )
117540
+ ),
117541
+ banner: options.banner ? {
117542
+ js: `${options.banner}
117546
117543
 
117547
117544
  `,
117548
- css: `/*
117545
+ css: `/*
117549
117546
  ${options.banner}
117550
117547
  */
117551
117548
 
117552
117549
  `
117553
- } : void 0,
117554
- outputPath: options.outputPath,
117555
- entry: entry[key]
117556
- };
117557
- ret.push(
117558
- getConfig(context.root, projectRoot, legacyConfig, getConfigOptions)
117559
- );
117560
- ret.push(
117561
- getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117562
- );
117563
- return ret;
117564
- }, [])
117565
- );
117550
+ } : void 0,
117551
+ outputPath: options.outputPath,
117552
+ entry
117553
+ };
117554
+ const config = (0, import_tsup.defineConfig)([
117555
+ getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
117556
+ getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117557
+ ]);
117566
117558
  if (typeof config === "function") {
117567
117559
  await build(await Promise.resolve(config({})));
117568
117560
  } else {
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
117408
117408
  if (!ret[packageJsonKey]) {
117409
117409
  ret[packageJsonKey] = {
117410
117410
  import: {
117411
- types: `./dist/modern/${key}.d.ts`,
117411
+ types: "./dist/modern/index.d.ts",
117412
117412
  default: `./dist/modern/${key}.js`
117413
117413
  },
117414
117414
  require: {
117415
- types: `./dist/modern/${key}.d.cts`,
117415
+ types: "./dist/modern/index.d.cts",
117416
117416
  default: `./dist/modern/${key}.cjs`
117417
117417
  },
117418
117418
  default: {
117419
- types: `./dist/modern/${key}.d.ts`,
117419
+ types: "./dist/modern/index.d.ts",
117420
117420
  default: `./dist/modern/${key}.js`
117421
117421
  }
117422
117422
  };
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
117511
117511
  })
117512
117512
  );
117513
117513
  options.plugins.push(environmentPlugin(stormEnv));
117514
- console.log("\u26A1 Building with the following entry points: ", entry);
117515
- const config = (0, import_tsup.defineConfig)(
117516
- Object.keys(entry).reduce((ret, key) => {
117517
- const getConfigOptions = {
117518
- ...options,
117519
- define: {
117520
- __STORM_CONFIG: JSON.stringify(stormEnv)
117521
- },
117522
- env: {
117523
- __STORM_CONFIG: JSON.stringify(stormEnv),
117524
- ...stormEnv
117525
- },
117526
- dtsTsConfig: getNormalizedTsConfig(
117514
+ const getConfigOptions = {
117515
+ ...options,
117516
+ define: {
117517
+ __STORM_CONFIG: JSON.stringify(stormEnv)
117518
+ },
117519
+ env: {
117520
+ __STORM_CONFIG: JSON.stringify(stormEnv),
117521
+ ...stormEnv
117522
+ },
117523
+ dtsTsConfig: getNormalizedTsConfig(
117524
+ context.root,
117525
+ options.outputPath,
117526
+ (0, import_tsc.createTypeScriptCompilationOptions)(
117527
+ (0, import_normalize_options.normalizeOptions)(
117528
+ {
117529
+ ...options,
117530
+ watch: false,
117531
+ main: options.entry,
117532
+ transformers: []
117533
+ },
117527
117534
  context.root,
117528
- options.outputPath,
117529
- (0, import_tsc.createTypeScriptCompilationOptions)(
117530
- (0, import_normalize_options.normalizeOptions)(
117531
- {
117532
- ...options,
117533
- watch: false,
117534
- main: entry[key],
117535
- transformers: []
117536
- },
117537
- context.root,
117538
- sourceRoot,
117539
- workspaceRoot
117540
- ),
117541
- context
117542
- )
117535
+ sourceRoot,
117536
+ workspaceRoot
117543
117537
  ),
117544
- banner: options.banner ? {
117545
- js: `${options.banner}
117538
+ context
117539
+ )
117540
+ ),
117541
+ banner: options.banner ? {
117542
+ js: `${options.banner}
117546
117543
 
117547
117544
  `,
117548
- css: `/*
117545
+ css: `/*
117549
117546
  ${options.banner}
117550
117547
  */
117551
117548
 
117552
117549
  `
117553
- } : void 0,
117554
- outputPath: options.outputPath,
117555
- entry: entry[key]
117556
- };
117557
- ret.push(
117558
- getConfig(context.root, projectRoot, legacyConfig, getConfigOptions)
117559
- );
117560
- ret.push(
117561
- getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117562
- );
117563
- return ret;
117564
- }, [])
117565
- );
117550
+ } : void 0,
117551
+ outputPath: options.outputPath,
117552
+ entry
117553
+ };
117554
+ const config = (0, import_tsup.defineConfig)([
117555
+ getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
117556
+ getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117557
+ ]);
117566
117558
  if (typeof config === "function") {
117567
117559
  await build(await Promise.resolve(config({})));
117568
117560
  } else {
@@ -117408,15 +117408,15 @@ ${externalDependencies.map((dep) => {
117408
117408
  if (!ret[packageJsonKey]) {
117409
117409
  ret[packageJsonKey] = {
117410
117410
  import: {
117411
- types: `./dist/modern/${key}.d.ts`,
117411
+ types: "./dist/modern/index.d.ts",
117412
117412
  default: `./dist/modern/${key}.js`
117413
117413
  },
117414
117414
  require: {
117415
- types: `./dist/modern/${key}.d.cts`,
117415
+ types: "./dist/modern/index.d.cts",
117416
117416
  default: `./dist/modern/${key}.cjs`
117417
117417
  },
117418
117418
  default: {
117419
- types: `./dist/modern/${key}.d.ts`,
117419
+ types: "./dist/modern/index.d.ts",
117420
117420
  default: `./dist/modern/${key}.js`
117421
117421
  }
117422
117422
  };
@@ -117511,58 +117511,50 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
117511
117511
  })
117512
117512
  );
117513
117513
  options.plugins.push(environmentPlugin(stormEnv));
117514
- console.log("\u26A1 Building with the following entry points: ", entry);
117515
- const config = (0, import_tsup.defineConfig)(
117516
- Object.keys(entry).reduce((ret, key) => {
117517
- const getConfigOptions = {
117518
- ...options,
117519
- define: {
117520
- __STORM_CONFIG: JSON.stringify(stormEnv)
117521
- },
117522
- env: {
117523
- __STORM_CONFIG: JSON.stringify(stormEnv),
117524
- ...stormEnv
117525
- },
117526
- dtsTsConfig: getNormalizedTsConfig(
117514
+ const getConfigOptions = {
117515
+ ...options,
117516
+ define: {
117517
+ __STORM_CONFIG: JSON.stringify(stormEnv)
117518
+ },
117519
+ env: {
117520
+ __STORM_CONFIG: JSON.stringify(stormEnv),
117521
+ ...stormEnv
117522
+ },
117523
+ dtsTsConfig: getNormalizedTsConfig(
117524
+ context.root,
117525
+ options.outputPath,
117526
+ (0, import_tsc.createTypeScriptCompilationOptions)(
117527
+ (0, import_normalize_options.normalizeOptions)(
117528
+ {
117529
+ ...options,
117530
+ watch: false,
117531
+ main: options.entry,
117532
+ transformers: []
117533
+ },
117527
117534
  context.root,
117528
- options.outputPath,
117529
- (0, import_tsc.createTypeScriptCompilationOptions)(
117530
- (0, import_normalize_options.normalizeOptions)(
117531
- {
117532
- ...options,
117533
- watch: false,
117534
- main: entry[key],
117535
- transformers: []
117536
- },
117537
- context.root,
117538
- sourceRoot,
117539
- workspaceRoot
117540
- ),
117541
- context
117542
- )
117535
+ sourceRoot,
117536
+ workspaceRoot
117543
117537
  ),
117544
- banner: options.banner ? {
117545
- js: `${options.banner}
117538
+ context
117539
+ )
117540
+ ),
117541
+ banner: options.banner ? {
117542
+ js: `${options.banner}
117546
117543
 
117547
117544
  `,
117548
- css: `/*
117545
+ css: `/*
117549
117546
  ${options.banner}
117550
117547
  */
117551
117548
 
117552
117549
  `
117553
- } : void 0,
117554
- outputPath: options.outputPath,
117555
- entry: entry[key]
117556
- };
117557
- ret.push(
117558
- getConfig(context.root, projectRoot, legacyConfig, getConfigOptions)
117559
- );
117560
- ret.push(
117561
- getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117562
- );
117563
- return ret;
117564
- }, [])
117565
- );
117550
+ } : void 0,
117551
+ outputPath: options.outputPath,
117552
+ entry
117553
+ };
117554
+ const config = (0, import_tsup.defineConfig)([
117555
+ getConfig(context.root, projectRoot, legacyConfig, getConfigOptions),
117556
+ getConfig(context.root, projectRoot, modernConfig, getConfigOptions)
117557
+ ]);
117566
117558
  if (typeof config === "function") {
117567
117559
  await build(await Promise.resolve(config({})));
117568
117560
  } else {