@storm-software/workspace-tools 1.295.38 → 1.295.40
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 +36 -0
- package/README.md +1 -1
- package/dist/{chunk-6IGFKTLC.mjs → chunk-2SRFINBN.mjs} +3 -3
- package/dist/{chunk-HLJV76Q6.js → chunk-3FOANXJ3.js} +2 -2
- package/dist/{chunk-PD5ORQVB.mjs → chunk-3QMAYTDQ.mjs} +1 -1
- package/dist/{chunk-X3H2BDXF.js → chunk-4655YIJB.js} +2 -2
- package/dist/{chunk-ZD6DM7FE.js → chunk-4RQ25E7U.js} +3 -3
- package/dist/{chunk-H3UVCO5H.js → chunk-4SXDS4FJ.js} +2 -2
- package/dist/{chunk-LVO5FIAQ.js → chunk-4XHYIQO7.js} +2 -2
- package/dist/{chunk-QFYTQVZW.js → chunk-5CXVHLF5.js} +5 -5
- package/dist/{chunk-KA2XXVE2.mjs → chunk-5TCJK3GK.mjs} +1 -1
- package/dist/{chunk-6QXKMVZ5.js → chunk-7RPZKHP6.js} +2 -2
- package/dist/{chunk-EWPWDNCS.js → chunk-BDRN6CQL.js} +2 -2
- package/dist/{chunk-4QQPF76Q.mjs → chunk-DDPGLLQ7.mjs} +1 -1
- package/dist/{chunk-TSYVLUOX.mjs → chunk-DFGBGHDP.mjs} +1 -1
- package/dist/{chunk-5X2PH2OF.js → chunk-DQQAO3XH.js} +2 -2
- package/dist/{chunk-QNI2ESWG.js → chunk-DQWLUIY3.js} +4 -4
- package/dist/{chunk-FVYP6LDM.js → chunk-EM5QCZFN.js} +2 -2
- package/dist/chunk-FJJD4XQQ.js +41 -0
- package/dist/{chunk-7OQWJH4B.js → chunk-FR2SIPZV.js} +2 -2
- package/dist/{chunk-KWUBBSMZ.mjs → chunk-FYWTWKA5.mjs} +3 -3
- package/dist/{chunk-BSW6NZVB.js → chunk-FZIOJYJG.js} +7 -3
- package/dist/{chunk-PJFBYR5E.mjs → chunk-GVNAKGP4.mjs} +3 -3
- package/dist/{chunk-NVSIB4RD.mjs → chunk-GVUEO74Y.mjs} +1 -1
- package/dist/{chunk-X3GOJE27.mjs → chunk-GWY4CMIG.mjs} +1 -1
- package/dist/{chunk-BNLCY2F7.js → chunk-H27YUTCQ.js} +2 -2
- package/dist/{chunk-XD7QQFE4.js → chunk-H4MADHCO.js} +3 -3
- package/dist/{chunk-3VE7KAOB.js → chunk-HNWDW45Q.js} +2 -2
- package/dist/{chunk-DPMQFXQ4.mjs → chunk-IESO3CZY.mjs} +2 -2
- package/dist/{chunk-Y7WHHDJ7.mjs → chunk-IJE7E6KQ.mjs} +2 -2
- package/dist/{chunk-GMNLTR7G.mjs → chunk-IZQRM22E.mjs} +1 -1
- package/dist/{chunk-3YDFOWNH.mjs → chunk-J7T3ACE5.mjs} +1 -1
- package/dist/{chunk-RIAPIVKD.mjs → chunk-KY47WMSJ.mjs} +2 -2
- package/dist/chunk-LWYN4MTV.js +79 -0
- package/dist/chunk-MCQCIP4X.mjs +548 -0
- package/dist/{chunk-72WJVP2V.js → chunk-MNYABCZT.js} +2 -2
- package/dist/chunk-MX7HEDMX.js +32 -0
- package/dist/chunk-NDI6RXCZ.mjs +31 -0
- package/dist/chunk-NNQPSEZU.js +31 -0
- package/dist/chunk-NQHO4D7T.js +250 -0
- package/dist/chunk-OEKXZFSR.js +32 -0
- package/dist/chunk-OTKWSGS5.mjs +32 -0
- package/dist/chunk-OZQ7BMMQ.js +93 -0
- package/dist/chunk-P5KUQQTV.mjs +93 -0
- package/dist/{chunk-S52UDUO4.js → chunk-PSVEAG4P.js} +4 -4
- package/dist/{chunk-W2JX32OR.mjs → chunk-QASHFMCT.mjs} +2 -2
- package/dist/{chunk-EYZGKQNH.mjs → chunk-QOQ7ZZDR.mjs} +1 -1
- package/dist/{chunk-LODTJTUA.mjs → chunk-QWOCJPHV.mjs} +4 -4
- package/dist/chunk-QYWP6FSH.js +548 -0
- package/dist/{chunk-6PC3WG46.mjs → chunk-R77GVEUP.mjs} +2 -2
- package/dist/{chunk-WCTC7R27.js → chunk-RO2CCHL3.js} +2 -2
- package/dist/chunk-RVMTVA24.mjs +253 -0
- package/dist/chunk-SGNQWNB4.js +116 -0
- package/dist/{chunk-C76K2E2A.mjs → chunk-SYPFDT7A.mjs} +1 -1
- package/dist/{chunk-UU2B4W6D.mjs → chunk-T4LHCUDB.mjs} +1 -1
- package/dist/chunk-T7O5BE2A.mjs +32 -0
- package/dist/chunk-TZNLWWZK.mjs +82 -0
- package/dist/{chunk-NETMT7M3.js → chunk-UE3WG442.js} +2 -2
- package/dist/chunk-UTIKWDU3.mjs +41 -0
- package/dist/{chunk-ZFYR7Z5E.js → chunk-VOWQOVZ3.js} +2 -2
- package/dist/{chunk-4LJ7D77P.mjs → chunk-VUY3SWMS.mjs} +1 -1
- package/dist/chunk-W3TSJZJF.mjs +32 -0
- package/dist/{chunk-4BZUW64X.js → chunk-WLCY3GMY.js} +3 -3
- package/dist/{chunk-4PKTZSV2.mjs → chunk-WZISHZ4U.mjs} +7 -3
- package/dist/chunk-YB2XCW3R.mjs +116 -0
- package/dist/{chunk-TYMF6PWQ.mjs → chunk-YKMCV4IP.mjs} +2 -2
- package/dist/chunk-ZFKZAH3C.js +32 -0
- package/dist/{executor-CPixmweQ.d.mts → executor-BP0WQayE.d.mts} +1 -1
- package/dist/{executor-CDGPvh7M.d.ts → executor-BxzAij2P.d.ts} +1 -1
- package/dist/{executor-DS3NuU-H.d.mts → executor-CMMIFtHz.d.mts} +1 -1
- package/dist/{executor-gzorpk3w.d.mts → executor-CPh7sG83.d.mts} +1 -1
- package/dist/{executor-B0av8HZu.d.ts → executor-CmCCRVN7.d.ts} +1 -1
- package/dist/{executor-BUZaZf4L.d.mts → executor-D26OSbP_.d.mts} +1 -1
- package/dist/{executor-B3NNjEHX.d.mts → executor-DJOXX8-N.d.mts} +1 -1
- package/dist/{executor-Da4zH7TH.d.ts → executor-DTPyQsLB.d.ts} +1 -1
- package/dist/{executor-B1xWwrK9.d.ts → executor-DcKEmf82.d.ts} +1 -1
- package/dist/{executor-Cn8wHwLF.d.mts → executor-DvfMQSTP.d.mts} +1 -1
- package/dist/{executor-DeDNVV5p.d.ts → executor-Dz1kPE9g.d.ts} +1 -1
- package/dist/{executor-BLdXObMY.d.ts → executor-YAjz4bej.d.ts} +1 -1
- package/dist/executors.d.mts +8 -8
- package/dist/executors.d.ts +8 -8
- package/dist/executors.js +15 -15
- package/dist/executors.mjs +15 -15
- package/dist/{generator-CZtbcY0l.d.ts → generator-BHf3cV2L.d.ts} +2 -2
- package/dist/{generator-CkTQIi20.d.ts → generator-BSK2irs0.d.ts} +2 -2
- package/dist/{generator-BHQa9sdJ.d.ts → generator-BcrbAQyn.d.ts} +1 -1
- package/dist/{generator-BqX2wgSA.d.mts → generator-D1-cBHEx.d.mts} +2 -2
- package/dist/{generator-BAaf2S3V.d.ts → generator-D1jsduRj.d.ts} +2 -2
- package/dist/{generator-CYvPtstL.d.ts → generator-DFDWQaw0.d.ts} +2 -2
- package/dist/{generator-TF8IeIxY.d.mts → generator-QOzHCB0F.d.mts} +2 -2
- package/dist/{generator-DVWBXLIK.d.mts → generator-WHlahz54.d.mts} +2 -2
- package/dist/{generator-D1R6-G54.d.mts → generator-lroVtFPt.d.mts} +1 -1
- package/dist/{generator-CBJOMnRt.d.mts → generator-r7Ic4lCt.d.mts} +2 -2
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +8 -8
- package/dist/generators.mjs +8 -8
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +23 -23
- package/dist/index.mjs +23 -23
- package/dist/src/base/base-executor.d.mts +3 -3
- package/dist/src/base/base-executor.d.ts +3 -3
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.d.mts +3 -3
- package/dist/src/base/base-generator.d.ts +3 -3
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.d.mts +3 -3
- package/dist/src/base/index.d.ts +3 -3
- package/dist/src/base/index.js +4 -4
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.d.mts +2 -2
- package/dist/src/executors/clean-package/executor.d.ts +2 -2
- package/dist/src/executors/clean-package/executor.js +3 -3
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.d.mts +3 -3
- package/dist/src/executors/esbuild/executor.d.ts +3 -3
- package/dist/src/executors/esbuild/executor.js +4 -4
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.d.mts +3 -3
- package/dist/src/executors/napi/executor.d.ts +3 -3
- package/dist/src/executors/napi/executor.js +4 -4
- package/dist/src/executors/napi/executor.mjs +4 -4
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +3 -3
- package/dist/src/executors/npm-publish/executor.mjs +3 -3
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.d.mts +3 -3
- package/dist/src/executors/size-limit/executor.d.ts +3 -3
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.d.mts +3 -3
- package/dist/src/executors/tsdown/executor.d.ts +3 -3
- package/dist/src/executors/tsdown/executor.js +4 -4
- package/dist/src/executors/tsdown/executor.mjs +4 -4
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.d.mts +3 -3
- package/dist/src/executors/typia/executor.d.ts +3 -3
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.d.mts +3 -3
- package/dist/src/executors/unbuild/executor.d.ts +3 -3
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.d.mts +4 -4
- package/dist/src/generators/browser-library/generator.d.ts +4 -4
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.d.mts +4 -4
- package/dist/src/generators/config-schema/generator.d.ts +4 -4
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.d.mts +4 -4
- package/dist/src/generators/neutral-library/generator.d.ts +4 -4
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.d.mts +4 -4
- package/dist/src/generators/node-library/generator.d.ts +4 -4
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.d.mts +4 -4
- package/dist/src/generators/preset/generator.d.ts +4 -4
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.d.mts +3 -3
- package/dist/src/plugins/typescript/index.d.ts +3 -3
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.d.mts +3 -3
- package/dist/src/plugins/typescript/tsdown.d.ts +3 -3
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.d.mts +3 -3
- package/dist/src/plugins/typescript/tsup.d.ts +3 -3
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.d.mts +2 -2
- package/dist/src/release/index.d.ts +2 -2
- package/dist/src/release/index.js +4 -4
- package/dist/src/release/index.mjs +4 -4
- package/dist/src/release/js-version-actions.d.mts +2 -2
- package/dist/src/release/js-version-actions.d.ts +2 -2
- package/dist/src/release/js-version-actions.js +3 -3
- package/dist/src/release/js-version-actions.mjs +3 -3
- package/dist/src/release/rust-version-actions.d.mts +2 -2
- package/dist/src/release/rust-version-actions.d.ts +2 -2
- package/dist/src/release/rust-version-actions.js +3 -3
- package/dist/src/release/rust-version-actions.mjs +3 -3
- package/dist/src/types.d.mts +3 -3
- package/dist/src/types.d.ts +3 -3
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.d.mts +3 -3
- package/dist/src/utils/index.d.ts +3 -3
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.mjs +1 -1
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.d.mts +3 -3
- package/dist/src/utils/project-tags.d.ts +3 -3
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/dist/{types-D8QnATyz.d.mts → types-DBK84D4m.d.mts} +1 -1
- package/dist/{types-B0erLKyc.d.ts → types-Dug-2iKz.d.mts} +1 -1
- package/dist/{types-B0erLKyc.d.mts → types-Dug-2iKz.d.ts} +1 -1
- package/dist/{types-JAmmWnp1.d.ts → types-VblVxaqL.d.ts} +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkRO2CCHL3js = require('./chunk-RO2CCHL3.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
8
|
+
|
|
9
|
+
// src/executors/cargo-check/executor.ts
|
|
10
|
+
async function cargoCheckExecutor(options, context) {
|
|
11
|
+
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
|
+
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
+
}
|
|
14
|
+
var executor_default = _chunkRO2CCHL3js.withRunExecutor.call(void 0,
|
|
15
|
+
"Cargo - Check",
|
|
16
|
+
cargoCheckExecutor,
|
|
17
|
+
{
|
|
18
|
+
skipReadingConfig: false,
|
|
19
|
+
hooks: {
|
|
20
|
+
applyDefaultOptions: (options) => {
|
|
21
|
+
options.toolchain ??= "stable";
|
|
22
|
+
return options;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.cargoCheckExecutor = cargoCheckExecutor; exports.executor_default = executor_default;
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
|
+
|
|
3
|
+
var _chunkFR2SIPZVjs = require('./chunk-FR2SIPZV.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
|
+
|
|
9
|
+
// src/generators/preset/generator.ts
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _devkit = require('@nx/devkit');
|
|
18
|
+
var _path = require('path'); var path = _interopRequireWildcard(_path);
|
|
19
|
+
async function presetGeneratorFn(tree, options) {
|
|
20
|
+
const projectRoot = ".";
|
|
21
|
+
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
22
|
+
options.namespace ??= options.organization;
|
|
23
|
+
_devkit.addProjectConfiguration.call(void 0, tree, `@${options.namespace}/${options.name}`, {
|
|
24
|
+
root: projectRoot,
|
|
25
|
+
projectType: "application",
|
|
26
|
+
targets: {
|
|
27
|
+
"local-registry": {
|
|
28
|
+
executor: "@nx/js:verdaccio",
|
|
29
|
+
options: {
|
|
30
|
+
port: 4873,
|
|
31
|
+
config: ".verdaccio/config.yml",
|
|
32
|
+
storage: "tmp/local-registry/storage"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
_devkit.updateJson.call(void 0, tree, "package.json", (json) => {
|
|
38
|
+
json.scripts = json.scripts || {};
|
|
39
|
+
json.version = "0.0.0";
|
|
40
|
+
json.triggerEmptyDevReleaseByIncrementingThisNumber = 0;
|
|
41
|
+
json.private = true;
|
|
42
|
+
json.keywords ??= [
|
|
43
|
+
options.name,
|
|
44
|
+
options.namespace,
|
|
45
|
+
"storm",
|
|
46
|
+
"storm-stack",
|
|
47
|
+
"storm-ops",
|
|
48
|
+
"rust",
|
|
49
|
+
"nx",
|
|
50
|
+
"graphql",
|
|
51
|
+
"sullivanpj",
|
|
52
|
+
"monorepo"
|
|
53
|
+
];
|
|
54
|
+
json.homepage ??= "https://stormsoftware.com";
|
|
55
|
+
json.bugs ??= {
|
|
56
|
+
url: `https://github.com/${options.organization}/${options.name}/issues`,
|
|
57
|
+
email: "support@stormsoftware.com"
|
|
58
|
+
};
|
|
59
|
+
json.license = "Apache-2.0";
|
|
60
|
+
json.author ??= {
|
|
61
|
+
name: "Storm Software",
|
|
62
|
+
email: "contact@stormsoftware.com",
|
|
63
|
+
url: "https://stormsoftware.com"
|
|
64
|
+
};
|
|
65
|
+
json.maintainers ??= [
|
|
66
|
+
{
|
|
67
|
+
name: "Storm Software",
|
|
68
|
+
email: "contact@stormsoftware.com",
|
|
69
|
+
url: "https://stormsoftware.com"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "Pat Sullivan",
|
|
73
|
+
email: "admin@stormsoftware.com",
|
|
74
|
+
url: "https://patsullivan.org"
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
json.funding ??= {
|
|
78
|
+
type: "github",
|
|
79
|
+
url: "https://github.com/sponsors/storm-software"
|
|
80
|
+
};
|
|
81
|
+
json.namespace ??= `@${options.namespace}`;
|
|
82
|
+
json.description ??= options.description;
|
|
83
|
+
options.repositoryUrl ??= `https://github.com/${options.organization}/${options.name}`;
|
|
84
|
+
json.repository ??= {
|
|
85
|
+
type: "github",
|
|
86
|
+
url: `${options.repositoryUrl}.git`
|
|
87
|
+
};
|
|
88
|
+
json.packageManager ??= "pnpm@10.3.0";
|
|
89
|
+
json.engines ??= {
|
|
90
|
+
node: ">=20.11.0",
|
|
91
|
+
pnpm: ">=10.3.0"
|
|
92
|
+
};
|
|
93
|
+
json.prettier = "@storm-software/prettier/config.json";
|
|
94
|
+
json.nx ??= {
|
|
95
|
+
includedScripts: [
|
|
96
|
+
"lint-sherif",
|
|
97
|
+
"lint-knip",
|
|
98
|
+
"lint-ls",
|
|
99
|
+
"lint",
|
|
100
|
+
"format",
|
|
101
|
+
"format-sherif",
|
|
102
|
+
"format-readme",
|
|
103
|
+
"format-prettier",
|
|
104
|
+
"format-toml",
|
|
105
|
+
"commit",
|
|
106
|
+
"release"
|
|
107
|
+
]
|
|
108
|
+
};
|
|
109
|
+
json.scripts.adr = "pnpm log4brains adr new";
|
|
110
|
+
json.scripts["adr-preview"] = "pnpm log4brains preview";
|
|
111
|
+
json.scripts.prepare = "pnpm add lefthook -w && pnpm lefthook install";
|
|
112
|
+
json.scripts.preinstall = "npx -y only-allow pnpm";
|
|
113
|
+
json.scripts["install-csb"] = "corepack enable && pnpm install --no-frozen-lockfile";
|
|
114
|
+
json.scripts.clean = "rimraf dist && rimraf --glob packages/**/dist && rimraf --glob tools/**/dist && rimraf --glob docs/**/dist && rimraf --glob apps/**/dist && rimraf --glob libs/**/dist";
|
|
115
|
+
json.scripts.nuke = "nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && pnpm clean && rimraf pnpm-lock.yaml && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules";
|
|
116
|
+
json.scripts.prebuild = "pnpm clean";
|
|
117
|
+
json.scripts.build = "nx affected -t build --parallel=5";
|
|
118
|
+
json.scripts["build-all"] = "nx run-many -t build --all --parallel=5";
|
|
119
|
+
json.scripts["build-prod"] = "nx run-many -t build --all --prod --parallel=5";
|
|
120
|
+
json.scripts["build-tools"] = "nx run-many -t build --projects=tools/* --parallel=5";
|
|
121
|
+
json.scripts["build-docs"] = "nx run-many -t build --projects=docs/* --parallel=5";
|
|
122
|
+
if (!options.includeApps) {
|
|
123
|
+
json.scripts["build-packages"] = "nx run-many -t build --projects=packages/* --parallel=5";
|
|
124
|
+
} else {
|
|
125
|
+
json.scripts["build-apps"] = "nx run-many -t build --projects=apps/* --parallel=5";
|
|
126
|
+
json.scripts["build-libs"] = "nx run-many -t build --projects=libs/* --parallel=5";
|
|
127
|
+
json.scripts["build-storybook"] = "storybook build -s public";
|
|
128
|
+
}
|
|
129
|
+
json.scripts.nx = "nx";
|
|
130
|
+
json.scripts.graph = "nx graph";
|
|
131
|
+
json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
|
|
132
|
+
if (options.includeApps) {
|
|
133
|
+
json.scripts.start = "nx serve";
|
|
134
|
+
json.scripts.storybook = "pnpm storybook dev -p 6006";
|
|
135
|
+
}
|
|
136
|
+
json.scripts.help = "nx help";
|
|
137
|
+
json.scripts["dep-graph"] = "nx dep-graph";
|
|
138
|
+
json.scripts["local-registry"] = `nx local-registry @${options.namespace}/${options.name}`;
|
|
139
|
+
json.scripts.e2e = "nx e2e";
|
|
140
|
+
if (options.includeApps) {
|
|
141
|
+
json.scripts.test = "nx test && pnpm test-storybook";
|
|
142
|
+
json.scripts["test-storybook"] = "pnpm test-storybook";
|
|
143
|
+
} else {
|
|
144
|
+
json.scripts.test = "nx test";
|
|
145
|
+
}
|
|
146
|
+
json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
|
|
147
|
+
json.scripts.commit = "pnpm storm-git commit";
|
|
148
|
+
json.scripts["api-extractor"] = 'pnpm storm-docs api-extractor --outputPath="docs/api-reference" --clean';
|
|
149
|
+
json.scripts.release = "pnpm storm-git release";
|
|
150
|
+
json.scripts.format = "nx format:write";
|
|
151
|
+
json.scripts["format-sherif"] = "pnpm exec sherif -f -i typescript -i react -i react-dom";
|
|
152
|
+
json.scripts["format-toml"] = 'pnpm exec taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"';
|
|
153
|
+
json.scripts["format-readme"] = 'pnpm storm-git readme --templates="tools/readme-templates"';
|
|
154
|
+
json.scripts["format-prettier"] = "pnpm exec prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index";
|
|
155
|
+
json.scripts.lint = "pnpm storm-lint all --skip-cspell";
|
|
156
|
+
json.scripts["lint-knip"] = "pnpm exec knip";
|
|
157
|
+
json.scripts["lint-sherif"] = "pnpm exec sherif -i typescript -i react -i react-dom";
|
|
158
|
+
json.scripts["lint-ls"] = 'pnpm exec ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"';
|
|
159
|
+
json.packageManager ??= `pnpm@${_chunkSZWM7COVjs.pnpmVersion}`;
|
|
160
|
+
json.engines = {
|
|
161
|
+
node: `>=${_chunkSZWM7COVjs.nodeVersion}`,
|
|
162
|
+
pnpm: `>=${_chunkSZWM7COVjs.pnpmVersion}`
|
|
163
|
+
};
|
|
164
|
+
return json;
|
|
165
|
+
});
|
|
166
|
+
_devkit.generateFiles.call(void 0, tree, path.join(__dirname, "files"), projectRoot, {
|
|
167
|
+
...options,
|
|
168
|
+
pnpmVersion: _chunkSZWM7COVjs.pnpmVersion,
|
|
169
|
+
nodeVersion: _chunkSZWM7COVjs.nodeVersion
|
|
170
|
+
});
|
|
171
|
+
await _devkit.formatFiles.call(void 0, tree);
|
|
172
|
+
let dependencies = {
|
|
173
|
+
"@ls-lint/ls-lint": "2.2.3",
|
|
174
|
+
"@ltd/j-toml": "1.38.0",
|
|
175
|
+
"@nx/devkit": "^20.2.2",
|
|
176
|
+
"@nx/eslint-plugin": "^20.2.2",
|
|
177
|
+
"@nx/js": "^20.2.2",
|
|
178
|
+
"@nx/workspace": "^20.2.2",
|
|
179
|
+
"@storm-software/config": "latest",
|
|
180
|
+
"@storm-software/git-tools": "latest",
|
|
181
|
+
"@storm-software/linting-tools": "latest",
|
|
182
|
+
"@storm-software/testing-tools": "latest",
|
|
183
|
+
"@storm-software/workspace-tools": "latest",
|
|
184
|
+
"@storm-software/eslint": "latest",
|
|
185
|
+
"@storm-software/cspell": "latest",
|
|
186
|
+
"@storm-software/prettier": "latest",
|
|
187
|
+
"@taplo/cli": "0.7.0",
|
|
188
|
+
"@types/node": "^25.3.0",
|
|
189
|
+
copyfiles: "2.4.1",
|
|
190
|
+
eslint: "9.5.0",
|
|
191
|
+
jest: "29.7.0",
|
|
192
|
+
"jest-environment-node": "29.7.0",
|
|
193
|
+
knip: "5.25.2",
|
|
194
|
+
lefthook: "1.6.18",
|
|
195
|
+
nx: "^20.2.2",
|
|
196
|
+
prettier: "3.3.2",
|
|
197
|
+
"prettier-plugin-prisma": "5.0.0",
|
|
198
|
+
rimraf: "5.0.7",
|
|
199
|
+
sherif: "0.10.0",
|
|
200
|
+
"ts-jest": "29.1.5",
|
|
201
|
+
"ts-node": "10.9.2",
|
|
202
|
+
tslib: "2.6.3",
|
|
203
|
+
typescript: "5.5.3",
|
|
204
|
+
verdaccio: "5.31.1"
|
|
205
|
+
};
|
|
206
|
+
if (options.includeApps) {
|
|
207
|
+
dependencies = {
|
|
208
|
+
...dependencies,
|
|
209
|
+
react: "latest",
|
|
210
|
+
"react-dom": "latest",
|
|
211
|
+
storybook: "latest",
|
|
212
|
+
"@storybook/addons": "latest",
|
|
213
|
+
"@nx/react": "latest",
|
|
214
|
+
"@nx/next": "latest",
|
|
215
|
+
"@nx/node": "latest",
|
|
216
|
+
"@nx/storybook": "latest",
|
|
217
|
+
"jest-environment-jsdom": "29.7.0"
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
if (options.includeRust) {
|
|
221
|
+
dependencies = {
|
|
222
|
+
...dependencies,
|
|
223
|
+
"@monodon/rust": "1.4.0"
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
if (options.nxCloud) {
|
|
227
|
+
dependencies = {
|
|
228
|
+
...dependencies,
|
|
229
|
+
"nx-cloud": "latest"
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
await Promise.resolve(
|
|
233
|
+
_devkit.addDependenciesToPackageJson.call(void 0,
|
|
234
|
+
tree,
|
|
235
|
+
dependencies,
|
|
236
|
+
{},
|
|
237
|
+
_devkit.joinPathFragments.call(void 0, projectRoot, "package.json")
|
|
238
|
+
)
|
|
239
|
+
);
|
|
240
|
+
return null;
|
|
241
|
+
}
|
|
242
|
+
var generator_default = _chunkFR2SIPZVjs.withRunGenerator.call(void 0,
|
|
243
|
+
"Storm Workspace Preset Generator",
|
|
244
|
+
presetGeneratorFn
|
|
245
|
+
);
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
exports.presetGeneratorFn = presetGeneratorFn; exports.generator_default = generator_default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkRO2CCHL3js = require('./chunk-RO2CCHL3.js');
|
|
8
|
+
|
|
9
|
+
// src/executors/cargo-clippy/executor.ts
|
|
10
|
+
async function cargoClippyExecutor(options, context) {
|
|
11
|
+
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
|
+
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
+
}
|
|
14
|
+
var executor_default = _chunkRO2CCHL3js.withRunExecutor.call(void 0,
|
|
15
|
+
"Cargo - Clippy",
|
|
16
|
+
cargoClippyExecutor,
|
|
17
|
+
{
|
|
18
|
+
skipReadingConfig: false,
|
|
19
|
+
hooks: {
|
|
20
|
+
applyDefaultOptions: (options) => {
|
|
21
|
+
options.toolchain ??= "stable";
|
|
22
|
+
options.fix ??= false;
|
|
23
|
+
return options;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.cargoClippyExecutor = cargoClippyExecutor; exports.executor_default = executor_default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "./chunk-QOQ7ZZDR.mjs";
|
|
4
|
+
import {
|
|
5
|
+
buildCargoCommand,
|
|
6
|
+
cargoCommand
|
|
7
|
+
} from "./chunk-ZTN2676G.mjs";
|
|
8
|
+
|
|
9
|
+
// src/executors/cargo-build/executor.ts
|
|
10
|
+
async function cargoBuildExecutor(options, context) {
|
|
11
|
+
const command = buildCargoCommand("build", options, context);
|
|
12
|
+
return await cargoCommand(context.root, ...command);
|
|
13
|
+
}
|
|
14
|
+
var executor_default = withRunExecutor(
|
|
15
|
+
"Cargo - Build",
|
|
16
|
+
cargoBuildExecutor,
|
|
17
|
+
{
|
|
18
|
+
skipReadingConfig: false,
|
|
19
|
+
hooks: {
|
|
20
|
+
applyDefaultOptions: (options) => {
|
|
21
|
+
options.outputPath ??= "dist/{projectRoot}/target";
|
|
22
|
+
options.toolchain ??= "stable";
|
|
23
|
+
return options;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
cargoBuildExecutor,
|
|
31
|
+
executor_default
|
|
32
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkHTGUYSQTjs = require('./chunk-HTGUYSQT.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
11
|
+
|
|
12
|
+
// src/utils/package-helpers.ts
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _devkit = require('@nx/devkit');
|
|
17
|
+
var _child_process = require('child_process');
|
|
18
|
+
var _fs = require('fs');
|
|
19
|
+
var _promises = require('fs/promises');
|
|
20
|
+
var _path = require('path');
|
|
21
|
+
var _prettier = require('prettier');
|
|
22
|
+
var PackageManagerTypes = {
|
|
23
|
+
PackageJson: "package.json",
|
|
24
|
+
CargoToml: "Cargo.toml"
|
|
25
|
+
};
|
|
26
|
+
var getPackageInfo = (project) => {
|
|
27
|
+
if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
28
|
+
project,
|
|
29
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
30
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST
|
|
31
|
+
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
|
+
return {
|
|
33
|
+
type: "Cargo.toml",
|
|
34
|
+
content: _chunkHTGUYSQTjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
|
+
};
|
|
36
|
+
} else if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
37
|
+
project,
|
|
38
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
39
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TYPESCRIPT
|
|
40
|
+
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
|
|
41
|
+
return {
|
|
42
|
+
type: "package.json",
|
|
43
|
+
content: _devkit.readJsonFile.call(void 0,
|
|
44
|
+
_devkit.joinPathFragments.call(void 0, project.root, "package.json")
|
|
45
|
+
)
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
50
|
+
async function addPackageJsonGitHead(packageRoot) {
|
|
51
|
+
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
52
|
+
if (!packageJsonPath) {
|
|
53
|
+
throw new Error(
|
|
54
|
+
"No file path provided. Please provide a valid path to the package.json file."
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
const packageJsonValue = JSON.parse(await _promises.readFile.call(void 0, packageJsonPath, "utf8"));
|
|
58
|
+
if (!packageJsonValue || typeof packageJsonValue !== "object") {
|
|
59
|
+
throw new Error(
|
|
60
|
+
`Invalid package.json file at ${packageJsonPath}. Please ensure it is a valid JSON file.`
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
const gitHead = _child_process.execFileSync.call(void 0, "git", ["rev-parse", "HEAD"], {
|
|
64
|
+
cwd: _path.dirname.call(void 0, _path.resolve.call(void 0, packageJsonPath)),
|
|
65
|
+
encoding: "utf8"
|
|
66
|
+
}).trim();
|
|
67
|
+
packageJsonValue.gitHead = gitHead;
|
|
68
|
+
return _promises.writeFile.call(void 0,
|
|
69
|
+
packageJsonPath,
|
|
70
|
+
await _prettier.format.call(void 0, JSON.stringify(packageJsonValue), {
|
|
71
|
+
parser: "json",
|
|
72
|
+
proseWrap: "preserve",
|
|
73
|
+
trailingComma: "none",
|
|
74
|
+
tabWidth: 2,
|
|
75
|
+
semi: true,
|
|
76
|
+
singleQuote: false,
|
|
77
|
+
quoteProps: "as-needed",
|
|
78
|
+
insertPragma: false,
|
|
79
|
+
bracketSameLine: true,
|
|
80
|
+
printWidth: 80,
|
|
81
|
+
bracketSpacing: true,
|
|
82
|
+
arrowParens: "avoid",
|
|
83
|
+
endOfLine: "lf",
|
|
84
|
+
plugins: ["prettier-plugin-packagejson"]
|
|
85
|
+
})
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
exports.PackageManagerTypes = PackageManagerTypes; exports.getPackageInfo = getPackageInfo; exports.addPackageJsonGitHead = addPackageJsonGitHead;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ProjectTagConstants,
|
|
3
|
+
isEqualProjectTag
|
|
4
|
+
} from "./chunk-AQ7B26V3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
parseCargoToml
|
|
7
|
+
} from "./chunk-GEN563U4.mjs";
|
|
8
|
+
import {
|
|
9
|
+
joinPaths
|
|
10
|
+
} from "./chunk-TBW5MCN6.mjs";
|
|
11
|
+
|
|
12
|
+
// src/utils/package-helpers.ts
|
|
13
|
+
import {
|
|
14
|
+
joinPathFragments,
|
|
15
|
+
readJsonFile
|
|
16
|
+
} from "@nx/devkit";
|
|
17
|
+
import { execFileSync } from "child_process";
|
|
18
|
+
import { existsSync } from "node:fs";
|
|
19
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
20
|
+
import { dirname, resolve } from "path";
|
|
21
|
+
import { format } from "prettier";
|
|
22
|
+
var PackageManagerTypes = {
|
|
23
|
+
PackageJson: "package.json",
|
|
24
|
+
CargoToml: "Cargo.toml"
|
|
25
|
+
};
|
|
26
|
+
var getPackageInfo = (project) => {
|
|
27
|
+
if (isEqualProjectTag(
|
|
28
|
+
project,
|
|
29
|
+
ProjectTagConstants.Language.TAG_ID,
|
|
30
|
+
ProjectTagConstants.Language.RUST
|
|
31
|
+
) && existsSync(joinPathFragments(project.root, "Cargo.toml"))) {
|
|
32
|
+
return {
|
|
33
|
+
type: "Cargo.toml",
|
|
34
|
+
content: parseCargoToml(joinPathFragments(project.root, "Cargo.toml"))
|
|
35
|
+
};
|
|
36
|
+
} else if (isEqualProjectTag(
|
|
37
|
+
project,
|
|
38
|
+
ProjectTagConstants.Language.TAG_ID,
|
|
39
|
+
ProjectTagConstants.Language.TYPESCRIPT
|
|
40
|
+
) && existsSync(joinPathFragments(project.root, "package.json"))) {
|
|
41
|
+
return {
|
|
42
|
+
type: "package.json",
|
|
43
|
+
content: readJsonFile(
|
|
44
|
+
joinPathFragments(project.root, "package.json")
|
|
45
|
+
)
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
50
|
+
async function addPackageJsonGitHead(packageRoot) {
|
|
51
|
+
const packageJsonPath = joinPaths(packageRoot, "package.json");
|
|
52
|
+
if (!packageJsonPath) {
|
|
53
|
+
throw new Error(
|
|
54
|
+
"No file path provided. Please provide a valid path to the package.json file."
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
const packageJsonValue = JSON.parse(await readFile(packageJsonPath, "utf8"));
|
|
58
|
+
if (!packageJsonValue || typeof packageJsonValue !== "object") {
|
|
59
|
+
throw new Error(
|
|
60
|
+
`Invalid package.json file at ${packageJsonPath}. Please ensure it is a valid JSON file.`
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
const gitHead = execFileSync("git", ["rev-parse", "HEAD"], {
|
|
64
|
+
cwd: dirname(resolve(packageJsonPath)),
|
|
65
|
+
encoding: "utf8"
|
|
66
|
+
}).trim();
|
|
67
|
+
packageJsonValue.gitHead = gitHead;
|
|
68
|
+
return writeFile(
|
|
69
|
+
packageJsonPath,
|
|
70
|
+
await format(JSON.stringify(packageJsonValue), {
|
|
71
|
+
parser: "json",
|
|
72
|
+
proseWrap: "preserve",
|
|
73
|
+
trailingComma: "none",
|
|
74
|
+
tabWidth: 2,
|
|
75
|
+
semi: true,
|
|
76
|
+
singleQuote: false,
|
|
77
|
+
quoteProps: "as-needed",
|
|
78
|
+
insertPragma: false,
|
|
79
|
+
bracketSameLine: true,
|
|
80
|
+
printWidth: 80,
|
|
81
|
+
bracketSpacing: true,
|
|
82
|
+
arrowParens: "avoid",
|
|
83
|
+
endOfLine: "lf",
|
|
84
|
+
plugins: ["prettier-plugin-packagejson"]
|
|
85
|
+
})
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
PackageManagerTypes,
|
|
91
|
+
getPackageInfo,
|
|
92
|
+
addPackageJsonGitHead
|
|
93
|
+
};
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
var _chunkNWFBYOJVjs = require('./chunk-NWFBYOJV.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkRO2CCHL3js = require('./chunk-RO2CCHL3.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkFZIOJYJGjs = require('./chunk-FZIOJYJG.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -80,7 +80,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
80
80
|
if (!workspaceRoot) {
|
|
81
81
|
throw new Error("Cannot find Nx workspace root");
|
|
82
82
|
}
|
|
83
|
-
const workspaceConfig = await
|
|
83
|
+
const workspaceConfig = await _chunkFZIOJYJGjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
84
84
|
workspaceRoot
|
|
85
85
|
});
|
|
86
86
|
_chunkIHMF6RANjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
342
342
|
success: true
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
var executor_default =
|
|
345
|
+
var executor_default = _chunkRO2CCHL3js.withRunExecutor.call(void 0,
|
|
346
346
|
"Storm TSDown build",
|
|
347
347
|
tsdownExecutorFn,
|
|
348
348
|
{
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-M3YWCYUX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SYPFDT7A.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J7T3ACE5.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
4
|
} from "./chunk-M3YWCYUX.mjs";
|
|
5
|
+
import {
|
|
6
|
+
withRunGenerator
|
|
7
|
+
} from "./chunk-SYPFDT7A.mjs";
|
|
5
8
|
import {
|
|
6
9
|
typesNodeVersion
|
|
7
10
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
|
-
import {
|
|
9
|
-
withRunGenerator
|
|
10
|
-
} from "./chunk-C76K2E2A.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J7T3ACE5.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|