@storm-software/build-tools 0.138.6 → 0.138.7

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
- [![Version](https://img.shields.io/badge/version-0.138.5-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.138.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
4
 
@@ -14,7 +14,8 @@ var _fs = require('fs');
14
14
  var _promises = require('fs/promises');
15
15
  var _projectgraph = require('nx/src/project-graph/project-graph');
16
16
  var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
17
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
17
+ const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
18
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
18
19
  const localPackages = [];
19
20
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
20
21
  const projectNode = project.node;
@@ -31,26 +32,38 @@ var addPackageDependencies = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0
31
32
  }
32
33
  if (localPackages.length > 0) {
33
34
  _chunkF6IJ6ZDHjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
34
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
35
- if (!ret[localPackage.name]) {
36
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
35
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunkF6IJ6ZDHjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
36
+ const projectJson = JSON.parse(projectJsonFile);
37
+ const projectName2 = projectJson.name;
38
+ const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
39
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName2]])) {
40
+ throw new Error("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.");
41
+ }
42
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _3 => _3.projects, 'optionalAccess', _4 => _4[projectName2], 'access', _5 => _5.implicitDependencies, 'optionalAccess', _6 => _6.reduce, 'call', _7 => _7((ret, dep) => {
43
+ if (_optionalChain([projectConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[dep]])) {
44
+ const depPackageJsonPath = _chunkF6IJ6ZDHjs.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
45
+ if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
46
+ const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
47
+ const depPackageJson = JSON.parse(depPackageJsonContent);
48
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
49
+ ret.push(depPackageJson.name);
50
+ }
51
+ }
37
52
  }
38
53
  return ret;
39
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
40
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
41
- if (!ret[localPackage.name]) {
42
- ret[localPackage.name] = {
43
- optional: false
44
- };
54
+ }, [])]);
55
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
56
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _10 => _10.includes, 'call', _11 => _11(localPackage.name)])) {
57
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
45
58
  }
46
59
  return ret;
47
- }, _nullishCoalesce(packageJson.peerDependenciesMeta, () => ( {})));
60
+ }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
48
61
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
49
- if (!ret[localPackage.name]) {
62
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _12 => _12.includes, 'call', _13 => _13(localPackage.name)])) {
50
63
  ret[localPackage.name] = localPackage.version || "0.0.1";
51
64
  }
52
65
  return ret;
53
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
66
+ }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
54
67
  } else {
55
68
  _chunkF6IJ6ZDHjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
56
69
  }
@@ -10,11 +10,12 @@ import {
10
10
  // src/utilities/generate-package-json.ts
11
11
  import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
12
12
  import { Glob } from "glob";
13
- import { existsSync } from "node:fs";
13
+ import { existsSync, readFileSync } from "node:fs";
14
14
  import { readFile } from "node:fs/promises";
15
- import { readCachedProjectGraph } from "nx/src/project-graph/project-graph";
15
+ import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
16
16
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
17
- const projectDependencies = calculateProjectBuildableDependencies(void 0, readCachedProjectGraph(), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
17
+ const projectGraph = readCachedProjectGraph();
18
+ const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
18
19
  const localPackages = [];
19
20
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
20
21
  const projectNode = project.node;
@@ -31,26 +32,38 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
31
32
  }
32
33
  if (localPackages.length > 0) {
33
34
  writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
34
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
35
- if (!ret[localPackage.name]) {
36
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
35
+ const projectJsonFile = await readFile(joinPaths(projectRoot, "project.json"), "utf8");
36
+ const projectJson = JSON.parse(projectJsonFile);
37
+ const projectName2 = projectJson.name;
38
+ const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
39
+ if (!projectConfigurations?.projects?.[projectName2]) {
40
+ throw new Error("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.");
41
+ }
42
+ const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
43
+ if (projectConfigurations.projects?.[dep]) {
44
+ const depPackageJsonPath = joinPaths(workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
45
+ if (existsSync(depPackageJsonPath)) {
46
+ const depPackageJsonContent = readFileSync(depPackageJsonPath, "utf8");
47
+ const depPackageJson = JSON.parse(depPackageJsonContent);
48
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
49
+ ret.push(depPackageJson.name);
50
+ }
51
+ }
37
52
  }
38
53
  return ret;
39
- }, packageJson.peerDependencies ?? {});
40
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
41
- if (!ret[localPackage.name]) {
42
- ret[localPackage.name] = {
43
- optional: false
44
- };
54
+ }, []);
55
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
56
+ if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name)) {
57
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
45
58
  }
46
59
  return ret;
47
- }, packageJson.peerDependenciesMeta ?? {});
60
+ }, packageJson.dependencies ?? {});
48
61
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
49
- if (!ret[localPackage.name]) {
62
+ if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name)) {
50
63
  ret[localPackage.name] = localPackage.version || "0.0.1";
51
64
  }
52
65
  return ret;
53
- }, packageJson.peerDependencies ?? {});
66
+ }, packageJson.devDependencies ?? {});
54
67
  } else {
55
68
  writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
56
69
  }
package/dist/index.js CHANGED
@@ -1,59 +1,59 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-65HIHTHN.js');
2
2
 
3
3
 
4
- var _chunkTWCCJQYFjs = require('./chunk-TWCCJQYF.js');
4
+ var _chunkXI3IAFGCjs = require('./chunk-XI3IAFGC.js');
5
5
 
6
6
 
7
7
 
8
+ var _chunkJP4YIUPAjs = require('./chunk-JP4YIUPA.js');
8
9
 
9
- var _chunkVSAQXEXDjs = require('./chunk-VSAQXEXD.js');
10
10
 
11
+ var _chunkEGSEQ3GUjs = require('./chunk-EGSEQ3GU.js');
11
12
 
12
- var _chunkXI3IAFGCjs = require('./chunk-XI3IAFGC.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJP4YIUPAjs = require('./chunk-JP4YIUPA.js');
17
- require('./chunk-WPFIBCZT.js');
18
16
 
17
+ var _chunk36QSPP6Ejs = require('./chunk-36QSPP6E.js');
19
18
 
20
- var _chunkMWCW3ZXDjs = require('./chunk-MWCW3ZXD.js');
21
19
 
20
+ var _chunkMGLY7SRHjs = require('./chunk-MGLY7SRH.js');
22
21
 
23
- var _chunkY3HRAWPUjs = require('./chunk-Y3HRAWPU.js');
24
22
 
23
+ var _chunkIZKGYT3Djs = require('./chunk-IZKGYT3D.js');
25
24
 
26
- var _chunkMEOUZRHFjs = require('./chunk-MEOUZRHF.js');
27
25
 
26
+ var _chunkPBTSVWXLjs = require('./chunk-PBTSVWXL.js');
28
27
 
29
- var _chunk2TV7ZJSKjs = require('./chunk-2TV7ZJSK.js');
30
- require('./chunk-GGNOJ77I.js');
31
28
 
29
+ var _chunkTWCCJQYFjs = require('./chunk-TWCCJQYF.js');
32
30
 
33
- var _chunkEGSEQ3GUjs = require('./chunk-EGSEQ3GU.js');
34
31
 
35
32
 
36
33
 
34
+ var _chunkVSAQXEXDjs = require('./chunk-VSAQXEXD.js');
37
35
 
38
36
 
39
- var _chunkRJYSEK26js = require('./chunk-RJYSEK26.js');
40
37
 
41
38
 
42
- var _chunkMGLY7SRHjs = require('./chunk-MGLY7SRH.js');
43
- require('./chunk-F6IJ6ZDH.js');
44
39
 
45
40
 
46
- var _chunkIZKGYT3Djs = require('./chunk-IZKGYT3D.js');
41
+ var _chunk2KEW5JJ7js = require('./chunk-2KEW5JJ7.js');
42
+ require('./chunk-GGNOJ77I.js');
43
+ require('./chunk-WPFIBCZT.js');
47
44
 
48
45
 
46
+ var _chunkMEOUZRHFjs = require('./chunk-MEOUZRHF.js');
49
47
 
50
48
 
49
+ var _chunk2TV7ZJSKjs = require('./chunk-2TV7ZJSK.js');
51
50
 
52
51
 
53
- var _chunk2KEW5JJ7js = require('./chunk-2KEW5JJ7.js');
52
+ var _chunkMWCW3ZXDjs = require('./chunk-MWCW3ZXD.js');
53
+ require('./chunk-F6IJ6ZDH.js');
54
54
 
55
55
 
56
- var _chunkPBTSVWXLjs = require('./chunk-PBTSVWXL.js');
56
+ var _chunkY3HRAWPUjs = require('./chunk-Y3HRAWPU.js');
57
57
  require('./chunk-SHUYVCID.js');
58
58
 
59
59
 
@@ -80,4 +80,4 @@ require('./chunk-SHUYVCID.js');
80
80
 
81
81
 
82
82
 
83
- exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunkRJYSEK26js.addPackageDependencies; exports.addPackageJsonExport = _chunkRJYSEK26js.addPackageJsonExport; exports.addPackageJsonExports = _chunkRJYSEK26js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkRJYSEK26js.addWorkspacePackageJsonFields; exports.analyze = _chunkMEOUZRHFjs.analyze; exports.copyAssets = _chunkEGSEQ3GUjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMGLY7SRHjs.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 = _chunkXI3IAFGCjs.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkMWCW3ZXDjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
83
+ exports.DEFAULT_COMPILED_BANNER = _chunk2KEW5JJ7js.DEFAULT_COMPILED_BANNER; exports.DEFAULT_ENVIRONMENT = _chunk2KEW5JJ7js.DEFAULT_ENVIRONMENT; exports.DEFAULT_ORGANIZATION = _chunk2KEW5JJ7js.DEFAULT_ORGANIZATION; exports.DEFAULT_PLATFORM = _chunk2KEW5JJ7js.DEFAULT_PLATFORM; exports.DEFAULT_TARGET = _chunk2KEW5JJ7js.DEFAULT_TARGET; exports.addPackageDependencies = _chunk36QSPP6Ejs.addPackageDependencies; exports.addPackageJsonExport = _chunk36QSPP6Ejs.addPackageJsonExport; exports.addPackageJsonExports = _chunk36QSPP6Ejs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunk36QSPP6Ejs.addWorkspacePackageJsonFields; exports.analyze = _chunkMEOUZRHFjs.analyze; exports.copyAssets = _chunkEGSEQ3GUjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMGLY7SRHjs.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 = _chunkXI3IAFGCjs.readNxConfig; exports.swc = _chunk2TV7ZJSKjs.swc; exports.tsResolvePlugin = _chunkMWCW3ZXDjs.tsResolvePlugin; exports.typeDefinitions = _chunkY3HRAWPUjs.typeDefinitions;
package/dist/index.mjs CHANGED
@@ -1,12 +1,4 @@
1
1
  import "./chunk-KVP3YMX6.mjs";
2
- import {
3
- getOutExtension
4
- } from "./chunk-IF25LEHS.mjs";
5
- import {
6
- getExternalDependencies,
7
- getExtraDependencies,
8
- getInternalDependencies
9
- } from "./chunk-ZW5JWBA4.mjs";
10
2
  import {
11
3
  readNxConfig
12
4
  } from "./chunk-YZFCFBMW.mjs";
@@ -14,20 +6,6 @@ import {
14
6
  createTaskId,
15
7
  getAllWorkspaceTaskGraphs
16
8
  } from "./chunk-67VZRCF5.mjs";
17
- import "./chunk-UN3B7LBV.mjs";
18
- import {
19
- tsResolvePlugin
20
- } from "./chunk-O32NMIXL.mjs";
21
- import {
22
- typeDefinitions
23
- } from "./chunk-VQUREEMI.mjs";
24
- import {
25
- analyze
26
- } from "./chunk-IXLEVTYJ.mjs";
27
- import {
28
- swc
29
- } from "./chunk-LCPSDCDB.mjs";
30
- import "./chunk-WAXGOBY2.mjs";
31
9
  import {
32
10
  copyAssets
33
11
  } from "./chunk-DB7ZNRK7.mjs";
@@ -36,14 +14,24 @@ import {
36
14
  addPackageJsonExport,
37
15
  addPackageJsonExports,
38
16
  addWorkspacePackageJsonFields
39
- } from "./chunk-WVVOMB45.mjs";
17
+ } from "./chunk-H2S5I64G.mjs";
40
18
  import {
41
19
  getEntryPoints
42
20
  } from "./chunk-FW5U7EWZ.mjs";
43
- import "./chunk-7WOTDB5Q.mjs";
44
21
  import {
45
22
  getEnv
46
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";
47
35
  import {
48
36
  DEFAULT_COMPILED_BANNER,
49
37
  DEFAULT_ENVIRONMENT,
@@ -51,9 +39,21 @@ import {
51
39
  DEFAULT_PLATFORM,
52
40
  DEFAULT_TARGET
53
41
  } from "./chunk-YGULBW26.mjs";
42
+ import "./chunk-WAXGOBY2.mjs";
43
+ import "./chunk-UN3B7LBV.mjs";
54
44
  import {
55
- getFileBanner
56
- } from "./chunk-CNURHK3D.mjs";
45
+ analyze
46
+ } from "./chunk-IXLEVTYJ.mjs";
47
+ import {
48
+ swc
49
+ } from "./chunk-LCPSDCDB.mjs";
50
+ import {
51
+ tsResolvePlugin
52
+ } from "./chunk-O32NMIXL.mjs";
53
+ import "./chunk-7WOTDB5Q.mjs";
54
+ import {
55
+ typeDefinitions
56
+ } from "./chunk-VQUREEMI.mjs";
57
57
  import "./chunk-O6YSETKJ.mjs";
58
58
  export {
59
59
  DEFAULT_COMPILED_BANNER,
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-WPFIBCZT.js');
2
2
 
3
3
 
4
- var _chunkMWCW3ZXDjs = require('../chunk-MWCW3ZXD.js');
4
+ var _chunkMEOUZRHFjs = require('../chunk-MEOUZRHF.js');
5
5
 
6
6
 
7
- var _chunkY3HRAWPUjs = require('../chunk-Y3HRAWPU.js');
7
+ var _chunk2TV7ZJSKjs = require('../chunk-2TV7ZJSK.js');
8
8
 
9
9
 
10
- var _chunkMEOUZRHFjs = require('../chunk-MEOUZRHF.js');
10
+ var _chunkMWCW3ZXDjs = require('../chunk-MWCW3ZXD.js');
11
+ require('../chunk-F6IJ6ZDH.js');
11
12
 
12
13
 
13
- var _chunk2TV7ZJSKjs = require('../chunk-2TV7ZJSK.js');
14
- require('../chunk-F6IJ6ZDH.js');
14
+ var _chunkY3HRAWPUjs = require('../chunk-Y3HRAWPU.js');
15
15
  require('../chunk-SHUYVCID.js');
16
16
 
17
17
 
@@ -1,17 +1,17 @@
1
1
  import "../chunk-UN3B7LBV.mjs";
2
- import {
3
- tsResolvePlugin
4
- } from "../chunk-O32NMIXL.mjs";
5
- import {
6
- typeDefinitions
7
- } from "../chunk-VQUREEMI.mjs";
8
2
  import {
9
3
  analyze
10
4
  } from "../chunk-IXLEVTYJ.mjs";
11
5
  import {
12
6
  swc
13
7
  } from "../chunk-LCPSDCDB.mjs";
8
+ import {
9
+ tsResolvePlugin
10
+ } from "../chunk-O32NMIXL.mjs";
14
11
  import "../chunk-7WOTDB5Q.mjs";
12
+ import {
13
+ typeDefinitions
14
+ } from "../chunk-VQUREEMI.mjs";
15
15
  import "../chunk-O6YSETKJ.mjs";
16
16
  export {
17
17
  analyze,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkRJYSEK26js = require('../chunk-RJYSEK26.js');
6
+ var _chunk36QSPP6Ejs = require('../chunk-36QSPP6E.js');
7
7
  require('../chunk-F6IJ6ZDH.js');
8
8
  require('../chunk-SHUYVCID.js');
9
9
 
@@ -11,4 +11,4 @@ require('../chunk-SHUYVCID.js');
11
11
 
12
12
 
13
13
 
14
- exports.addPackageDependencies = _chunkRJYSEK26js.addPackageDependencies; exports.addPackageJsonExport = _chunkRJYSEK26js.addPackageJsonExport; exports.addPackageJsonExports = _chunkRJYSEK26js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkRJYSEK26js.addWorkspacePackageJsonFields;
14
+ exports.addPackageDependencies = _chunk36QSPP6Ejs.addPackageDependencies; exports.addPackageJsonExport = _chunk36QSPP6Ejs.addPackageJsonExport; exports.addPackageJsonExports = _chunk36QSPP6Ejs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunk36QSPP6Ejs.addWorkspacePackageJsonFields;
@@ -3,7 +3,7 @@ import {
3
3
  addPackageJsonExport,
4
4
  addPackageJsonExports,
5
5
  addWorkspacePackageJsonFields
6
- } from "../chunk-WVVOMB45.mjs";
6
+ } from "../chunk-H2S5I64G.mjs";
7
7
  import "../chunk-7WOTDB5Q.mjs";
8
8
  import "../chunk-O6YSETKJ.mjs";
9
9
  export {
@@ -1,14 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-65HIHTHN.js');
2
2
 
3
3
 
4
- var _chunkTWCCJQYFjs = require('../chunk-TWCCJQYF.js');
5
-
6
-
7
-
8
-
9
- var _chunkVSAQXEXDjs = require('../chunk-VSAQXEXD.js');
10
-
11
-
12
4
  var _chunkXI3IAFGCjs = require('../chunk-XI3IAFGC.js');
13
5
 
14
6
 
@@ -22,18 +14,26 @@ var _chunkEGSEQ3GUjs = require('../chunk-EGSEQ3GU.js');
22
14
 
23
15
 
24
16
 
25
- var _chunkRJYSEK26js = require('../chunk-RJYSEK26.js');
17
+ var _chunk36QSPP6Ejs = require('../chunk-36QSPP6E.js');
26
18
 
27
19
 
28
20
  var _chunkMGLY7SRHjs = require('../chunk-MGLY7SRH.js');
29
- require('../chunk-F6IJ6ZDH.js');
30
21
 
31
22
 
32
23
  var _chunkIZKGYT3Djs = require('../chunk-IZKGYT3D.js');
33
- require('../chunk-2KEW5JJ7.js');
34
24
 
35
25
 
36
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-F6IJ6ZDH.js');
37
37
  require('../chunk-SHUYVCID.js');
38
38
 
39
39
 
@@ -51,4 +51,4 @@ require('../chunk-SHUYVCID.js');
51
51
 
52
52
 
53
53
 
54
- exports.addPackageDependencies = _chunkRJYSEK26js.addPackageDependencies; exports.addPackageJsonExport = _chunkRJYSEK26js.addPackageJsonExport; exports.addPackageJsonExports = _chunkRJYSEK26js.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunkRJYSEK26js.addWorkspacePackageJsonFields; exports.copyAssets = _chunkEGSEQ3GUjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMGLY7SRHjs.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 = _chunkXI3IAFGCjs.readNxConfig;
54
+ exports.addPackageDependencies = _chunk36QSPP6Ejs.addPackageDependencies; exports.addPackageJsonExport = _chunk36QSPP6Ejs.addPackageJsonExport; exports.addPackageJsonExports = _chunk36QSPP6Ejs.addPackageJsonExports; exports.addWorkspacePackageJsonFields = _chunk36QSPP6Ejs.addWorkspacePackageJsonFields; exports.copyAssets = _chunkEGSEQ3GUjs.copyAssets; exports.createTaskId = _chunkJP4YIUPAjs.createTaskId; exports.getAllWorkspaceTaskGraphs = _chunkJP4YIUPAjs.getAllWorkspaceTaskGraphs; exports.getEntryPoints = _chunkMGLY7SRHjs.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 = _chunkXI3IAFGCjs.readNxConfig;
@@ -1,12 +1,4 @@
1
1
  import "../chunk-KVP3YMX6.mjs";
2
- import {
3
- getOutExtension
4
- } from "../chunk-IF25LEHS.mjs";
5
- import {
6
- getExternalDependencies,
7
- getExtraDependencies,
8
- getInternalDependencies
9
- } from "../chunk-ZW5JWBA4.mjs";
10
2
  import {
11
3
  readNxConfig
12
4
  } from "../chunk-YZFCFBMW.mjs";
@@ -22,18 +14,26 @@ import {
22
14
  addPackageJsonExport,
23
15
  addPackageJsonExports,
24
16
  addWorkspacePackageJsonFields
25
- } from "../chunk-WVVOMB45.mjs";
17
+ } from "../chunk-H2S5I64G.mjs";
26
18
  import {
27
19
  getEntryPoints
28
20
  } from "../chunk-FW5U7EWZ.mjs";
29
- import "../chunk-7WOTDB5Q.mjs";
30
21
  import {
31
22
  getEnv
32
23
  } from "../chunk-ZLC5KVQE.mjs";
33
- import "../chunk-YGULBW26.mjs";
34
24
  import {
35
25
  getFileBanner
36
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-7WOTDB5Q.mjs";
37
37
  import "../chunk-O6YSETKJ.mjs";
38
38
  export {
39
39
  addPackageDependencies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/build-tools",
3
- "version": "0.138.6",
3
+ "version": "0.138.7",
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",