@storm-software/projen 0.9.41 → 0.9.43

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 (34) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-WTMG7MTK.js → chunk-3HFBGYEU.js} +2 -2
  4. package/dist/{chunk-MC42JFGZ.mjs → chunk-7XLPJ5AL.mjs} +2 -2
  5. package/dist/chunk-FC4VZESQ.js +6 -0
  6. package/dist/{chunk-Z2UXMCUY.js → chunk-GBSU3GE2.js} +3 -3
  7. package/dist/{chunk-TTG4YCRZ.mjs → chunk-HDDGB4GM.mjs} +1 -1
  8. package/dist/{chunk-M432POFH.mjs → chunk-M7C76CZM.mjs} +1 -1
  9. package/dist/{chunk-2SJJF24K.js → chunk-NBPNSVNX.js} +337 -337
  10. package/dist/{chunk-3DQG66DJ.js → chunk-RMDWM2XC.js} +7 -7
  11. package/dist/{chunk-WXKORI6N.mjs → chunk-UCPSNJBN.mjs} +1 -1
  12. package/dist/{chunk-OHCAQSKV.mjs → chunk-XNNKP5BB.mjs} +2 -2
  13. package/dist/generators.d.mts +1 -1
  14. package/dist/generators.d.ts +1 -1
  15. package/dist/generators.js +5 -5
  16. package/dist/generators.mjs +4 -4
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +10 -10
  20. package/dist/index.mjs +5 -5
  21. package/dist/src/components/index.js +3 -3
  22. package/dist/src/components/index.mjs +2 -2
  23. package/dist/src/components/nx-workspace.js +17 -17
  24. package/dist/src/components/nx-workspace.mjs +2 -2
  25. package/dist/src/generators/init/generator.d.mts +1317 -3
  26. package/dist/src/generators/init/generator.d.ts +1317 -3
  27. package/dist/src/generators/init/generator.js +4 -4
  28. package/dist/src/generators/init/generator.mjs +3 -3
  29. package/dist/tsup.config.js +2 -2
  30. package/dist/tsup.config.mjs +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-3Y6AMHJ5.js +0 -6
  33. package/dist/index-C8HQYf7T.d.mts +0 -1317
  34. package/dist/index-C8HQYf7T.d.ts +0 -1317
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWTMG7MTKjs = require('./chunk-WTMG7MTK.js');
4
+ var _chunk3HFBGYEUjs = require('./chunk-3HFBGYEU.js');
5
5
 
6
6
  // ../config-tools/src/utilities/correct-paths.ts
7
- _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
7
+ _chunk3HFBGYEUjs.init_cjs_shims.call(void 0, );
8
8
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
9
9
  function normalizeWindowsPath(input = "") {
10
10
  if (!input) {
@@ -12,11 +12,11 @@ function normalizeWindowsPath(input = "") {
12
12
  }
13
13
  return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
14
14
  }
15
- _chunkWTMG7MTKjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
15
+ _chunk3HFBGYEUjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
16
16
  var _UNC_REGEX = /^[/\\]{2}/;
17
17
  var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
18
18
  var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
19
- var correctPaths = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, function(path) {
19
+ var correctPaths = /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, function(path) {
20
20
  if (!path || path.length === 0) {
21
21
  return ".";
22
22
  }
@@ -45,7 +45,7 @@ var correctPaths = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, function
45
45
  }
46
46
  return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
47
47
  }, "correctPaths");
48
- var joinPaths = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, function(...segments) {
48
+ var joinPaths = /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, function(...segments) {
49
49
  let path = "";
50
50
  for (const seg of segments) {
51
51
  if (!seg) {
@@ -126,8 +126,8 @@ function normalizeString(path, allowAboveRoot) {
126
126
  }
127
127
  return res;
128
128
  }
129
- _chunkWTMG7MTKjs.__name.call(void 0, normalizeString, "normalizeString");
130
- var isAbsolute = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, function(p) {
129
+ _chunk3HFBGYEUjs.__name.call(void 0, normalizeString, "normalizeString");
130
+ var isAbsolute = /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, function(p) {
131
131
  return _IS_ABSOLUTE_RE.test(p);
132
132
  }, "isAbsolute");
133
133
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_esm_shims
4
- } from "./chunk-MC42JFGZ.mjs";
4
+ } from "./chunk-7XLPJ5AL.mjs";
5
5
 
6
6
  // src/components/index.ts
7
7
  var require_components = __commonJS({
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  correctPaths,
3
3
  joinPaths
4
- } from "./chunk-TTG4YCRZ.mjs";
4
+ } from "./chunk-HDDGB4GM.mjs";
5
5
  import {
6
6
  __dirname,
7
7
  __name,
8
8
  __require,
9
9
  init_esm_shims
10
- } from "./chunk-MC42JFGZ.mjs";
10
+ } from "./chunk-7XLPJ5AL.mjs";
11
11
 
12
12
  // src/generators/init/generator.ts
13
13
  init_esm_shims();
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-C8HQYf7T.mjs';
1
+ export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.mjs';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-C8HQYf7T.js';
1
+ export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.js';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3Y6AMHJ5.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-FC4VZESQ.js');
2
2
 
3
3
 
4
- var _chunk2SJJF24Kjs = require('./chunk-2SJJF24K.js');
5
- require('./chunk-3DQG66DJ.js');
6
- require('./chunk-WTMG7MTK.js');
4
+ var _chunkNBPNSVNXjs = require('./chunk-NBPNSVNX.js');
5
+ require('./chunk-RMDWM2XC.js');
6
+ require('./chunk-3HFBGYEU.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunk2SJJF24Kjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkNBPNSVNXjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
- import "./chunk-M432POFH.mjs";
1
+ import "./chunk-M7C76CZM.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-OHCAQSKV.mjs";
5
- import "./chunk-TTG4YCRZ.mjs";
6
- import "./chunk-MC42JFGZ.mjs";
4
+ } from "./chunk-XNNKP5BB.mjs";
5
+ import "./chunk-HDDGB4GM.mjs";
6
+ import "./chunk-7XLPJ5AL.mjs";
7
7
  export {
8
8
  initGeneratorFn
9
9
  };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-C8HQYf7T.mjs';
1
+ export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.mjs';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { I as InitGeneratorSchema, i as initGeneratorFn } from './index-C8HQYf7T.js';
1
+ export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.js';
2
2
  import '@nx/devkit';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3Y6AMHJ5.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-FC4VZESQ.js');
2
2
 
3
3
 
4
- var _chunkZ2UXMCUYjs = require('./chunk-Z2UXMCUY.js');
4
+ var _chunkGBSU3GE2js = require('./chunk-GBSU3GE2.js');
5
5
 
6
6
 
7
- var _chunk2SJJF24Kjs = require('./chunk-2SJJF24K.js');
8
- require('./chunk-3DQG66DJ.js');
7
+ var _chunkNBPNSVNXjs = require('./chunk-NBPNSVNX.js');
8
+ require('./chunk-RMDWM2XC.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkWTMG7MTKjs = require('./chunk-WTMG7MTK.js');
14
+ var _chunk3HFBGYEUjs = require('./chunk-3HFBGYEU.js');
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
18
- _chunkWTMG7MTKjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunk2SJJF24Kjs.initGeneratorFn
18
+ _chunk3HFBGYEUjs.__export.call(void 0, index_exports, {
19
+ initGeneratorFn: () => _chunkNBPNSVNXjs.initGeneratorFn
20
20
  });
21
- _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
22
- _chunkWTMG7MTKjs.__reExport.call(void 0, index_exports, _chunkWTMG7MTKjs.__toESM.call(void 0, _chunkZ2UXMCUYjs.require_components.call(void 0, )));
21
+ _chunk3HFBGYEUjs.init_cjs_shims.call(void 0, );
22
+ _chunk3HFBGYEUjs.__reExport.call(void 0, index_exports, _chunk3HFBGYEUjs.__toESM.call(void 0, _chunkGBSU3GE2js.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunk2SJJF24Kjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkNBPNSVNXjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import "./chunk-M432POFH.mjs";
1
+ import "./chunk-M7C76CZM.mjs";
2
2
  import {
3
3
  require_components
4
- } from "./chunk-WXKORI6N.mjs";
4
+ } from "./chunk-UCPSNJBN.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-OHCAQSKV.mjs";
8
- import "./chunk-TTG4YCRZ.mjs";
7
+ } from "./chunk-XNNKP5BB.mjs";
8
+ import "./chunk-HDDGB4GM.mjs";
9
9
  import {
10
10
  __export,
11
11
  __reExport,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-MC42JFGZ.mjs";
14
+ } from "./chunk-7XLPJ5AL.mjs";
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZ2UXMCUYjs = require('../../chunk-Z2UXMCUY.js');
4
- require('../../chunk-WTMG7MTK.js');
5
- exports. default = _chunkZ2UXMCUYjs.require_components.call(void 0, );
3
+ var _chunkGBSU3GE2js = require('../../chunk-GBSU3GE2.js');
4
+ require('../../chunk-3HFBGYEU.js');
5
+ exports. default = _chunkGBSU3GE2js.require_components.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_components
3
- } from "../../chunk-WXKORI6N.mjs";
4
- import "../../chunk-MC42JFGZ.mjs";
3
+ } from "../../chunk-UCPSNJBN.mjs";
4
+ import "../../chunk-7XLPJ5AL.mjs";
5
5
  export default require_components();
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunk3DQG66DJjs = require('../../chunk-3DQG66DJ.js');
3
+ var _chunkRMDWM2XCjs = require('../../chunk-RMDWM2XC.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkWTMG7MTKjs = require('../../chunk-WTMG7MTK.js');
7
+ var _chunk3HFBGYEUjs = require('../../chunk-3HFBGYEU.js');
8
8
 
9
9
  // src/components/nx-workspace.ts
10
- _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
10
+ _chunk3HFBGYEUjs.init_cjs_shims.call(void 0, );
11
11
  var _nxworkspace = require('@aws/pdk/monorepo/components/nx-workspace');
12
12
  var _utils = require('@aws/pdk/monorepo/utils');
13
13
  var _common = require('@aws/pdk/monorepo/utils/common');
@@ -19,7 +19,7 @@ var NX_DEFAULT_BUILD_OUTPUTS = [
19
19
  ];
20
20
  var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
21
21
  static {
22
- _chunkWTMG7MTKjs.__name.call(void 0, this, "StormNxWorkspace");
22
+ _chunk3HFBGYEUjs.__name.call(void 0, this, "StormNxWorkspace");
23
23
  }
24
24
  /**
25
25
  * Retrieves the singleton instance associated with project root.
@@ -671,7 +671,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
671
671
  super(project);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);_class.prototype.__init10.call(this);_class.prototype.__init11.call(this);_class.prototype.__init12.call(this);;
672
672
  let StormWorkspaceConfig;
673
673
  if (project.root.outdir) {
674
- const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0, _chunk3DQG66DJjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"), "utf8");
674
+ const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0, _chunkRMDWM2XCjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"), "utf8");
675
675
  StormWorkspaceConfig = JSON.parse(StormWorkspaceConfigJson);
676
676
  }
677
677
  if (_optionalChain([StormWorkspaceConfig, 'optionalAccess', _ => _.namespace])) {
@@ -690,18 +690,18 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
690
690
  }
691
691
  this.nxJson = new (0, _projen.JsonFile)(project, "nx.json", {
692
692
  obj: {
693
- extends: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => this.extends, "extends"),
694
- npmScope: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => this.npmScope, "npmScope"),
695
- affected: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.affected), "affected"),
696
- workspaceLayout: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.workspaceLayout), "workspaceLayout"),
697
- plugins: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.nxPlugins), "plugins"),
698
- namedInputs: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.namedInputs), "namedInputs"),
699
- targetDefaults: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.targetDefaults), "targetDefaults"),
700
- tasksRunnerOptions: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.tasksRunnerOptions), "tasksRunnerOptions"),
701
- parallel: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => this.parallel, "parallel"),
702
- useDaemonProcess: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => this.useDaemonProcess, "useDaemonProcess"),
703
- useInferencePlugins: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => this.useInferencePlugins, "useInferencePlugins"),
704
- release: /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.release), "release")
693
+ extends: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => this.extends, "extends"),
694
+ npmScope: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => this.npmScope, "npmScope"),
695
+ affected: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.affected), "affected"),
696
+ workspaceLayout: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.workspaceLayout), "workspaceLayout"),
697
+ plugins: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.nxPlugins), "plugins"),
698
+ namedInputs: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.namedInputs), "namedInputs"),
699
+ targetDefaults: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.targetDefaults), "targetDefaults"),
700
+ tasksRunnerOptions: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.tasksRunnerOptions), "tasksRunnerOptions"),
701
+ parallel: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => this.parallel, "parallel"),
702
+ useDaemonProcess: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => this.useDaemonProcess, "useDaemonProcess"),
703
+ useInferencePlugins: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => this.useInferencePlugins, "useInferencePlugins"),
704
+ release: /* @__PURE__ */ _chunk3HFBGYEUjs.__name.call(void 0, () => _common.asUndefinedIfEmpty.call(void 0, this.release), "release")
705
705
  }
706
706
  });
707
707
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  joinPaths
3
- } from "../../chunk-TTG4YCRZ.mjs";
3
+ } from "../../chunk-HDDGB4GM.mjs";
4
4
  import {
5
5
  __name,
6
6
  init_esm_shims
7
- } from "../../chunk-MC42JFGZ.mjs";
7
+ } from "../../chunk-7XLPJ5AL.mjs";
8
8
 
9
9
  // src/components/nx-workspace.ts
10
10
  init_esm_shims();