@storm-software/build-tools 0.126.0 → 0.128.0
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-D4GFM7T3.js → chunk-35CAZTPP.js} +5 -5
- package/dist/{chunk-MFNKAXYD.js → chunk-6DW2UIEM.js} +8 -8
- package/dist/{chunk-WII65MJ7.mjs → chunk-6ZO43IAV.mjs} +10 -10
- package/dist/{chunk-D4OKH6T7.mjs → chunk-DRADRPMM.mjs} +1 -1
- package/dist/{chunk-TRLJJTHR.mjs → chunk-FCBGCDK3.mjs} +8 -10
- package/dist/{chunk-JA25ZINV.js → chunk-FNPD6F2G.js} +15 -17
- package/dist/{chunk-WNPKRTXM.js → chunk-GNHY7YOD.js} +49 -49
- package/dist/{chunk-2PC2NR2O.mjs → chunk-HTJ3E2HO.mjs} +1 -1
- package/dist/{chunk-WS5C3L62.mjs → chunk-ICR2RWVX.mjs} +10 -21
- package/dist/{chunk-SHSM74JR.mjs → chunk-JTAFRAI6.mjs} +1 -1
- package/dist/{chunk-XVCITQCZ.js → chunk-NJSGHMCU.js} +16 -27
- package/dist/{chunk-7YLFK6HP.js → chunk-NYV6SVCQ.js} +2 -2
- package/dist/{chunk-A24RXGCW.mjs → chunk-RRZETOZV.mjs} +9 -8
- package/dist/{chunk-45ZDIGOF.js → chunk-XBT3NCKQ.js} +9 -8
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/plugins/analyze.d.mts +6 -0
- package/dist/plugins/analyze.d.ts +6 -0
- package/dist/plugins/analyze.js +8 -0
- package/dist/plugins/analyze.mjs +8 -0
- package/dist/plugins/index.d.mts +5 -0
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/index.js +21 -0
- package/dist/plugins/index.mjs +21 -0
- package/dist/plugins/swc.d.mts +5 -0
- package/dist/plugins/swc.d.ts +5 -0
- package/dist/plugins/swc.js +7 -0
- package/dist/plugins/swc.mjs +7 -0
- package/dist/plugins/ts-resolve.d.mts +9 -0
- package/dist/plugins/ts-resolve.d.ts +9 -0
- package/dist/plugins/ts-resolve.js +8 -0
- package/dist/plugins/ts-resolve.mjs +8 -0
- package/dist/plugins/type-definitions.d.mts +10 -0
- package/dist/plugins/type-definitions.d.ts +10 -0
- package/dist/plugins/type-definitions.js +7 -0
- package/dist/plugins/type-definitions.mjs +7 -0
- package/dist/utilities/copy-assets.d.mts +7 -0
- package/dist/utilities/copy-assets.d.ts +7 -0
- package/dist/utilities/copy-assets.js +9 -0
- package/dist/utilities/copy-assets.mjs +9 -0
- package/dist/utilities/generate-package-json.d.mts +9 -0
- package/dist/utilities/generate-package-json.d.ts +9 -0
- package/dist/utilities/generate-package-json.js +14 -0
- package/dist/utilities/generate-package-json.mjs +14 -0
- package/dist/utilities/get-entry-points.d.mts +20 -0
- package/dist/utilities/get-entry-points.d.ts +20 -0
- package/dist/utilities/get-entry-points.js +8 -0
- package/dist/utilities/get-entry-points.mjs +8 -0
- package/dist/utilities/get-env.d.mts +7 -0
- package/dist/utilities/get-env.d.ts +7 -0
- package/dist/utilities/get-env.js +8 -0
- package/dist/utilities/get-env.mjs +8 -0
- package/dist/utilities/get-file-banner.d.mts +10 -0
- package/dist/utilities/get-file-banner.d.ts +10 -0
- package/dist/utilities/get-file-banner.js +7 -0
- package/dist/utilities/get-file-banner.mjs +7 -0
- package/dist/utilities/get-out-extension.d.mts +13 -0
- package/dist/utilities/get-out-extension.d.ts +13 -0
- package/dist/utilities/get-out-extension.js +7 -0
- package/dist/utilities/get-out-extension.mjs +7 -0
- package/dist/utilities/get-project-deps.d.mts +8 -0
- package/dist/utilities/get-project-deps.d.ts +8 -0
- package/dist/utilities/get-project-deps.js +11 -0
- package/dist/utilities/get-project-deps.mjs +11 -0
- package/dist/utilities/index.d.mts +14 -0
- package/dist/utilities/index.d.ts +14 -0
- package/dist/utilities/index.js +54 -0
- package/dist/utilities/index.mjs +54 -0
- package/dist/utilities/read-nx-config.d.mts +11 -0
- package/dist/utilities/read-nx-config.d.ts +11 -0
- package/dist/utilities/read-nx-config.js +8 -0
- package/dist/utilities/read-nx-config.mjs +8 -0
- package/dist/utilities/task-graph.d.mts +9 -0
- package/dist/utilities/task-graph.d.ts +9 -0
- package/dist/utilities/task-graph.js +9 -0
- package/dist/utilities/task-graph.mjs +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
addPackageDependencies,
|
|
3
|
+
addPackageJsonExport,
|
|
4
|
+
addPackageJsonExports,
|
|
5
|
+
addWorkspacePackageJsonFields
|
|
6
|
+
} from "../chunk-ICR2RWVX.mjs";
|
|
7
|
+
import "../chunk-RRZETOZV.mjs";
|
|
8
|
+
import "../chunk-O6YSETKJ.mjs";
|
|
9
|
+
export {
|
|
10
|
+
addPackageDependencies,
|
|
11
|
+
addPackageJsonExport,
|
|
12
|
+
addPackageJsonExports,
|
|
13
|
+
addWorkspacePackageJsonFields
|
|
14
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { S as StormConfig } from '../types-v0neDT-G.mjs';
|
|
2
|
+
import { Entry } from '../types.mjs';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the entry points for the build process
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* This function will also convert a glob pattern (or patterns) into a list of files
|
|
10
|
+
*
|
|
11
|
+
* @param config - The Storm configuration
|
|
12
|
+
* @param projectRoot - The root of the project
|
|
13
|
+
* @param sourceRoot - The root of the source files
|
|
14
|
+
* @param entry - The entry point(s) for the build process
|
|
15
|
+
* @param emitOnAll - Add an entry point for all files in the source root
|
|
16
|
+
* @returns The entry points (relative to the `projectRoot` path) for the build process
|
|
17
|
+
*/
|
|
18
|
+
declare const getEntryPoints: (config: StormConfig, projectRoot: string, sourceRoot?: string, entry?: Entry, emitOnAll?: boolean) => Promise<string[]>;
|
|
19
|
+
|
|
20
|
+
export { getEntryPoints };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { S as StormConfig } from '../types-v0neDT-G.js';
|
|
2
|
+
import { Entry } from '../types.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the entry points for the build process
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* This function will also convert a glob pattern (or patterns) into a list of files
|
|
10
|
+
*
|
|
11
|
+
* @param config - The Storm configuration
|
|
12
|
+
* @param projectRoot - The root of the project
|
|
13
|
+
* @param sourceRoot - The root of the source files
|
|
14
|
+
* @param entry - The entry point(s) for the build process
|
|
15
|
+
* @param emitOnAll - Add an entry point for all files in the source root
|
|
16
|
+
* @returns The entry points (relative to the `projectRoot` path) for the build process
|
|
17
|
+
*/
|
|
18
|
+
declare const getEntryPoints: (config: StormConfig, projectRoot: string, sourceRoot?: string, entry?: Entry, emitOnAll?: boolean) => Promise<string[]>;
|
|
19
|
+
|
|
20
|
+
export { getEntryPoints };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk35CAZTPPjs = require('../chunk-35CAZTPP.js');
|
|
4
|
+
require('../chunk-XBT3NCKQ.js');
|
|
5
|
+
require('../chunk-SHUYVCID.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.getEntryPoints = _chunk35CAZTPPjs.getEntryPoints;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypeScriptBuildResolvedOptions, TypeScriptBuildEnv } from '../types.mjs';
|
|
2
|
+
import '../types-v0neDT-G.mjs';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
declare const getEnv: (builder: string, options: Pick<TypeScriptBuildResolvedOptions, "name" | "envName" | "orgName" | "platform" | "target" | "format">) => TypeScriptBuildEnv;
|
|
6
|
+
|
|
7
|
+
export { getEnv };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypeScriptBuildResolvedOptions, TypeScriptBuildEnv } from '../types.js';
|
|
2
|
+
import '../types-v0neDT-G.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
declare const getEnv: (builder: string, options: Pick<TypeScriptBuildResolvedOptions, "name" | "envName" | "orgName" | "platform" | "target" | "format">) => TypeScriptBuildEnv;
|
|
6
|
+
|
|
7
|
+
export { getEnv };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get a banner header to display at the top of a file
|
|
3
|
+
*
|
|
4
|
+
* @param name - The name to use in the display
|
|
5
|
+
* @param commentStart - The comment starting token
|
|
6
|
+
* @returns The banner header
|
|
7
|
+
*/
|
|
8
|
+
declare const getFileBanner: (name: string, commentStart?: string) => string;
|
|
9
|
+
|
|
10
|
+
export { getFileBanner };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get a banner header to display at the top of a file
|
|
3
|
+
*
|
|
4
|
+
* @param name - The name to use in the display
|
|
5
|
+
* @param commentStart - The comment starting token
|
|
6
|
+
* @returns The banner header
|
|
7
|
+
*/
|
|
8
|
+
declare const getFileBanner: (name: string, commentStart?: string) => string;
|
|
9
|
+
|
|
10
|
+
export { getFileBanner };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the output extension for the given format and package type.
|
|
3
|
+
*
|
|
4
|
+
* @param format - The format of the output.
|
|
5
|
+
* @param pkgType - The package type.
|
|
6
|
+
* @returns The output extensions (for the js and dts output files).
|
|
7
|
+
*/
|
|
8
|
+
declare function getOutExtension(format?: string, pkgType?: string): {
|
|
9
|
+
js: string;
|
|
10
|
+
dts: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { getOutExtension };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the output extension for the given format and package type.
|
|
3
|
+
*
|
|
4
|
+
* @param format - The format of the output.
|
|
5
|
+
* @param pkgType - The package type.
|
|
6
|
+
* @returns The output extensions (for the js and dts output files).
|
|
7
|
+
*/
|
|
8
|
+
declare function getOutExtension(format?: string, pkgType?: string): {
|
|
9
|
+
js: string;
|
|
10
|
+
dts: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { getOutExtension };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProjectGraph, ProjectGraphProjectNode, ProjectGraphExternalNode } from '@nx/devkit';
|
|
2
|
+
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
3
|
+
|
|
4
|
+
declare function getExtraDependencies(projectName: string, graph: ProjectGraph): DependentBuildableProjectNode[];
|
|
5
|
+
declare function getInternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphProjectNode[];
|
|
6
|
+
declare function getExternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphExternalNode[];
|
|
7
|
+
|
|
8
|
+
export { getExternalDependencies, getExtraDependencies, getInternalDependencies };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ProjectGraph, ProjectGraphProjectNode, ProjectGraphExternalNode } from '@nx/devkit';
|
|
2
|
+
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
3
|
+
|
|
4
|
+
declare function getExtraDependencies(projectName: string, graph: ProjectGraph): DependentBuildableProjectNode[];
|
|
5
|
+
declare function getInternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphProjectNode[];
|
|
6
|
+
declare function getExternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphExternalNode[];
|
|
7
|
+
|
|
8
|
+
export { getExternalDependencies, getExtraDependencies, getInternalDependencies };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkVSAQXEXDjs = require('../chunk-VSAQXEXD.js');
|
|
6
|
+
require('../chunk-SHUYVCID.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { copyAssets } from './copy-assets.mjs';
|
|
2
|
+
export { addPackageDependencies, addPackageJsonExport, addPackageJsonExports, addWorkspacePackageJsonFields } from './generate-package-json.mjs';
|
|
3
|
+
export { getEntryPoints } from './get-entry-points.mjs';
|
|
4
|
+
export { getEnv } from './get-env.mjs';
|
|
5
|
+
export { getFileBanner } from './get-file-banner.mjs';
|
|
6
|
+
export { getOutExtension } from './get-out-extension.mjs';
|
|
7
|
+
export { getExternalDependencies, getExtraDependencies, getInternalDependencies } from './get-project-deps.mjs';
|
|
8
|
+
export { readNxConfig } from './read-nx-config.mjs';
|
|
9
|
+
export { createTaskId, getAllWorkspaceTaskGraphs } from './task-graph.mjs';
|
|
10
|
+
import '../types-v0neDT-G.mjs';
|
|
11
|
+
import 'zod';
|
|
12
|
+
import '../types.mjs';
|
|
13
|
+
import '@nx/devkit';
|
|
14
|
+
import '@nx/js/src/utils/buildable-libs-utils';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { copyAssets } from './copy-assets.js';
|
|
2
|
+
export { addPackageDependencies, addPackageJsonExport, addPackageJsonExports, addWorkspacePackageJsonFields } from './generate-package-json.js';
|
|
3
|
+
export { getEntryPoints } from './get-entry-points.js';
|
|
4
|
+
export { getEnv } from './get-env.js';
|
|
5
|
+
export { getFileBanner } from './get-file-banner.js';
|
|
6
|
+
export { getOutExtension } from './get-out-extension.js';
|
|
7
|
+
export { getExternalDependencies, getExtraDependencies, getInternalDependencies } from './get-project-deps.js';
|
|
8
|
+
export { readNxConfig } from './read-nx-config.js';
|
|
9
|
+
export { createTaskId, getAllWorkspaceTaskGraphs } from './task-graph.js';
|
|
10
|
+
import '../types-v0neDT-G.js';
|
|
11
|
+
import 'zod';
|
|
12
|
+
import '../types.js';
|
|
13
|
+
import '@nx/devkit';
|
|
14
|
+
import '@nx/js/src/utils/buildable-libs-utils';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkJP4YIUPAjs = require('../chunk-JP4YIUPA.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkFNPD6F2Gjs = require('../chunk-FNPD6F2G.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkGNHY7YODjs = require('../chunk-GNHY7YOD.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkNJSGHMCUjs = require('../chunk-NJSGHMCU.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunk35CAZTPPjs = require('../chunk-35CAZTPP.js');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkIZKGYT3Djs = require('../chunk-IZKGYT3D.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
var _chunkPBTSVWXLjs = require('../chunk-PBTSVWXL.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
var _chunkTWCCJQYFjs = require('../chunk-TWCCJQYF.js');
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
var _chunkVSAQXEXDjs = require('../chunk-VSAQXEXD.js');
|
|
35
|
+
require('../chunk-2KEW5JJ7.js');
|
|
36
|
+
require('../chunk-XBT3NCKQ.js');
|
|
37
|
+
require('../chunk-SHUYVCID.js');
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
exports.addPackageDependencies = _chunkNJSGHMCUjs.addPackageDependencies; exports.addPackageJsonExport = _chunkNJSGHMCUjs.addPackageJsonExport; exports.addPackageJsonExports = _chunkNJSGHMCUjs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkNJSGHMCUjs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkFNPD6F2Gjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunk35CAZTPPjs.getEntryPoints; exports.getEnv = _chunkIZKGYT3Djs.getEnv; exports.getExternalDependencies = _chunkVSAQXEXDjs.getExternalDependencies; exports.getExtraDependencies = _chunkVSAQXEXDjs.getExtraDependencies; exports.getFileBanner = _chunkPBTSVWXLjs.getFileBanner; exports.getInternalDependencies = _chunkVSAQXEXDjs.getInternalDependencies; exports.getOutExtension = _chunkTWCCJQYFjs.getOutExtension; exports.readNxConfig = _chunkGNHY7YODjs.readNxConfig;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import "../chunk-KVP3YMX6.mjs";
|
|
2
|
+
import {
|
|
3
|
+
createTaskId,
|
|
4
|
+
getAllWorkspaceTaskGraphs
|
|
5
|
+
} from "../chunk-67VZRCF5.mjs";
|
|
6
|
+
import {
|
|
7
|
+
copyAssets
|
|
8
|
+
} from "../chunk-FCBGCDK3.mjs";
|
|
9
|
+
import {
|
|
10
|
+
readNxConfig
|
|
11
|
+
} from "../chunk-6ZO43IAV.mjs";
|
|
12
|
+
import {
|
|
13
|
+
addPackageDependencies,
|
|
14
|
+
addPackageJsonExport,
|
|
15
|
+
addPackageJsonExports,
|
|
16
|
+
addWorkspacePackageJsonFields
|
|
17
|
+
} from "../chunk-ICR2RWVX.mjs";
|
|
18
|
+
import {
|
|
19
|
+
getEntryPoints
|
|
20
|
+
} from "../chunk-DRADRPMM.mjs";
|
|
21
|
+
import {
|
|
22
|
+
getEnv
|
|
23
|
+
} from "../chunk-ZLC5KVQE.mjs";
|
|
24
|
+
import {
|
|
25
|
+
getFileBanner
|
|
26
|
+
} from "../chunk-CNURHK3D.mjs";
|
|
27
|
+
import {
|
|
28
|
+
getOutExtension
|
|
29
|
+
} from "../chunk-IF25LEHS.mjs";
|
|
30
|
+
import {
|
|
31
|
+
getExternalDependencies,
|
|
32
|
+
getExtraDependencies,
|
|
33
|
+
getInternalDependencies
|
|
34
|
+
} from "../chunk-ZW5JWBA4.mjs";
|
|
35
|
+
import "../chunk-YGULBW26.mjs";
|
|
36
|
+
import "../chunk-RRZETOZV.mjs";
|
|
37
|
+
import "../chunk-O6YSETKJ.mjs";
|
|
38
|
+
export {
|
|
39
|
+
addPackageDependencies,
|
|
40
|
+
addPackageJsonExport,
|
|
41
|
+
addPackageJsonExports,
|
|
42
|
+
addWorkspacePackageJsonFields,
|
|
43
|
+
copyAssets,
|
|
44
|
+
createTaskId,
|
|
45
|
+
getAllWorkspaceTaskGraphs,
|
|
46
|
+
getEntryPoints,
|
|
47
|
+
getEnv,
|
|
48
|
+
getExternalDependencies,
|
|
49
|
+
getExtraDependencies,
|
|
50
|
+
getFileBanner,
|
|
51
|
+
getInternalDependencies,
|
|
52
|
+
getOutExtension,
|
|
53
|
+
readNxConfig
|
|
54
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NxJsonConfiguration } from '@nx/devkit';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Read the `nx.json` configuration file in the workspace root.
|
|
5
|
+
*
|
|
6
|
+
* @param workspaceRoot - The workspace root directory.
|
|
7
|
+
* @returns The `nx.json` configuration file.
|
|
8
|
+
*/
|
|
9
|
+
declare const readNxConfig: (workspaceRoot?: string) => Promise<NxJsonConfiguration<string[] | "*">>;
|
|
10
|
+
|
|
11
|
+
export { readNxConfig };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NxJsonConfiguration } from '@nx/devkit';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Read the `nx.json` configuration file in the workspace root.
|
|
5
|
+
*
|
|
6
|
+
* @param workspaceRoot - The workspace root directory.
|
|
7
|
+
* @returns The `nx.json` configuration file.
|
|
8
|
+
*/
|
|
9
|
+
declare const readNxConfig: (workspaceRoot?: string) => Promise<NxJsonConfiguration<string[] | "*">>;
|
|
10
|
+
|
|
11
|
+
export { readNxConfig };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NxJsonConfiguration, ProjectGraph, TaskGraph } from '@nx/devkit';
|
|
2
|
+
|
|
3
|
+
declare function getAllWorkspaceTaskGraphs(nxJson: NxJsonConfiguration, projectGraph: ProjectGraph): {
|
|
4
|
+
taskGraphs: Record<string, TaskGraph>;
|
|
5
|
+
errors: Record<string, string>;
|
|
6
|
+
};
|
|
7
|
+
declare function createTaskId(projectId: string, targetId: string, configurationId?: string): string;
|
|
8
|
+
|
|
9
|
+
export { createTaskId, getAllWorkspaceTaskGraphs };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NxJsonConfiguration, ProjectGraph, TaskGraph } from '@nx/devkit';
|
|
2
|
+
|
|
3
|
+
declare function getAllWorkspaceTaskGraphs(nxJson: NxJsonConfiguration, projectGraph: ProjectGraph): {
|
|
4
|
+
taskGraphs: Record<string, TaskGraph>;
|
|
5
|
+
errors: Record<string, string>;
|
|
6
|
+
};
|
|
7
|
+
declare function createTaskId(projectId: string, targetId: string, configurationId?: string): string;
|
|
8
|
+
|
|
9
|
+
export { createTaskId, getAllWorkspaceTaskGraphs };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkJP4YIUPAjs = require('../chunk-JP4YIUPA.js');
|
|
5
|
+
require('../chunk-SHUYVCID.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@storm-software/build-tools","version":"0.
|
|
1
|
+
{"name":"@storm-software/build-tools","version":"0.128.0","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.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/build-tools"},"homepage":"https://stormsoftware.com","bugs":{"url":"https://stormsoftware.com/support","email":"support@stormsoftware.com"},"author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"contributors":[{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"}],"funding":{"type":"github","url":"https://github.com/sponsors/storm-software"},"license":"Apache-2.0","private":false,"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"./package.json":"./package.json","./types":{"import":{"types":"./dist/types.d.mts","default":"./dist/types.mjs"},"require":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./index":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./config":{"import":{"types":"./dist/config.d.mts","default":"./dist/config.mjs"},"require":{"types":"./dist/config.d.ts","default":"./dist/config.js"},"default":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"./plugins":{"import":{"types":"./dist/plugins/index.d.mts","default":"./dist/plugins/index.mjs"},"require":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"},"default":{"types":"./dist/plugins/index.d.ts","default":"./dist/plugins/index.js"}},"./plugins/*":{"import":{"types":"./dist/plugins/*.d.mts","default":"./dist/plugins/*.mjs"},"require":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"},"default":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"}},"./utilities":{"import":{"types":"./dist/utilities/index.d.mts","default":"./dist/utilities/index.mjs"},"require":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"},"default":{"types":"./dist/utilities/index.d.ts","default":"./dist/utilities/index.js"}},"./utilities/*":{"import":{"types":"./dist/utilities/*.d.mts","default":"./dist/utilities/*.mjs"},"require":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"},"default":{"types":"./dist/utilities/*.d.ts","default":"./dist/utilities/*.js"}}},"types":"./dist/index.d.ts","files":["dist/**/*"],"keywords":["monorepo","open-system","storm","storm-ops","storm-stack","stormstack","sullivanpj"],"peerDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","nx":"^20.3.1"},"peerDependenciesMeta":{"@nx/devkit":{"optional":false},"@nx/js":{"optional":false},"@swc/core":{"optional":true},"nx":{"optional":false}},"dependencies":{"glob":"^10.4.2","resolve":"1.22.8","resolve-from":"5.0.0","rollup":"^4.29.1","typescript":"^5.7.2"},"devDependencies":{"@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@swc/core":"1.7.26","@types/node":"^22.10.2","nx":"^20.3.1","tsup":"8.3.5"},"publishConfig":{"access":"public"}}
|