@storm-software/workspace-tools 1.296.81 → 1.296.85
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/config/base.json +13 -14
- package/config/bun.json +230 -0
- package/config/recommended.json +17 -15
- package/dist/{chunk-SZWM7COV.js → chunk-3G7PNDZ5.js} +15 -2
- package/dist/chunk-5BGCA73V.mjs +39 -0
- package/dist/{chunk-WCUI5X7P.js → chunk-5KAJDSTQ.js} +17 -15
- package/dist/{chunk-3VIV3TF3.js → chunk-CSH4G6YP.js} +11 -5
- package/dist/{chunk-QC5ON3X4.mjs → chunk-DEHA5C77.mjs} +15 -2
- package/dist/{chunk-Q36BH543.mjs → chunk-E2PVUX2W.mjs} +25 -209
- package/dist/{chunk-YXDHTGAK.js → chunk-FETI3TYM.js} +47 -35
- package/dist/{chunk-2OB3TJFJ.mjs → chunk-FQ7VZ2JR.mjs} +1 -1
- package/dist/{chunk-C2QNKR3W.mjs → chunk-G35OKYMG.mjs} +1 -1
- package/dist/{chunk-TM2CRDJW.js → chunk-HN5UXNLM.js} +33 -12
- package/dist/{chunk-2UJDNCR7.mjs → chunk-HU2ZYTZL.mjs} +44 -32
- package/dist/{chunk-2F7AZHRH.js → chunk-ILSI74FW.js} +49 -20
- package/dist/{chunk-NNDVMJGY.mjs → chunk-KMTNXFZA.mjs} +17 -15
- package/dist/chunk-KSEB2U7B.js +318 -0
- package/dist/{chunk-EHJC5RYU.mjs → chunk-M7W3EPWR.mjs} +2 -2
- package/dist/{chunk-323C3SE6.js → chunk-MYALGFOC.js} +3 -3
- package/dist/chunk-OGB3BDE5.js +39 -0
- package/dist/{chunk-77B77QNY.mjs → chunk-VQYZG5YE.mjs} +33 -12
- package/dist/{chunk-R4GXDUM2.mjs → chunk-WU2HALDD.mjs} +11 -5
- package/dist/{chunk-NTTC774E.mjs → chunk-XSHN3XHD.mjs} +39 -10
- package/dist/{chunk-EEMND2GI.js → chunk-ZM4LIWD4.js} +3 -3
- package/dist/{chunk-2R2MHEOI.js → chunk-ZO6ZPXB7.js} +5 -5
- package/dist/executors.js +14 -13
- package/dist/executors.mjs +15 -14
- package/dist/generators.js +10 -9
- package/dist/generators.mjs +11 -10
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +62 -36
- package/dist/index.mjs +67 -41
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/npm-publish/executor.js +3 -2
- package/dist/src/executors/npm-publish/executor.mjs +2 -1
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/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 -3
- package/dist/src/generators/preset/generator.mjs +3 -2
- package/dist/src/plugins/rust/cargo-toml.js +6 -2
- package/dist/src/plugins/rust/cargo-toml.mjs +5 -1
- package/dist/src/plugins/rust/index.js +6 -2
- package/dist/src/plugins/rust/index.mjs +5 -1
- package/dist/src/plugins/typescript/index.js +19 -14
- package/dist/src/plugins/typescript/index.mjs +20 -15
- package/dist/src/plugins/typescript/tsdown.js +16 -11
- package/dist/src/plugins/typescript/tsdown.mjs +16 -11
- package/dist/src/plugins/typescript/tsup.js +16 -11
- package/dist/src/plugins/typescript/tsup.mjs +16 -11
- package/dist/src/plugins/typescript/untyped-schema.js +16 -8
- package/dist/src/plugins/typescript/untyped-schema.mjs +16 -8
- package/dist/src/utils/index.d.mts +4 -3
- package/dist/src/utils/index.d.ts +4 -3
- package/dist/src/utils/index.js +37 -10
- package/dist/src/utils/index.mjs +45 -18
- package/dist/src/utils/lock-file.d.mts +16 -4
- package/dist/src/utils/lock-file.d.ts +16 -4
- package/dist/src/utils/lock-file.js +12 -2
- package/dist/src/utils/lock-file.mjs +11 -1
- package/dist/src/utils/nx-json.js +2 -2
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-manager.d.mts +33 -0
- package/dist/src/utils/package-manager.d.ts +33 -0
- package/dist/src/utils/package-manager.js +14 -0
- package/dist/src/utils/package-manager.mjs +15 -0
- package/dist/src/utils/versions.d.mts +11 -2
- package/dist/src/utils/versions.d.ts +11 -2
- package/dist/src/utils/versions.js +10 -2
- package/dist/src/utils/versions.mjs +11 -3
- package/package.json +15 -10
- package/dist/chunk-F6U5OQR6.js +0 -502
- /package/dist/{chunk-DO2X7OZO.js → chunk-CVKUY5YY.js} +0 -0
- /package/dist/{chunk-XCVH63OO.mjs → chunk-QCN77EOQ.mjs} +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getLockFileName
|
|
3
|
+
} from "./chunk-VQYZG5YE.mjs";
|
|
1
4
|
import {
|
|
2
5
|
nodeVersion,
|
|
6
|
+
packageManagerVersions,
|
|
3
7
|
pnpmVersion
|
|
4
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DEHA5C77.mjs";
|
|
5
9
|
import {
|
|
6
10
|
withRunGenerator
|
|
7
11
|
} from "./chunk-Y5BPWYHW.mjs";
|
|
@@ -15,12 +19,17 @@ import {
|
|
|
15
19
|
addProjectConfiguration,
|
|
16
20
|
formatFiles,
|
|
17
21
|
generateFiles,
|
|
22
|
+
getPackageManagerCommand,
|
|
18
23
|
joinPathFragments,
|
|
19
24
|
updateJson
|
|
20
25
|
} from "@nx/devkit";
|
|
21
26
|
import * as path from "node:path";
|
|
22
27
|
async function presetGeneratorFn(tree, options) {
|
|
23
28
|
const projectRoot = ".";
|
|
29
|
+
const packageManager = options.packageManager ?? "pnpm";
|
|
30
|
+
const packageManagerVersion = packageManagerVersions[packageManager];
|
|
31
|
+
const pmc = getPackageManagerCommand(packageManager);
|
|
32
|
+
const lockFileName = getLockFileName(packageManager);
|
|
24
33
|
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
25
34
|
options.namespace ??= options.organization;
|
|
26
35
|
addProjectConfiguration(tree, `@${options.namespace}/${options.name}`, {
|
|
@@ -88,11 +97,6 @@ async function presetGeneratorFn(tree, options) {
|
|
|
88
97
|
type: "github",
|
|
89
98
|
url: `${options.repositoryUrl}.git`
|
|
90
99
|
};
|
|
91
|
-
json.packageManager ??= "pnpm@10.3.0";
|
|
92
|
-
json.engines ??= {
|
|
93
|
-
node: ">=20.11.0",
|
|
94
|
-
pnpm: ">=10.3.0"
|
|
95
|
-
};
|
|
96
100
|
json.prettier = "@storm-software/prettier/config.json";
|
|
97
101
|
json.nx ??= {
|
|
98
102
|
includedScripts: [
|
|
@@ -109,14 +113,14 @@ async function presetGeneratorFn(tree, options) {
|
|
|
109
113
|
"release"
|
|
110
114
|
]
|
|
111
115
|
};
|
|
112
|
-
json.scripts.adr = "
|
|
113
|
-
json.scripts["adr-preview"] = "
|
|
114
|
-
json.scripts.prepare =
|
|
115
|
-
json.scripts.preinstall =
|
|
116
|
-
json.scripts["install-csb"] = "corepack enable &&
|
|
116
|
+
json.scripts.adr = pmc.run("log4brains", "adr new");
|
|
117
|
+
json.scripts["adr-preview"] = pmc.run("log4brains", "preview");
|
|
118
|
+
json.scripts.prepare = `${pmc.addDev} lefthook && ${packageManager} lefthook install`;
|
|
119
|
+
json.scripts.preinstall = `npx -y only-allow ${packageManager}`;
|
|
120
|
+
json.scripts["install-csb"] = packageManager === "bun" ? "bun install" : `corepack enable && ${pmc.install}`;
|
|
117
121
|
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";
|
|
118
|
-
json.scripts.nuke =
|
|
119
|
-
json.scripts.prebuild =
|
|
122
|
+
json.scripts.nuke = `nx clear-cache && rimraf .nx/cache && rimraf .nx/workspace-data && ${packageManager} clean && rimraf ${lockFileName} && rimraf --glob packages/**/node_modules && rimraf --glob tools/**/node_modules && rimraf node_modules`;
|
|
123
|
+
json.scripts.prebuild = `${packageManager} clean`;
|
|
120
124
|
json.scripts.build = "nx affected -t build --parallel=5";
|
|
121
125
|
json.scripts["build-all"] = "nx run-many -t build --all --parallel=5";
|
|
122
126
|
json.scripts["build-prod"] = "nx run-many -t build --all --prod --parallel=5";
|
|
@@ -131,45 +135,53 @@ async function presetGeneratorFn(tree, options) {
|
|
|
131
135
|
}
|
|
132
136
|
json.scripts.nx = "nx";
|
|
133
137
|
json.scripts.graph = "nx graph";
|
|
134
|
-
json.scripts.lint = "pnpm storm-lint all --skip-cspell --skip-alex";
|
|
135
138
|
if (options.includeApps) {
|
|
136
139
|
json.scripts.start = "nx serve";
|
|
137
|
-
json.scripts.storybook = "
|
|
140
|
+
json.scripts.storybook = pmc.run("storybook", "dev -p 6006");
|
|
138
141
|
}
|
|
139
142
|
json.scripts.help = "nx help";
|
|
140
143
|
json.scripts["dep-graph"] = "nx dep-graph";
|
|
141
144
|
json.scripts["local-registry"] = `nx local-registry @${options.namespace}/${options.name}`;
|
|
142
145
|
json.scripts.e2e = "nx e2e";
|
|
143
146
|
if (options.includeApps) {
|
|
144
|
-
json.scripts.test =
|
|
145
|
-
json.scripts["test-storybook"] =
|
|
147
|
+
json.scripts.test = `nx test && ${packageManager} test-storybook`;
|
|
148
|
+
json.scripts["test-storybook"] = `${packageManager} test-storybook`;
|
|
146
149
|
} else {
|
|
147
150
|
json.scripts.test = "nx test";
|
|
148
151
|
}
|
|
149
|
-
json.scripts.
|
|
150
|
-
json.scripts
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
json.scripts.commit = pmc.run("storm-git", "commit");
|
|
153
|
+
json.scripts["api-extractor"] = pmc.run(
|
|
154
|
+
"storm-docs",
|
|
155
|
+
'api-extractor --outputPath="docs/api-reference" --clean'
|
|
156
|
+
);
|
|
157
|
+
json.scripts.release = pmc.run("storm-git", "release");
|
|
153
158
|
json.scripts.format = "nx format:write";
|
|
154
|
-
json.scripts["format-sherif"] =
|
|
155
|
-
json.scripts["format-toml"] =
|
|
156
|
-
json.scripts["format-readme"] =
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
json.scripts["
|
|
161
|
-
json.scripts
|
|
162
|
-
json.
|
|
159
|
+
json.scripts["format-sherif"] = `${pmc.exec} sherif -f -i typescript -i react -i react-dom`;
|
|
160
|
+
json.scripts["format-toml"] = `${pmc.exec} taplo format --config="./node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="./node_modules/.cache/storm/taplo"`;
|
|
161
|
+
json.scripts["format-readme"] = pmc.run(
|
|
162
|
+
"storm-git",
|
|
163
|
+
'readme --templates="tools/readme-templates"'
|
|
164
|
+
);
|
|
165
|
+
json.scripts["format-prettier"] = `${pmc.exec} prettier --write --ignore-unknown --no-error-on-unmatched-pattern --cache && git update-index`;
|
|
166
|
+
json.scripts.lint = pmc.run("storm-lint", "all --skip-cspell");
|
|
167
|
+
json.scripts["lint-knip"] = `${pmc.exec} knip`;
|
|
168
|
+
json.scripts["lint-sherif"] = `${pmc.exec} sherif -i typescript -i react -i react-dom`;
|
|
169
|
+
json.scripts["lint-ls"] = `${pmc.exec} ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"`;
|
|
170
|
+
json.packageManager ??= `${packageManager}@${packageManagerVersion}`;
|
|
163
171
|
json.engines = {
|
|
164
172
|
node: `>=${nodeVersion}`,
|
|
165
|
-
|
|
173
|
+
[packageManager]: `>=${packageManagerVersion}`
|
|
166
174
|
};
|
|
167
175
|
return json;
|
|
168
176
|
});
|
|
169
177
|
generateFiles(tree, path.join(__dirname, "files"), projectRoot, {
|
|
170
178
|
...options,
|
|
179
|
+
packageManager,
|
|
180
|
+
packageManagerVersion,
|
|
171
181
|
pnpmVersion,
|
|
172
|
-
nodeVersion
|
|
182
|
+
nodeVersion,
|
|
183
|
+
lockFileName,
|
|
184
|
+
exec: pmc.exec
|
|
173
185
|
});
|
|
174
186
|
await formatFiles(tree);
|
|
175
187
|
let dependencies = {
|
|
@@ -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 _chunk3G7PNDZ5js = require('./chunk-3G7PNDZ5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -155,16 +155,45 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
if (tree.exists("package.json") && normalized.importPath) {
|
|
158
|
-
_devkit.updateJson.call(void 0, tree, "package.json", (json) =>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
158
|
+
_devkit.updateJson.call(void 0, tree, "package.json", (json) => {
|
|
159
|
+
if (_optionalChain([config, 'optionalAccess', _10 => _10.packageManager]) === "yarn") {
|
|
160
|
+
return {
|
|
161
|
+
...json,
|
|
162
|
+
resolutions: {
|
|
163
|
+
..._optionalChain([json, 'optionalAccess', _11 => _11.resolutions]),
|
|
164
|
+
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
if (_optionalChain([config, 'optionalAccess', _12 => _12.packageManager]) === "npm") {
|
|
169
|
+
return {
|
|
170
|
+
...json,
|
|
171
|
+
overrides: {
|
|
172
|
+
..._optionalChain([json, 'optionalAccess', _13 => _13.overrides]),
|
|
173
|
+
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
if (_optionalChain([config, 'optionalAccess', _14 => _14.packageManager]) === "bun") {
|
|
178
|
+
return {
|
|
179
|
+
...json,
|
|
180
|
+
overrides: {
|
|
181
|
+
..._optionalChain([json, 'optionalAccess', _15 => _15.overrides]),
|
|
182
|
+
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
183
|
+
}
|
|
184
|
+
};
|
|
166
185
|
}
|
|
167
|
-
|
|
186
|
+
return {
|
|
187
|
+
...json,
|
|
188
|
+
pnpm: {
|
|
189
|
+
..._optionalChain([json, 'optionalAccess', _16 => _16.pnpm]),
|
|
190
|
+
overrides: {
|
|
191
|
+
..._optionalChain([json, 'optionalAccess', _17 => _17.pnpm, 'optionalAccess', _18 => _18.overrides]),
|
|
192
|
+
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
});
|
|
168
197
|
}
|
|
169
198
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
170
199
|
_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
@@ -178,10 +207,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
178
207
|
]);
|
|
179
208
|
if (tree.exists("package.json")) {
|
|
180
209
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
181
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
210
|
+
if (_optionalChain([packageJson, 'optionalAccess', _19 => _19.repository])) {
|
|
182
211
|
repository = packageJson.repository;
|
|
183
212
|
}
|
|
184
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
213
|
+
if (_optionalChain([packageJson, 'optionalAccess', _20 => _20.description])) {
|
|
185
214
|
description = packageJson.description;
|
|
186
215
|
}
|
|
187
216
|
}
|
|
@@ -218,22 +247,22 @@ function getOutputPath(options) {
|
|
|
218
247
|
function createProjectTsConfigJson(tree, options) {
|
|
219
248
|
const tsconfig = {
|
|
220
249
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
221
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
250
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _21 => _21.tsconfigOptions]), () => ( {})),
|
|
222
251
|
compilerOptions: {
|
|
223
252
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
224
253
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
225
254
|
noEmit: true,
|
|
226
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
255
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _22 => _22.tsconfigOptions, 'optionalAccess', _23 => _23.compilerOptions]), () => ( {}))
|
|
227
256
|
},
|
|
228
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
257
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _24 => _24.tsconfigOptions, 'optionalAccess', _25 => _25.files]), () => ( []))],
|
|
229
258
|
include: [
|
|
230
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
259
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _26 => _26.tsconfigOptions, 'optionalAccess', _27 => _27.include]), () => ( [])),
|
|
231
260
|
"src/**/*.ts",
|
|
232
261
|
"src/**/*.js",
|
|
233
262
|
"bin/**/*"
|
|
234
263
|
],
|
|
235
264
|
exclude: [
|
|
236
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
265
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _28 => _28.tsconfigOptions, 'optionalAccess', _29 => _29.exclude]), () => ( [])),
|
|
237
266
|
"jest.config.ts",
|
|
238
267
|
"src/**/*.spec.ts",
|
|
239
268
|
"src/**/*.test.ts"
|
|
@@ -243,8 +272,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
243
272
|
}
|
|
244
273
|
async function normalizeOptions(tree, options, config) {
|
|
245
274
|
let importPath = options.importPath;
|
|
246
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
247
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
275
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _30 => _30.namespace])) {
|
|
276
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _31 => _31.namespace])}/${options.name}`;
|
|
248
277
|
}
|
|
249
278
|
if (options.publishable) {
|
|
250
279
|
if (!importPath) {
|
|
@@ -257,7 +286,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
257
286
|
if (options.publishable === false && options.buildable === false) {
|
|
258
287
|
bundler = "none";
|
|
259
288
|
}
|
|
260
|
-
const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint",
|
|
289
|
+
const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint", _chunk3G7PNDZ5js.nxVersion);
|
|
261
290
|
const rootProject = false;
|
|
262
291
|
const {
|
|
263
292
|
projectName,
|
|
@@ -6,15 +6,12 @@ var recommended_default = {
|
|
|
6
6
|
allProjectFiles: ["sharedGlobals", "{projectRoot}/**/*"],
|
|
7
7
|
default: ["sharedGlobals", "{projectRoot}/**/*"],
|
|
8
8
|
sharedGlobals: [
|
|
9
|
-
"{workspaceRoot}/.github/workflows/*.yml",
|
|
10
|
-
"{workspaceRoot}/assets/**/*",
|
|
11
9
|
"{workspaceRoot}/tsconfig.json",
|
|
12
|
-
"{workspaceRoot}/tsconfig
|
|
10
|
+
"{workspaceRoot}/tsconfig.*.json",
|
|
13
11
|
"{workspaceRoot}/.npm@(rc|ignore)",
|
|
14
12
|
"{workspaceRoot}/package.json",
|
|
15
13
|
"{workspaceRoot}/{pnpm-workspace,pnpm-lock,package-lock,yarn-lock}.@(yaml|yml)",
|
|
16
|
-
"{workspaceRoot}/bun.
|
|
17
|
-
"{workspaceRoot}/LICENSE",
|
|
14
|
+
"{workspaceRoot}/bun.lock{,b}",
|
|
18
15
|
"{workspaceRoot}/.git@(attributes|ignore)",
|
|
19
16
|
"{workspaceRoot}/{nx.json,.nxignore}",
|
|
20
17
|
"{workspaceRoot}/storm-workspace{,.*}.@(json|yaml|toml)",
|
|
@@ -22,7 +19,6 @@ var recommended_default = {
|
|
|
22
19
|
"{workspaceRoot}/storm-workspace.config.[jt]s",
|
|
23
20
|
"{workspaceRoot}/.storm-workspace/config{,.*}.[jt]s",
|
|
24
21
|
"{workspaceRoot}/devenv.@(lock|nix|yaml)",
|
|
25
|
-
"{workspaceRoot}/{flake,shell,devShell}.nix",
|
|
26
22
|
"{workspaceRoot}/.envrc",
|
|
27
23
|
"{workspaceRoot}/.env{,.local,.*}"
|
|
28
24
|
],
|
|
@@ -129,14 +125,12 @@ var recommended_default = {
|
|
|
129
125
|
"{workspaceRoot}/Cargo.lock",
|
|
130
126
|
"{workspaceRoot}/.cargo/config.toml",
|
|
131
127
|
"{workspaceRoot}/rust-toolchain",
|
|
132
|
-
"{workspaceRoot}/rustfmt.toml",
|
|
133
|
-
"{workspaceRoot}/deny.toml",
|
|
134
128
|
"{projectRoot}/Cargo.toml",
|
|
135
129
|
"{projectRoot}/.cargo/config.toml",
|
|
136
130
|
{
|
|
137
131
|
runtime: "node -p '`${process.platform}_${process.arch}`'"
|
|
138
132
|
},
|
|
139
|
-
"{projectRoot}/
|
|
133
|
+
"{projectRoot}/project.json",
|
|
140
134
|
"{projectRoot}/.env{,.local}",
|
|
141
135
|
"{projectRoot}/**/*.rs",
|
|
142
136
|
"{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
|
|
@@ -155,14 +149,22 @@ var recommended_default = {
|
|
|
155
149
|
"{projectRoot}/package.json",
|
|
156
150
|
"{projectRoot}/tsconfig.json",
|
|
157
151
|
"{projectRoot}/tsconfig.*.json",
|
|
158
|
-
"{projectRoot}/
|
|
152
|
+
"{projectRoot}/project.json",
|
|
159
153
|
"{projectRoot}/.env{,.*}",
|
|
160
|
-
"{projectRoot}/docs/**/*",
|
|
161
|
-
"{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
154
|
+
"!{projectRoot}/docs/**/*",
|
|
155
|
+
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
162
156
|
"{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
|
|
163
157
|
"{projectRoot}/src/**/*.@(cts|mts|ts|tsx|graphql|gql|js|cjs|mjs|jsx|json|jsonc|yaml|yml|toml|md|mdx)",
|
|
164
158
|
"{projectRoot}/{build,tsup,tsdown,vite,contentlayer,powerlines,shell-shock,earthquake}.*.[jt]s?(x)",
|
|
165
159
|
"{projectRoot}/{bin,tools,helpers,scripts}/**/*"
|
|
160
|
+
],
|
|
161
|
+
ci: [
|
|
162
|
+
"sharedGlobals",
|
|
163
|
+
"{workspaceRoot}/.github/workflows/*.yml",
|
|
164
|
+
"{workspaceRoot}/assets/**/*",
|
|
165
|
+
"{workspaceRoot}/devenv.@(lock|nix|yaml)",
|
|
166
|
+
"{workspaceRoot}/.devenv{,.flake.nix}",
|
|
167
|
+
"{workspaceRoot}/.direnv"
|
|
166
168
|
]
|
|
167
169
|
},
|
|
168
170
|
targetDefaults: {
|
|
@@ -173,8 +175,8 @@ var recommended_default = {
|
|
|
173
175
|
executor: "nx:run-commands",
|
|
174
176
|
options: {
|
|
175
177
|
commands: [
|
|
176
|
-
"pnpm
|
|
177
|
-
"pnpm
|
|
178
|
+
"pnpm rimraf --glob {projectRoot}/dist",
|
|
179
|
+
"pnpm rimraf dist/{projectRoot}"
|
|
178
180
|
]
|
|
179
181
|
}
|
|
180
182
|
},
|
|
@@ -194,7 +196,7 @@ var recommended_default = {
|
|
|
194
196
|
version: {
|
|
195
197
|
currentVersionResolver: "git-tag",
|
|
196
198
|
specifierSource: "conventional-commits",
|
|
197
|
-
groupPreVersionCommand: "
|
|
199
|
+
groupPreVersionCommand: "build",
|
|
198
200
|
manifestRootsToUpdate: [
|
|
199
201
|
"{projectRoot}",
|
|
200
202
|
{
|