@storm-software/tsdown 0.36.40 → 0.36.42
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/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/build.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWXZQ4YF7cjs = require('./chunk-WXZQ4YF7.cjs');
|
|
5
5
|
require('./chunk-ST3M7K2Q.cjs');
|
|
6
6
|
require('./chunk-65E5RX7I.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.build =
|
|
10
|
+
exports.build = _chunkWXZQ4YF7cjs.build; exports.cleanOutputPath = _chunkWXZQ4YF7cjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -925,12 +925,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
928
|
+
const configInput = defu2(configEnv, configFile, defaultConfig);
|
|
929
|
+
try {
|
|
930
|
+
result = applyDefaultConfig(
|
|
931
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
932
|
+
);
|
|
933
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
934
|
+
} catch (error) {
|
|
935
|
+
throw new Error(
|
|
936
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
937
|
+
|
|
938
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
939
|
+
configInput
|
|
940
|
+
)}`,
|
|
941
|
+
{
|
|
942
|
+
cause: error
|
|
943
|
+
}
|
|
944
|
+
);
|
|
945
|
+
}
|
|
934
946
|
} else {
|
|
935
947
|
result = _static_cache.data;
|
|
936
948
|
}
|
|
@@ -925,12 +925,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
const defaultConfig = await _chunkST3M7K2Qcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
928
|
+
const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
|
|
929
|
+
try {
|
|
930
|
+
result = _chunkST3M7K2Qcjs.applyDefaultConfig.call(void 0,
|
|
931
|
+
await _chunkST3M7K2Qcjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
932
|
+
);
|
|
933
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
934
|
+
} catch (error) {
|
|
935
|
+
throw new Error(
|
|
936
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _54 => _54.message]) ? `: ${error.message}` : ""}
|
|
937
|
+
|
|
938
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkST3M7K2Qcjs.formatLogMessage.call(void 0,
|
|
939
|
+
configInput
|
|
940
|
+
)}`,
|
|
941
|
+
{
|
|
942
|
+
cause: error
|
|
943
|
+
}
|
|
944
|
+
);
|
|
945
|
+
}
|
|
934
946
|
} else {
|
|
935
947
|
result = _static_cache.data;
|
|
936
948
|
}
|
|
@@ -1102,7 +1114,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1102
1114
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1103
1115
|
const projectName = projectJson.name;
|
|
1104
1116
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1105
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1117
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _55 => _55.projects, 'optionalAccess', _56 => _56[projectName]])) {
|
|
1106
1118
|
throw new Error(
|
|
1107
1119
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
1108
1120
|
);
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWXZQ4YF7cjs = require('./chunk-WXZQ4YF7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -16,4 +16,4 @@ require('./chunk-ZBPRDZS4.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build =
|
|
19
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkWXZQ4YF7cjs.build; exports.clean = _chunkST3M7K2Qcjs.clean; exports.cleanDirectories = _chunkST3M7K2Qcjs.cleanDirectories; exports.cleanOutputPath = _chunkWXZQ4YF7cjs.cleanOutputPath;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsdown",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
"tsdown": { "optional": false }
|
|
150
150
|
},
|
|
151
151
|
"dependencies": {
|
|
152
|
-
"@storm-software/build-tools": "^0.151.
|
|
153
|
-
"@storm-software/config": "^1.125.
|
|
154
|
-
"@storm-software/config-tools": "^1.176.
|
|
152
|
+
"@storm-software/build-tools": "^0.151.21",
|
|
153
|
+
"@storm-software/config": "^1.125.6",
|
|
154
|
+
"@storm-software/config-tools": "^1.176.7",
|
|
155
155
|
"chokidar": "^4.0.3",
|
|
156
156
|
"commander": "^12.1.0",
|
|
157
157
|
"es-toolkit": "^1.39.7",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
},
|
|
175
175
|
"publishConfig": { "access": "public" },
|
|
176
176
|
"sideEffects": false,
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "edec74f2b1c6174fae001ac240bb291296c84fab"
|
|
178
178
|
}
|