@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.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/{chunk-WTMG7MTK.js → chunk-3HFBGYEU.js} +2 -2
- package/dist/{chunk-MC42JFGZ.mjs → chunk-7XLPJ5AL.mjs} +2 -2
- package/dist/chunk-FC4VZESQ.js +6 -0
- package/dist/{chunk-Z2UXMCUY.js → chunk-GBSU3GE2.js} +3 -3
- package/dist/{chunk-TTG4YCRZ.mjs → chunk-HDDGB4GM.mjs} +1 -1
- package/dist/{chunk-M432POFH.mjs → chunk-M7C76CZM.mjs} +1 -1
- package/dist/{chunk-2SJJF24K.js → chunk-NBPNSVNX.js} +337 -337
- package/dist/{chunk-3DQG66DJ.js → chunk-RMDWM2XC.js} +7 -7
- package/dist/{chunk-WXKORI6N.mjs → chunk-UCPSNJBN.mjs} +1 -1
- package/dist/{chunk-OHCAQSKV.mjs → chunk-XNNKP5BB.mjs} +2 -2
- package/dist/generators.d.mts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +17 -17
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.d.mts +1317 -3
- package/dist/src/generators/init/generator.d.ts +1317 -3
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3Y6AMHJ5.js +0 -6
- package/dist/index-C8HQYf7T.d.mts +0 -1317
- 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
|
|
4
|
+
var _chunk3HFBGYEUjs = require('./chunk-3HFBGYEU.js');
|
|
5
5
|
|
|
6
6
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
7
|
-
|
|
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
|
-
|
|
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__ */
|
|
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__ */
|
|
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
|
-
|
|
130
|
-
var isAbsolute = /* @__PURE__ */
|
|
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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
correctPaths,
|
|
3
3
|
joinPaths
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
10
|
+
} from "./chunk-7XLPJ5AL.mjs";
|
|
11
11
|
|
|
12
12
|
// src/generators/init/generator.ts
|
|
13
13
|
init_esm_shims();
|
package/dist/generators.d.mts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-FC4VZESQ.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkNBPNSVNXjs = require('./chunk-NBPNSVNX.js');
|
|
5
|
+
require('./chunk-RMDWM2XC.js');
|
|
6
|
+
require('./chunk-3HFBGYEU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkNBPNSVNXjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-M7C76CZM.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-FC4VZESQ.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGBSU3GE2js = require('./chunk-GBSU3GE2.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkNBPNSVNXjs = require('./chunk-NBPNSVNX.js');
|
|
8
|
+
require('./chunk-RMDWM2XC.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk3HFBGYEUjs = require('./chunk-3HFBGYEU.js');
|
|
15
15
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
|
-
|
|
19
|
-
initGeneratorFn: () =>
|
|
18
|
+
_chunk3HFBGYEUjs.__export.call(void 0, index_exports, {
|
|
19
|
+
initGeneratorFn: () => _chunkNBPNSVNXjs.initGeneratorFn
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
|
|
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 =
|
|
25
|
+
exports.initGeneratorFn = _chunkNBPNSVNXjs.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-M7C76CZM.mjs";
|
|
2
2
|
import {
|
|
3
3
|
require_components
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UCPSNJBN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
initGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
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-
|
|
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
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
exports. default =
|
|
3
|
+
var _chunkGBSU3GE2js = require('../../chunk-GBSU3GE2.js');
|
|
4
|
+
require('../../chunk-3HFBGYEU.js');
|
|
5
|
+
exports. default = _chunkGBSU3GE2js.require_components.call(void 0, );
|
|
@@ -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
|
|
3
|
+
var _chunkRMDWM2XCjs = require('../../chunk-RMDWM2XC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3HFBGYEUjs = require('../../chunk-3HFBGYEU.js');
|
|
8
8
|
|
|
9
9
|
// src/components/nx-workspace.ts
|
|
10
|
-
|
|
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
|
-
|
|
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,
|
|
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__ */
|
|
694
|
-
npmScope: /* @__PURE__ */
|
|
695
|
-
affected: /* @__PURE__ */
|
|
696
|
-
workspaceLayout: /* @__PURE__ */
|
|
697
|
-
plugins: /* @__PURE__ */
|
|
698
|
-
namedInputs: /* @__PURE__ */
|
|
699
|
-
targetDefaults: /* @__PURE__ */
|
|
700
|
-
tasksRunnerOptions: /* @__PURE__ */
|
|
701
|
-
parallel: /* @__PURE__ */
|
|
702
|
-
useDaemonProcess: /* @__PURE__ */
|
|
703
|
-
useInferencePlugins: /* @__PURE__ */
|
|
704
|
-
release: /* @__PURE__ */
|
|
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-
|
|
3
|
+
} from "../../chunk-HDDGB4GM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__name,
|
|
6
6
|
init_esm_shims
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-7XLPJ5AL.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/nx-workspace.ts
|
|
10
10
|
init_esm_shims();
|