@storm-software/workspace-tools 1.21.13 → 1.21.14

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.21.13",
3
+ "version": "1.21.14",
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": [
@@ -115848,6 +115848,10 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115848
115848
  )
115849
115849
  );
115850
115850
  }
115851
+ const stormEnv = Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115852
+ ret[key] = options.env[key];
115853
+ return ret;
115854
+ }, {});
115851
115855
  options.plugins.push(await (0, import_decky.load)());
115852
115856
  options.plugins.push(
115853
115857
  (0, import_esbuild_decorators.esbuildDecorators)({
@@ -115855,16 +115859,11 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115855
115859
  cwd: workspaceRoot
115856
115860
  })
115857
115861
  );
115858
- options.plugins.push(
115859
- environmentPlugin(
115860
- Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115861
- ret[key] = options.env[key];
115862
- return ret;
115863
- }, {})
115864
- )
115865
- );
115862
+ options.plugins.push(environmentPlugin(stormEnv));
115866
115863
  const config = getConfig(context.root, projectRoot, sourceRoot, {
115867
115864
  ...options,
115865
+ define: stormEnv,
115866
+ env: stormEnv,
115868
115867
  dtsTsConfig: getNormalizedTsConfig(
115869
115868
  context.root,
115870
115869
  options.outputPath,
@@ -115879,6 +115879,10 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115879
115879
  )
115880
115880
  );
115881
115881
  }
115882
+ const stormEnv = Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115883
+ ret[key] = options.env[key];
115884
+ return ret;
115885
+ }, {});
115882
115886
  options.plugins.push(await (0, import_decky.load)());
115883
115887
  options.plugins.push(
115884
115888
  (0, import_esbuild_decorators.esbuildDecorators)({
@@ -115886,16 +115890,11 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115886
115890
  cwd: workspaceRoot
115887
115891
  })
115888
115892
  );
115889
- options.plugins.push(
115890
- environmentPlugin(
115891
- Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115892
- ret[key] = options.env[key];
115893
- return ret;
115894
- }, {})
115895
- )
115896
- );
115893
+ options.plugins.push(environmentPlugin(stormEnv));
115897
115894
  const config = getConfig(context.root, projectRoot, sourceRoot, {
115898
115895
  ...options,
115896
+ define: stormEnv,
115897
+ env: stormEnv,
115899
115898
  dtsTsConfig: getNormalizedTsConfig(
115900
115899
  context.root,
115901
115900
  options.outputPath,
@@ -115879,6 +115879,10 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115879
115879
  )
115880
115880
  );
115881
115881
  }
115882
+ const stormEnv = Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115883
+ ret[key] = options.env[key];
115884
+ return ret;
115885
+ }, {});
115882
115886
  options.plugins.push(await (0, import_decky.load)());
115883
115887
  options.plugins.push(
115884
115888
  (0, import_esbuild_decorators.esbuildDecorators)({
@@ -115886,16 +115890,11 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
115886
115890
  cwd: workspaceRoot
115887
115891
  })
115888
115892
  );
115889
- options.plugins.push(
115890
- environmentPlugin(
115891
- Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
115892
- ret[key] = options.env[key];
115893
- return ret;
115894
- }, {})
115895
- )
115896
- );
115893
+ options.plugins.push(environmentPlugin(stormEnv));
115897
115894
  const config = getConfig(context.root, projectRoot, sourceRoot, {
115898
115895
  ...options,
115896
+ define: stormEnv,
115897
+ env: stormEnv,
115899
115898
  dtsTsConfig: getNormalizedTsConfig(
115900
115899
  context.root,
115901
115900
  options.outputPath,