@storm-software/workspace-tools 1.62.22 → 1.62.24

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## 1.62.24 (2024-03-01)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Ensure invalid env are not provided to build ([e6921ea7](https://github.com/storm-software/storm-ops/commit/e6921ea7))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.62.23 (2024-03-01)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **workspace-tools:** Update the env values passed into tsup builder ([43b65257](https://github.com/storm-software/storm-ops/commit/43b65257))
19
+
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - Patrick Sullivan
24
+
1
25
  ## 1.62.22 (2024-03-01)
2
26
 
3
27
 
@@ -5,8 +5,7 @@
5
5
 
6
6
  const getImportMetaUrl = () =>
7
7
  typeof document === "undefined"
8
- ? new URL("file:" + __filename).href
9
- : (document.currentScript && document.currentScript.src) ||
10
- new URL("main.js", document.baseURI).href;
8
+ ? new URL(`file:${__filename}`).href
9
+ : document.currentScript?.src || new URL("main.js", document.baseURI).href;
11
10
 
12
11
  export const importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -1,6 +1,6 @@
1
1
  // Shim globals in esm bundle
2
- import path from "path";
3
- import { fileURLToPath } from "url";
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
4
 
5
5
  const getFilename = () => fileURLToPath(import.meta.url);
6
6
  const getDirname = () => path.dirname(getFilename());
package/index.js CHANGED
@@ -474696,8 +474696,10 @@ var runTsupBuild = async (context, config, options8) => {
474696
474696
  },
474697
474697
  env: {
474698
474698
  __STORM_CONFIG: JSON.stringify(stormEnv),
474699
- ...process.env,
474700
- ...options8.env
474699
+ ...Object.keys(options8.env ?? {}).filter((key2) => !key2.includes("(") && !key2.includes(")")).reduce((ret, key2) => {
474700
+ ret[key2] = options8.env?.[key2];
474701
+ return ret;
474702
+ }, {})
474701
474703
  },
474702
474704
  dtsTsConfig: getNormalizedTsConfig(
474703
474705
  workspaceRoot,
@@ -481430,7 +481432,7 @@ var neutralConfig = ({
481430
481432
  external,
481431
481433
  banner = {},
481432
481434
  platform = "neutral",
481433
- verbose = false,
481435
+ verbose = true,
481434
481436
  metafile = true,
481435
481437
  skipNativeModulesPlugin = false,
481436
481438
  define: define2,
@@ -481560,7 +481562,7 @@ function nodeConfig({
481560
481562
  external,
481561
481563
  banner = {},
481562
481564
  platform = "node",
481563
- verbose = false,
481565
+ verbose = true,
481564
481566
  apiReport = true,
481565
481567
  docModel = true,
481566
481568
  tsdocMetadata = true,
@@ -481689,7 +481691,7 @@ var browserConfig = ({
481689
481691
  external,
481690
481692
  banner = {},
481691
481693
  platform = "browser",
481692
- verbose = false,
481694
+ verbose = true,
481693
481695
  metafile = true,
481694
481696
  skipNativeModulesPlugin = false,
481695
481697
  define: define2,