@storm-software/projen 0.15.19 → 0.15.21
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 +12 -0
- package/README.md +1 -1
- package/dist/{chunk-XM6I2VBY.mjs → chunk-3QAXJWBF.mjs} +1 -1
- package/dist/chunk-3X3MQ23R.js +6 -0
- package/dist/{chunk-F5KUPJRS.js → chunk-CDQ4RIFU.js} +166 -161
- package/dist/{chunk-3XVCD6PX.js → chunk-EAVCR2SW.js} +2 -2
- package/dist/{chunk-SAK3VUBP.mjs → chunk-EM5XAPKO.mjs} +2 -2
- package/dist/{chunk-MUTVIHVD.js → chunk-HLFTIXAJ.js} +3 -3
- package/dist/{chunk-FICTO7PC.mjs → chunk-IFNXABJC.mjs} +8 -3
- package/dist/{chunk-3JMLZKJ6.mjs → chunk-MJUERF3E.mjs} +1 -1
- package/dist/{chunk-7VU4HV6B.mjs → chunk-SKUL4YYA.mjs} +1 -1
- package/dist/{chunk-EW6SOR65.js → chunk-V5OL7A4H.js} +2 -2
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- 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 +4 -4
- package/dist/src/components/nx-workspace.mjs +2 -2
- 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-HEQFBRVE.js +0 -6
|
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/cjs_shims.js
|
|
42
42
|
var init_cjs_shims = __esm({
|
|
43
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
43
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/cjs_shims.js"() {
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -38,12 +38,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
import { fileURLToPath } from "url";
|
|
43
43
|
import path from "path";
|
|
44
44
|
var getFilename, getDirname, __dirname;
|
|
45
45
|
var init_esm_shims = __esm({
|
|
46
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
46
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/esm_shims.js"() {
|
|
47
47
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
48
48
|
getDirname = () => path.dirname(getFilename());
|
|
49
49
|
__dirname = /* @__PURE__ */ getDirname();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
|
|
5
5
|
|
|
6
6
|
// src/components/index.ts
|
|
7
|
-
var require_components =
|
|
7
|
+
var require_components = _chunkEAVCR2SWjs.__commonJS.call(void 0, {
|
|
8
8
|
"src/components/index.ts"() {
|
|
9
|
-
|
|
9
|
+
_chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
correctPaths,
|
|
3
3
|
joinPaths
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MJUERF3E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__dirname,
|
|
7
7
|
__require,
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EM5XAPKO.mjs";
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
12
|
init_esm_shims();
|
|
@@ -253,6 +253,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
253
253
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
254
254
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
255
255
|
docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
256
|
+
portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
256
257
|
licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
257
258
|
contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
258
259
|
support: z.string().trim().url().optional().describe(
|
|
@@ -981,6 +982,7 @@ var getConfigEnv = () => {
|
|
|
981
982
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
982
983
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
983
984
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
985
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
984
986
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
985
987
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
986
988
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
@@ -1197,6 +1199,9 @@ var setConfigEnv = (config) => {
|
|
|
1197
1199
|
if (config.docs) {
|
|
1198
1200
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
1199
1201
|
}
|
|
1202
|
+
if (config.portal) {
|
|
1203
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
1204
|
+
}
|
|
1200
1205
|
if (config.licensing) {
|
|
1201
1206
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
1202
1207
|
}
|
|
@@ -1513,7 +1518,7 @@ init_esm_shims();
|
|
|
1513
1518
|
var getConfig = (workspaceRoot3, skipLogs = false) => {
|
|
1514
1519
|
return loadStormWorkspaceConfig(workspaceRoot3, skipLogs);
|
|
1515
1520
|
};
|
|
1516
|
-
var getWorkspaceConfig = (skipLogs =
|
|
1521
|
+
var getWorkspaceConfig = (skipLogs = true, options = {}) => {
|
|
1517
1522
|
let workspaceRoot3 = options.workspaceRoot;
|
|
1518
1523
|
if (!workspaceRoot3) {
|
|
1519
1524
|
workspaceRoot3 = findWorkspaceRoot(options.cwd);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
6
|
-
|
|
6
|
+
_chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
8
8
|
function normalizeWindowsPath(input = "") {
|
|
9
9
|
if (!input) {
|
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-3X3MQ23R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkCDQ4RIFUjs = require('./chunk-CDQ4RIFU.js');
|
|
5
|
+
require('./chunk-V5OL7A4H.js');
|
|
6
|
+
require('./chunk-EAVCR2SW.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-3QAXJWBF.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-IFNXABJC.mjs";
|
|
5
|
+
import "./chunk-MJUERF3E.mjs";
|
|
6
|
+
import "./chunk-EM5XAPKO.mjs";
|
|
7
7
|
export {
|
|
8
8
|
initGeneratorFn
|
|
9
9
|
};
|
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-3X3MQ23R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHLFTIXAJjs = require('./chunk-HLFTIXAJ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkCDQ4RIFUjs = require('./chunk-CDQ4RIFU.js');
|
|
8
|
+
require('./chunk-V5OL7A4H.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
|
|
15
15
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
|
-
|
|
19
|
-
initGeneratorFn: () =>
|
|
18
|
+
_chunkEAVCR2SWjs.__export.call(void 0, index_exports, {
|
|
19
|
+
initGeneratorFn: () => _chunkCDQ4RIFUjs.initGeneratorFn
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
_chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
|
|
22
|
+
_chunkEAVCR2SWjs.__reExport.call(void 0, index_exports, _chunkEAVCR2SWjs.__toESM.call(void 0, _chunkHLFTIXAJjs.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-3QAXJWBF.mjs";
|
|
2
2
|
import {
|
|
3
3
|
require_components
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SKUL4YYA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
initGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-IFNXABJC.mjs";
|
|
8
|
+
import "./chunk-MJUERF3E.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__export,
|
|
11
11
|
__reExport,
|
|
12
12
|
__toESM,
|
|
13
13
|
init_esm_shims
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EM5XAPKO.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 _chunkHLFTIXAJjs = require('../../chunk-HLFTIXAJ.js');
|
|
4
|
+
require('../../chunk-EAVCR2SW.js');
|
|
5
|
+
exports. default = _chunkHLFTIXAJjs.require_components.call(void 0, );
|
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkV5OL7A4Hjs = require('../../chunk-V5OL7A4H.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEAVCR2SWjs = require('../../chunk-EAVCR2SW.js');
|
|
7
7
|
|
|
8
8
|
// src/components/nx-workspace.ts
|
|
9
|
-
|
|
9
|
+
_chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -549,7 +549,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
|
|
|
549
549
|
let StormWorkspaceConfig;
|
|
550
550
|
if (project.root.outdir) {
|
|
551
551
|
const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0,
|
|
552
|
-
|
|
552
|
+
_chunkV5OL7A4Hjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
|
|
553
553
|
"utf8"
|
|
554
554
|
);
|
|
555
555
|
StormWorkspaceConfig = JSON.parse(StormWorkspaceConfigJson);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkCDQ4RIFUjs = require('../../../chunk-CDQ4RIFU.js');
|
|
5
|
+
require('../../../chunk-V5OL7A4H.js');
|
|
6
|
+
require('../../../chunk-EAVCR2SW.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkCDQ4RIFUjs.generator_default; exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-IFNXABJC.mjs";
|
|
5
|
+
import "../../../chunk-MJUERF3E.mjs";
|
|
6
|
+
import "../../../chunk-EM5XAPKO.mjs";
|
|
7
7
|
export {
|
|
8
8
|
generator_default as default,
|
|
9
9
|
initGeneratorFn
|
package/dist/tsup.config.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
|
|
4
4
|
|
|
5
5
|
// tsup.config.ts
|
|
6
|
-
|
|
6
|
+
_chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var _tsup = require('tsup');
|
|
8
8
|
var tsup_config_default = _tsup.defineConfig.call(void 0, [
|
|
9
9
|
{
|
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED