@storm-software/workspace-tools 1.26.0 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
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": [
@@ -117341,6 +117341,27 @@ ${Object.keys(options).map(
117341
117341
  options.external
117342
117342
  );
117343
117343
  }
117344
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117345
+ if (implicitDependencies && implicitDependencies.length > 0) {
117346
+ options.external = implicitDependencies.reduce(
117347
+ (ret, key) => {
117348
+ if (context.projectsConfigurations.projects[key].root) {
117349
+ const packageJson = (0, import_devkit.readJsonFile)(
117350
+ (0, import_path4.join)(
117351
+ context.root,
117352
+ context.projectsConfigurations.projects[key].root,
117353
+ "package.json"
117354
+ )
117355
+ );
117356
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117357
+ ret.push(packageJson.name);
117358
+ }
117359
+ }
117360
+ return ret;
117361
+ },
117362
+ options.external
117363
+ );
117364
+ }
117344
117365
  const externalDependencies = options.external.reduce((acc, name) => {
117345
117366
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117346
117367
  if (externalNode) {
@@ -117628,7 +117649,7 @@ var applyDefaultOptions = (options) => {
117628
117649
  options.additionalEntryPoints ??= [];
117629
117650
  options.assets ??= [];
117630
117651
  options.plugins ??= [];
117631
- options.includeSrc ??= false;
117652
+ options.includeSrc ??= true;
117632
117653
  options.clean ??= true;
117633
117654
  options.bundle ??= true;
117634
117655
  options.debug ??= false;
@@ -69,7 +69,7 @@
69
69
  "includeSrc": {
70
70
  "type": "boolean",
71
71
  "description": "Should the source files be added to the distribution folder in an `src` directory.",
72
- "default": false
72
+ "default": true
73
73
  },
74
74
  "generatePackageJson": {
75
75
  "type": "boolean",
@@ -117372,6 +117372,27 @@ ${Object.keys(options).map(
117372
117372
  options.external
117373
117373
  );
117374
117374
  }
117375
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117376
+ if (implicitDependencies && implicitDependencies.length > 0) {
117377
+ options.external = implicitDependencies.reduce(
117378
+ (ret, key) => {
117379
+ if (context.projectsConfigurations.projects[key].root) {
117380
+ const packageJson = (0, import_devkit.readJsonFile)(
117381
+ (0, import_path4.join)(
117382
+ context.root,
117383
+ context.projectsConfigurations.projects[key].root,
117384
+ "package.json"
117385
+ )
117386
+ );
117387
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117388
+ ret.push(packageJson.name);
117389
+ }
117390
+ }
117391
+ return ret;
117392
+ },
117393
+ options.external
117394
+ );
117395
+ }
117375
117396
  const externalDependencies = options.external.reduce((acc, name) => {
117376
117397
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117377
117398
  if (externalNode) {
@@ -117659,7 +117680,7 @@ var applyDefaultOptions = (options) => {
117659
117680
  options.additionalEntryPoints ??= [];
117660
117681
  options.assets ??= [];
117661
117682
  options.plugins ??= [];
117662
- options.includeSrc ??= false;
117683
+ options.includeSrc ??= true;
117663
117684
  options.clean ??= true;
117664
117685
  options.bundle ??= true;
117665
117686
  options.debug ??= false;
@@ -117372,6 +117372,27 @@ ${Object.keys(options).map(
117372
117372
  options.external
117373
117373
  );
117374
117374
  }
117375
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117376
+ if (implicitDependencies && implicitDependencies.length > 0) {
117377
+ options.external = implicitDependencies.reduce(
117378
+ (ret, key) => {
117379
+ if (context.projectsConfigurations.projects[key].root) {
117380
+ const packageJson = (0, import_devkit.readJsonFile)(
117381
+ (0, import_path4.join)(
117382
+ context.root,
117383
+ context.projectsConfigurations.projects[key].root,
117384
+ "package.json"
117385
+ )
117386
+ );
117387
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117388
+ ret.push(packageJson.name);
117389
+ }
117390
+ }
117391
+ return ret;
117392
+ },
117393
+ options.external
117394
+ );
117395
+ }
117375
117396
  const externalDependencies = options.external.reduce((acc, name) => {
117376
117397
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117377
117398
  if (externalNode) {
@@ -117659,7 +117680,7 @@ var applyDefaultOptions = (options) => {
117659
117680
  options.additionalEntryPoints ??= [];
117660
117681
  options.assets ??= [];
117661
117682
  options.plugins ??= [];
117662
- options.includeSrc ??= false;
117683
+ options.includeSrc ??= true;
117663
117684
  options.clean ??= true;
117664
117685
  options.bundle ??= true;
117665
117686
  options.debug ??= false;