@storm-software/esbuild 0.33.0 → 0.33.1

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.
Files changed (39) hide show
  1. package/dist/build.cjs +3 -3
  2. package/dist/build.d.cts +1 -1
  3. package/dist/build.d.ts +1 -1
  4. package/dist/build.js +2 -2
  5. package/dist/{chunk-EJPPABAC.cjs → chunk-CH6OII7B.cjs} +8 -8
  6. package/dist/{chunk-GSA2CQQ4.js → chunk-HTVMQVFT.js} +11 -2
  7. package/dist/{chunk-4IBTD3PS.js → chunk-L6SPT5J7.js} +1 -1
  8. package/dist/{chunk-LRSBVM7V.cjs → chunk-NWVUAY67.cjs} +10 -1
  9. package/dist/clean.d.cts +1 -1
  10. package/dist/clean.d.ts +1 -1
  11. package/dist/config.cjs +2 -2
  12. package/dist/config.d.cts +1 -1
  13. package/dist/config.d.ts +1 -1
  14. package/dist/config.js +1 -1
  15. package/dist/index.cjs +3 -3
  16. package/dist/index.d.cts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +2 -2
  19. package/dist/plugins/esm-split-code-to-cjs.d.cts +1 -1
  20. package/dist/plugins/esm-split-code-to-cjs.d.ts +1 -1
  21. package/dist/plugins/fix-imports.d.cts +1 -1
  22. package/dist/plugins/fix-imports.d.ts +1 -1
  23. package/dist/plugins/native-node-module.d.cts +1 -1
  24. package/dist/plugins/native-node-module.d.ts +1 -1
  25. package/dist/plugins/node-protocol.d.cts +1 -1
  26. package/dist/plugins/node-protocol.d.ts +1 -1
  27. package/dist/plugins/on-error.d.cts +1 -1
  28. package/dist/plugins/on-error.d.ts +1 -1
  29. package/dist/plugins/resolve-paths.d.cts +1 -1
  30. package/dist/plugins/resolve-paths.d.ts +1 -1
  31. package/dist/plugins/tsc.d.cts +1 -1
  32. package/dist/plugins/tsc.d.ts +1 -1
  33. package/dist/tsc.d.cts +1 -1
  34. package/dist/tsc.d.ts +1 -1
  35. package/dist/{types-B4jbZA4j.d.cts → types-DwxFThZu.d.cts} +14 -14
  36. package/dist/{types-B4jbZA4j.d.ts → types-DwxFThZu.d.ts} +14 -14
  37. package/dist/types.d.cts +1 -1
  38. package/dist/types.d.ts +1 -1
  39. package/package.json +1 -1
package/dist/build.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEJPPABACcjs = require('./chunk-EJPPABAC.cjs');
4
+ var _chunkCH6OII7Bcjs = require('./chunk-CH6OII7B.cjs');
5
5
  require('./chunk-Y4XWI6JJ.cjs');
6
- require('./chunk-LRSBVM7V.cjs');
6
+ require('./chunk-NWVUAY67.cjs');
7
7
  require('./chunk-EZGTDCYM.cjs');
8
8
  require('./chunk-S6M44SSZ.cjs');
9
9
  require('./chunk-WRBUO7H6.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkEJPPABACcjs.build; exports.watch = _chunkEJPPABACcjs.watch;
21
+ exports.build = _chunkCH6OII7Bcjs.build; exports.watch = _chunkCH6OII7Bcjs.watch;
package/dist/build.d.cts CHANGED
@@ -3,7 +3,7 @@ import { BuildContext } from 'esbuild';
3
3
  import { ESBuildOptions } from './types.cjs';
4
4
  import '@nx/devkit';
5
5
  import '@storm-software/build-tools';
6
- import './types-B4jbZA4j.cjs';
6
+ import './types-DwxFThZu.cjs';
7
7
  import 'zod';
8
8
  import 'tsup';
9
9
 
package/dist/build.d.ts CHANGED
@@ -3,7 +3,7 @@ import { BuildContext } from 'esbuild';
3
3
  import { ESBuildOptions } from './types.js';
4
4
  import '@nx/devkit';
5
5
  import '@storm-software/build-tools';
6
- import './types-B4jbZA4j.js';
6
+ import './types-DwxFThZu.js';
7
7
  import 'zod';
8
8
  import 'tsup';
9
9
 
package/dist/build.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  build,
3
3
  watch
4
- } from "./chunk-4IBTD3PS.js";
4
+ } from "./chunk-L6SPT5J7.js";
5
5
  import "./chunk-35YNFZCF.js";
6
- import "./chunk-GSA2CQQ4.js";
6
+ import "./chunk-HTVMQVFT.js";
7
7
  import "./chunk-GWG4HOQ6.js";
8
8
  import "./chunk-T5272PC2.js";
9
9
  import "./chunk-LYDEMC26.js";
@@ -9,7 +9,7 @@ var _chunkY4XWI6JJcjs = require('./chunk-Y4XWI6JJ.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkLRSBVM7Vcjs = require('./chunk-LRSBVM7V.cjs');
12
+ var _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
13
13
 
14
14
 
15
15
  var _chunkMWGFCZF4cjs = require('./chunk-MWGFCZF4.cjs');
@@ -121,7 +121,7 @@ async function resolveContext(userOptions) {
121
121
  if (!workspaceRoot) {
122
122
  throw new Error("Cannot find Nx workspace root");
123
123
  }
124
- const workspaceConfig = await _chunkLRSBVM7Vcjs.getWorkspaceConfig.call(void 0, true, {
124
+ const workspaceConfig = await _chunkNWVUAY67cjs.getWorkspaceConfig.call(void 0, true, {
125
125
  workspaceRoot: workspaceRoot.dir
126
126
  });
127
127
  _chunkY3LXNK5Ccjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
@@ -140,14 +140,14 @@ async function resolveContext(userOptions) {
140
140
  if (!_optionalChain([projectConfigurations, 'optionalAccess', _5 => _5.projects, 'optionalAccess', _6 => _6[projectName]])) {
141
141
  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.");
142
142
  }
143
- const options = _defu2.default.call(void 0, userOptions, _chunkLRSBVM7Vcjs.DEFAULT_BUILD_OPTIONS);
143
+ const options = _defu2.default.call(void 0, userOptions, _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS);
144
144
  options.name ??= `${projectName}-${options.format}`;
145
- options.target ??= _chunkLRSBVM7Vcjs.DEFAULT_TARGET;
145
+ options.target ??= _chunkNWVUAY67cjs.DEFAULT_TARGET;
146
146
  const packageJsonPath = _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
147
147
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
148
148
  throw new Error("Cannot find package.json configuration");
149
149
  }
150
- const env = _chunkLRSBVM7Vcjs.getEnv.call(void 0, "esbuild", options);
150
+ const env = _chunkNWVUAY67cjs.getEnv.call(void 0, "esbuild", options);
151
151
  const resolvedOptions = {
152
152
  ...options,
153
153
  tsconfig: _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
@@ -200,8 +200,8 @@ async function generatePackageJson(context) {
200
200
  if (!packageJson) {
201
201
  throw new Error("Cannot find package.json configuration file");
202
202
  }
203
- packageJson = await _chunkLRSBVM7Vcjs.addPackageDependencies.call(void 0, context.workspaceConfig.workspaceRoot, context.options.projectRoot, context.projectName, packageJson);
204
- packageJson = await _chunkLRSBVM7Vcjs.addWorkspacePackageJsonFields.call(void 0, context.workspaceConfig, context.options.projectRoot, context.sourceRoot, context.projectName, false, packageJson);
203
+ packageJson = await _chunkNWVUAY67cjs.addPackageDependencies.call(void 0, context.workspaceConfig.workspaceRoot, context.options.projectRoot, context.projectName, packageJson);
204
+ packageJson = await _chunkNWVUAY67cjs.addWorkspacePackageJsonFields.call(void 0, context.workspaceConfig, context.options.projectRoot, context.sourceRoot, context.projectName, false, packageJson);
205
205
  if (context.options.entry) {
206
206
  packageJson.exports ??= {};
207
207
  packageJson.exports["./package.json"] ??= "./package.json";
@@ -248,7 +248,7 @@ async function copyBuildAssets(context) {
248
248
  if (_optionalChain([context, 'access', _7 => _7.result, 'optionalAccess', _8 => _8.errors, 'access', _9 => _9.length]) === 0) {
249
249
  _chunkY3LXNK5Ccjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
250
250
  const stopwatch = _chunkY3LXNK5Ccjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
251
- await _chunkLRSBVM7Vcjs.copyAssets.call(void 0, context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
251
+ await _chunkNWVUAY67cjs.copyAssets.call(void 0, context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
252
252
  stopwatch();
253
253
  }
254
254
  return context;
@@ -127,9 +127,18 @@ import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildabl
127
127
  import { Glob } from "glob";
128
128
  import { existsSync, readFileSync } from "node:fs";
129
129
  import { readFile as readFile2 } from "node:fs/promises";
130
- import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
130
+ import { createProjectGraphAsync, readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
131
131
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
132
- const projectGraph = readCachedProjectGraph();
132
+ let projectGraph;
133
+ try {
134
+ projectGraph = readCachedProjectGraph();
135
+ } catch {
136
+ await createProjectGraphAsync();
137
+ projectGraph = readCachedProjectGraph();
138
+ }
139
+ if (!projectGraph) {
140
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
141
+ }
133
142
  const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
134
143
  const localPackages = [];
135
144
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot)) {
@@ -9,7 +9,7 @@ import {
9
9
  copyAssets,
10
10
  getEnv,
11
11
  getWorkspaceConfig
12
- } from "./chunk-GSA2CQQ4.js";
12
+ } from "./chunk-HTVMQVFT.js";
13
13
  import {
14
14
  depsCheckPlugin
15
15
  } from "./chunk-IX6DNVUR.js";
@@ -129,7 +129,16 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
129
129
 
130
130
  var _projectgraph = require('nx/src/project-graph/project-graph');
131
131
  var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
132
- const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
132
+ let projectGraph;
133
+ try {
134
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
135
+ } catch (e) {
136
+ await _projectgraph.createProjectGraphAsync.call(void 0, );
137
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
138
+ }
139
+ if (!projectGraph) {
140
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
141
+ }
133
142
  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);
134
143
  const localPackages = [];
135
144
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _ => _.node, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.root]) !== projectRoot && _optionalChain([dep, 'access', _4 => _4.node, 'access', _5 => _5.data, 'optionalAccess', _6 => _6.root]) !== workspaceRoot)) {
package/dist/clean.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.cjs';
1
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.cjs';
2
2
  import 'zod';
3
3
 
4
4
  /**
package/dist/clean.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.js';
1
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.js';
2
2
  import 'zod';
3
3
 
4
4
  /**
package/dist/config.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkLRSBVM7Vcjs = require('./chunk-LRSBVM7V.cjs');
4
+ var _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
5
5
  require('./chunk-EZGTDCYM.cjs');
6
6
  require('./chunk-S6M44SSZ.cjs');
7
7
  require('./chunk-WRBUO7H6.cjs');
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.DEFAULT_BUILD_OPTIONS = _chunkLRSBVM7Vcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkLRSBVM7Vcjs.getDefaultBuildPlugins;
18
+ exports.DEFAULT_BUILD_OPTIONS = _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkNWVUAY67cjs.getDefaultBuildPlugins;
package/dist/config.d.cts CHANGED
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions, ESBuildContext } from './types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import './types-B4jbZA4j.cjs';
5
+ import './types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
package/dist/config.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions, ESBuildContext } from './types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import './types-B4jbZA4j.js';
5
+ import './types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS,
3
3
  getDefaultBuildPlugins
4
- } from "./chunk-GSA2CQQ4.js";
4
+ } from "./chunk-HTVMQVFT.js";
5
5
  import "./chunk-GWG4HOQ6.js";
6
6
  import "./chunk-T5272PC2.js";
7
7
  import "./chunk-LYDEMC26.js";
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkEJPPABACcjs = require('./chunk-EJPPABAC.cjs');
10
+ var _chunkCH6OII7Bcjs = require('./chunk-CH6OII7B.cjs');
11
11
 
12
12
 
13
13
 
@@ -15,7 +15,7 @@ var _chunkY4XWI6JJcjs = require('./chunk-Y4XWI6JJ.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkLRSBVM7Vcjs = require('./chunk-LRSBVM7V.cjs');
18
+ var _chunkNWVUAY67cjs = require('./chunk-NWVUAY67.cjs');
19
19
  require('./chunk-EZGTDCYM.cjs');
20
20
  require('./chunk-S6M44SSZ.cjs');
21
21
  require('./chunk-WRBUO7H6.cjs');
@@ -53,4 +53,4 @@ require('./chunk-BGYQAVKQ.cjs');
53
53
 
54
54
 
55
55
 
56
- exports.DEFAULT_BUILD_OPTIONS = _chunkLRSBVM7Vcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkEJPPABACcjs.Filter; exports.Mapper = _chunkEJPPABACcjs.Mapper; exports.build = _chunkEJPPABACcjs.build; exports.clean = _chunkY4XWI6JJcjs.clean; exports.cleanDirectories = _chunkY4XWI6JJcjs.cleanDirectories; exports.emitDts = _chunkETTFFUNGcjs.emitDts; exports.emitDtsFiles = _chunkETTFFUNGcjs.emitDtsFiles; exports.ensureTempDeclarationDir = _chunkETTFFUNGcjs.ensureTempDeclarationDir; exports.getDefaultBuildPlugins = _chunkLRSBVM7Vcjs.getDefaultBuildPlugins; exports.handle = _chunkEJPPABACcjs.handle; exports.pipe = _chunkEJPPABACcjs.pipe; exports.skip = _chunkEJPPABACcjs.skip; exports.slash = _chunkETTFFUNGcjs.slash; exports.toAbsolutePath = _chunkETTFFUNGcjs.toAbsolutePath; exports.transduce = _chunkEJPPABACcjs.transduce; exports.watch = _chunkEJPPABACcjs.watch;
56
+ exports.DEFAULT_BUILD_OPTIONS = _chunkNWVUAY67cjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkCH6OII7Bcjs.Filter; exports.Mapper = _chunkCH6OII7Bcjs.Mapper; exports.build = _chunkCH6OII7Bcjs.build; exports.clean = _chunkY4XWI6JJcjs.clean; exports.cleanDirectories = _chunkY4XWI6JJcjs.cleanDirectories; exports.emitDts = _chunkETTFFUNGcjs.emitDts; exports.emitDtsFiles = _chunkETTFFUNGcjs.emitDtsFiles; exports.ensureTempDeclarationDir = _chunkETTFFUNGcjs.ensureTempDeclarationDir; exports.getDefaultBuildPlugins = _chunkNWVUAY67cjs.getDefaultBuildPlugins; exports.handle = _chunkCH6OII7Bcjs.handle; exports.pipe = _chunkCH6OII7Bcjs.pipe; exports.skip = _chunkCH6OII7Bcjs.skip; exports.slash = _chunkETTFFUNGcjs.slash; exports.toAbsolutePath = _chunkETTFFUNGcjs.toAbsolutePath; exports.transduce = _chunkCH6OII7Bcjs.transduce; exports.watch = _chunkCH6OII7Bcjs.watch;
package/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins } from './config.cjs';
4
4
  export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath } from './tsc.cjs';
5
5
  export { ESBuildCLIOptions, ESBuildContext, ESBuildOptions, ESBuildResult, ExportDeclaration, MaybePromise } from './types.cjs';
6
6
  import 'esbuild';
7
- import './types-B4jbZA4j.cjs';
7
+ import './types-DwxFThZu.cjs';
8
8
  import 'zod';
9
9
  import 'typescript';
10
10
  import '@nx/devkit';
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins } from './config.js';
4
4
  export { emitDts, emitDtsFiles, ensureTempDeclarationDir, slash, toAbsolutePath } from './tsc.js';
5
5
  export { ESBuildCLIOptions, ESBuildContext, ESBuildOptions, ESBuildResult, ExportDeclaration, MaybePromise } from './types.js';
6
6
  import 'esbuild';
7
- import './types-B4jbZA4j.js';
7
+ import './types-DwxFThZu.js';
8
8
  import 'zod';
9
9
  import 'typescript';
10
10
  import '@nx/devkit';
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  skip,
8
8
  transduce,
9
9
  watch
10
- } from "./chunk-4IBTD3PS.js";
10
+ } from "./chunk-L6SPT5J7.js";
11
11
  import {
12
12
  clean,
13
13
  cleanDirectories
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  DEFAULT_BUILD_OPTIONS,
17
17
  getDefaultBuildPlugins
18
- } from "./chunk-GSA2CQQ4.js";
18
+ } from "./chunk-HTVMQVFT.js";
19
19
  import "./chunk-GWG4HOQ6.js";
20
20
  import "./chunk-T5272PC2.js";
21
21
  import "./chunk-LYDEMC26.js";
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildOptions } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildContext } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildContext } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildContext } from '../types.cjs';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.cjs';
5
+ import '../types-DwxFThZu.cjs';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
@@ -2,7 +2,7 @@ import * as esbuild from 'esbuild';
2
2
  import { ESBuildContext } from '../types.js';
3
3
  import '@nx/devkit';
4
4
  import '@storm-software/build-tools';
5
- import '../types-B4jbZA4j.js';
5
+ import '../types-DwxFThZu.js';
6
6
  import 'zod';
7
7
  import 'tsup';
8
8
 
package/dist/tsc.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.cjs';
1
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.cjs';
2
2
  import { TsconfigRaw } from 'esbuild';
3
3
  import ts from 'typescript';
4
4
  import { ExportDeclaration } from './types.cjs';
package/dist/tsc.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.js';
1
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.js';
2
2
  import { TsconfigRaw } from 'esbuild';
3
3
  import ts from 'typescript';
4
4
  import { ExportDeclaration } from './types.js';
@@ -33,13 +33,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
33
33
  header: z.ZodOptional<z.ZodString>;
34
34
  footer: z.ZodDefault<z.ZodString>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- banner: string;
37
36
  footer: string;
37
+ banner: string;
38
38
  header?: string | undefined;
39
39
  }, {
40
+ footer?: string | undefined;
40
41
  banner?: string | undefined;
41
42
  header?: string | undefined;
42
- footer?: string | undefined;
43
43
  }>;
44
44
  account: z.ZodObject<{
45
45
  twitter: z.ZodDefault<z.ZodString>;
@@ -86,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
86
86
  build: z.ZodDefault<z.ZodString>;
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  build: string;
89
+ config?: string | undefined;
89
90
  cache?: string | undefined;
90
91
  data?: string | undefined;
91
- config?: string | undefined;
92
92
  temp?: string | undefined;
93
93
  log?: string | undefined;
94
94
  }, {
95
+ config?: string | undefined;
95
96
  cache?: string | undefined;
96
97
  data?: string | undefined;
97
- config?: string | undefined;
98
98
  temp?: string | undefined;
99
99
  log?: string | undefined;
100
100
  build?: string | undefined;
@@ -841,6 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
841
841
  }>]>>]>]>;
842
842
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
843
843
  }, "strip", z.ZodTypeAny, {
844
+ mode: "development" | "staging" | "production";
844
845
  organization: string;
845
846
  license: string;
846
847
  homepage: string;
@@ -854,8 +855,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
854
855
  email: string;
855
856
  };
856
857
  release: {
857
- banner: string;
858
858
  footer: string;
859
+ banner: string;
859
860
  header?: string | undefined;
860
861
  };
861
862
  account: {
@@ -870,22 +871,21 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
870
871
  codesFile: string;
871
872
  url?: string | undefined;
872
873
  };
873
- mode: "development" | "staging" | "production";
874
874
  workspaceRoot: string;
875
875
  externalPackagePatterns: string[];
876
876
  skipCache: boolean;
877
877
  directories: {
878
878
  build: string;
879
+ config?: string | undefined;
879
880
  cache?: string | undefined;
880
881
  data?: string | undefined;
881
- config?: string | undefined;
882
882
  temp?: string | undefined;
883
883
  log?: string | undefined;
884
884
  };
885
885
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
886
886
  timezone: string;
887
887
  locale: string;
888
- logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
888
+ logLevel: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
889
889
  registry: {
890
890
  github?: string | undefined;
891
891
  npm?: string | undefined;
@@ -1042,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1042
1042
  };
1043
1043
  }>;
1044
1044
  extensions: Record<string, any>;
1045
+ name?: string | undefined;
1045
1046
  $schema?: string | null | undefined;
1046
1047
  extends?: string | string[] | undefined;
1047
- name?: string | undefined;
1048
1048
  namespace?: string | undefined;
1049
1049
  repository?: string | undefined;
1050
1050
  preid?: string | undefined;
@@ -1055,9 +1055,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1055
1055
  email?: string | undefined;
1056
1056
  };
1057
1057
  release: {
1058
+ footer?: string | undefined;
1058
1059
  banner?: string | undefined;
1059
1060
  header?: string | undefined;
1060
- footer?: string | undefined;
1061
1061
  };
1062
1062
  account: {
1063
1063
  twitter?: string | undefined;
@@ -1073,9 +1073,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1073
1073
  };
1074
1074
  workspaceRoot: string;
1075
1075
  directories: {
1076
+ config?: string | undefined;
1076
1077
  cache?: string | undefined;
1077
1078
  data?: string | undefined;
1078
- config?: string | undefined;
1079
1079
  temp?: string | undefined;
1080
1080
  log?: string | undefined;
1081
1081
  build?: string | undefined;
@@ -1227,9 +1227,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1227
1227
  background?: string | undefined;
1228
1228
  };
1229
1229
  }>;
1230
+ name?: string | undefined;
1231
+ mode?: "development" | "staging" | "production" | undefined;
1230
1232
  $schema?: string | null | undefined;
1231
1233
  extends?: string | string[] | undefined;
1232
- name?: string | undefined;
1233
1234
  namespace?: string | undefined;
1234
1235
  organization?: string | undefined;
1235
1236
  repository?: string | undefined;
@@ -1241,13 +1242,12 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1241
1242
  branch?: string | undefined;
1242
1243
  preid?: string | undefined;
1243
1244
  owner?: string | undefined;
1244
- mode?: "development" | "staging" | "production" | undefined;
1245
1245
  externalPackagePatterns?: string[] | undefined;
1246
1246
  skipCache?: boolean | undefined;
1247
1247
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1248
1248
  timezone?: string | undefined;
1249
1249
  locale?: string | undefined;
1250
- logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1250
+ logLevel?: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1251
1251
  skipConfigLogging?: boolean | undefined;
1252
1252
  registry?: {
1253
1253
  github?: string | undefined;
@@ -33,13 +33,13 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
33
33
  header: z.ZodOptional<z.ZodString>;
34
34
  footer: z.ZodDefault<z.ZodString>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- banner: string;
37
36
  footer: string;
37
+ banner: string;
38
38
  header?: string | undefined;
39
39
  }, {
40
+ footer?: string | undefined;
40
41
  banner?: string | undefined;
41
42
  header?: string | undefined;
42
- footer?: string | undefined;
43
43
  }>;
44
44
  account: z.ZodObject<{
45
45
  twitter: z.ZodDefault<z.ZodString>;
@@ -86,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
86
86
  build: z.ZodDefault<z.ZodString>;
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  build: string;
89
+ config?: string | undefined;
89
90
  cache?: string | undefined;
90
91
  data?: string | undefined;
91
- config?: string | undefined;
92
92
  temp?: string | undefined;
93
93
  log?: string | undefined;
94
94
  }, {
95
+ config?: string | undefined;
95
96
  cache?: string | undefined;
96
97
  data?: string | undefined;
97
- config?: string | undefined;
98
98
  temp?: string | undefined;
99
99
  log?: string | undefined;
100
100
  build?: string | undefined;
@@ -841,6 +841,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
841
841
  }>]>>]>]>;
842
842
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
843
843
  }, "strip", z.ZodTypeAny, {
844
+ mode: "development" | "staging" | "production";
844
845
  organization: string;
845
846
  license: string;
846
847
  homepage: string;
@@ -854,8 +855,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
854
855
  email: string;
855
856
  };
856
857
  release: {
857
- banner: string;
858
858
  footer: string;
859
+ banner: string;
859
860
  header?: string | undefined;
860
861
  };
861
862
  account: {
@@ -870,22 +871,21 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
870
871
  codesFile: string;
871
872
  url?: string | undefined;
872
873
  };
873
- mode: "development" | "staging" | "production";
874
874
  workspaceRoot: string;
875
875
  externalPackagePatterns: string[];
876
876
  skipCache: boolean;
877
877
  directories: {
878
878
  build: string;
879
+ config?: string | undefined;
879
880
  cache?: string | undefined;
880
881
  data?: string | undefined;
881
- config?: string | undefined;
882
882
  temp?: string | undefined;
883
883
  log?: string | undefined;
884
884
  };
885
885
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
886
886
  timezone: string;
887
887
  locale: string;
888
- logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
888
+ logLevel: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
889
889
  registry: {
890
890
  github?: string | undefined;
891
891
  npm?: string | undefined;
@@ -1042,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1042
1042
  };
1043
1043
  }>;
1044
1044
  extensions: Record<string, any>;
1045
+ name?: string | undefined;
1045
1046
  $schema?: string | null | undefined;
1046
1047
  extends?: string | string[] | undefined;
1047
- name?: string | undefined;
1048
1048
  namespace?: string | undefined;
1049
1049
  repository?: string | undefined;
1050
1050
  preid?: string | undefined;
@@ -1055,9 +1055,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1055
1055
  email?: string | undefined;
1056
1056
  };
1057
1057
  release: {
1058
+ footer?: string | undefined;
1058
1059
  banner?: string | undefined;
1059
1060
  header?: string | undefined;
1060
- footer?: string | undefined;
1061
1061
  };
1062
1062
  account: {
1063
1063
  twitter?: string | undefined;
@@ -1073,9 +1073,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1073
1073
  };
1074
1074
  workspaceRoot: string;
1075
1075
  directories: {
1076
+ config?: string | undefined;
1076
1077
  cache?: string | undefined;
1077
1078
  data?: string | undefined;
1078
- config?: string | undefined;
1079
1079
  temp?: string | undefined;
1080
1080
  log?: string | undefined;
1081
1081
  build?: string | undefined;
@@ -1227,9 +1227,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1227
1227
  background?: string | undefined;
1228
1228
  };
1229
1229
  }>;
1230
+ name?: string | undefined;
1231
+ mode?: "development" | "staging" | "production" | undefined;
1230
1232
  $schema?: string | null | undefined;
1231
1233
  extends?: string | string[] | undefined;
1232
- name?: string | undefined;
1233
1234
  namespace?: string | undefined;
1234
1235
  organization?: string | undefined;
1235
1236
  repository?: string | undefined;
@@ -1241,13 +1242,12 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1241
1242
  branch?: string | undefined;
1242
1243
  preid?: string | undefined;
1243
1244
  owner?: string | undefined;
1244
- mode?: "development" | "staging" | "production" | undefined;
1245
1245
  externalPackagePatterns?: string[] | undefined;
1246
1246
  skipCache?: boolean | undefined;
1247
1247
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1248
1248
  timezone?: string | undefined;
1249
1249
  locale?: string | undefined;
1250
- logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1250
+ logLevel?: "silent" | "error" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
1251
1251
  skipConfigLogging?: boolean | undefined;
1252
1252
  registry?: {
1253
1253
  github?: string | undefined;
package/dist/types.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ProjectsConfigurations, ProjectGraph } from '@nx/devkit';
2
2
  import { TypeScriptBuildOptions, AdditionalCLIOptions } from '@storm-software/build-tools';
3
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.cjs';
3
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.cjs';
4
4
  import { TsconfigRaw, BuildResult } from 'esbuild';
5
5
  import { Options } from 'tsup';
6
6
  import 'zod';
package/dist/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ProjectsConfigurations, ProjectGraph } from '@nx/devkit';
2
2
  import { TypeScriptBuildOptions, AdditionalCLIOptions } from '@storm-software/build-tools';
3
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.js';
3
+ import { S as StormWorkspaceConfig } from './types-DwxFThZu.js';
4
4
  import { TsconfigRaw, BuildResult } from 'esbuild';
5
5
  import { Options } from 'tsup';
6
6
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/esbuild",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "type": "module",
5
5
  "description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {