@storm-software/workspace-tools 1.49.20 → 1.49.22
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 +24 -0
- package/index.js +19 -15
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +1 -1
- package/src/executors/design-tokens/executor.js +1 -1
- package/src/executors/tsup/executor.js +3 -10
- package/src/executors/tsup/schema.d.ts +1 -3
- package/src/executors/tsup-browser/executor.js +9 -11
- package/src/executors/tsup-neutral/executor.js +5 -11
- package/src/executors/tsup-node/executor.js +11 -13
- package/src/executors/typia/executor.js +1 -1
- package/src/generators/browser-library/generator.js +1 -1
- package/src/generators/config-schema/generator.js +1 -1
- package/src/generators/neutral-library/generator.js +1 -1
- package/src/generators/node-library/generator.js +1 -1
- package/src/generators/preset/generator.js +1 -1
- package/src/utils/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 1.49.22 (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Apply `getConfig` parameter through executor hook ([1ae84274](https://github.com/storm-software/storm-ops/commit/1ae84274))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
## 1.49.21 (2024-01-25)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🩹 Fixes
|
|
17
|
+
|
|
18
|
+
- **workspace-tools:** Updates to method of providing `getConfig` parameter ([d4b95d86](https://github.com/storm-software/storm-ops/commit/d4b95d86))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- Patrick Sullivan
|
|
24
|
+
|
|
1
25
|
## 1.49.20 (2024-01-25)
|
|
2
26
|
|
|
3
27
|
|
package/index.js
CHANGED
|
@@ -130121,7 +130121,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
130121
130121
|
return (message) => {
|
|
130122
130122
|
console.debug(
|
|
130123
130123
|
`
|
|
130124
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F6E0}
|
|
130124
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F6E0} Debug ")} ${chalk.hex(
|
|
130125
130125
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130126
130126
|
)(message)}
|
|
130127
130127
|
`
|
|
@@ -132871,7 +132871,7 @@ ${options.banner}
|
|
|
132871
132871
|
).join("\n")}
|
|
132872
132872
|
`
|
|
132873
132873
|
);
|
|
132874
|
-
const getConfigFns =
|
|
132874
|
+
const getConfigFns = [options.getConfig];
|
|
132875
132875
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
132876
132876
|
getConfigFns.map(
|
|
132877
132877
|
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
@@ -139407,7 +139407,7 @@ ${externalDependencies.map((dep) => {
|
|
|
139407
139407
|
packageJson.dependencies[packageName] = "latest";
|
|
139408
139408
|
}
|
|
139409
139409
|
}
|
|
139410
|
-
const distPaths =
|
|
139410
|
+
const distPaths = ["dist/"];
|
|
139411
139411
|
packageJson.type = "module";
|
|
139412
139412
|
if (distPaths.length > 0) {
|
|
139413
139413
|
packageJson.exports ??= {
|
|
@@ -139570,13 +139570,6 @@ var _isPrimitive2 = (value) => {
|
|
|
139570
139570
|
return false;
|
|
139571
139571
|
}
|
|
139572
139572
|
};
|
|
139573
|
-
var _isFunction2 = (value) => {
|
|
139574
|
-
try {
|
|
139575
|
-
return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
|
|
139576
|
-
} catch (e) {
|
|
139577
|
-
return false;
|
|
139578
|
-
}
|
|
139579
|
-
};
|
|
139580
139573
|
|
|
139581
139574
|
// packages/workspace-tools/src/executors/tsup-neutral/get-config.ts
|
|
139582
139575
|
var import_devkit5 = __toESM(require_devkit());
|
|
@@ -139691,7 +139684,8 @@ var applyDefaultOptions2 = (options) => {
|
|
|
139691
139684
|
...applyDefaultOptions({
|
|
139692
139685
|
plugins: [],
|
|
139693
139686
|
...options,
|
|
139694
|
-
platform: "neutral"
|
|
139687
|
+
platform: "neutral",
|
|
139688
|
+
getConfig: neutralConfig
|
|
139695
139689
|
})
|
|
139696
139690
|
};
|
|
139697
139691
|
};
|
|
@@ -139797,7 +139791,6 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
139797
139791
|
return tsupExecutorFn(
|
|
139798
139792
|
{
|
|
139799
139793
|
...options,
|
|
139800
|
-
getConfig: nodeConfig,
|
|
139801
139794
|
platform: "node",
|
|
139802
139795
|
banner: getFileBanner(
|
|
139803
139796
|
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)"
|
|
@@ -139807,7 +139800,8 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
139807
139800
|
},
|
|
139808
139801
|
env: {
|
|
139809
139802
|
...process.env
|
|
139810
|
-
}
|
|
139803
|
+
},
|
|
139804
|
+
getConfig: nodeConfig
|
|
139811
139805
|
},
|
|
139812
139806
|
context,
|
|
139813
139807
|
config
|
|
@@ -139815,7 +139809,12 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
|
|
|
139815
139809
|
};
|
|
139816
139810
|
var applyDefaultOptions3 = (options) => {
|
|
139817
139811
|
return {
|
|
139818
|
-
...applyDefaultOptions({
|
|
139812
|
+
...applyDefaultOptions({
|
|
139813
|
+
plugins: [],
|
|
139814
|
+
...options,
|
|
139815
|
+
platform: "node",
|
|
139816
|
+
getConfig: nodeConfig
|
|
139817
|
+
}),
|
|
139819
139818
|
transports: ["pino-pretty", "pino-loki"]
|
|
139820
139819
|
};
|
|
139821
139820
|
};
|
|
@@ -139937,7 +139936,12 @@ var tsupBrowserBuildExecutorFn = (options, context, config) => {
|
|
|
139937
139936
|
};
|
|
139938
139937
|
var applyDefaultOptions4 = (options) => {
|
|
139939
139938
|
return {
|
|
139940
|
-
...applyDefaultOptions({
|
|
139939
|
+
...applyDefaultOptions({
|
|
139940
|
+
plugins: [],
|
|
139941
|
+
...options,
|
|
139942
|
+
platform: "browser",
|
|
139943
|
+
getConfig: browserConfig
|
|
139944
|
+
})
|
|
139941
139945
|
};
|
|
139942
139946
|
};
|
|
139943
139947
|
var executor_default4 = withRunExecutor(
|