@storm-software/build-tools 0.151.19 → 0.151.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/README.md +1 -1
- package/dist/{chunk-MLYARNMM.js → chunk-CNDWLTG3.js} +18 -6
- package/dist/{chunk-3Y2UCCVY.mjs → chunk-RDJXQ27R.mjs} +18 -6
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/index.mjs +1 -1
- package/dist/utilities/read-nx-config.js +2 -2
- package/dist/utilities/read-nx-config.mjs +1 -1
- package/package.json +2 -2
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 -->
|
|
@@ -648,12 +648,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
const defaultConfig = await _chunkGEGGAV75js.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
651
|
+
const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
|
|
652
|
+
try {
|
|
653
|
+
result = _chunkGEGGAV75js.applyDefaultConfig.call(void 0,
|
|
654
|
+
await _chunkGEGGAV75js.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
655
|
+
);
|
|
656
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
657
|
+
} catch (error) {
|
|
658
|
+
throw new Error(
|
|
659
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
660
|
+
|
|
661
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkGEGGAV75js.formatLogMessage.call(void 0,
|
|
662
|
+
configInput
|
|
663
|
+
)}`,
|
|
664
|
+
{
|
|
665
|
+
cause: error
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
}
|
|
657
669
|
} else {
|
|
658
670
|
result = _static_cache.data;
|
|
659
671
|
}
|
|
@@ -648,12 +648,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
651
|
+
const configInput = defu2(configEnv, configFile, defaultConfig);
|
|
652
|
+
try {
|
|
653
|
+
result = applyDefaultConfig(
|
|
654
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
655
|
+
);
|
|
656
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
657
|
+
} catch (error) {
|
|
658
|
+
throw new Error(
|
|
659
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
660
|
+
|
|
661
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
662
|
+
configInput
|
|
663
|
+
)}`,
|
|
664
|
+
{
|
|
665
|
+
cause: error
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
}
|
|
657
669
|
} else {
|
|
658
670
|
result = _static_cache.data;
|
|
659
671
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCNDWLTG3js = require('./chunk-CNDWLTG3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -79,4 +79,4 @@ var _chunkN7HP2YYEjs = require('./chunk-N7HP2YYE.js');
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.analyze = _chunkOTX5ITS4js.analyze; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig =
|
|
82
|
+
exports.DEFAULT_COMPILED_BANNER = _chunkMYIXHZMSjs.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunkMYIXHZMSjs.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunkMYIXHZMSjs.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunkMYIXHZMSjs.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunkMYIXHZMSjs.DEFAULT_TARGET; exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.analyze = _chunkOTX5ITS4js.analyze; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig; exports.swc = _chunkHQD5ZBIUjs.swc; exports.tsResolvePlugin = _chunkGJBPVWQVjs.tsResolvePlugin; exports.typeDefinitions = _chunkN7HP2YYEjs.typeDefinitions;
|
package/dist/index.mjs
CHANGED
package/dist/utilities/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCNDWLTG3js = require('../chunk-CNDWLTG3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -50,4 +50,4 @@ require('../chunk-GEGGAV75.js');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig =
|
|
53
|
+
exports.addPackageDependencies = _chunkUTXEO62Gjs.addPackageDependencies; exports.addPackageJsonExport = _chunkUTXEO62Gjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkUTXEO62Gjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkUTXEO62Gjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkRZ3QK5QMjs.copyAssets; exports.createTaskId = _chunkP3MQZA3Djs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkP3MQZA3Djs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkOQ7L2KD3js.getEntryPoints; exports.getEnv = _chunkWLW3DA6Xjs.getEnv; exports.getExternalDependencies = _chunkWNMPQTPHjs.getExternalDependencies; exports.getExtraDependencies = _chunkWNMPQTPHjs.getExtraDependencies; exports.getFileBanner = _chunkUHJ5ACWHjs.getFileBanner; exports.getInternalDependencies = _chunkWNMPQTPHjs.getInternalDependencies; exports.getOutExtension = _chunkA75DEKU5js.getOutExtension; exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig;
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCNDWLTG3js = require('../chunk-CNDWLTG3.js');
|
|
4
4
|
require('../chunk-GEGGAV75.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.readNxConfig =
|
|
7
|
+
exports.readNxConfig = _chunkCNDWLTG3js.readNxConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/build-tools",
|
|
3
|
-
"version": "0.151.
|
|
3
|
+
"version": "0.151.21",
|
|
4
4
|
"description": "A comprehensive set of tools for building and managing projects within a Storm workspace. Includes builders such as rollup, rolldown, tsup, and unbuild, along with various utilities.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -168,5 +168,5 @@
|
|
|
168
168
|
"typescript": "^5.8.3"
|
|
169
169
|
},
|
|
170
170
|
"publishConfig": { "access": "public" },
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "edec74f2b1c6174fae001ac240bb291296c84fab"
|
|
172
172
|
}
|