@storm-software/esbuild 0.14.2 → 0.15.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 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.14.1-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.14.3-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 -->
package/dist/build.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkWYMD6YG2cjs = require('./chunk-WYMD6YG2.cjs');
3
+ var _chunkVRIMJ7BTcjs = require('./chunk-VRIMJ7BT.cjs');
4
4
  require('./chunk-TP5EOMRD.cjs');
5
- require('./chunk-5I2MGPRN.cjs');
5
+ require('./chunk-MPTQJ2NM.cjs');
6
6
  require('./chunk-S6M44SSZ.cjs');
7
7
  require('./chunk-WRBUO7H6.cjs');
8
8
  require('./chunk-4JLYXTKD.cjs');
@@ -16,4 +16,4 @@ require('./chunk-EZGTDCYM.cjs');
16
16
  require('./chunk-BGYQAVKQ.cjs');
17
17
 
18
18
 
19
- exports.build = _chunkWYMD6YG2cjs.build;
19
+ exports.build = _chunkVRIMJ7BTcjs.build;
package/dist/build.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-MAMLS55E.js";
3
+ } from "./chunk-HYM243U5.js";
4
4
  import "./chunk-NVWDQVN6.js";
5
- import "./chunk-VLP3P6HF.js";
5
+ import "./chunk-CSIA25K2.js";
6
6
  import "./chunk-T5272PC2.js";
7
7
  import "./chunk-LYDEMC26.js";
8
8
  import "./chunk-KE5DL2BG.js";
@@ -815,9 +815,9 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
815
815
  var getEnv = /* @__PURE__ */ __name((builder, options) => {
816
816
  return {
817
817
  STORM_BUILD: builder,
818
- STORM_ORGANIZATION: options.organization || DEFAULT_ORGANIZATION,
818
+ STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
819
819
  STORM_NAME: options.name,
820
- STORM_ENV: options.environment || DEFAULT_ENVIRONMENT,
820
+ STORM_ENV: options.envName || DEFAULT_ENVIRONMENT,
821
821
  STORM_PLATFORM: options.platform,
822
822
  STORM_FORMAT: JSON.stringify(options.format),
823
823
  STORM_TARGET: JSON.stringify(options.target),
@@ -870,7 +870,7 @@ var DEFAULT_BUILD_OPTIONS = {
870
870
  external: [],
871
871
  logLevel: "error",
872
872
  tsconfig: "tsconfig.json",
873
- environment: "production",
873
+ envName: "production",
874
874
  keepNames: true,
875
875
  metafile: true,
876
876
  injectShims: true,
@@ -14,7 +14,7 @@ import {
14
14
  getEnv,
15
15
  getOutputExtensionMap,
16
16
  loadStormConfig
17
- } from "./chunk-VLP3P6HF.js";
17
+ } from "./chunk-CSIA25K2.js";
18
18
  import {
19
19
  depsCheckPlugin
20
20
  } from "./chunk-7KR3YBS6.js";
@@ -815,9 +815,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
815
815
  var getEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (builder, options) => {
816
816
  return {
817
817
  STORM_BUILD: builder,
818
- STORM_ORGANIZATION: options.organization || DEFAULT_ORGANIZATION,
818
+ STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
819
819
  STORM_NAME: options.name,
820
- STORM_ENV: options.environment || DEFAULT_ENVIRONMENT,
820
+ STORM_ENV: options.envName || DEFAULT_ENVIRONMENT,
821
821
  STORM_PLATFORM: options.platform,
822
822
  STORM_FORMAT: JSON.stringify(options.format),
823
823
  STORM_TARGET: JSON.stringify(options.target),
@@ -870,7 +870,7 @@ var DEFAULT_BUILD_OPTIONS = {
870
870
  external: [],
871
871
  logLevel: "error",
872
872
  tsconfig: "tsconfig.json",
873
- environment: "production",
873
+ envName: "production",
874
874
  keepNames: true,
875
875
  metafile: true,
876
876
  injectShims: true,
@@ -14,7 +14,7 @@ var _chunkTP5EOMRDcjs = require('./chunk-TP5EOMRD.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunk5I2MGPRNcjs = require('./chunk-5I2MGPRN.cjs');
17
+ var _chunkMPTQJ2NMcjs = require('./chunk-MPTQJ2NM.cjs');
18
18
 
19
19
 
20
20
  var _chunkVZBOWHCMcjs = require('./chunk-VZBOWHCM.cjs');
@@ -277,7 +277,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
277
277
  if (!workspaceRoot) {
278
278
  throw new Error("Cannot find Nx workspace root");
279
279
  }
280
- const config = await _chunk5I2MGPRNcjs.loadStormConfig.call(void 0, workspaceRoot.dir);
280
+ const config = await _chunkMPTQJ2NMcjs.loadStormConfig.call(void 0, workspaceRoot.dir);
281
281
  _chunkVBINBV4Zcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
282
282
  const stopwatch = _chunkVBINBV4Zcjs.getStopwatch.call(void 0, "Build options resolution");
283
283
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
@@ -293,16 +293,16 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
293
293
  if (!_optionalChain([projectConfigurations, 'optionalAccess', _14 => _14.projects, 'optionalAccess', _15 => _15[projectName]])) {
294
294
  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.");
295
295
  }
296
- const options = _defu2.default.call(void 0, userOptions, _chunk5I2MGPRNcjs.DEFAULT_BUILD_OPTIONS);
296
+ const options = _defu2.default.call(void 0, userOptions, _chunkMPTQJ2NMcjs.DEFAULT_BUILD_OPTIONS);
297
297
  options.name ??= `${projectName}-${options.format}`;
298
- options.target ??= _chunk5I2MGPRNcjs.DEFAULT_TARGET;
298
+ options.target ??= _chunkMPTQJ2NMcjs.DEFAULT_TARGET;
299
299
  const packageJsonPath = _chunkLVWQSCJMcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
300
300
  if (!await _node.hfs.isFile(packageJsonPath)) {
301
301
  throw new Error("Cannot find package.json configuration");
302
302
  }
303
303
  const packageJson = await _node.hfs.json(packageJsonPath);
304
- const outExtension = _chunk5I2MGPRNcjs.getOutputExtensionMap.call(void 0, options, packageJson.type);
305
- const env = _chunk5I2MGPRNcjs.getEnv.call(void 0, "esbuild", options);
304
+ const outExtension = _chunkMPTQJ2NMcjs.getOutputExtensionMap.call(void 0, options, packageJson.type);
305
+ const env = _chunkMPTQJ2NMcjs.getEnv.call(void 0, "esbuild", options);
306
306
  const result = {
307
307
  ...options,
308
308
  config,
@@ -322,7 +322,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
322
322
  ...userOptions,
323
323
  tsconfig: _chunkLVWQSCJMcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
324
324
  format: options.format || "cjs",
325
- entryPoints: await _chunk5I2MGPRNcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
325
+ entryPoints: await _chunkMPTQJ2NMcjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
326
326
  "./src/index.ts"
327
327
  ], userOptions.emitOnAll),
328
328
  outdir: userOptions.outputPath || _chunkLVWQSCJMcjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -347,8 +347,8 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
347
347
  outExtension,
348
348
  footer: userOptions.footer,
349
349
  banner: {
350
- js: options.banner || _chunk5I2MGPRNcjs.DEFAULT_COMPILED_BANNER,
351
- css: options.banner || _chunk5I2MGPRNcjs.DEFAULT_COMPILED_BANNER
350
+ js: options.banner || _chunkMPTQJ2NMcjs.DEFAULT_COMPILED_BANNER,
351
+ css: options.banner || _chunkMPTQJ2NMcjs.DEFAULT_COMPILED_BANNER
352
352
  },
353
353
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
354
354
  treeShaking: options.format === "esm",
@@ -374,7 +374,7 @@ var resolveOptions = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
374
374
  ..._nullishCoalesce(options.inject, () => ( []))
375
375
  ].filter(Boolean)
376
376
  };
377
- result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunk5I2MGPRNcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
377
+ result.plugins = _nullishCoalesce(userOptions.plugins, () => ( _chunkMPTQJ2NMcjs.getDefaultBuildPlugins.call(void 0, userOptions, result)));
378
378
  stopwatch();
379
379
  return result;
380
380
  }, "resolveOptions");
@@ -390,11 +390,11 @@ async function generatePackageJson(context2) {
390
390
  if (!packageJson) {
391
391
  throw new Error("Cannot find package.json configuration file");
392
392
  }
393
- packageJson = await _chunk5I2MGPRNcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
394
- packageJson = await _chunk5I2MGPRNcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
393
+ packageJson = await _chunkMPTQJ2NMcjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
394
+ packageJson = await _chunkMPTQJ2NMcjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
395
395
  packageJson.exports ??= {};
396
396
  packageJson.exports["./package.json"] ??= "./package.json";
397
- packageJson.exports["."] ??= _chunk5I2MGPRNcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
397
+ packageJson.exports["."] ??= _chunkMPTQJ2NMcjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
398
398
  let entryPoints = [
399
399
  {
400
400
  in: "./src/index.ts",
@@ -412,7 +412,7 @@ async function generatePackageJson(context2) {
412
412
  const split = entryPoint.out.split(".");
413
413
  split.pop();
414
414
  const entry = split.join(".").replaceAll("\\", "/");
415
- packageJson.exports[`./${entry}`] ??= _chunk5I2MGPRNcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
415
+ packageJson.exports[`./${entry}`] ??= _chunkMPTQJ2NMcjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
416
416
  }
417
417
  }
418
418
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -469,7 +469,7 @@ async function copyBuildAssets(context2) {
469
469
  if (_optionalChain([context2, 'access', _16 => _16.result, 'optionalAccess', _17 => _17.errors, 'access', _18 => _18.length]) === 0) {
470
470
  _chunkVBINBV4Zcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
471
471
  const stopwatch = _chunkVBINBV4Zcjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
472
- await _chunk5I2MGPRNcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
472
+ await _chunkMPTQJ2NMcjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
473
473
  stopwatch();
474
474
  }
475
475
  return context2;
package/dist/clean.d.cts CHANGED
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
40
40
  build: z.ZodDefault<z.ZodString>;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  build: string;
43
- config?: string | undefined;
44
43
  cache?: string | undefined;
45
44
  data?: string | undefined;
45
+ config?: string | undefined;
46
46
  temp?: string | undefined;
47
47
  log?: string | undefined;
48
48
  }, {
49
- config?: string | undefined;
50
49
  cache?: string | undefined;
51
50
  data?: string | undefined;
51
+ config?: string | undefined;
52
52
  temp?: string | undefined;
53
53
  log?: string | undefined;
54
54
  build?: string | undefined;
@@ -794,9 +794,7 @@ declare const StormConfigSchema: z.ZodObject<{
794
794
  }>]>>]>]>;
795
795
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
796
796
  }, "strip", z.ZodTypeAny, {
797
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "info" | "trace" | "all";
798
797
  organization: string;
799
- env: "development" | "staging" | "production";
800
798
  license: string;
801
799
  homepage: string;
802
800
  docs: string;
@@ -807,20 +805,22 @@ declare const StormConfigSchema: z.ZodObject<{
807
805
  name: string;
808
806
  email: string;
809
807
  };
808
+ env: "development" | "staging" | "production";
810
809
  workspaceRoot: string;
811
810
  externalPackagePatterns: string[];
812
811
  skipCache: boolean;
813
812
  directories: {
814
813
  build: string;
815
- config?: string | undefined;
816
814
  cache?: string | undefined;
817
815
  data?: string | undefined;
816
+ config?: string | undefined;
818
817
  temp?: string | undefined;
819
818
  log?: string | undefined;
820
819
  };
821
820
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
822
821
  timezone: string;
823
822
  locale: string;
823
+ logLevel: "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all";
824
824
  registry: {
825
825
  npm?: string | undefined;
826
826
  github?: string | undefined;
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
977
977
  };
978
978
  }>;
979
979
  extensions: Record<string, any>;
980
- name?: string | undefined;
981
980
  $schema?: string | null | undefined;
982
981
  extends?: string | undefined;
982
+ name?: string | undefined;
983
983
  namespace?: string | undefined;
984
984
  repository?: string | undefined;
985
985
  preid?: string | undefined;
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
989
989
  email?: string | undefined;
990
990
  };
991
991
  directories: {
992
- config?: string | undefined;
993
992
  cache?: string | undefined;
994
993
  data?: string | undefined;
994
+ config?: string | undefined;
995
995
  temp?: string | undefined;
996
996
  log?: string | undefined;
997
997
  build?: string | undefined;
@@ -1143,13 +1143,11 @@ declare const StormConfigSchema: z.ZodObject<{
1143
1143
  background?: string | undefined;
1144
1144
  };
1145
1145
  }>;
1146
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "info" | "trace" | "all" | undefined;
1147
- name?: string | undefined;
1148
- organization?: string | undefined;
1149
- env?: "development" | "staging" | "production" | undefined;
1150
1146
  $schema?: string | null | undefined;
1151
1147
  extends?: string | undefined;
1148
+ name?: string | undefined;
1152
1149
  namespace?: string | undefined;
1150
+ organization?: string | undefined;
1153
1151
  repository?: string | undefined;
1154
1152
  license?: string | undefined;
1155
1153
  homepage?: string | undefined;
@@ -1158,12 +1156,14 @@ declare const StormConfigSchema: z.ZodObject<{
1158
1156
  branch?: string | undefined;
1159
1157
  preid?: string | undefined;
1160
1158
  owner?: string | undefined;
1159
+ env?: "development" | "staging" | "production" | undefined;
1161
1160
  workspaceRoot?: string | undefined;
1162
1161
  externalPackagePatterns?: string[] | undefined;
1163
1162
  skipCache?: boolean | undefined;
1164
1163
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1165
1164
  timezone?: string | undefined;
1166
1165
  locale?: string | undefined;
1166
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
1167
1167
  registry?: {
1168
1168
  npm?: string | undefined;
1169
1169
  github?: string | undefined;
package/dist/clean.d.ts CHANGED
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
40
40
  build: z.ZodDefault<z.ZodString>;
41
41
  }, "strip", z.ZodTypeAny, {
42
42
  build: string;
43
- config?: string | undefined;
44
43
  cache?: string | undefined;
45
44
  data?: string | undefined;
45
+ config?: string | undefined;
46
46
  temp?: string | undefined;
47
47
  log?: string | undefined;
48
48
  }, {
49
- config?: string | undefined;
50
49
  cache?: string | undefined;
51
50
  data?: string | undefined;
51
+ config?: string | undefined;
52
52
  temp?: string | undefined;
53
53
  log?: string | undefined;
54
54
  build?: string | undefined;
@@ -794,9 +794,7 @@ declare const StormConfigSchema: z.ZodObject<{
794
794
  }>]>>]>]>;
795
795
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
796
796
  }, "strip", z.ZodTypeAny, {
797
- logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "info" | "trace" | "all";
798
797
  organization: string;
799
- env: "development" | "staging" | "production";
800
798
  license: string;
801
799
  homepage: string;
802
800
  docs: string;
@@ -807,20 +805,22 @@ declare const StormConfigSchema: z.ZodObject<{
807
805
  name: string;
808
806
  email: string;
809
807
  };
808
+ env: "development" | "staging" | "production";
810
809
  workspaceRoot: string;
811
810
  externalPackagePatterns: string[];
812
811
  skipCache: boolean;
813
812
  directories: {
814
813
  build: string;
815
- config?: string | undefined;
816
814
  cache?: string | undefined;
817
815
  data?: string | undefined;
816
+ config?: string | undefined;
818
817
  temp?: string | undefined;
819
818
  log?: string | undefined;
820
819
  };
821
820
  packageManager: "npm" | "yarn" | "pnpm" | "bun";
822
821
  timezone: string;
823
822
  locale: string;
823
+ logLevel: "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all";
824
824
  registry: {
825
825
  npm?: string | undefined;
826
826
  github?: string | undefined;
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
977
977
  };
978
978
  }>;
979
979
  extensions: Record<string, any>;
980
- name?: string | undefined;
981
980
  $schema?: string | null | undefined;
982
981
  extends?: string | undefined;
982
+ name?: string | undefined;
983
983
  namespace?: string | undefined;
984
984
  repository?: string | undefined;
985
985
  preid?: string | undefined;
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
989
989
  email?: string | undefined;
990
990
  };
991
991
  directories: {
992
- config?: string | undefined;
993
992
  cache?: string | undefined;
994
993
  data?: string | undefined;
994
+ config?: string | undefined;
995
995
  temp?: string | undefined;
996
996
  log?: string | undefined;
997
997
  build?: string | undefined;
@@ -1143,13 +1143,11 @@ declare const StormConfigSchema: z.ZodObject<{
1143
1143
  background?: string | undefined;
1144
1144
  };
1145
1145
  }>;
1146
- logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "info" | "trace" | "all" | undefined;
1147
- name?: string | undefined;
1148
- organization?: string | undefined;
1149
- env?: "development" | "staging" | "production" | undefined;
1150
1146
  $schema?: string | null | undefined;
1151
1147
  extends?: string | undefined;
1148
+ name?: string | undefined;
1152
1149
  namespace?: string | undefined;
1150
+ organization?: string | undefined;
1153
1151
  repository?: string | undefined;
1154
1152
  license?: string | undefined;
1155
1153
  homepage?: string | undefined;
@@ -1158,12 +1156,14 @@ declare const StormConfigSchema: z.ZodObject<{
1158
1156
  branch?: string | undefined;
1159
1157
  preid?: string | undefined;
1160
1158
  owner?: string | undefined;
1159
+ env?: "development" | "staging" | "production" | undefined;
1161
1160
  workspaceRoot?: string | undefined;
1162
1161
  externalPackagePatterns?: string[] | undefined;
1163
1162
  skipCache?: boolean | undefined;
1164
1163
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
1165
1164
  timezone?: string | undefined;
1166
1165
  locale?: string | undefined;
1166
+ logLevel?: "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
1167
1167
  registry?: {
1168
1168
  npm?: string | undefined;
1169
1169
  github?: string | undefined;
package/dist/config.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5I2MGPRNcjs = require('./chunk-5I2MGPRN.cjs');
5
+ var _chunkMPTQJ2NMcjs = require('./chunk-MPTQJ2NM.cjs');
6
6
  require('./chunk-S6M44SSZ.cjs');
7
7
  require('./chunk-WRBUO7H6.cjs');
8
8
  require('./chunk-4JLYXTKD.cjs');
@@ -17,4 +17,4 @@ require('./chunk-BGYQAVKQ.cjs');
17
17
 
18
18
 
19
19
 
20
- exports.DEFAULT_BUILD_OPTIONS = _chunk5I2MGPRNcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunk5I2MGPRNcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk5I2MGPRNcjs.getOutputExtensionMap;
20
+ exports.DEFAULT_BUILD_OPTIONS = _chunkMPTQJ2NMcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkMPTQJ2NMcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunkMPTQJ2NMcjs.getOutputExtensionMap;
package/dist/config.d.cts CHANGED
@@ -7,6 +7,6 @@ import 'source-map';
7
7
 
8
8
  declare const getOutputExtensionMap: (options: ESBuildOptions, pkgType: string | undefined) => OutExtensionObject;
9
9
  declare const getDefaultBuildPlugins: (options: ESBuildOptions, resolvedOptions: ESBuildResolvedOptions) => esbuild.Plugin[];
10
- declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ESBuildOptions, "format" | "platform" | "target" | "external" | "tsconfig" | "environment" | "keepNames" | "metafile" | "injectShims" | "color" | "watch" | "bundle" | "clean" | "debug" | "loader" | "banner" | "logLevel">>;
10
+ declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ESBuildOptions, "format" | "platform" | "target" | "external" | "tsconfig" | "envName" | "keepNames" | "metafile" | "injectShims" | "color" | "watch" | "bundle" | "clean" | "debug" | "loader" | "banner" | "logLevel">>;
11
11
 
12
12
  export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins, getOutputExtensionMap };
package/dist/config.d.ts CHANGED
@@ -7,6 +7,6 @@ import 'source-map';
7
7
 
8
8
  declare const getOutputExtensionMap: (options: ESBuildOptions, pkgType: string | undefined) => OutExtensionObject;
9
9
  declare const getDefaultBuildPlugins: (options: ESBuildOptions, resolvedOptions: ESBuildResolvedOptions) => esbuild.Plugin[];
10
- declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ESBuildOptions, "format" | "platform" | "target" | "external" | "tsconfig" | "environment" | "keepNames" | "metafile" | "injectShims" | "color" | "watch" | "bundle" | "clean" | "debug" | "loader" | "banner" | "logLevel">>;
10
+ declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ESBuildOptions, "format" | "platform" | "target" | "external" | "tsconfig" | "envName" | "keepNames" | "metafile" | "injectShims" | "color" | "watch" | "bundle" | "clean" | "debug" | "loader" | "banner" | "logLevel">>;
11
11
 
12
12
  export { DEFAULT_BUILD_OPTIONS, getDefaultBuildPlugins, getOutputExtensionMap };
package/dist/config.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  DEFAULT_BUILD_OPTIONS,
3
3
  getDefaultBuildPlugins,
4
4
  getOutputExtensionMap
5
- } from "./chunk-VLP3P6HF.js";
5
+ } from "./chunk-CSIA25K2.js";
6
6
  import "./chunk-T5272PC2.js";
7
7
  import "./chunk-LYDEMC26.js";
8
8
  import "./chunk-KE5DL2BG.js";
package/dist/esbuild.cjs CHANGED
@@ -566,7 +566,7 @@ var DEFAULT_BUILD_OPTIONS = {
566
566
  external: [],
567
567
  logLevel: "error",
568
568
  tsconfig: "tsconfig.json",
569
- environment: "production",
569
+ envName: "production",
570
570
  keepNames: true,
571
571
  metafile: true,
572
572
  injectShims: true,
package/dist/index.cjs CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkWYMD6YG2cjs = require('./chunk-WYMD6YG2.cjs');
9
+ var _chunkVRIMJ7BTcjs = require('./chunk-VRIMJ7BT.cjs');
10
10
 
11
11
 
12
12
  var _chunkTP5EOMRDcjs = require('./chunk-TP5EOMRD.cjs');
@@ -14,7 +14,7 @@ var _chunkTP5EOMRDcjs = require('./chunk-TP5EOMRD.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunk5I2MGPRNcjs = require('./chunk-5I2MGPRN.cjs');
17
+ var _chunkMPTQJ2NMcjs = require('./chunk-MPTQJ2NM.cjs');
18
18
  require('./chunk-S6M44SSZ.cjs');
19
19
  require('./chunk-WRBUO7H6.cjs');
20
20
  require('./chunk-4JLYXTKD.cjs');
@@ -39,4 +39,4 @@ require('./chunk-BGYQAVKQ.cjs');
39
39
 
40
40
 
41
41
 
42
- exports.DEFAULT_BUILD_OPTIONS = _chunk5I2MGPRNcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkWYMD6YG2cjs.Filter; exports.Mapper = _chunkWYMD6YG2cjs.Mapper; exports.build = _chunkWYMD6YG2cjs.build; exports.clean = _chunkTP5EOMRDcjs.clean; exports.getDefaultBuildPlugins = _chunk5I2MGPRNcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunk5I2MGPRNcjs.getOutputExtensionMap; exports.handle = _chunkWYMD6YG2cjs.handle; exports.pipe = _chunkWYMD6YG2cjs.pipe; exports.skip = _chunkWYMD6YG2cjs.skip; exports.transduce = _chunkWYMD6YG2cjs.transduce;
42
+ exports.DEFAULT_BUILD_OPTIONS = _chunkMPTQJ2NMcjs.DEFAULT_BUILD_OPTIONS; exports.Filter = _chunkVRIMJ7BTcjs.Filter; exports.Mapper = _chunkVRIMJ7BTcjs.Mapper; exports.build = _chunkVRIMJ7BTcjs.build; exports.clean = _chunkTP5EOMRDcjs.clean; exports.getDefaultBuildPlugins = _chunkMPTQJ2NMcjs.getDefaultBuildPlugins; exports.getOutputExtensionMap = _chunkMPTQJ2NMcjs.getOutputExtensionMap; exports.handle = _chunkVRIMJ7BTcjs.handle; exports.pipe = _chunkVRIMJ7BTcjs.pipe; exports.skip = _chunkVRIMJ7BTcjs.skip; exports.transduce = _chunkVRIMJ7BTcjs.transduce;
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  pipe,
7
7
  skip,
8
8
  transduce
9
- } from "./chunk-MAMLS55E.js";
9
+ } from "./chunk-HYM243U5.js";
10
10
  import {
11
11
  clean
12
12
  } from "./chunk-NVWDQVN6.js";
@@ -14,7 +14,7 @@ import {
14
14
  DEFAULT_BUILD_OPTIONS,
15
15
  getDefaultBuildPlugins,
16
16
  getOutputExtensionMap
17
- } from "./chunk-VLP3P6HF.js";
17
+ } from "./chunk-CSIA25K2.js";
18
18
  import "./chunk-T5272PC2.js";
19
19
  import "./chunk-LYDEMC26.js";
20
20
  import "./chunk-KE5DL2BG.js";
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@storm-software/esbuild","version":"0.14.2","type":"module","description":"A package containing `esbuild` utilities for building Storm Software libraries and applications","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops.git","directory":"packages/esbuild"},"homepage":"https://stormsoftware.com","bugs":"https://github.com/storm-software/storm-ops/issues","author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"maintainers":[{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},{"name":"Pat Sullivan","email":"admin@stormsoftware.com","url":"https://patsullivan.org"}],"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,"packageManager":"pnpm@9.15.2","engines":{"node":">=22.4.0","pnpm":">=9.15.2"},"bin":{"storm-esbuild":"./bin/storm-esbuild.js","storm-esbuild-cjs":"./bin/storm-esbuild.cjs","storm-esbuild-esm":"./bin/storm-esbuild.js"},"main":"./dist/index.cjs","module":"./dist/index.js","exports":{"./package.json":"./package.json","./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./index":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./config":{"import":{"types":"./dist/config.d.ts","default":"./dist/config.js"},"require":{"types":"./dist/config.d.cts","default":"./dist/config.cjs"},"default":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"./clean":{"import":{"types":"./dist/clean.d.ts","default":"./dist/clean.js"},"require":{"types":"./dist/clean.d.cts","default":"./dist/clean.cjs"},"default":{"types":"./dist/clean.d.ts","default":"./dist/clean.js"}},"./build":{"import":{"types":"./dist/build/index.d.ts","default":"./dist/build/index.js"},"require":{"types":"./dist/build/index.d.cts","default":"./dist/build/index.cjs"},"default":{"types":"./dist/build/index.d.ts","default":"./dist/build/index.js"}},"./plugins/*":{"import":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"},"require":{"types":"./dist/plugins/*.d.cts","default":"./dist/plugins/*.cjs"},"default":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"}}},"types":"./dist/index.d.ts","files":["dist/**/*"],"keywords":["acidic","cyclone-ui","esbuild","monorepo","storm","storm-ops","storm-stack","sullivanpj"],"peerDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@storm-software/build-tools":"workspace:*","@storm-software/config-tools":"workspace:*","esbuild":"^0.24.0","spdx-exceptions":"^2.5.0","spdx-license-ids":"^3.0.20"},"peerDependenciesMeta":{"@microsoft/api-extractor":{"optional":true},"@nx/devkit":{"optional":false},"@nx/js":{"optional":false},"@storm-software/build-tools":{"optional":false},"@storm-software/config-tools":{"optional":false},"esbuild":{"optional":false},"spdx-exceptions":{"optional":true},"spdx-license-ids":{"optional":true}},"dependencies":{"@humanfs/node":"^0.16.6","chokidar":"^4.0.3","commander":"^12.1.0","es-toolkit":"^1.30.1","globby":"^14.0.2","nx":"^20.3.1","source-map":"0.7.4","tsup":"8.3.5"},"devDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@storm-software/build-tools":"0.122.2","@storm-software/config":"1.91.2","@storm-software/config-tools":"1.130.2","@types/node":"^22.10.2","defu":"6.1.4","esbuild":"^0.24.0","rollup":"4.29.1","spdx-exceptions":"^2.5.0","spdx-license-ids":"^3.0.20"},"publishConfig":{"access":"public"},"sideEffects":false}
1
+ {"name":"@storm-software/esbuild","version":"0.15.0","type":"module","description":"A package containing `esbuild` utilities for building Storm Software libraries and applications","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops.git","directory":"packages/esbuild"},"homepage":"https://stormsoftware.com","bugs":"https://github.com/storm-software/storm-ops/issues","author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"maintainers":[{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},{"name":"Pat Sullivan","email":"admin@stormsoftware.com","url":"https://patsullivan.org"}],"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,"packageManager":"pnpm@9.15.2","engines":{"node":">=22.4.0","pnpm":">=9.15.2"},"bin":{"storm-esbuild":"./bin/storm-esbuild.js","storm-esbuild-cjs":"./bin/storm-esbuild.cjs","storm-esbuild-esm":"./bin/storm-esbuild.js"},"main":"./dist/index.cjs","module":"./dist/index.js","exports":{"./package.json":"./package.json","./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./index":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./config":{"import":{"types":"./dist/config.d.ts","default":"./dist/config.js"},"require":{"types":"./dist/config.d.cts","default":"./dist/config.cjs"},"default":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"./clean":{"import":{"types":"./dist/clean.d.ts","default":"./dist/clean.js"},"require":{"types":"./dist/clean.d.cts","default":"./dist/clean.cjs"},"default":{"types":"./dist/clean.d.ts","default":"./dist/clean.js"}},"./build":{"import":{"types":"./dist/build/index.d.ts","default":"./dist/build/index.js"},"require":{"types":"./dist/build/index.d.cts","default":"./dist/build/index.cjs"},"default":{"types":"./dist/build/index.d.ts","default":"./dist/build/index.js"}},"./plugins/*":{"import":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"},"require":{"types":"./dist/plugins/*.d.cts","default":"./dist/plugins/*.cjs"},"default":{"types":"./dist/plugins/*.d.ts","default":"./dist/plugins/*.js"}}},"types":"./dist/index.d.ts","files":["dist/**/*"],"keywords":["acidic","cyclone-ui","esbuild","monorepo","storm","storm-ops","storm-stack","sullivanpj"],"peerDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@storm-software/build-tools":"workspace:*","@storm-software/config-tools":"workspace:*","esbuild":"^0.24.0","spdx-exceptions":"^2.5.0","spdx-license-ids":"^3.0.20"},"peerDependenciesMeta":{"@microsoft/api-extractor":{"optional":true},"@nx/devkit":{"optional":false},"@nx/js":{"optional":false},"@storm-software/build-tools":{"optional":false},"@storm-software/config-tools":{"optional":false},"esbuild":{"optional":false},"spdx-exceptions":{"optional":true},"spdx-license-ids":{"optional":true}},"dependencies":{"@humanfs/node":"^0.16.6","chokidar":"^4.0.3","commander":"^12.1.0","es-toolkit":"^1.30.1","globby":"^14.0.2","nx":"^20.3.1","source-map":"0.7.4","tsup":"8.3.5"},"devDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/devkit":"^20.3.1","@nx/js":"^20.3.1","@storm-software/build-tools":"0.123.0","@storm-software/config":"1.92.0","@storm-software/config-tools":"1.131.0","@types/node":"^22.10.2","defu":"6.1.4","esbuild":"^0.24.0","rollup":"4.29.1","spdx-exceptions":"^2.5.0","spdx-license-ids":"^3.0.20"},"publishConfig":{"access":"public"},"sideEffects":false}