@storm-software/workspace-tools 1.7.23 → 1.7.25
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 +14 -0
- package/README.md +1 -1
- package/assets/cjs_shims.js +12 -0
- package/assets/esm_shims.js +9 -0
- package/meta.json +1 -1
- package/package.json +7 -1
- package/src/executors/tsup/rollup.js +227141 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.7.24](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.23...workspace-tools-v1.7.24) (2023-11-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Added rollup support for DTS generation ([d1f3325](https://github.com/storm-software/storm-ops/commit/d1f3325bf712e3714904e9ca4b795bfba3df39f8))
|
|
7
|
+
|
|
8
|
+
## [1.7.23](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.22...workspace-tools-v1.7.23) (2023-11-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Resolved issue preventing package.json from being written ([c340959](https://github.com/storm-software/storm-ops/commit/c340959fdacb2541c60afca5feef9868bc0296e1))
|
|
14
|
+
|
|
1
15
|
## [1.7.22](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.21...workspace-tools-v1.7.22) (2023-11-19)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
15
|
|
|
16
16
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
19
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
20
|
|
|
21
21
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
|
@@ -0,0 +1,12 @@
|
|
|
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 && document.currentScript.src) ||
|
|
10
|
+
new URL("main.js", document.baseURI).href;
|
|
11
|
+
|
|
12
|
+
export const importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Shim globals in esm bundle
|
|
2
|
+
import path from "path";
|
|
3
|
+
import { fileURLToPath } from "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();
|