@storm-software/workspace-tools 1.182.3 → 1.182.5

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.182.3",
3
+ "version": "1.182.5",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -89,6 +89,7 @@
89
89
  "@rollup/plugin-image": "3.0.3",
90
90
  "@rollup/plugin-json": "6.1.0",
91
91
  "@rollup/plugin-node-resolve": "15.2.3",
92
+ "@rslib/core": "0.0.5",
92
93
  "@size-limit/esbuild": "11.1.4",
93
94
  "@size-limit/esbuild-why": "11.1.4",
94
95
  "@size-limit/file": "11.1.4",
@@ -202042,24 +202042,14 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, config, dependenc
202042
202042
  if (!projectGraph) {
202043
202043
  throw new Error(`Cannot find project graph.`);
202044
202044
  }
202045
- if (!process.env.NX_TASK_TARGET_TARGET) {
202046
- throw new Error(
202047
- `NX_TASK_TARGET_TARGET is not set. Please set it in your environment.`
202048
- );
202049
- }
202050
- if (!process.env.NX_TASK_TARGET_CONFIGURATION) {
202051
- throw new Error(
202052
- `NX_TASK_TARGET_CONFIGURATION is not set. Please set it in your environment.`
202053
- );
202054
- }
202055
202045
  if (!dependencies && !global.NX_GRAPH_CREATION) {
202056
202046
  const result = (0, import_buildable_libs_utils.calculateProjectBuildableDependencies)(
202057
202047
  void 0,
202058
202048
  projectGraph,
202059
202049
  config.workspaceRoot,
202060
202050
  projectNode.name,
202061
- process.env.NX_TASK_TARGET_TARGET,
202062
- process.env.NX_TASK_TARGET_CONFIGURATION,
202051
+ process.env.NX_TASK_TARGET_TARGET || "build",
202052
+ process.env.NX_TASK_TARGET_CONFIGURATION || "production",
202063
202053
  true
202064
202054
  );
202065
202055
  dependencies = result.dependencies;
@@ -202480,16 +202470,13 @@ async function createRollupOptions(options, context, config) {
202480
202470
  if (!context.targetName) {
202481
202471
  throw new Error("Nx target name was not found");
202482
202472
  }
202483
- if (!context.configurationName) {
202484
- throw new Error("Nx configuration name was not found");
202485
- }
202486
202473
  const { dependencies } = (0, import_buildable_libs_utils2.calculateProjectBuildableDependencies)(
202487
202474
  context.taskGraph,
202488
202475
  context.projectGraph,
202489
202476
  context.root,
202490
202477
  context.projectName,
202491
202478
  context.targetName,
202492
- context.configurationName,
202479
+ context.configurationName ?? "development",
202493
202480
  true
202494
202481
  );
202495
202482
  const rollupConfig = await withRollupConfig(