@storm-software/projen 0.21.165 → 0.21.167
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 +24 -0
- package/README.md +1 -1
- package/dist/{chunk-C6P7LPQZ.mjs → chunk-2UGJBMPN.mjs} +1 -1
- package/dist/{chunk-JGVVXAAK.js → chunk-7NCOB2OS.js} +2 -2
- package/dist/{chunk-7RPW225Z.mjs → chunk-A24P3L2K.mjs} +1 -1
- package/dist/{chunk-MY3U2VKC.mjs → chunk-DIMP63EN.mjs} +1 -1
- package/dist/{chunk-HQ5CARNP.js → chunk-GEDAZQZ4.js} +209 -202
- package/dist/{chunk-RACS4B72.js → chunk-J7CQLAW3.js} +3 -3
- package/dist/{chunk-IWQXJDCD.js → chunk-NG224TJJ.js} +2 -2
- package/dist/{chunk-MVH5F34L.mjs → chunk-QULFGYFM.mjs} +15 -8
- package/dist/{chunk-Y62KVYPL.mjs → chunk-RC5DQK5S.mjs} +2 -2
- package/dist/chunk-W45SBDPH.js +6 -0
- 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 +6 -6
- package/dist/chunk-52V6ZYO5.js +0 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
|
|
5
5
|
|
|
6
6
|
// src/components/index.ts
|
|
7
|
-
var require_components =
|
|
7
|
+
var require_components = _chunk7NCOB2OSjs.__commonJS.call(void 0, {
|
|
8
8
|
"src/components/index.ts"() {
|
|
9
|
-
|
|
9
|
+
_chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
6
|
-
|
|
6
|
+
_chunk7NCOB2OSjs.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) {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
isAbsolute,
|
|
4
4
|
joinPaths,
|
|
5
5
|
relative
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A24P3L2K.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__dirname,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RC5DQK5S.mjs";
|
|
11
11
|
|
|
12
12
|
// src/generators/init/generator.ts
|
|
13
13
|
init_esm_shims();
|
|
@@ -3277,7 +3277,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3277
3277
|
const metadata = cargoMetadata();
|
|
3278
3278
|
normalizedOptions.targetDir = options.targetDir || metadata?.target_directory || joinPaths(config.workspaceRoot, "dist", "target");
|
|
3279
3279
|
normalizedOptions.outputDir = options.outputPath;
|
|
3280
|
-
normalizedOptions.packageJsonPath
|
|
3280
|
+
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3281
3281
|
if (options.cwd) {
|
|
3282
3282
|
normalizedOptions.cwd = correctPaths(options.cwd);
|
|
3283
3283
|
} else {
|
|
@@ -3295,11 +3295,8 @@ async function napiExecutor(options, context, config) {
|
|
|
3295
3295
|
);
|
|
3296
3296
|
}
|
|
3297
3297
|
if (normalizedOptions.packageJsonPath) {
|
|
3298
|
-
normalizedOptions.packageJsonPath =
|
|
3299
|
-
|
|
3300
|
-
correctPaths(
|
|
3301
|
-
isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3302
|
-
)
|
|
3298
|
+
normalizedOptions.packageJsonPath = correctPaths(
|
|
3299
|
+
isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3303
3300
|
);
|
|
3304
3301
|
}
|
|
3305
3302
|
if (normalizedOptions.configPath) {
|
|
@@ -3322,6 +3319,16 @@ async function napiExecutor(options, context, config) {
|
|
|
3322
3319
|
if (process.env.VERCEL) {
|
|
3323
3320
|
return { success: true };
|
|
3324
3321
|
}
|
|
3322
|
+
writeDebug(
|
|
3323
|
+
`Normalized Napi Options:
|
|
3324
|
+
packageJsonPath: ${normalizedOptions.packageJsonPath}
|
|
3325
|
+
outputDir: ${normalizedOptions.outputDir}
|
|
3326
|
+
targetDir: ${normalizedOptions.targetDir}
|
|
3327
|
+
manifestPath: ${normalizedOptions.manifestPath}
|
|
3328
|
+
configPath: ${normalizedOptions.configPath}
|
|
3329
|
+
cwd: ${normalizedOptions.cwd}`,
|
|
3330
|
+
config
|
|
3331
|
+
);
|
|
3325
3332
|
const { task } = await napi.build(normalizedOptions);
|
|
3326
3333
|
return { success: true, terminalOutput: await task };
|
|
3327
3334
|
}
|
|
@@ -32,12 +32,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
mod
|
|
33
33
|
));
|
|
34
34
|
|
|
35
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
35
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fc72d4e7034a9537c84f2183cc8c4030/node_modules/tsup/assets/esm_shims.js
|
|
36
36
|
import { fileURLToPath } from "url";
|
|
37
37
|
import path from "path";
|
|
38
38
|
var getFilename, getDirname, __dirname;
|
|
39
39
|
var init_esm_shims = __esm({
|
|
40
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fc72d4e7034a9537c84f2183cc8c4030/node_modules/tsup/assets/esm_shims.js"() {
|
|
41
41
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
42
42
|
getDirname = () => path.dirname(getFilename());
|
|
43
43
|
__dirname = /* @__PURE__ */ getDirname();
|
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-W45SBDPH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkGEDAZQZ4js = require('./chunk-GEDAZQZ4.js');
|
|
5
|
+
require('./chunk-NG224TJJ.js');
|
|
6
|
+
require('./chunk-7NCOB2OS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkGEDAZQZ4js.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-DIMP63EN.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QULFGYFM.mjs";
|
|
5
|
+
import "./chunk-A24P3L2K.mjs";
|
|
6
|
+
import "./chunk-RC5DQK5S.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-W45SBDPH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ7CQLAW3js = require('./chunk-J7CQLAW3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkGEDAZQZ4js = require('./chunk-GEDAZQZ4.js');
|
|
8
|
+
require('./chunk-NG224TJJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
|
|
15
15
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
|
-
|
|
19
|
-
initGeneratorFn: () =>
|
|
18
|
+
_chunk7NCOB2OSjs.__export.call(void 0, index_exports, {
|
|
19
|
+
initGeneratorFn: () => _chunkGEDAZQZ4js.initGeneratorFn
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
_chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
22
|
+
_chunk7NCOB2OSjs.__reExport.call(void 0, index_exports, _chunk7NCOB2OSjs.__toESM.call(void 0, _chunkJ7CQLAW3js.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkGEDAZQZ4js.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-DIMP63EN.mjs";
|
|
2
2
|
import {
|
|
3
3
|
require_components
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2UGJBMPN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
initGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QULFGYFM.mjs";
|
|
8
|
+
import "./chunk-A24P3L2K.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__export,
|
|
11
11
|
__reExport,
|
|
12
12
|
__toESM,
|
|
13
13
|
init_esm_shims
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RC5DQK5S.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 _chunkJ7CQLAW3js = require('../../chunk-J7CQLAW3.js');
|
|
4
|
+
require('../../chunk-7NCOB2OS.js');
|
|
5
|
+
exports. default = _chunkJ7CQLAW3js.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 _chunkNG224TJJjs = require('../../chunk-NG224TJJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk7NCOB2OSjs = require('../../chunk-7NCOB2OS.js');
|
|
7
7
|
|
|
8
8
|
// src/components/nx-workspace.ts
|
|
9
|
-
|
|
9
|
+
_chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -551,7 +551,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
|
|
|
551
551
|
let StormWorkspaceConfig;
|
|
552
552
|
if (project.root.outdir) {
|
|
553
553
|
const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0,
|
|
554
|
-
|
|
554
|
+
_chunkNG224TJJjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
|
|
555
555
|
"utf8"
|
|
556
556
|
);
|
|
557
557
|
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 _chunkGEDAZQZ4js = require('../../../chunk-GEDAZQZ4.js');
|
|
5
|
+
require('../../../chunk-NG224TJJ.js');
|
|
6
|
+
require('../../../chunk-7NCOB2OS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkGEDAZQZ4js.generator_default; exports.initGeneratorFn = _chunkGEDAZQZ4js.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-QULFGYFM.mjs";
|
|
5
|
+
import "../../../chunk-A24P3L2K.mjs";
|
|
6
|
+
import "../../../chunk-RC5DQK5S.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 _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
|
|
4
4
|
|
|
5
5
|
// tsup.config.ts
|
|
6
|
-
|
|
6
|
+
_chunk7NCOB2OSjs.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/projen",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.167",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing Projen configuration automation within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
],
|
|
116
116
|
"peerDependencies": {
|
|
117
117
|
"@nx/devkit": "22.6.0",
|
|
118
|
-
"@storm-software/config": "1.137.
|
|
119
|
-
"@storm-software/config-tools": "1.189.
|
|
120
|
-
"@storm-software/workspace-tools": "1.295.
|
|
118
|
+
"@storm-software/config": "1.137.29",
|
|
119
|
+
"@storm-software/config-tools": "1.189.75",
|
|
120
|
+
"@storm-software/workspace-tools": "1.295.51",
|
|
121
121
|
"projen": "^0.91.6",
|
|
122
122
|
"tsup": "8.4.0",
|
|
123
123
|
"untyped": "1.5.2"
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@nx/devkit": "22.6.0",
|
|
137
|
-
"@types/node": "^25.
|
|
137
|
+
"@types/node": "^25.6.0",
|
|
138
138
|
"nx": "22.6.0",
|
|
139
139
|
"tsup": "8.4.0",
|
|
140
140
|
"untyped": "^2.0.0"
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
143
|
"executors": "./executors.json",
|
|
144
144
|
"generators": "./generators.json",
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "d851b36f18757912e8a1a54176ebe4a4e7a6eed2"
|
|
146
146
|
}
|