@storm-software/projen 0.9.34 → 0.9.35

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Storm Ops - Projen
4
4
 
5
+ ## [0.9.35](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.35) (2025-03-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([4a6eeab3f](https://github.com/storm-software/storm-ops/commit/4a6eeab3f))
11
+
5
12
  ## [0.9.34](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.34) (2025-03-18)
6
13
 
7
14
  ### Miscellaneous
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.9.33-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.9.34-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 -->
@@ -2724,7 +2724,12 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
2724
2724
  };
2725
2725
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
2726
2726
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
2727
- result.inject = defu4(result.inject, options.inject);
2727
+ result.inject = options.inject.reduce((ret, inj) => {
2728
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
2729
+ ret.push(inj);
2730
+ }
2731
+ return ret;
2732
+ }, result.inject);
2728
2733
  }
2729
2734
  delete result.entry;
2730
2735
  delete result.outputPath;
@@ -2817,6 +2822,10 @@ async function executeEsBuild(context2) {
2817
2822
  ...context2.options
2818
2823
  };
2819
2824
  options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
2825
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
2826
+ options.inject === {}) {
2827
+ delete options.inject;
2828
+ }
2820
2829
  delete options.env;
2821
2830
  delete options.name;
2822
2831
  delete options.assets;
@@ -2723,7 +2723,12 @@ var resolveOptions = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, async
2723
2723
  };
2724
2724
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
2725
2725
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
2726
- result.inject = _defu2.default.call(void 0, result.inject, options.inject);
2726
+ result.inject = options.inject.reduce((ret, inj) => {
2727
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
2728
+ ret.push(inj);
2729
+ }
2730
+ return ret;
2731
+ }, result.inject);
2727
2732
  }
2728
2733
  delete result.entry;
2729
2734
  delete result.outputPath;
@@ -2816,6 +2821,10 @@ async function executeEsBuild(context2) {
2816
2821
  ...context2.options
2817
2822
  };
2818
2823
  options.outdir = _chunk3DQG66DJjs.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
2824
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
2825
+ options.inject === {}) {
2826
+ delete options.inject;
2827
+ }
2819
2828
  delete options.env;
2820
2829
  delete options.name;
2821
2830
  delete options.assets;
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3Y6AMHJ5.js');
2
2
 
3
3
 
4
- var _chunkXPDENHN2js = require('./chunk-XPDENHN2.js');
4
+ var _chunkRL7Z5H6Yjs = require('./chunk-RL7Z5H6Y.js');
5
5
  require('./chunk-3DQG66DJ.js');
6
6
  require('./chunk-WTMG7MTK.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkXPDENHN2js.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkRL7Z5H6Yjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-M432POFH.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-XURR3E6P.mjs";
4
+ } from "./chunk-G4SMJQNI.mjs";
5
5
  import "./chunk-TTG4YCRZ.mjs";
6
6
  import "./chunk-MC42JFGZ.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkZ2UXMCUYjs = require('./chunk-Z2UXMCUY.js');
5
5
 
6
6
 
7
- var _chunkXPDENHN2js = require('./chunk-XPDENHN2.js');
7
+ var _chunkRL7Z5H6Yjs = require('./chunk-RL7Z5H6Y.js');
8
8
  require('./chunk-3DQG66DJ.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkWTMG7MTKjs = require('./chunk-WTMG7MTK.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkWTMG7MTKjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkXPDENHN2js.initGeneratorFn
19
+ initGeneratorFn: () => _chunkRL7Z5H6Yjs.initGeneratorFn
20
20
  });
21
21
  _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
22
22
  _chunkWTMG7MTKjs.__reExport.call(void 0, index_exports, _chunkWTMG7MTKjs.__toESM.call(void 0, _chunkZ2UXMCUYjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkXPDENHN2js.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkRL7Z5H6Yjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-WXKORI6N.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-XURR3E6P.mjs";
7
+ } from "./chunk-G4SMJQNI.mjs";
8
8
  import "./chunk-TTG4YCRZ.mjs";
9
9
  import {
10
10
  __export,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkXPDENHN2js = require('../../../chunk-XPDENHN2.js');
4
+ var _chunkRL7Z5H6Yjs = require('../../../chunk-RL7Z5H6Y.js');
5
5
  require('../../../chunk-3DQG66DJ.js');
6
6
  require('../../../chunk-WTMG7MTK.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkXPDENHN2js.generator_default; exports.initGeneratorFn = _chunkXPDENHN2js.initGeneratorFn;
10
+ exports.default = _chunkRL7Z5H6Yjs.generator_default; exports.initGeneratorFn = _chunkRL7Z5H6Yjs.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-XURR3E6P.mjs";
4
+ } from "../../../chunk-G4SMJQNI.mjs";
5
5
  import "../../../chunk-TTG4YCRZ.mjs";
6
6
  import "../../../chunk-MC42JFGZ.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.9.34",
3
+ "version": "0.9.35",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {