@storm-software/workspace-tools 1.7.19 → 1.7.21
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/index.js +19 -18
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +19 -18
- package/src/executors/tsup/get-config.js +19 -18
- package/src/generators/preset/files/README.md.template +3 -2
- package/src/generators/preset/files/docs/readme-templates/README.header.md.template +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.7.20](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.19...workspace-tools-v1.7.20) (2023-11-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issue with order of package.json search in tsup executor ([5fea9a1](https://github.com/storm-software/storm-ops/commit/5fea9a117691bef20aa22fbd107522d43b8b1b62))
|
|
7
|
+
|
|
8
|
+
## [1.7.19](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.18...workspace-tools-v1.7.19) (2023-11-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added join to add separators in package.json path in tsup ([b56df8a](https://github.com/storm-software/storm-ops/commit/b56df8a3c20e12fb8763e481cbc6ca82ff6403cf))
|
|
14
|
+
|
|
1
15
|
## [1.7.18](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.17...workspace-tools-v1.7.18) (2023-11-18)
|
|
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 />
|
package/index.js
CHANGED
|
@@ -408390,9 +408390,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
408390
408390
|
}
|
|
408391
408391
|
});
|
|
408392
408392
|
|
|
408393
|
-
// node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
408393
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js
|
|
408394
408394
|
var require_chunk_NSPLMNA4 = __commonJS({
|
|
408395
|
-
"node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
408395
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-NSPLMNA4.js"(exports) {
|
|
408396
408396
|
"use strict";
|
|
408397
408397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
408398
408398
|
var version = "7.2.0";
|
|
@@ -410039,9 +410039,9 @@ var require_resolve_from = __commonJS({
|
|
|
410039
410039
|
}
|
|
410040
410040
|
});
|
|
410041
410041
|
|
|
410042
|
-
// node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
410042
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js
|
|
410043
410043
|
var require_chunk_B7UJSB4N = __commonJS({
|
|
410044
|
-
"node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
410044
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-B7UJSB4N.js"(exports) {
|
|
410045
410045
|
"use strict";
|
|
410046
410046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410047
410047
|
function _interopRequireDefault(obj) {
|
|
@@ -410255,9 +410255,9 @@ var require_chunk_B7UJSB4N = __commonJS({
|
|
|
410255
410255
|
}
|
|
410256
410256
|
});
|
|
410257
410257
|
|
|
410258
|
-
// node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
410258
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js
|
|
410259
410259
|
var require_chunk_GEVDEBBW = __commonJS({
|
|
410260
|
-
"node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
410260
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GEVDEBBW.js"(exports) {
|
|
410261
410261
|
"use strict";
|
|
410262
410262
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410263
410263
|
function _interopRequireWildcard(obj) {
|
|
@@ -411191,9 +411191,9 @@ var require_dist2 = __commonJS({
|
|
|
411191
411191
|
}
|
|
411192
411192
|
});
|
|
411193
411193
|
|
|
411194
|
-
// node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
411194
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js
|
|
411195
411195
|
var require_chunk_52KWB5QB = __commonJS({
|
|
411196
|
-
"node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
411196
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-52KWB5QB.js"(exports) {
|
|
411197
411197
|
"use strict";
|
|
411198
411198
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
411199
411199
|
function _interopRequireDefault(obj) {
|
|
@@ -470479,9 +470479,9 @@ var require_chokidar = __commonJS({
|
|
|
470479
470479
|
}
|
|
470480
470480
|
});
|
|
470481
470481
|
|
|
470482
|
-
// node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
470482
|
+
// node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
|
|
470483
470483
|
var require_dist5 = __commonJS({
|
|
470484
|
-
"node_modules/.pnpm/tsup@7.2.0_patch_hash=
|
|
470484
|
+
"node_modules/.pnpm/tsup@7.2.0_patch_hash=36if3rnyedgwbeoukxouep2kf4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
|
|
470485
470485
|
"use strict";
|
|
470486
470486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
470487
470487
|
function _interopRequireDefault(obj) {
|
|
@@ -472072,20 +472072,21 @@ var require_dist5 = __commonJS({
|
|
|
472072
472072
|
if (pkgPath) {
|
|
472073
472073
|
const splits = pkgPath.split(_path2.default.sep);
|
|
472074
472074
|
if (splits.length > 0) {
|
|
472075
|
-
|
|
472076
|
-
|
|
472077
|
-
splits.length
|
|
472078
|
-
).reverse().findIndex((split, index) => {
|
|
472075
|
+
let pkgPathIndex = -1;
|
|
472076
|
+
for (let i = splits.length - 1; i > 0 && pkgPathIndex < 0; i--) {
|
|
472079
472077
|
const packageJsonPath = _path2.default.join(
|
|
472080
472078
|
splits.slice(
|
|
472081
472079
|
0,
|
|
472082
|
-
|
|
472080
|
+
splits.length - i
|
|
472083
472081
|
).join(_path2.default.sep),
|
|
472084
472082
|
"package.json"
|
|
472085
472083
|
);
|
|
472086
|
-
logger.info(format2, `\u26A1 Searching for package.json file in ${packageJsonPath}`);
|
|
472087
|
-
|
|
472088
|
-
|
|
472084
|
+
logger.info(format2, `\u26A1 Searching for package.json file in ${packageJsonPath} (index: ${i})`);
|
|
472085
|
+
if (_fs2.default.existsSync(packageJsonPath)) {
|
|
472086
|
+
logger.info(format2, `\u26A1 Found the package.json file in ${packageJsonPath} (index: ${i})`);
|
|
472087
|
+
pkgPathIndex = i;
|
|
472088
|
+
}
|
|
472089
|
+
}
|
|
472089
472090
|
logger.info(format2, `\u26A1 Package path index: ${pkgPathIndex}`);
|
|
472090
472091
|
if (pkgPathIndex) {
|
|
472091
472092
|
pkgPath = splits.slice(0, pkgPathIndex).join(_path2.default.sep);
|