@storm-software/workspace-tools 1.230.0 → 1.231.0
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-CT7IVPJY.js → chunk-22DNWOG2.js} +25 -36
- package/dist/{chunk-ESRRKJO5.mjs → chunk-357OS575.mjs} +2 -2
- package/dist/{chunk-WTHELTBU.mjs → chunk-3QS2VXIW.mjs} +2 -2
- package/dist/{chunk-ZCZVVZBX.js → chunk-4KC6BQY6.js} +3 -3
- package/dist/{chunk-B3KIYNGT.mjs → chunk-63CXRJMW.mjs} +1 -1
- package/dist/{chunk-6B6IVIMQ.js → chunk-6G34PMHG.js} +3 -3
- package/dist/{chunk-DLO5NZQI.mjs → chunk-6S33LGZA.mjs} +3 -3
- package/dist/{chunk-DIODSFGH.js → chunk-AEHR536C.js} +41 -41
- package/dist/{chunk-I7OZOKTH.js → chunk-AX2GAIC6.js} +3 -3
- package/dist/{chunk-GV44QHV3.mjs → chunk-BXRWY5YI.mjs} +3 -3
- package/dist/{chunk-NCVJPQSP.js → chunk-CXLDWFA3.js} +15 -15
- package/dist/{chunk-PMDV5GKD.js → chunk-DDDV5CIY.js} +3 -3
- package/dist/{chunk-3GVBGSCQ.js → chunk-DIPIPI7H.js} +2 -2
- package/dist/{chunk-35B5C22H.mjs → chunk-E4RAOLUW.mjs} +2 -2
- package/dist/{chunk-7MZQTO7J.js → chunk-EDHSW6KA.js} +12 -12
- package/dist/{chunk-JEV3GSS7.js → chunk-EI3PUSCC.js} +9 -9
- package/dist/{chunk-W4QV74K2.mjs → chunk-FAD3MJIO.mjs} +1 -1
- package/dist/{chunk-UDAQKEJS.mjs → chunk-GFOMWTSR.mjs} +21 -32
- package/dist/{chunk-ZXT33DDB.js → chunk-I56CGXM6.js} +3 -3
- package/dist/{chunk-FP4PPOO6.js → chunk-IQU4KSXC.js} +3 -3
- package/dist/{chunk-36FMHXUD.js → chunk-IX2EZD3F.js} +4 -4
- package/dist/{chunk-SFT3A33D.mjs → chunk-JXN5JXWD.mjs} +3 -3
- package/dist/{chunk-OA7KWN7D.mjs → chunk-KKDGYFKY.mjs} +3 -3
- package/dist/{chunk-WJ5TU6JU.mjs → chunk-KNXGOGL5.mjs} +4 -4
- package/dist/{chunk-MSENNRAY.js → chunk-LDCPNOWX.js} +19 -19
- package/dist/{chunk-KLEKFCL2.js → chunk-LPWSHG6O.js} +2 -2
- package/dist/{chunk-DB7BVAE7.js → chunk-LXPMDNMJ.js} +58 -86
- package/dist/{chunk-OESA3G7F.mjs → chunk-NZMTUJGQ.mjs} +3 -3
- package/dist/{chunk-PS55UN6T.mjs → chunk-PE2DD2SV.mjs} +1 -1
- package/dist/{chunk-JGTW4AJ7.mjs → chunk-S73VA7HH.mjs} +3 -3
- package/dist/{chunk-OJ3R7YBK.js → chunk-S7QZCTBR.js} +31 -31
- package/dist/{chunk-XSCTGWRG.mjs → chunk-TAJBCIVO.mjs} +3 -3
- package/dist/{chunk-F5WI7VDM.js → chunk-TRTFGC6N.js} +3 -3
- package/dist/{chunk-6267MSX4.mjs → chunk-UENELRBB.mjs} +4 -4
- package/dist/{chunk-MF4RRA4Q.mjs → chunk-UK7LZSMG.mjs} +7 -7
- package/dist/{chunk-QMJ7P54Z.mjs → chunk-VHTLAFRU.mjs} +3 -3
- package/dist/{chunk-T7IVGU7T.mjs → chunk-X7G7IR2C.mjs} +3 -3
- package/dist/{chunk-B7LWGAUI.js → chunk-X7YSSPPZ.js} +5 -5
- package/dist/{chunk-TILR7372.js → chunk-Y2IMY233.js} +5 -5
- package/dist/{chunk-JMWQGXHM.mjs → chunk-YMGOLNMM.mjs} +33 -61
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +18 -18
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +13 -13
- package/dist/index.js +47 -47
- package/dist/index.mjs +64 -64
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +2 -2
- package/dist/src/base/index.js +12 -12
- package/dist/src/base/index.mjs +14 -14
- package/dist/src/executors/cargo-build/executor.js +6 -6
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/executor.js +6 -6
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/executor.js +6 -6
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/executor.js +6 -6
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/executor.js +6 -6
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.js +6 -6
- package/dist/src/executors/unbuild/executor.mjs +5 -5
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +3 -3
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +2 -2
- package/dist/src/plugins/rust/cargo-toml.js +3 -3
- package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
- package/dist/src/plugins/rust/index.js +3 -3
- package/dist/src/plugins/rust/index.mjs +2 -2
- package/dist/src/utils/index.js +8 -8
- package/dist/src/utils/index.mjs +18 -18
- package/package.json +1 -1
- package/dist/{chunk-XONECYS4.js → chunk-YESI2BBC.js} +2 -2
- package/dist/{chunk-GZPCM2GI.mjs → chunk-Z322IWWR.mjs} +4 -4
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEntryPoints,
|
|
8
8
|
getEnv
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GFOMWTSR.mjs";
|
|
10
10
|
import {
|
|
11
11
|
withRunExecutor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UENELRBB.mjs";
|
|
13
13
|
import {
|
|
14
14
|
getStopwatch,
|
|
15
15
|
isVerbose,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
writeInfo,
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KNXGOGL5.mjs";
|
|
23
23
|
import {
|
|
24
24
|
joinPaths
|
|
25
25
|
} from "./chunk-PVTEDLBL.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
|
|
|
13
13
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
14
14
|
async function typiaExecutorFn(options, _, config) {
|
|
15
15
|
if (options.clean !== false) {
|
|
16
|
-
|
|
16
|
+
_chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
17
17
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
18
18
|
}
|
|
19
19
|
await Promise.all(options.entry.map((entry) => {
|
|
20
|
-
|
|
20
|
+
_chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
21
21
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
22
22
|
input: entry,
|
|
23
23
|
output: options.outputPath,
|
|
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
_chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
|
|
32
|
-
var executor_default =
|
|
32
|
+
var executor_default = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
|
|
33
33
|
skipReadingConfig: false,
|
|
34
34
|
hooks: {
|
|
35
35
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
18
18
|
if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
19
19
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
_chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
22
22
|
_sizelimit2.default.call(void 0, [
|
|
23
23
|
_file2.default,
|
|
24
24
|
_esbuild2.default,
|
|
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
26
26
|
], {
|
|
27
27
|
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
|
|
28
28
|
}).then((result) => {
|
|
29
|
-
|
|
29
|
+
_chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
30
30
|
});
|
|
31
31
|
return {
|
|
32
32
|
success: true
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
_chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
|
|
36
|
-
var executor_default =
|
|
36
|
+
var executor_default = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
|
|
37
37
|
skipReadingConfig: false,
|
|
38
38
|
hooks: {
|
|
39
39
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
addPackageJsonExports,
|
|
4
4
|
addWorkspacePackageJsonFields,
|
|
5
5
|
copyAssets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GFOMWTSR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
withRunExecutor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UENELRBB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
LogLevelLabel,
|
|
12
12
|
getStopwatch,
|
|
@@ -18,17 +18,16 @@ import {
|
|
|
18
18
|
writeInfo,
|
|
19
19
|
writeSuccess,
|
|
20
20
|
writeTrace
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KNXGOGL5.mjs";
|
|
22
22
|
import {
|
|
23
23
|
joinPaths
|
|
24
24
|
} from "./chunk-PVTEDLBL.mjs";
|
|
25
25
|
import {
|
|
26
|
-
__name
|
|
27
|
-
__require
|
|
26
|
+
__name
|
|
28
27
|
} from "./chunk-XUV4U54K.mjs";
|
|
29
28
|
|
|
30
29
|
// ../unbuild/src/build.ts
|
|
31
|
-
import {
|
|
30
|
+
import { readCachedProjectGraph as readCachedProjectGraph2, writeJsonFile } from "@nx/devkit";
|
|
32
31
|
import { getHelperDependency as getHelperDependency2, HelperDependency as HelperDependency2 } from "@nx/js";
|
|
33
32
|
import { calculateProjectBuildableDependencies as calculateProjectBuildableDependencies2 } from "@nx/js/src/utils/buildable-libs-utils";
|
|
34
33
|
import defu from "defu";
|
|
@@ -97,28 +96,8 @@ ${error ? error.message : "Unknown build error"}
|
|
|
97
96
|
}
|
|
98
97
|
}), "onErrorPlugin");
|
|
99
98
|
|
|
100
|
-
// ../unbuild/src/plugins/swc.ts
|
|
101
|
-
var swcPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => {
|
|
102
|
-
const { transform } = __require("@swc/core");
|
|
103
|
-
return {
|
|
104
|
-
name: "storm:swc",
|
|
105
|
-
transform(code, filename) {
|
|
106
|
-
return transform(code, {
|
|
107
|
-
filename,
|
|
108
|
-
jsc: {
|
|
109
|
-
transform: {
|
|
110
|
-
react: {
|
|
111
|
-
runtime: "automatic"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
}, "swcPlugin");
|
|
119
|
-
|
|
120
99
|
// ../unbuild/src/plugins/tsc.ts
|
|
121
|
-
import {
|
|
100
|
+
import { readCachedProjectGraph } from "@nx/devkit";
|
|
122
101
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
123
102
|
import { getHelperDependency, HelperDependency } from "@nx/js/src/utils/compiler-helper-dependency";
|
|
124
103
|
import ts2Plugin from "rollup-plugin-typescript2";
|
|
@@ -151,9 +130,7 @@ __name(createTsCompilerOptions, "createTsCompilerOptions");
|
|
|
151
130
|
|
|
152
131
|
// ../unbuild/src/plugins/tsc.ts
|
|
153
132
|
var tscPlugin = /* @__PURE__ */ __name(async (options, resolvedOptions) => {
|
|
154
|
-
const projectGraph =
|
|
155
|
-
exitOnError: true
|
|
156
|
-
});
|
|
133
|
+
const projectGraph = readCachedProjectGraph();
|
|
157
134
|
const result = calculateProjectBuildableDependencies(void 0, projectGraph, resolvedOptions.config.workspaceRoot, resolvedOptions.projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
158
135
|
let dependencies = result.dependencies;
|
|
159
136
|
const tsLibDependency = getHelperDependency(HelperDependency.tsc, resolvedOptions.tsconfig, dependencies, projectGraph, true);
|
|
@@ -172,37 +149,39 @@ var tscPlugin = /* @__PURE__ */ __name(async (options, resolvedOptions) => {
|
|
|
172
149
|
|
|
173
150
|
// ../unbuild/src/plugins/type-definitions.ts
|
|
174
151
|
import { relative } from "node:path";
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
152
|
+
function typeDefinitions(projectRoot) {
|
|
153
|
+
return {
|
|
154
|
+
name: "storm:dts-bundle",
|
|
155
|
+
async generateBundle(_opts, bundle) {
|
|
156
|
+
for (const file of Object.values(bundle)) {
|
|
157
|
+
if (file.type === "asset" || !file.isEntry || file.facadeModuleId == null) {
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
const hasDefaultExport = file.exports.includes("default");
|
|
161
|
+
const entrySourceFileName = relative(projectRoot, file.facadeModuleId);
|
|
162
|
+
const entrySourceDtsName = entrySourceFileName.replace(/\.[cm]?[jt]sx?$/, "");
|
|
163
|
+
const dtsFileName = file.fileName.replace(/\.[cm]?js$/, ".d.ts");
|
|
164
|
+
const relativeSourceDtsName = JSON.stringify("./" + entrySourceDtsName);
|
|
165
|
+
const dtsFileSource = hasDefaultExport ? `
|
|
188
166
|
export * from ${relativeSourceDtsName};
|
|
189
167
|
export { default } from ${relativeSourceDtsName};
|
|
190
168
|
` : `export * from ${relativeSourceDtsName};
|
|
191
169
|
`;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
170
|
+
this.emitFile({
|
|
171
|
+
type: "asset",
|
|
172
|
+
fileName: dtsFileName,
|
|
173
|
+
source: dtsFileSource
|
|
174
|
+
});
|
|
175
|
+
}
|
|
197
176
|
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
__name(typeDefinitions, "typeDefinitions");
|
|
200
180
|
|
|
201
181
|
// ../unbuild/src/config.ts
|
|
202
182
|
var getDefaultBuildPlugins = /* @__PURE__ */ __name(async (options, resolvedOptions) => Promise.all([
|
|
203
183
|
analyzePlugin(options, resolvedOptions),
|
|
204
|
-
|
|
205
|
-
typeDefinitions(options, resolvedOptions),
|
|
184
|
+
typeDefinitions(resolvedOptions.projectRoot),
|
|
206
185
|
tscPlugin(options, resolvedOptions),
|
|
207
186
|
onErrorPlugin(options, resolvedOptions)
|
|
208
187
|
].map((plugin) => Promise.resolve(plugin))), "getDefaultBuildPlugins");
|
|
@@ -227,9 +206,7 @@ async function resolveOptions(options) {
|
|
|
227
206
|
options = defu(options, configFile);
|
|
228
207
|
}
|
|
229
208
|
}
|
|
230
|
-
const projectGraph =
|
|
231
|
-
exitOnError: true
|
|
232
|
-
});
|
|
209
|
+
const projectGraph = readCachedProjectGraph2();
|
|
233
210
|
const projectJsonPath = joinPaths(config.workspaceRoot, projectRoot, "project.json");
|
|
234
211
|
if (!existsSync(projectJsonPath)) {
|
|
235
212
|
throw new Error("Cannot find project.json configuration");
|
|
@@ -257,10 +234,6 @@ async function resolveOptions(options) {
|
|
|
257
234
|
if (!existsSync(sourceRoot)) {
|
|
258
235
|
throw new Error("Cannot find sourceRoot directory");
|
|
259
236
|
}
|
|
260
|
-
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
261
|
-
if (!projectConfigurations?.projects?.[projectName]) {
|
|
262
|
-
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
263
|
-
}
|
|
264
237
|
const result = calculateProjectBuildableDependencies2(void 0, projectGraph, workspaceRoot.dir, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
265
238
|
let dependencies = result.dependencies;
|
|
266
239
|
const tsLibDependency = getHelperDependency2(HelperDependency2.tsc, tsconfig, dependencies, projectGraph, true);
|
|
@@ -395,8 +368,7 @@ async function generatePackageJson(options) {
|
|
|
395
368
|
let packageJson = JSON.parse(packageJsonContent);
|
|
396
369
|
packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
397
370
|
packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
398
|
-
|
|
399
|
-
await writeJsonFile(joinPaths(options.outDir, "package.json"), packageJson);
|
|
371
|
+
await writeJsonFile(joinPaths(options.outDir, "package.json"), await addPackageJsonExports(options.sourceRoot, packageJson));
|
|
400
372
|
stopwatch();
|
|
401
373
|
}
|
|
402
374
|
return options;
|
package/dist/executors.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLXPMDNMJjs = require('./chunk-LXPMDNMJ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk45GU4HW2js = require('./chunk-45GU4HW2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkY2IMY233js = require('./chunk-Y2IMY233.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkX7YSSPPZjs = require('./chunk-X7YSSPPZ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkS7QZCTBRjs = require('./chunk-S7QZCTBR.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk4KC6BQY6js = require('./chunk-4KC6BQY6.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
25
|
+
var _chunkAEHR536Cjs = require('./chunk-AEHR536C.js');
|
|
26
|
+
require('./chunk-22DNWOG2.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkI56CGXM6js = require('./chunk-I56CGXM6.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk6G34PMHGjs = require('./chunk-6G34PMHG.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkIQU4KSXCjs = require('./chunk-IQU4KSXC.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkTRTFGC6Njs = require('./chunk-TRTFGC6N.js');
|
|
39
|
+
require('./chunk-LDCPNOWX.js');
|
|
39
40
|
require('./chunk-INAG73GE.js');
|
|
40
|
-
require('./chunk-
|
|
41
|
+
require('./chunk-5CPYNJT2.js');
|
|
42
|
+
require('./chunk-IX2EZD3F.js');
|
|
41
43
|
require('./chunk-ZMFVKBRM.js');
|
|
42
|
-
require('./chunk-MSENNRAY.js');
|
|
43
44
|
require('./chunk-BWFTYFWM.js');
|
|
44
|
-
require('./chunk-
|
|
45
|
-
require('./chunk-36FMHXUD.js');
|
|
45
|
+
require('./chunk-ULBTYC2B.js');
|
|
46
46
|
require('./chunk-5MKQX2FE.js');
|
|
47
47
|
require('./chunk-XCSSYTCU.js');
|
|
48
48
|
require('./chunk-3GQAWCBQ.js');
|
|
@@ -59,4 +59,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
exports.LARGE_BUFFER = _chunk45GU4HW2js.LARGE_BUFFER; exports.cargoBuildExecutor =
|
|
62
|
+
exports.LARGE_BUFFER = _chunk45GU4HW2js.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkI56CGXM6js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunk6G34PMHGjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkIQU4KSXCjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkTRTFGC6Njs.cargoDocExecutor; exports.cargoFormatExecutor = _chunk4KC6BQY6js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkAEHR536Cjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkY2IMY233js.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkS7QZCTBRjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkX7YSSPPZjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkLXPMDNMJjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import "./chunk-V7YZ3666.mjs";
|
|
2
2
|
import {
|
|
3
3
|
unbuildExecutorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YMGOLNMM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
LARGE_BUFFER
|
|
7
7
|
} from "./chunk-PS2NPPRM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
sizeLimitExecutorFn
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
tsdownExecutorFn
|
|
13
|
-
} from "./chunk-T7IVGU7T.mjs";
|
|
10
|
+
} from "./chunk-3QS2VXIW.mjs";
|
|
14
11
|
import {
|
|
15
12
|
typiaExecutorFn
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-E4RAOLUW.mjs";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
tsdownExecutorFn
|
|
16
|
+
} from "./chunk-X7G7IR2C.mjs";
|
|
20
17
|
import {
|
|
21
18
|
getRegistryVersion
|
|
22
19
|
} from "./chunk-6ZQ3QYXH.mjs";
|
|
20
|
+
import {
|
|
21
|
+
cargoFormatExecutor
|
|
22
|
+
} from "./chunk-BXRWY5YI.mjs";
|
|
23
23
|
import {
|
|
24
24
|
esbuildExecutorFn
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-6S33LGZA.mjs";
|
|
26
|
+
import "./chunk-GFOMWTSR.mjs";
|
|
27
27
|
import {
|
|
28
28
|
cargoBuildExecutor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JXN5JXWD.mjs";
|
|
30
30
|
import {
|
|
31
31
|
cargoCheckExecutor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NZMTUJGQ.mjs";
|
|
33
33
|
import {
|
|
34
34
|
cargoClippyExecutor
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-S73VA7HH.mjs";
|
|
36
36
|
import {
|
|
37
37
|
cargoDocExecutor
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TAJBCIVO.mjs";
|
|
39
|
+
import "./chunk-UENELRBB.mjs";
|
|
39
40
|
import "./chunk-DLQLZTCZ.mjs";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-NDDXQD7R.mjs";
|
|
42
|
+
import "./chunk-KNXGOGL5.mjs";
|
|
41
43
|
import "./chunk-VYH45FO6.mjs";
|
|
42
|
-
import "./chunk-6267MSX4.mjs";
|
|
43
44
|
import "./chunk-FFBZYD6R.mjs";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-WJ5TU6JU.mjs";
|
|
45
|
+
import "./chunk-QZHIWK5Z.mjs";
|
|
46
46
|
import "./chunk-DMUTOQCB.mjs";
|
|
47
47
|
import "./chunk-PVTEDLBL.mjs";
|
|
48
48
|
import "./chunk-XUV4U54K.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLPWSHG6Ojs = require('./chunk-LPWSHG6O.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAX2GAIC6js = require('./chunk-AX2GAIC6.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkEDHSW6KAjs = require('./chunk-EDHSW6KA.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkDDDV5CIYjs = require('./chunk-DDDV5CIY.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkDIPIPI7Hjs = require('./chunk-DIPIPI7H.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkEI3PUSCCjs = require('./chunk-EI3PUSCC.js');
|
|
23
23
|
require('./chunk-FBLF4KJF.js');
|
|
24
|
+
require('./chunk-CXLDWFA3.js');
|
|
24
25
|
require('./chunk-7YRW5HNX.js');
|
|
25
26
|
require('./chunk-HI4G4OOG.js');
|
|
26
|
-
require('./chunk-ZMFVKBRM.js');
|
|
27
|
-
require('./chunk-NCVJPQSP.js');
|
|
28
27
|
require('./chunk-5CPYNJT2.js');
|
|
29
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-IX2EZD3F.js');
|
|
29
|
+
require('./chunk-ZMFVKBRM.js');
|
|
30
30
|
require('./chunk-5MKQX2FE.js');
|
|
31
31
|
require('./chunk-XCSSYTCU.js');
|
|
32
32
|
require('./chunk-3GQAWCBQ.js');
|
|
@@ -38,4 +38,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.browserLibraryGeneratorFn =
|
|
41
|
+
exports.browserLibraryGeneratorFn = _chunkDIPIPI7Hjs.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkEI3PUSCCjs.configSchemaGeneratorFn; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkLPWSHG6Ojs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkAX2GAIC6js.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkDDDV5CIYjs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkEDHSW6KAjs.releaseVersionGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "./chunk-RLIZVCIN.mjs";
|
|
2
2
|
import {
|
|
3
3
|
neutralLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PE2DD2SV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
nodeLibraryGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
presetGeneratorFn
|
|
10
|
-
} from "./chunk-QMJ7P54Z.mjs";
|
|
7
|
+
} from "./chunk-KKDGYFKY.mjs";
|
|
11
8
|
import {
|
|
12
9
|
releaseVersionGeneratorFn
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UK7LZSMG.mjs";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
presetGeneratorFn
|
|
13
|
+
} from "./chunk-VHTLAFRU.mjs";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
browserLibraryGeneratorFn
|
|
16
|
+
} from "./chunk-FAD3MJIO.mjs";
|
|
20
17
|
import {
|
|
21
18
|
initGenerator
|
|
22
19
|
} from "./chunk-J5SXKBBU.mjs";
|
|
20
|
+
import {
|
|
21
|
+
configSchemaGeneratorFn
|
|
22
|
+
} from "./chunk-357OS575.mjs";
|
|
23
23
|
import "./chunk-XSRDTQ5C.mjs";
|
|
24
|
+
import "./chunk-63CXRJMW.mjs";
|
|
24
25
|
import "./chunk-66TYTM73.mjs";
|
|
25
26
|
import "./chunk-EK75QNMS.mjs";
|
|
26
|
-
import "./chunk-VYH45FO6.mjs";
|
|
27
|
-
import "./chunk-B3KIYNGT.mjs";
|
|
28
27
|
import "./chunk-NDDXQD7R.mjs";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-KNXGOGL5.mjs";
|
|
29
|
+
import "./chunk-VYH45FO6.mjs";
|
|
30
30
|
import "./chunk-DMUTOQCB.mjs";
|
|
31
31
|
import "./chunk-PVTEDLBL.mjs";
|
|
32
32
|
import "./chunk-XUV4U54K.mjs";
|