@storm-software/tsdown 0.36.41 → 0.36.43
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 _chunk2HLQSMSXcjs = require('./chunk-2HLQSMSX.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 = _chunk2HLQSMSXcjs.build; exports.cleanOutputPath = _chunk2HLQSMSXcjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -925,12 +925,28 @@ 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
|
-
|
|
928
|
+
const configInput = _defu2.default.call(void 0,
|
|
929
|
+
configEnv,
|
|
930
|
+
configFile,
|
|
931
|
+
defaultConfig
|
|
932
932
|
);
|
|
933
|
-
|
|
933
|
+
try {
|
|
934
|
+
result = _chunkST3M7K2Qcjs.applyDefaultConfig.call(void 0,
|
|
935
|
+
await _chunkST3M7K2Qcjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
936
|
+
);
|
|
937
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
938
|
+
} catch (error) {
|
|
939
|
+
throw new Error(
|
|
940
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _54 => _54.message]) ? `: ${error.message}` : ""}
|
|
941
|
+
|
|
942
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkST3M7K2Qcjs.formatLogMessage.call(void 0,
|
|
943
|
+
configInput
|
|
944
|
+
)}`,
|
|
945
|
+
{
|
|
946
|
+
cause: error
|
|
947
|
+
}
|
|
948
|
+
);
|
|
949
|
+
}
|
|
934
950
|
} else {
|
|
935
951
|
result = _static_cache.data;
|
|
936
952
|
}
|
|
@@ -1102,7 +1118,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1102
1118
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1103
1119
|
const projectName = projectJson.name;
|
|
1104
1120
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1105
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1121
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _55 => _55.projects, 'optionalAccess', _56 => _56[projectName]])) {
|
|
1106
1122
|
throw new Error(
|
|
1107
1123
|
"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
1124
|
);
|
|
@@ -925,12 +925,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
928
|
+
const configInput = defu2(
|
|
929
|
+
configEnv,
|
|
930
|
+
configFile,
|
|
931
|
+
defaultConfig
|
|
932
932
|
);
|
|
933
|
-
|
|
933
|
+
try {
|
|
934
|
+
result = applyDefaultConfig(
|
|
935
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
936
|
+
);
|
|
937
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
938
|
+
} catch (error) {
|
|
939
|
+
throw new Error(
|
|
940
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
941
|
+
|
|
942
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
943
|
+
configInput
|
|
944
|
+
)}`,
|
|
945
|
+
{
|
|
946
|
+
cause: error
|
|
947
|
+
}
|
|
948
|
+
);
|
|
949
|
+
}
|
|
934
950
|
} else {
|
|
935
951
|
result = _static_cache.data;
|
|
936
952
|
}
|
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 _chunk2HLQSMSXcjs = require('./chunk-2HLQSMSX.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 = _chunk2HLQSMSXcjs.build; exports.clean = _chunkST3M7K2Qcjs.clean; exports.cleanDirectories = _chunkST3M7K2Qcjs.cleanDirectories; exports.cleanOutputPath = _chunk2HLQSMSXcjs.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.43",
|
|
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.7",
|
|
154
|
+
"@storm-software/config-tools": "^1.176.8",
|
|
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": "b0d8f489b75626777c4ba65ba127298f9cafa3f0"
|
|
178
178
|
}
|