@storm-software/unbuild 0.38.7 → 0.38.8
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/bin/unbuild.cjs +11 -9
- package/bin/unbuild.js +11 -9
- package/dist/build.cjs +7 -7
- package/dist/build.d.cts +2 -2
- package/dist/build.d.ts +2 -2
- package/dist/build.js +6 -6
- package/dist/{chunk-EJVOWVIQ.js → chunk-3FANH6ED.js} +2 -2
- package/dist/{chunk-CYDK2RIH.js → chunk-7G3BCJIK.js} +13 -13
- package/dist/{chunk-OOFPXPRC.cjs → chunk-AHQIGTFC.cjs} +2 -2
- package/dist/{chunk-VPCO2H3G.cjs → chunk-CYX4LFNQ.cjs} +2 -2
- package/dist/{chunk-IYFBAI6G.js → chunk-G62UH6SY.js} +1 -1
- package/dist/{chunk-NZEFFUTW.cjs → chunk-SIR4O5JK.cjs} +106 -106
- package/dist/{chunk-5XTPDLOE.js → chunk-TDDFO4FC.js} +1 -1
- package/dist/{chunk-WGGER7UI.cjs → chunk-VDERNXXY.cjs} +3 -3
- package/dist/{chunk-K5SEKFQA.cjs → chunk-WSXJ22NQ.cjs} +2 -2
- package/dist/{chunk-2FX3WQNK.js → chunk-WVSYK2DF.js} +1 -1
- package/dist/{chunk-JLKMLDBA.js → chunk-XBFAUJGO.js} +1 -1
- package/dist/{chunk-X25DCA4T.cjs → chunk-XM5UE2GX.cjs} +3 -3
- package/dist/clean.cjs +3 -3
- package/dist/clean.d.cts +5 -5
- package/dist/clean.d.ts +5 -5
- package/dist/clean.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/plugins/analyze.cjs +3 -3
- package/dist/plugins/analyze.js +2 -2
- package/dist/plugins/on-error.cjs +3 -3
- package/dist/plugins/on-error.js +2 -2
- package/dist/plugins/tsc.cjs +3 -3
- package/dist/plugins/tsc.js +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWSXJ22NQcjs = require('./chunk-WSXJ22NQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -10,7 +10,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
|
|
|
10
10
|
name: "storm:on-error",
|
|
11
11
|
buildEnd(error) {
|
|
12
12
|
if (error) {
|
|
13
|
-
|
|
13
|
+
_chunkWSXJ22NQcjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
14
14
|
${error ? error.message : "Unknown build error"}
|
|
15
15
|
|
|
16
16
|
`, options.config);
|
|
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
renderError(error) {
|
|
21
|
-
|
|
21
|
+
_chunkWSXJ22NQcjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
22
22
|
${error ? error.message : "Unknown build error"}
|
|
23
23
|
|
|
24
24
|
`, options.config);
|
package/dist/clean.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkVDERNXXYcjs = require('./chunk-VDERNXXY.cjs');
|
|
5
|
+
require('./chunk-WSXJ22NQ.cjs');
|
|
6
6
|
require('./chunk-BGYQAVKQ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunkVDERNXXYcjs.clean; exports.cleanDirectories = _chunkVDERNXXYcjs.cleanDirectories;
|
package/dist/clean.d.cts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Clean the Unbuild output path
|
|
5
5
|
*
|
|
6
6
|
* @param name - The name of the executor
|
|
7
7
|
* @param directory - The directory to clean
|
|
8
|
-
* @param config - The
|
|
8
|
+
* @param config - The StormWorkspaceConfig object
|
|
9
9
|
*/
|
|
10
|
-
declare function clean(name: string | undefined, directory: string, config?:
|
|
10
|
+
declare function clean(name: string | undefined, directory: string, config?: StormWorkspaceConfig): Promise<void>;
|
|
11
11
|
/**
|
|
12
12
|
* Clean the Unbuild output path
|
|
13
13
|
*
|
|
14
14
|
* @param name - The name of the executor
|
|
15
15
|
* @param directory - The directory to clean
|
|
16
|
-
* @param config - The
|
|
16
|
+
* @param config - The StormWorkspaceConfig object
|
|
17
17
|
*/
|
|
18
|
-
declare function cleanDirectories(name: string | undefined, directory: string, config?:
|
|
18
|
+
declare function cleanDirectories(name: string | undefined, directory: string, config?: StormWorkspaceConfig): Promise<void>;
|
|
19
19
|
|
|
20
20
|
export { clean, cleanDirectories };
|
package/dist/clean.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Clean the Unbuild output path
|
|
5
5
|
*
|
|
6
6
|
* @param name - The name of the executor
|
|
7
7
|
* @param directory - The directory to clean
|
|
8
|
-
* @param config - The
|
|
8
|
+
* @param config - The StormWorkspaceConfig object
|
|
9
9
|
*/
|
|
10
|
-
declare function clean(name: string | undefined, directory: string, config?:
|
|
10
|
+
declare function clean(name: string | undefined, directory: string, config?: StormWorkspaceConfig): Promise<void>;
|
|
11
11
|
/**
|
|
12
12
|
* Clean the Unbuild output path
|
|
13
13
|
*
|
|
14
14
|
* @param name - The name of the executor
|
|
15
15
|
* @param directory - The directory to clean
|
|
16
|
-
* @param config - The
|
|
16
|
+
* @param config - The StormWorkspaceConfig object
|
|
17
17
|
*/
|
|
18
|
-
declare function cleanDirectories(name: string | undefined, directory: string, config?:
|
|
18
|
+
declare function cleanDirectories(name: string | undefined, directory: string, config?: StormWorkspaceConfig): Promise<void>;
|
|
19
19
|
|
|
20
20
|
export { clean, cleanDirectories };
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSIR4O5JKcjs = require('./chunk-SIR4O5JK.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkVDERNXXYcjs = require('./chunk-VDERNXXY.cjs');
|
|
13
13
|
require('./chunk-ORA4UQMU.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-AHQIGTFC.cjs');
|
|
15
|
+
require('./chunk-XM5UE2GX.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkCYX4LFNQcjs = require('./chunk-CYX4LFNQ.cjs');
|
|
20
|
+
require('./chunk-WSXJ22NQ.cjs');
|
|
21
21
|
require('./chunk-BGYQAVKQ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkSIR4O5JKcjs.build; exports.clean = _chunkVDERNXXYcjs.clean; exports.cleanDirectories = _chunkVDERNXXYcjs.cleanDirectories; exports.cleanOutputPath = _chunkSIR4O5JKcjs.cleanOutputPath; exports.copyBuildAssets = _chunkSIR4O5JKcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkCYX4LFNQcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkSIR4O5JKcjs.executeUnbuild; exports.generatePackageJson = _chunkSIR4O5JKcjs.generatePackageJson; exports.loadConfig = _chunkCYX4LFNQcjs.loadConfig; exports.resolveOptions = _chunkSIR4O5JKcjs.resolveOptions;
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { build, cleanOutputPath, copyBuildAssets, executeUnbuild, generatePackag
|
|
|
2
2
|
export { clean, cleanDirectories } from './clean.cjs';
|
|
3
3
|
export { DeepPartial, LoadFile, Loader, LoaderContext, LoaderInputFile, LoaderOptions, LoaderOutputFile, LoaderResult, Loaders, UnbuildCLIOptions, UnbuildOptions, UnbuildResolvedOptions } from './types.cjs';
|
|
4
4
|
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
6
6
|
import ts from 'typescript';
|
|
7
7
|
import { RollupBuildOptions } from 'unbuild';
|
|
8
8
|
import '@storm-software/config/types';
|
|
@@ -14,7 +14,7 @@ import 'mkdist';
|
|
|
14
14
|
* Load a rolldown configuration file
|
|
15
15
|
*/
|
|
16
16
|
declare function loadConfig(configPath: string): Promise<RollupBuildOptions | undefined>;
|
|
17
|
-
declare function createTsCompilerOptions(config:
|
|
17
|
+
declare function createTsCompilerOptions(config: StormWorkspaceConfig, tsConfigPath: string, projectRoot: string, dependencies?: DependentBuildableProjectNode[]): Promise<{
|
|
18
18
|
rootDir: string;
|
|
19
19
|
declaration: boolean;
|
|
20
20
|
paths: ts.MapLike<string[]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { build, cleanOutputPath, copyBuildAssets, executeUnbuild, generatePackag
|
|
|
2
2
|
export { clean, cleanDirectories } from './clean.js';
|
|
3
3
|
export { DeepPartial, LoadFile, Loader, LoaderContext, LoaderInputFile, LoaderOptions, LoaderOutputFile, LoaderResult, Loaders, UnbuildCLIOptions, UnbuildOptions, UnbuildResolvedOptions } from './types.js';
|
|
4
4
|
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
6
6
|
import ts from 'typescript';
|
|
7
7
|
import { RollupBuildOptions } from 'unbuild';
|
|
8
8
|
import '@storm-software/config/types';
|
|
@@ -14,7 +14,7 @@ import 'mkdist';
|
|
|
14
14
|
* Load a rolldown configuration file
|
|
15
15
|
*/
|
|
16
16
|
declare function loadConfig(configPath: string): Promise<RollupBuildOptions | undefined>;
|
|
17
|
-
declare function createTsCompilerOptions(config:
|
|
17
|
+
declare function createTsCompilerOptions(config: StormWorkspaceConfig, tsConfigPath: string, projectRoot: string, dependencies?: DependentBuildableProjectNode[]): Promise<{
|
|
18
18
|
rootDir: string;
|
|
19
19
|
declaration: boolean;
|
|
20
20
|
paths: ts.MapLike<string[]>;
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
executeUnbuild,
|
|
6
6
|
generatePackageJson,
|
|
7
7
|
resolveOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7G3BCJIK.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XBFAUJGO.js";
|
|
13
13
|
import "./chunk-OULCUN6I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TDDFO4FC.js";
|
|
15
|
+
import "./chunk-WVSYK2DF.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-G62UH6SY.js";
|
|
20
|
+
import "./chunk-3FANH6ED.js";
|
|
21
21
|
import "./chunk-3GQAWCBQ.js";
|
|
22
22
|
export {
|
|
23
23
|
build,
|
package/dist/plugins/analyze.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkAHQIGTFCcjs = require('../chunk-AHQIGTFC.cjs');
|
|
4
|
+
require('../chunk-WSXJ22NQ.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunkAHQIGTFCcjs.analyzePlugin;
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkXM5UE2GXcjs = require('../chunk-XM5UE2GX.cjs');
|
|
4
|
+
require('../chunk-WSXJ22NQ.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkXM5UE2GXcjs.onErrorPlugin;
|
package/dist/plugins/on-error.js
CHANGED
package/dist/plugins/tsc.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkCYX4LFNQcjs = require('../chunk-CYX4LFNQ.cjs');
|
|
4
|
+
require('../chunk-WSXJ22NQ.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkCYX4LFNQcjs.tscPlugin;
|
package/dist/plugins/tsc.js
CHANGED