@storm-software/workspace-tools 1.296.60 → 1.296.62
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/README.md +1 -1
- package/dist/{chunk-57OGFZNB.js → chunk-2F7AZHRH.js} +3 -14
- package/dist/{chunk-QEP2JF6D.js → chunk-2WUWNWKR.js} +3 -3
- package/dist/{chunk-FJK7GHBY.mjs → chunk-3UMEF5UB.mjs} +1 -1
- package/dist/{chunk-NXB4Z7NS.js → chunk-3ZTDNSFF.js} +3 -3
- package/dist/{chunk-FSP5BXTH.mjs → chunk-5THQG4I5.mjs} +1 -1
- package/dist/{chunk-XZE55MLM.mjs → chunk-65774IGV.mjs} +1 -1
- package/dist/{chunk-NB5WSHYS.js → chunk-6PL6C6JQ.js} +3 -3
- package/dist/{chunk-KZSELW4F.mjs → chunk-6SHXH4OG.mjs} +2 -2
- package/dist/{chunk-ZORHWWTN.js → chunk-ANOLNHIH.js} +3 -3
- package/dist/{chunk-2UXPU3BM.mjs → chunk-BCJOE7LL.mjs} +1 -1
- package/dist/{chunk-GKLFEOKK.mjs → chunk-C3G4MZGP.mjs} +16 -2
- package/dist/{chunk-Z6JQV7U5.js → chunk-CX7LLOXP.js} +8 -8
- package/dist/{chunk-TSQGMJVI.mjs → chunk-D5AHWEI3.mjs} +2 -2
- package/dist/{chunk-ZO3L5FAU.js → chunk-DLZFR63X.js} +3 -3
- package/dist/{chunk-JAIQZWTK.mjs → chunk-F4NO6JZL.mjs} +2 -2
- package/dist/{chunk-LANYX3R2.js → chunk-G5PC6KMK.js} +3 -3
- package/dist/{chunk-33C5YQ6J.js → chunk-GOJ243WU.js} +2 -2
- package/dist/{chunk-32KQVUCF.js → chunk-HYK7OVZ3.js} +25 -11
- package/dist/{chunk-ZEQS7E4C.mjs → chunk-IP23MSZ4.mjs} +1 -1
- package/dist/{chunk-5JYAH2VL.mjs → chunk-JGPL6SLR.mjs} +1 -1
- package/dist/{chunk-E4H5GQS4.mjs → chunk-JODIITKJ.mjs} +1 -1
- package/dist/{chunk-QG6V6H7W.mjs → chunk-KIEM2PKS.mjs} +1 -1
- package/dist/{chunk-JR7RLYGK.js → chunk-KLFGYSH4.js} +2 -2
- package/dist/{chunk-URZ6ZNPK.js → chunk-MI4DOBNH.js} +4 -4
- package/dist/{chunk-4VWDSVQJ.mjs → chunk-NTTC774E.mjs} +1 -12
- package/dist/{chunk-ZMHKOSQO.js → chunk-QGDBHZ2M.js} +3 -3
- package/dist/{chunk-TFQGKHL5.js → chunk-SWRGTRTW.js} +3 -3
- package/dist/{chunk-UJZUGPLI.mjs → chunk-T2REIWDE.mjs} +1 -1
- package/dist/{chunk-3FKFEQBJ.mjs → chunk-TFGZLFCS.mjs} +1 -1
- package/dist/{chunk-P52MNWK4.mjs → chunk-U6R6M4MK.mjs} +2 -2
- package/dist/{chunk-TVR247U6.mjs → chunk-U7X7MAHX.mjs} +1 -1
- package/dist/{chunk-O67GNKWY.mjs → chunk-UB6ZNCMG.mjs} +1 -1
- package/dist/{chunk-6CVTX3ND.js → chunk-UCM45E6T.js} +7 -7
- package/dist/{chunk-UV6QIFS3.js → chunk-YG45K4QK.js} +5 -5
- package/dist/executors.js +11 -11
- package/dist/executors.mjs +11 -11
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +6 -6
- package/dist/index.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +16 -16
- package/dist/index.mjs +17 -17
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.mjs +1 -1
- 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 +1 -2
- package/dist/src/base/index.d.ts +1 -2
- package/dist/src/base/index.js +2 -2
- package/dist/src/base/index.mjs +2 -2
- 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 -3
- package/dist/src/executors/cargo-build/executor.mjs +4 -3
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +4 -3
- package/dist/src/executors/cargo-check/executor.mjs +4 -3
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +4 -3
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -3
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +4 -3
- package/dist/src/executors/cargo-doc/executor.mjs +4 -3
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +4 -3
- package/dist/src/executors/cargo-format/executor.mjs +4 -3
- 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.mjs +1 -1
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +3 -3
- package/dist/src/executors/esbuild/executor.mjs +3 -3
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.js +4 -3
- package/dist/src/executors/napi/executor.mjs +4 -3
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.mjs +1 -1
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.mjs +1 -1
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.js +3 -3
- package/dist/src/executors/tsdown/executor.mjs +3 -3
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.mjs +1 -1
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.mjs +1 -1
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +3 -3
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.mjs +1 -1
- 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.js +3 -3
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +3 -3
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.mjs +2 -2
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.d.mts +2 -2
- package/dist/src/plugins/rust/cargo-toml.d.ts +2 -2
- package/dist/src/plugins/rust/cargo-toml.js +5 -3
- package/dist/src/plugins/rust/cargo-toml.mjs +5 -3
- package/dist/src/plugins/rust/index.js +5 -3
- package/dist/src/plugins/rust/index.mjs +5 -3
- package/dist/src/plugins/typescript/index.d.mts +2 -2
- package/dist/src/plugins/typescript/index.d.ts +2 -2
- package/dist/src/plugins/typescript/index.js +10 -3
- package/dist/src/plugins/typescript/index.mjs +11 -4
- package/dist/src/plugins/typescript/tsdown.d.mts +2 -2
- package/dist/src/plugins/typescript/tsdown.d.ts +2 -2
- package/dist/src/plugins/typescript/tsdown.js +13 -4
- package/dist/src/plugins/typescript/tsdown.mjs +14 -5
- package/dist/src/plugins/typescript/tsup.d.mts +2 -2
- package/dist/src/plugins/typescript/tsup.d.ts +2 -2
- package/dist/src/plugins/typescript/tsup.js +13 -4
- package/dist/src/plugins/typescript/tsup.mjs +14 -5
- package/dist/src/plugins/typescript/untyped-schema.d.mts +2 -2
- package/dist/src/plugins/typescript/untyped-schema.d.ts +2 -2
- package/dist/src/plugins/typescript/untyped-schema.js +10 -3
- package/dist/src/plugins/typescript/untyped-schema.mjs +10 -3
- package/dist/src/release/index.d.mts +1 -1
- package/dist/src/release/index.d.ts +1 -1
- package/dist/src/release/index.js +2 -2
- package/dist/src/release/index.mjs +2 -2
- package/dist/src/release/js-version-actions.d.mts +1 -1
- package/dist/src/release/js-version-actions.d.ts +1 -1
- package/dist/src/release/js-version-actions.js +2 -2
- package/dist/src/release/js-version-actions.mjs +2 -2
- package/dist/src/release/rust-version-actions.mjs +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.js +4 -2
- package/dist/src/utils/cargo.mjs +4 -2
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/github.mjs +1 -1
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +2 -2
- package/dist/src/utils/index.mjs +2 -2
- package/dist/src/utils/lock-file.d.mts +2 -2
- package/dist/src/utils/lock-file.d.ts +2 -2
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.d.mts +1 -1
- package/dist/src/utils/package-helpers.d.ts +1 -1
- package/dist/src/utils/package-helpers.mjs +1 -1
- package/dist/src/utils/plugin-helpers.d.mts +2 -2
- package/dist/src/utils/plugin-helpers.d.ts +2 -2
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- 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/package.json +14 -14
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
4
4
|
|
|
@@ -21,23 +21,15 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _devkit = require('@nx/devkit');
|
|
24
|
-
var
|
|
24
|
+
var _internal = require('@nx/devkit/internal');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _js = require('@nx/js');
|
|
30
|
-
var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
|
|
31
|
-
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
32
30
|
async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
33
31
|
const normalized = await normalizeOptions(tree, { ...options });
|
|
34
32
|
const tasks = [];
|
|
35
|
-
tasks.push(
|
|
36
|
-
await _init2.default.call(void 0, tree, {
|
|
37
|
-
...normalized,
|
|
38
|
-
tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
|
|
39
|
-
})
|
|
40
|
-
);
|
|
41
33
|
tasks.push(
|
|
42
34
|
_devkit.addDependenciesToPackageJson.call(void 0,
|
|
43
35
|
tree,
|
|
@@ -49,9 +41,6 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
49
41
|
}
|
|
50
42
|
)
|
|
51
43
|
);
|
|
52
|
-
if (normalized.publishable) {
|
|
53
|
-
tasks.push(await _generator2.default.call(void 0, tree, { ...normalized, skipFormat: true }));
|
|
54
|
-
}
|
|
55
44
|
const projectConfig = {
|
|
56
45
|
root: normalized.directory,
|
|
57
46
|
projectType: "library",
|
|
@@ -275,7 +264,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
275
264
|
names: projectNames,
|
|
276
265
|
projectRoot,
|
|
277
266
|
importPath: normalizedImportPath
|
|
278
|
-
} = await
|
|
267
|
+
} = await _internal.determineProjectNameAndRootOptions.call(void 0, tree, {
|
|
279
268
|
name: options.name,
|
|
280
269
|
projectType: "library",
|
|
281
270
|
directory: options.directory,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
|
-
const command =
|
|
12
|
-
return await
|
|
11
|
+
const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
|
+
return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
14
|
var executor_default = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk32U6V6W2js = require('./chunk-32U6V6W2.js');
|
|
@@ -48,7 +48,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
48
48
|
description: schema.description,
|
|
49
49
|
directory: schema.directory
|
|
50
50
|
};
|
|
51
|
-
const options = await
|
|
51
|
+
const options = await _chunk2F7AZHRHjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
52
52
|
const { className, name, propertyName } = _devkit.names.call(void 0,
|
|
53
53
|
options.projectNames.projectFileName
|
|
54
54
|
);
|
|
@@ -78,7 +78,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
await
|
|
81
|
+
await _chunk2F7AZHRHjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
@@ -37,7 +37,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
37
37
|
directory: schema.directory,
|
|
38
38
|
description: schema.description
|
|
39
39
|
};
|
|
40
|
-
const options = await
|
|
40
|
+
const options = await _chunk2F7AZHRHjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
41
41
|
const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
|
|
42
42
|
_devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
|
|
43
43
|
...schema,
|
|
@@ -55,7 +55,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
55
55
|
buildable: options.bundler && options.bundler !== "none",
|
|
56
56
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
57
57
|
});
|
|
58
|
-
await
|
|
58
|
+
await _chunk2F7AZHRHjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NTTC774E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
7
|
} from "./chunk-J54QMYZO.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UB6ZNCMG.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/browser-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
|
-
const command =
|
|
12
|
-
return await
|
|
11
|
+
const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
|
+
return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
14
|
var executor_default = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseCargoToml
|
|
3
|
+
} from "./chunk-UA33NH5O.mjs";
|
|
4
|
+
|
|
1
5
|
// src/utils/cargo.ts
|
|
2
6
|
import { joinPathFragments } from "@nx/devkit";
|
|
3
7
|
import {
|
|
4
8
|
execSync,
|
|
5
9
|
spawn
|
|
6
10
|
} from "node:child_process";
|
|
11
|
+
import { readFileSync } from "node:fs";
|
|
7
12
|
import { relative } from "node:path";
|
|
8
13
|
var INVALID_CARGO_ARGS = [
|
|
9
14
|
"allFeatures",
|
|
@@ -38,8 +43,17 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
38
43
|
args.push(`--${key}`, String(value));
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
|
-
if (context.projectName) {
|
|
42
|
-
|
|
46
|
+
if (context.projectName && context.projectsConfigurations?.projects && context.projectsConfigurations?.projects[context.projectName] && context.projectsConfigurations?.projects[context.projectName]?.root && context.projectsConfigurations?.projects[context.projectName]?.root.includes("Cargo.toml")) {
|
|
47
|
+
const cargoToml = parseCargoToml(
|
|
48
|
+
readFileSync(
|
|
49
|
+
joinPathFragments(
|
|
50
|
+
context.projectsConfigurations.projects[context.projectName].root,
|
|
51
|
+
"Cargo.toml"
|
|
52
|
+
),
|
|
53
|
+
"utf-8"
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
args.push("-p", cargoToml.package.name);
|
|
43
57
|
}
|
|
44
58
|
if (options.allFeatures && !args.includes("--all-features")) {
|
|
45
59
|
args.push("--all-features");
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMI4DOBNHjs = require('./chunk-MI4DOBNH.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
118
118
|
const result = {
|
|
119
119
|
name: projectName,
|
|
120
120
|
mode: "production",
|
|
121
|
-
target:
|
|
121
|
+
target: _chunkMI4DOBNHjs.DEFAULT_TARGET,
|
|
122
122
|
generatePackageJson: true,
|
|
123
123
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
124
124
|
minify: !debug,
|
|
@@ -149,7 +149,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
149
149
|
};
|
|
150
150
|
result.env = _defu2.default.call(void 0,
|
|
151
151
|
options.env,
|
|
152
|
-
|
|
152
|
+
_chunkMI4DOBNHjs.getEnv.call(void 0, "tsdown", result)
|
|
153
153
|
);
|
|
154
154
|
stopwatch();
|
|
155
155
|
return result;
|
|
@@ -174,13 +174,13 @@ async function generatePackageJson(options) {
|
|
|
174
174
|
throw new Error("Cannot find package.json configuration file");
|
|
175
175
|
}
|
|
176
176
|
let packageJson = JSON.parse(packageJsonFile);
|
|
177
|
-
packageJson = await
|
|
177
|
+
packageJson = await _chunkMI4DOBNHjs.addPackageDependencies.call(void 0,
|
|
178
178
|
options.workspaceConfig.workspaceRoot,
|
|
179
179
|
options.projectRoot,
|
|
180
180
|
options.projectName,
|
|
181
181
|
packageJson
|
|
182
182
|
);
|
|
183
|
-
packageJson = await
|
|
183
|
+
packageJson = await _chunkMI4DOBNHjs.addWorkspacePackageJsonFields.call(void 0,
|
|
184
184
|
options.workspaceConfig,
|
|
185
185
|
options.projectRoot,
|
|
186
186
|
options.sourceRoot,
|
|
@@ -190,7 +190,7 @@ async function generatePackageJson(options) {
|
|
|
190
190
|
);
|
|
191
191
|
packageJson.exports ??= {};
|
|
192
192
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
193
|
-
packageJson.exports["."] ??=
|
|
193
|
+
packageJson.exports["."] ??= _chunkMI4DOBNHjs.addPackageJsonExport.call(void 0,
|
|
194
194
|
"index",
|
|
195
195
|
packageJson.type,
|
|
196
196
|
options.sourceRoot
|
|
@@ -206,7 +206,7 @@ async function generatePackageJson(options) {
|
|
|
206
206
|
const split = entryPoint.out.split(".");
|
|
207
207
|
split.pop();
|
|
208
208
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
209
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
209
|
+
packageJson.exports[`./${entry2}`] ??= _chunkMI4DOBNHjs.addPackageJsonExport.call(void 0,
|
|
210
210
|
entry2,
|
|
211
211
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
212
212
|
options.sourceRoot
|
|
@@ -247,7 +247,7 @@ async function copyBuildAssets(options) {
|
|
|
247
247
|
options.workspaceConfig
|
|
248
248
|
);
|
|
249
249
|
const stopwatch = _chunkCLKU7UMGjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
250
|
-
await
|
|
250
|
+
await _chunkMI4DOBNHjs.copyAssets.call(void 0,
|
|
251
251
|
options.workspaceConfig,
|
|
252
252
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
253
253
|
options.outDir,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NTTC774E.mjs";
|
|
5
5
|
import {
|
|
6
6
|
typesNodeVersion
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UB6ZNCMG.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2F7AZHRHjs = require('./chunk-2F7AZHRH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk32U6V6W2js = require('./chunk-32U6V6W2.js');
|
|
@@ -30,7 +30,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
30
30
|
devDependencies: {},
|
|
31
31
|
buildExecutor: "@storm-software/workspace-tools:unbuild"
|
|
32
32
|
};
|
|
33
|
-
const options = await
|
|
33
|
+
const options = await _chunk2F7AZHRHjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
34
34
|
const { className, name, propertyName } = _devkit.names.call(void 0,
|
|
35
35
|
options.projectNames.projectFileName
|
|
36
36
|
);
|
|
@@ -50,7 +50,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
50
50
|
buildable: options.bundler && options.bundler !== "none",
|
|
51
51
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
52
52
|
});
|
|
53
|
-
await
|
|
53
|
+
await _chunk2F7AZHRHjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
@@ -25,7 +25,7 @@ var DEFAULT_TARGET = "esnext";
|
|
|
25
25
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
26
26
|
|
|
27
27
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
28
|
-
import { CopyAssetsHandler } from "@nx/js/
|
|
28
|
+
import { CopyAssetsHandler } from "@nx/js/internal";
|
|
29
29
|
import { glob } from "glob";
|
|
30
30
|
import { readFile, writeFile } from "node:fs/promises";
|
|
31
31
|
var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
@@ -97,7 +97,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
100
|
-
import { calculateProjectBuildableDependencies } from "@nx/js/
|
|
100
|
+
import { calculateProjectBuildableDependencies } from "@nx/js/internal";
|
|
101
101
|
import { Glob } from "glob";
|
|
102
102
|
import { existsSync, readFileSync } from "node:fs";
|
|
103
103
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
|
-
const command =
|
|
12
|
-
return await
|
|
11
|
+
const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
|
+
return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
14
|
var executor_default = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
@@ -41,7 +41,7 @@ async function napiExecutor(options, context, config) {
|
|
|
41
41
|
}
|
|
42
42
|
const napi = new NapiCli();
|
|
43
43
|
const normalizedOptions = { ...options };
|
|
44
|
-
const metadata =
|
|
44
|
+
const metadata = _chunkHYK7OVZ3js.cargoMetadata.call(void 0, );
|
|
45
45
|
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _9 => _9.target_directory]) || _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
46
46
|
normalizedOptions.outputDir = options.outputPath;
|
|
47
47
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
|
+
|
|
3
|
+
var _chunkN2365RCIjs = require('./chunk-N2365RCI.js');
|
|
4
|
+
|
|
5
|
+
// src/utils/cargo.ts
|
|
2
6
|
var _devkit = require('@nx/devkit');
|
|
3
7
|
|
|
4
8
|
|
|
5
9
|
|
|
6
10
|
var _child_process = require('child_process');
|
|
11
|
+
var _fs = require('fs');
|
|
7
12
|
var _path = require('path');
|
|
8
13
|
var INVALID_CARGO_ARGS = [
|
|
9
14
|
"allFeatures",
|
|
@@ -38,8 +43,17 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
38
43
|
args.push(`--${key}`, String(value));
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
|
-
if (context.projectName) {
|
|
42
|
-
|
|
46
|
+
if (context.projectName && _optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) && _optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects, 'access', _5 => _5[context.projectName]]) && _optionalChain([context, 'access', _6 => _6.projectsConfigurations, 'optionalAccess', _7 => _7.projects, 'access', _8 => _8[context.projectName], 'optionalAccess', _9 => _9.root]) && _optionalChain([context, 'access', _10 => _10.projectsConfigurations, 'optionalAccess', _11 => _11.projects, 'access', _12 => _12[context.projectName], 'optionalAccess', _13 => _13.root, 'access', _14 => _14.includes, 'call', _15 => _15("Cargo.toml")])) {
|
|
47
|
+
const cargoToml = _chunkN2365RCIjs.parseCargoToml.call(void 0,
|
|
48
|
+
_fs.readFileSync.call(void 0,
|
|
49
|
+
_devkit.joinPathFragments.call(void 0,
|
|
50
|
+
context.projectsConfigurations.projects[context.projectName].root,
|
|
51
|
+
"Cargo.toml"
|
|
52
|
+
),
|
|
53
|
+
"utf-8"
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
args.push("-p", cargoToml.package.name);
|
|
43
57
|
}
|
|
44
58
|
if (options.allFeatures && !args.includes("--all-features")) {
|
|
45
59
|
args.push("--all-features");
|
|
@@ -70,9 +84,9 @@ function cargoRunCommand(...args) {
|
|
|
70
84
|
shell: false,
|
|
71
85
|
stdio: ["inherit", "inherit", "inherit"]
|
|
72
86
|
});
|
|
73
|
-
process.on("exit", () => _optionalChain([childProcess, 'optionalAccess',
|
|
74
|
-
process.on("SIGTERM", () => _optionalChain([childProcess, 'optionalAccess',
|
|
75
|
-
process.on("SIGINT", () => _optionalChain([childProcess, 'optionalAccess',
|
|
87
|
+
process.on("exit", () => _optionalChain([childProcess, 'optionalAccess', _16 => _16.kill, 'call', _17 => _17()]));
|
|
88
|
+
process.on("SIGTERM", () => _optionalChain([childProcess, 'optionalAccess', _18 => _18.kill, 'call', _19 => _19()]));
|
|
89
|
+
process.on("SIGINT", () => _optionalChain([childProcess, 'optionalAccess', _20 => _20.kill, 'call', _21 => _21()]));
|
|
76
90
|
childProcess.on("error", (_err) => {
|
|
77
91
|
reject({ success: false });
|
|
78
92
|
});
|
|
@@ -88,10 +102,10 @@ function cargoRunCommand(...args) {
|
|
|
88
102
|
}
|
|
89
103
|
function cargoCommandSync(args = "", options) {
|
|
90
104
|
const normalizedOptions = {
|
|
91
|
-
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
105
|
+
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _22 => _22.stdio]), () => ( "inherit")),
|
|
92
106
|
env: {
|
|
93
107
|
...process.env,
|
|
94
|
-
..._optionalChain([options, 'optionalAccess',
|
|
108
|
+
..._optionalChain([options, 'optionalAccess', _23 => _23.env])
|
|
95
109
|
}
|
|
96
110
|
};
|
|
97
111
|
try {
|
|
@@ -123,14 +137,14 @@ function cargoMetadata() {
|
|
|
123
137
|
return JSON.parse(output.output);
|
|
124
138
|
}
|
|
125
139
|
function isExternal(packageOrDep, workspaceRoot) {
|
|
126
|
-
const isRegistry = _nullishCoalesce(_optionalChain([packageOrDep, 'access',
|
|
127
|
-
const isGit = _nullishCoalesce(_optionalChain([packageOrDep, 'access',
|
|
140
|
+
const isRegistry = _nullishCoalesce(_optionalChain([packageOrDep, 'access', _24 => _24.source, 'optionalAccess', _25 => _25.startsWith, 'call', _26 => _26("registry+")]), () => ( false));
|
|
141
|
+
const isGit = _nullishCoalesce(_optionalChain([packageOrDep, 'access', _27 => _27.source, 'optionalAccess', _28 => _28.startsWith, 'call', _29 => _29("git+")]), () => ( false));
|
|
128
142
|
const isOutsideWorkspace = "path" in packageOrDep && _path.relative.call(void 0, workspaceRoot, packageOrDep.path).startsWith("..");
|
|
129
143
|
return isRegistry || isGit || isOutsideWorkspace;
|
|
130
144
|
}
|
|
131
145
|
function runProcess(workspaceRoot, processCmd, ...args) {
|
|
132
146
|
const metadata = cargoMetadata();
|
|
133
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess',
|
|
147
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _30 => _30.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, workspaceRoot, "dist")));
|
|
134
148
|
return new Promise((resolve) => {
|
|
135
149
|
if (process.env.VERCEL) {
|
|
136
150
|
return resolve({ success: true });
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var _chunkLQ4UTUAFjs = require('./chunk-LQ4UTUAF.js');
|
|
4
4
|
|
|
5
5
|
// src/release/js-version-actions.ts
|
|
6
|
-
var
|
|
7
|
-
var StormJsVersionActions = (_class = class extends
|
|
6
|
+
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
7
|
+
var StormJsVersionActions = (_class = class extends _versionactions2.default {
|
|
8
8
|
/**
|
|
9
9
|
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
10
10
|
*
|
|
@@ -25,7 +25,7 @@ var DEFAULT_TARGET = "esnext";
|
|
|
25
25
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
26
26
|
|
|
27
27
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
28
|
-
var
|
|
28
|
+
var _internal = require('@nx/js/internal');
|
|
29
29
|
var _glob = require('glob');
|
|
30
30
|
var _promises = require('fs/promises');
|
|
31
31
|
var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
|
|
@@ -59,7 +59,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
59
59
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
60
|
config
|
|
61
61
|
);
|
|
62
|
-
const assetHandler = new (0,
|
|
62
|
+
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
63
63
|
projectDir: projectRoot,
|
|
64
64
|
rootDir: config.workspaceRoot,
|
|
65
65
|
outputDir: outputPath,
|
|
@@ -97,7 +97,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
|
|
102
102
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
103
103
|
|
|
@@ -119,7 +119,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
119
119
|
"The Build process failed because the project graph is not available. Please run the build command again."
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
|
-
const projectDependencies =
|
|
122
|
+
const projectDependencies = _internal.calculateProjectBuildableDependencies.call(void 0,
|
|
123
123
|
void 0,
|
|
124
124
|
projectGraph,
|
|
125
125
|
workspaceRoot,
|
|
@@ -21,23 +21,15 @@ import {
|
|
|
21
21
|
updateJson,
|
|
22
22
|
writeJson
|
|
23
23
|
} from "@nx/devkit";
|
|
24
|
-
import { determineProjectNameAndRootOptions } from "@nx/devkit/
|
|
24
|
+
import { determineProjectNameAndRootOptions } from "@nx/devkit/internal";
|
|
25
25
|
import {
|
|
26
26
|
addTsConfigPath,
|
|
27
27
|
getRelativePathToRootTsConfig,
|
|
28
28
|
tsConfigBaseOptions
|
|
29
29
|
} from "@nx/js";
|
|
30
|
-
import jsInitGenerator from "@nx/js/src/generators/init/init";
|
|
31
|
-
import setupVerdaccio from "@nx/js/src/generators/setup-verdaccio/generator";
|
|
32
30
|
async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
33
31
|
const normalized = await normalizeOptions(tree, { ...options });
|
|
34
32
|
const tasks = [];
|
|
35
|
-
tasks.push(
|
|
36
|
-
await jsInitGenerator(tree, {
|
|
37
|
-
...normalized,
|
|
38
|
-
tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
|
|
39
|
-
})
|
|
40
|
-
);
|
|
41
33
|
tasks.push(
|
|
42
34
|
addDependenciesToPackageJson(
|
|
43
35
|
tree,
|
|
@@ -49,9 +41,6 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
49
41
|
}
|
|
50
42
|
)
|
|
51
43
|
);
|
|
52
|
-
if (normalized.publishable) {
|
|
53
|
-
tasks.push(await setupVerdaccio(tree, { ...normalized, skipFormat: true }));
|
|
54
|
-
}
|
|
55
44
|
const projectConfig = {
|
|
56
45
|
root: normalized.directory,
|
|
57
46
|
projectType: "library",
|