@storm-software/workspace-tools 1.68.5 → 1.68.6
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 -12
- package/README.md +1 -1
- package/index.js +22 -20
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rolldown/executor.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,45 @@
|
|
|
1
|
-
## 1.68.
|
|
1
|
+
## 1.68.6 (2024-04-08)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Resolve issues with `build-tools` import ([fc040f71](https://github.com/storm-software/storm-ops/commit/fc040f71))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
2
8
|
|
|
9
|
+
- Patrick Sullivan
|
|
10
|
+
|
|
11
|
+
## 1.68.5 (2024-04-08)
|
|
3
12
|
|
|
4
13
|
### 🩹 Fixes
|
|
5
14
|
|
|
6
15
|
- **workspace-tools:** Update module types of imports ([9d09009b](https://github.com/storm-software/storm-ops/commit/9d09009b))
|
|
7
16
|
|
|
8
|
-
|
|
9
|
-
### ❤️ Thank You
|
|
17
|
+
### ❤️ Thank You
|
|
10
18
|
|
|
11
19
|
- Patrick Sullivan
|
|
12
20
|
|
|
13
21
|
## 1.68.4 (2024-04-08)
|
|
14
22
|
|
|
15
|
-
|
|
16
23
|
### 🩹 Fixes
|
|
17
24
|
|
|
18
25
|
- **workspace-tools:** Added code to invoke rolldown via command-line ([b365a74e](https://github.com/storm-software/storm-ops/commit/b365a74e))
|
|
19
26
|
|
|
20
|
-
|
|
21
|
-
### ❤️ Thank You
|
|
27
|
+
### ❤️ Thank You
|
|
22
28
|
|
|
23
29
|
- Patrick Sullivan
|
|
24
30
|
|
|
25
31
|
## 1.68.3 (2024-04-08)
|
|
26
32
|
|
|
27
|
-
|
|
28
33
|
### 🩹 Fixes
|
|
29
34
|
|
|
30
35
|
- **build-tools:** Resolve issue with build format ([02cd5c44](https://github.com/storm-software/storm-ops/commit/02cd5c44))
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
### ❤️ Thank You
|
|
37
|
+
### ❤️ Thank You
|
|
34
38
|
|
|
35
39
|
- Patrick Sullivan
|
|
36
40
|
|
|
37
41
|
## 1.68.2 (2024-04-08)
|
|
38
42
|
|
|
39
|
-
|
|
40
43
|
### 🩹 Fixes
|
|
41
44
|
|
|
42
45
|
- **deps:** update patch prod dependencies ([3bce6c5e](https://github.com/storm-software/storm-ops/commit/3bce6c5e))
|
|
@@ -47,8 +50,7 @@
|
|
|
47
50
|
|
|
48
51
|
- **git-tools:** Update release tool to use local function to get configuration ([53db7520](https://github.com/storm-software/storm-ops/commit/53db7520))
|
|
49
52
|
|
|
50
|
-
|
|
51
|
-
### ❤️ Thank You
|
|
53
|
+
### ❤️ Thank You
|
|
52
54
|
|
|
53
55
|
- Patrick Sullivan
|
|
54
56
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
16
16
|
|
|
17
17
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
18
18
|
|
|
19
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
21
21
|
|
|
22
22
|
> [!IMPORTANT]
|
package/index.js
CHANGED
|
@@ -264417,7 +264417,6 @@ function isPostInstallProcess() {
|
|
|
264417
264417
|
}
|
|
264418
264418
|
|
|
264419
264419
|
// packages/workspace-tools/src/executors/rolldown/executor.ts
|
|
264420
|
-
var import_build_tools = require("@storm-software/build-tools");
|
|
264421
264420
|
var import_child_process = require("child_process");
|
|
264422
264421
|
async function rolldownExecutorFn(options, context, config) {
|
|
264423
264422
|
const { writeDebug: writeDebug2, writeInfo: writeInfo2, writeSuccess: writeSuccess2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
@@ -264474,7 +264473,10 @@ var executor_default = withRunExecutor(
|
|
|
264474
264473
|
{
|
|
264475
264474
|
skipReadingConfig: false,
|
|
264476
264475
|
hooks: {
|
|
264477
|
-
applyDefaultOptions:
|
|
264476
|
+
applyDefaultOptions: async (options, config) => {
|
|
264477
|
+
const { applyDefaultRolldownOptions } = await import("@storm-software/build-tools");
|
|
264478
|
+
return applyDefaultRolldownOptions(options, config);
|
|
264479
|
+
}
|
|
264478
264480
|
}
|
|
264479
264481
|
}
|
|
264480
264482
|
);
|
|
@@ -264494,11 +264496,11 @@ var _isFunction2 = (value) => {
|
|
|
264494
264496
|
};
|
|
264495
264497
|
|
|
264496
264498
|
// packages/workspace-tools/src/executors/tsup-neutral/executor.ts
|
|
264497
|
-
var
|
|
264499
|
+
var import_build_tools3 = require("@storm-software/build-tools");
|
|
264498
264500
|
|
|
264499
264501
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
264502
|
+
var import_build_tools = require("@storm-software/build-tools");
|
|
264500
264503
|
var import_build_tools2 = require("@storm-software/build-tools");
|
|
264501
|
-
var import_build_tools3 = require("@storm-software/build-tools");
|
|
264502
264504
|
async function tsupExecutorFn(options, context, config) {
|
|
264503
264505
|
const { writeDebug: writeDebug2, writeInfo: writeInfo2, writeSuccess: writeSuccess2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
264504
264506
|
writeInfo2(config, "\u{1F4E6} Running Storm build executor on the workspace");
|
|
@@ -264515,7 +264517,7 @@ ${Object.keys(options).map(
|
|
|
264515
264517
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
264516
264518
|
);
|
|
264517
264519
|
}
|
|
264518
|
-
await (0,
|
|
264520
|
+
await (0, import_build_tools2.build)(config, {
|
|
264519
264521
|
...options,
|
|
264520
264522
|
projectRoot: context.projectsConfigurations.projects?.[context.projectName]?.root,
|
|
264521
264523
|
projectName: context.projectName,
|
|
@@ -264529,7 +264531,7 @@ ${Object.keys(options).map(
|
|
|
264529
264531
|
var executor_default2 = withRunExecutor("TypeScript Build using tsup", tsupExecutorFn, {
|
|
264530
264532
|
skipReadingConfig: false,
|
|
264531
264533
|
hooks: {
|
|
264532
|
-
applyDefaultOptions:
|
|
264534
|
+
applyDefaultOptions: import_build_tools.applyDefaultOptions
|
|
264533
264535
|
}
|
|
264534
264536
|
});
|
|
264535
264537
|
var _isPrimitive2 = (value) => {
|
|
@@ -264553,7 +264555,7 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
|
|
|
264553
264555
|
{
|
|
264554
264556
|
...options,
|
|
264555
264557
|
platform: "neutral",
|
|
264556
|
-
banner: (0,
|
|
264558
|
+
banner: (0, import_build_tools3.getFileBanner)(
|
|
264557
264559
|
context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (Neutral Platform)"
|
|
264558
264560
|
),
|
|
264559
264561
|
define: {
|
|
@@ -264563,7 +264565,7 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
|
|
|
264563
264565
|
env: {
|
|
264564
264566
|
...process.env
|
|
264565
264567
|
},
|
|
264566
|
-
getConfig:
|
|
264568
|
+
getConfig: import_build_tools3.neutralConfig
|
|
264567
264569
|
},
|
|
264568
264570
|
context,
|
|
264569
264571
|
config
|
|
@@ -264577,12 +264579,12 @@ var executor_default3 = withRunExecutor(
|
|
|
264577
264579
|
hooks: {
|
|
264578
264580
|
applyDefaultOptions: (options) => {
|
|
264579
264581
|
return {
|
|
264580
|
-
...(0,
|
|
264582
|
+
...(0, import_build_tools3.applyDefaultOptions)({
|
|
264581
264583
|
plugins: [],
|
|
264582
264584
|
...options,
|
|
264583
264585
|
platform: "neutral"
|
|
264584
264586
|
}),
|
|
264585
|
-
getConfig:
|
|
264587
|
+
getConfig: import_build_tools3.neutralConfig
|
|
264586
264588
|
};
|
|
264587
264589
|
}
|
|
264588
264590
|
}
|
|
@@ -264590,13 +264592,13 @@ var executor_default3 = withRunExecutor(
|
|
|
264590
264592
|
);
|
|
264591
264593
|
|
|
264592
264594
|
// packages/workspace-tools/src/executors/tsup-node/executor.ts
|
|
264593
|
-
var
|
|
264595
|
+
var import_build_tools4 = require("@storm-software/build-tools");
|
|
264594
264596
|
var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
264595
264597
|
return tsupExecutorFn(
|
|
264596
264598
|
{
|
|
264597
264599
|
...options,
|
|
264598
264600
|
platform: "node",
|
|
264599
|
-
banner: (0,
|
|
264601
|
+
banner: (0, import_build_tools4.getFileBanner)(
|
|
264600
264602
|
context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (NodeJs Platform)"
|
|
264601
264603
|
),
|
|
264602
264604
|
define: {
|
|
@@ -264605,7 +264607,7 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
264605
264607
|
env: {
|
|
264606
264608
|
...process.env
|
|
264607
264609
|
},
|
|
264608
|
-
getConfig:
|
|
264610
|
+
getConfig: import_build_tools4.nodeConfig
|
|
264609
264611
|
},
|
|
264610
264612
|
context,
|
|
264611
264613
|
config
|
|
@@ -264619,12 +264621,12 @@ var executor_default4 = withRunExecutor(
|
|
|
264619
264621
|
hooks: {
|
|
264620
264622
|
applyDefaultOptions: (options) => {
|
|
264621
264623
|
return {
|
|
264622
|
-
...(0,
|
|
264624
|
+
...(0, import_build_tools4.applyDefaultOptions)({
|
|
264623
264625
|
plugins: [],
|
|
264624
264626
|
...options,
|
|
264625
264627
|
platform: "node"
|
|
264626
264628
|
}),
|
|
264627
|
-
getConfig:
|
|
264629
|
+
getConfig: import_build_tools4.nodeConfig,
|
|
264628
264630
|
transports: ["pino-pretty", "pino-loki"]
|
|
264629
264631
|
};
|
|
264630
264632
|
}
|
|
@@ -264633,13 +264635,13 @@ var executor_default4 = withRunExecutor(
|
|
|
264633
264635
|
);
|
|
264634
264636
|
|
|
264635
264637
|
// packages/workspace-tools/src/executors/tsup-browser/executor.ts
|
|
264636
|
-
var
|
|
264638
|
+
var import_build_tools5 = require("@storm-software/build-tools");
|
|
264637
264639
|
var tsupBrowserBuildExecutorFn = (options, context, config) => {
|
|
264638
264640
|
return tsupExecutorFn(
|
|
264639
264641
|
{
|
|
264640
264642
|
...options,
|
|
264641
264643
|
platform: "browser",
|
|
264642
|
-
banner: (0,
|
|
264644
|
+
banner: (0, import_build_tools5.getFileBanner)(
|
|
264643
264645
|
context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (Browser Platforms)"
|
|
264644
264646
|
),
|
|
264645
264647
|
define: {
|
|
@@ -264648,7 +264650,7 @@ var tsupBrowserBuildExecutorFn = (options, context, config) => {
|
|
|
264648
264650
|
env: {
|
|
264649
264651
|
...process.env
|
|
264650
264652
|
},
|
|
264651
|
-
getConfig:
|
|
264653
|
+
getConfig: import_build_tools5.browserConfig
|
|
264652
264654
|
},
|
|
264653
264655
|
context,
|
|
264654
264656
|
config
|
|
@@ -264662,12 +264664,12 @@ var executor_default5 = withRunExecutor(
|
|
|
264662
264664
|
hooks: {
|
|
264663
264665
|
applyDefaultOptions: (options) => {
|
|
264664
264666
|
return {
|
|
264665
|
-
...(0,
|
|
264667
|
+
...(0, import_build_tools5.applyDefaultOptions)({
|
|
264666
264668
|
plugins: [],
|
|
264667
264669
|
...options,
|
|
264668
264670
|
platform: "browser"
|
|
264669
264671
|
}),
|
|
264670
|
-
getConfig:
|
|
264672
|
+
getConfig: import_build_tools5.browserConfig
|
|
264671
264673
|
};
|
|
264672
264674
|
}
|
|
264673
264675
|
}
|