@storm-software/workspace-tools 1.66.28 → 1.66.29

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,15 @@
1
+ ## 1.66.29 (2024-04-01)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Resolve issue with missing nx.json file in package.json ([d0d09dd4](https://github.com/storm-software/storm-ops/commit/d0d09dd4))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.66.28 (2024-04-01)
2
14
 
3
15
 
@@ -0,0 +1,11 @@
1
+ // Shim globals in cjs bundle
2
+ // There's a weird bug that esbuild will always inject importMetaUrl
3
+ // if we export it as `const importMetaUrl = ... __filename ...`
4
+ // But using a function will not cause this issue
5
+
6
+ const getImportMetaUrl = () =>
7
+ typeof document === "undefined"
8
+ ? new URL(`file:${__filename}`).href
9
+ : document.currentScript?.src || new URL("main.js", document.baseURI).href;
10
+
11
+ export const importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -0,0 +1,9 @@
1
+ // Shim globals in esm bundle
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+
5
+ const getFilename = () => fileURLToPath(import.meta.url);
6
+ const getDirname = () => path.dirname(getFilename());
7
+
8
+ export const __dirname = /* @__PURE__ */ getDirname();
9
+ export const __filename = /* @__PURE__ */ getFilename();
package/index.js CHANGED
@@ -253446,9 +253446,9 @@ var require_normalize_options = __commonJS({
253446
253446
  }
253447
253447
  });
253448
253448
 
253449
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-EPAEWGCP.js
253449
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-EPAEWGCP.js
253450
253450
  var require_chunk_EPAEWGCP = __commonJS({
253451
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports2) {
253451
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports2) {
253452
253452
  "use strict";
253453
253453
  Object.defineProperty(exports2, "__esModule", { value: true });
253454
253454
  var version2 = "8.0.0";
@@ -255095,9 +255095,9 @@ var require_resolve_from2 = __commonJS({
255095
255095
  }
255096
255096
  });
255097
255097
 
255098
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-GQ77QZBO.js
255098
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-GQ77QZBO.js
255099
255099
  var require_chunk_GQ77QZBO = __commonJS({
255100
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports2) {
255100
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports2) {
255101
255101
  "use strict";
255102
255102
  Object.defineProperty(exports2, "__esModule", { value: true });
255103
255103
  function _interopRequireDefault(obj) {
@@ -255375,9 +255375,9 @@ var require_chunk_GQ77QZBO = __commonJS({
255375
255375
  }
255376
255376
  });
255377
255377
 
255378
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-UIX4URMV.js
255378
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-UIX4URMV.js
255379
255379
  var require_chunk_UIX4URMV = __commonJS({
255380
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports2) {
255380
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports2) {
255381
255381
  "use strict";
255382
255382
  Object.defineProperty(exports2, "__esModule", { value: true });
255383
255383
  function _interopRequireWildcard(obj) {
@@ -256311,9 +256311,9 @@ var require_dist3 = __commonJS({
256311
256311
  }
256312
256312
  });
256313
256313
 
256314
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-7G76EW2R.js
256314
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-7G76EW2R.js
256315
256315
  var require_chunk_7G76EW2R = __commonJS({
256316
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports2) {
256316
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports2) {
256317
256317
  "use strict";
256318
256318
  Object.defineProperty(exports2, "__esModule", { value: true });
256319
256319
  function _interopRequireDefault(obj) {
@@ -310155,9 +310155,9 @@ var require_chokidar = __commonJS({
310155
310155
  }
310156
310156
  });
310157
310157
 
310158
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/index.js
310158
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/index.js
310159
310159
  var require_dist6 = __commonJS({
310160
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=aogoruotloqylvnlbggbmjwega_@microsoft+api-extractor@7.40.1_@swc+core@1._5sxbrj52mab3ewrh7e3kbogwoy/node_modules/tsup/dist/index.js"(exports2) {
310160
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/index.js"(exports2) {
310161
310161
  "use strict";
310162
310162
  Object.defineProperty(exports2, "__esModule", { value: true });
310163
310163
  function _interopRequireDefault(obj) {
@@ -311941,8 +311941,8 @@ var require_dist6 = __commonJS({
311941
311941
  }, {})
311942
311942
  },
311943
311943
  inject: [
311944
- format === "cjs" && injectShims ? _path2.default.join(__dirname, "../assets/cjs_shims.js") : "",
311945
- format === "esm" && injectShims && platform === "node" ? _path2.default.join(__dirname, "../assets/esm_shims.js") : "",
311944
+ format === "cjs" && injectShims ? _path2.default.join(__dirname, "../../../assets/cjs_shims.js") : "",
311945
+ format === "esm" && injectShims && platform === "node" ? _path2.default.join(__dirname, "../../../assets/esm_shims.js") : "",
311946
311946
  ...options.inject || []
311947
311947
  ].filter(Boolean),
311948
311948
  outdir: options.legacyOutput && format !== "cjs" ? _path2.default.join(outDir, format) : outDir,