@storm-software/unbuild 0.38.0 → 0.38.2
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/bin/unbuild.cjs +4 -1
- package/bin/unbuild.js +4 -1
- package/dist/build.cjs +2 -2
- package/dist/build.js +1 -1
- package/dist/{chunk-ZXW56XVQ.js → chunk-HIBMLCH5.js} +4 -1
- package/dist/{chunk-EGE6IZNJ.cjs → chunk-YUFE3NLG.cjs} +4 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
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/bin/unbuild.cjs
CHANGED
|
@@ -1713,7 +1713,10 @@ async function resolveOptions(options, config) {
|
|
|
1713
1713
|
const packageJson = JSON.parse(packageJsonContent);
|
|
1714
1714
|
let tsconfig = options.tsconfig;
|
|
1715
1715
|
if (!tsconfig) {
|
|
1716
|
-
tsconfig = joinPaths(
|
|
1716
|
+
tsconfig = joinPaths(options.projectRoot, "tsconfig.json");
|
|
1717
|
+
}
|
|
1718
|
+
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
1719
|
+
tsconfig = joinPaths(config.workspaceRoot, tsconfig);
|
|
1717
1720
|
}
|
|
1718
1721
|
if (!(0, import_node_fs6.existsSync)(tsconfig)) {
|
|
1719
1722
|
throw new Error("Cannot find tsconfig.json configuration");
|
package/bin/unbuild.js
CHANGED
|
@@ -1692,7 +1692,10 @@ async function resolveOptions(options, config) {
|
|
|
1692
1692
|
const packageJson = JSON.parse(packageJsonContent);
|
|
1693
1693
|
let tsconfig = options.tsconfig;
|
|
1694
1694
|
if (!tsconfig) {
|
|
1695
|
-
tsconfig = joinPaths(
|
|
1695
|
+
tsconfig = joinPaths(options.projectRoot, "tsconfig.json");
|
|
1696
|
+
}
|
|
1697
|
+
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
1698
|
+
tsconfig = joinPaths(config.workspaceRoot, tsconfig);
|
|
1696
1699
|
}
|
|
1697
1700
|
if (!existsSync5(tsconfig)) {
|
|
1698
1701
|
throw new Error("Cannot find tsconfig.json configuration");
|
package/dist/build.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYUFE3NLGcjs = require('./chunk-YUFE3NLG.cjs');
|
|
9
9
|
require('./chunk-WGGER7UI.cjs');
|
|
10
10
|
require('./chunk-OOFPXPRC.cjs');
|
|
11
11
|
require('./chunk-X25DCA4T.cjs');
|
|
@@ -19,4 +19,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.build =
|
|
22
|
+
exports.build = _chunkYUFE3NLGcjs.build; exports.cleanOutputPath = _chunkYUFE3NLGcjs.cleanOutputPath; exports.copyBuildAssets = _chunkYUFE3NLGcjs.copyBuildAssets; exports.executeUnbuild = _chunkYUFE3NLGcjs.executeUnbuild; exports.generatePackageJson = _chunkYUFE3NLGcjs.generatePackageJson; exports.resolveOptions = _chunkYUFE3NLGcjs.resolveOptions;
|
package/dist/build.js
CHANGED
|
@@ -840,7 +840,10 @@ async function resolveOptions(options, config) {
|
|
|
840
840
|
const packageJson = JSON.parse(packageJsonContent);
|
|
841
841
|
let tsconfig = options.tsconfig;
|
|
842
842
|
if (!tsconfig) {
|
|
843
|
-
tsconfig = joinPaths(
|
|
843
|
+
tsconfig = joinPaths(options.projectRoot, "tsconfig.json");
|
|
844
|
+
}
|
|
845
|
+
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
846
|
+
tsconfig = joinPaths(config.workspaceRoot, tsconfig);
|
|
844
847
|
}
|
|
845
848
|
if (!existsSync3(tsconfig)) {
|
|
846
849
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
@@ -840,7 +840,10 @@ async function resolveOptions(options, config) {
|
|
|
840
840
|
const packageJson = JSON.parse(packageJsonContent);
|
|
841
841
|
let tsconfig = options.tsconfig;
|
|
842
842
|
if (!tsconfig) {
|
|
843
|
-
tsconfig = _chunkK5SEKFQAcjs.joinPaths.call(void 0,
|
|
843
|
+
tsconfig = _chunkK5SEKFQAcjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
|
|
844
|
+
}
|
|
845
|
+
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
846
|
+
tsconfig = _chunkK5SEKFQAcjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
|
|
844
847
|
}
|
|
845
848
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
846
849
|
throw new Error("Cannot find tsconfig.json configuration");
|
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYUFE3NLGcjs = require('./chunk-YUFE3NLG.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkYUFE3NLGcjs.build; exports.clean = _chunkWGGER7UIcjs.clean; exports.cleanDirectories = _chunkWGGER7UIcjs.cleanDirectories; exports.cleanOutputPath = _chunkYUFE3NLGcjs.cleanOutputPath; exports.copyBuildAssets = _chunkYUFE3NLGcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkVPCO2H3Gcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkYUFE3NLGcjs.executeUnbuild; exports.generatePackageJson = _chunkYUFE3NLGcjs.generatePackageJson; exports.loadConfig = _chunkVPCO2H3Gcjs.loadConfig; exports.resolveOptions = _chunkYUFE3NLGcjs.resolveOptions;
|
package/dist/index.js
CHANGED