@ariestools/toolchain 8.7.27 → 8.7.29
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 +27 -0
- package/dist/actions/analyze.d.ts +27 -9
- package/dist/actions/analyze.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts +6 -2
- package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/couplingWalk.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/depSignals.d.ts +12 -4
- package/dist/actions/api-exposure/analyzer/depSignals.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts +9 -3
- package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/importedPackages.d.ts +6 -2
- package/dist/actions/api-exposure/analyzer/importedPackages.d.ts.map +1 -1
- package/dist/actions/api-exposure/apiExposure.d.ts +9 -3
- package/dist/actions/api-exposure/apiExposure.d.ts.map +1 -1
- package/dist/actions/api-exposure/config.d.ts +12 -4
- package/dist/actions/api-exposure/config.d.ts.map +1 -1
- package/dist/actions/api-exposure/installStrategy.d.ts +6 -2
- package/dist/actions/api-exposure/installStrategy.d.ts.map +1 -1
- package/dist/actions/api-exposure/reporters.d.ts +3 -1
- package/dist/actions/api-exposure/reporters.d.ts.map +1 -1
- package/dist/actions/api-exposure/scoring.d.ts +3 -1
- package/dist/actions/api-exposure/scoring.d.ts.map +1 -1
- package/dist/actions/api-exposure/types.d.ts +48 -16
- package/dist/actions/api-exposure/types.d.ts.map +1 -1
- package/dist/actions/barrel/index.d.ts +0 -1
- package/dist/actions/barrel/index.d.ts.map +1 -1
- package/dist/actions/barrel/restrictionHelpers.d.ts +0 -19
- package/dist/actions/barrel/restrictionHelpers.d.ts.map +1 -1
- package/dist/actions/compile.d.ts +9 -3
- package/dist/actions/compile.d.ts.map +1 -1
- package/dist/actions/dead/analyzePackage.d.ts +18 -6
- package/dist/actions/dead/analyzePackage.d.ts.map +1 -1
- package/dist/actions/dead/collectSymbols.d.ts +12 -4
- package/dist/actions/dead/collectSymbols.d.ts.map +1 -1
- package/dist/actions/dead/evaluateRules.d.ts +3 -1
- package/dist/actions/dead/evaluateRules.d.ts.map +1 -1
- package/dist/actions/dead/findWorkspaceFile.d.ts +3 -1
- package/dist/actions/dead/findWorkspaceFile.d.ts.map +1 -1
- package/dist/actions/dead/ruleNames.d.ts +3 -1
- package/dist/actions/dead/ruleNames.d.ts.map +1 -1
- package/dist/actions/dead/runDeadAnalysis.d.ts +3 -1
- package/dist/actions/dead/runDeadAnalysis.d.ts.map +1 -1
- package/dist/actions/dead/sourceEdits.d.ts +3 -1
- package/dist/actions/dead/sourceEdits.d.ts.map +1 -1
- package/dist/actions/deplint/checkPackage/checkPackage.d.ts +3 -1
- package/dist/actions/deplint/checkPackage/checkPackage.d.ts.map +1 -1
- package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +6 -2
- package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -1
- package/dist/actions/deplint/collectPickRows.d.ts +24 -8
- package/dist/actions/deplint/collectPickRows.d.ts.map +1 -1
- package/dist/actions/deplint/deplint.d.ts +9 -3
- package/dist/actions/deplint/deplint.d.ts.map +1 -1
- package/dist/actions/deplint/deplintPick.d.ts +3 -1
- package/dist/actions/deplint/deplintPick.d.ts.map +1 -1
- package/dist/actions/deplint/editXyConfigPackages.d.ts +9 -3
- package/dist/actions/deplint/editXyConfigPackages.d.ts.map +1 -1
- package/dist/actions/deplint/fetchPackageManifest.d.ts +6 -2
- package/dist/actions/deplint/fetchPackageManifest.d.ts.map +1 -1
- package/dist/actions/deplint/findFiles.d.ts +6 -2
- package/dist/actions/deplint/findFiles.d.ts.map +1 -1
- package/dist/actions/deplint/getExternalImportsFromFiles.d.ts.map +1 -1
- package/dist/actions/deplint/interactivePick.d.ts +3 -1
- package/dist/actions/deplint/interactivePick.d.ts.map +1 -1
- package/dist/actions/deplint/isTerminalPackage.d.ts +12 -4
- package/dist/actions/deplint/isTerminalPackage.d.ts.map +1 -1
- package/dist/actions/deplint/resolvePeerBumpFixes.d.ts +3 -1
- package/dist/actions/deplint/resolvePeerBumpFixes.d.ts.map +1 -1
- package/dist/actions/deplint/snapshot.d.ts +24 -8
- package/dist/actions/deplint/snapshot.d.ts.map +1 -1
- package/dist/actions/deplint/sourceFileCache.d.ts +3 -1
- package/dist/actions/deplint/sourceFileCache.d.ts.map +1 -1
- package/dist/actions/deplint/types.d.ts +66 -22
- package/dist/actions/deplint/types.d.ts.map +1 -1
- package/dist/actions/gitignore.d.ts +3 -1
- package/dist/actions/gitignore.d.ts.map +1 -1
- package/dist/actions/lint.d.ts +15 -5
- package/dist/actions/lint.d.ts.map +1 -1
- package/dist/actions/lintNext.d.ts +6 -2
- package/dist/actions/lintNext.d.ts.map +1 -1
- package/dist/actions/lintNextWorker.d.ts +36 -12
- package/dist/actions/lintNextWorker.d.ts.map +1 -1
- package/dist/actions/lintPackageFilter.d.ts +15 -5
- package/dist/actions/lintPackageFilter.d.ts.map +1 -1
- package/dist/actions/package/clean-outputs.d.ts +3 -1
- package/dist/actions/package/clean-outputs.d.ts.map +1 -1
- package/dist/actions/package/clean-typescript.d.ts +3 -1
- package/dist/actions/package/clean-typescript.d.ts.map +1 -1
- package/dist/actions/package/cleanGitignore.d.ts +6 -2
- package/dist/actions/package/cleanGitignore.d.ts.map +1 -1
- package/dist/actions/package/cleanPlan.d.ts +6 -2
- package/dist/actions/package/cleanPlan.d.ts.map +1 -1
- package/dist/actions/package/cleanRules.d.ts +15 -5
- package/dist/actions/package/cleanRules.d.ts.map +1 -1
- package/dist/actions/package/compile/ApiExposureConfig.d.ts +24 -8
- package/dist/actions/package/compile/ApiExposureConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/CleanConfig.d.ts +3 -1
- package/dist/actions/package/compile/CleanConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/MonolithConfig.d.ts +39 -13
- package/dist/actions/package/compile/MonolithConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/PublintConfig.d.ts +6 -2
- package/dist/actions/package/compile/PublintConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/XyConfig.d.ts +162 -54
- package/dist/actions/package/compile/XyConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/createProgramFromConfig.d.ts +18 -6
- package/dist/actions/package/compile/createProgramFromConfig.d.ts.map +1 -1
- package/dist/actions/package/compile/inputs.d.ts.map +1 -1
- package/dist/actions/package/compile/monolithCompileDeclarations.d.ts +3 -1
- package/dist/actions/package/compile/monolithCompileDeclarations.d.ts.map +1 -1
- package/dist/actions/package/compile/monolithCompileEntries.d.ts.map +1 -1
- package/dist/actions/package/compile/monolithCompileLayout.d.ts +15 -5
- package/dist/actions/package/compile/monolithCompileLayout.d.ts.map +1 -1
- package/dist/actions/package/compile/monolithCopyEntries.d.ts +6 -2
- package/dist/actions/package/compile/monolithCopyEntries.d.ts.map +1 -1
- package/dist/actions/package/compile/monolithReexport.d.ts +12 -4
- package/dist/actions/package/compile/monolithReexport.d.ts.map +1 -1
- package/dist/actions/package/compile/packageCompileMonolith.d.ts.map +1 -1
- package/dist/actions/recompile.d.ts +3 -1
- package/dist/actions/recompile.d.ts.map +1 -1
- package/dist/actions/repo-init/index.d.ts +7 -0
- package/dist/actions/repo-init/index.d.ts.map +1 -0
- package/dist/actions/repo-init/prompts.d.ts +4 -0
- package/dist/actions/repo-init/prompts.d.ts.map +1 -0
- package/dist/actions/repo-init/resolvePlan.d.ts +7 -0
- package/dist/actions/repo-init/resolvePlan.d.ts.map +1 -0
- package/dist/actions/repo-init/scaffold.d.ts +10 -0
- package/dist/actions/repo-init/scaffold.d.ts.map +1 -0
- package/dist/actions/repo-init/skillsInstall.d.ts +12 -0
- package/dist/actions/repo-init/skillsInstall.d.ts.map +1 -0
- package/dist/actions/repo-init/templateVars.d.ts +5 -0
- package/dist/actions/repo-init/templateVars.d.ts.map +1 -0
- package/dist/actions/repo-init/types.d.ts +40 -0
- package/dist/actions/repo-init/types.d.ts.map +1 -0
- package/dist/actions/repo-init.d.ts +1 -13
- package/dist/actions/repo-init.d.ts.map +1 -1
- package/dist/actions/skills/defaults.d.ts +14 -6
- package/dist/actions/skills/defaults.d.ts.map +1 -1
- package/dist/actions/skills/passthrough.d.ts +4 -0
- package/dist/actions/skills/passthrough.d.ts.map +1 -1
- package/dist/actions/skills/skillRules.d.ts +4 -2
- package/dist/actions/skills/skillRules.d.ts.map +1 -1
- package/dist/actions/tsc-validate/sharedValidate.d.ts +6 -2
- package/dist/actions/tsc-validate/sharedValidate.d.ts.map +1 -1
- package/dist/actions/tsc-validate/tscValidate.d.ts.map +1 -1
- package/dist/actions/work/github.d.ts +9 -3
- package/dist/actions/work/github.d.ts.map +1 -1
- package/dist/actions/work/helpers.d.ts +3 -1
- package/dist/actions/work/helpers.d.ts.map +1 -1
- package/dist/actions/work/index.d.ts +6 -2
- package/dist/actions/work/index.d.ts.map +1 -1
- package/dist/actions/work/list.d.ts +6 -2
- package/dist/actions/work/list.d.ts.map +1 -1
- package/dist/actions/work/move.d.ts +3 -1
- package/dist/actions/work/move.d.ts.map +1 -1
- package/dist/actions/work/store.d.ts +3 -1
- package/dist/actions/work/store.d.ts.map +1 -1
- package/dist/actions/work/sync.d.ts +15 -5
- package/dist/actions/work/sync.d.ts.map +1 -1
- package/dist/actions/work/workspace.d.ts +15 -5
- package/dist/actions/work/workspace.d.ts.map +1 -1
- package/dist/bin/package/build.mjs +269 -185
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/clean.mjs +137 -96
- package/dist/bin/package/clean.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +149 -100
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/copy-assets-cjs.mjs +16 -14
- package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
- package/dist/bin/package/copy-assets-esm.mjs +16 -14
- package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
- package/dist/bin/package/fix.mjs +4 -3
- package/dist/bin/package/fix.mjs.map +1 -1
- package/dist/bin/package/lint-verbose.mjs +4 -3
- package/dist/bin/package/lint-verbose.mjs.map +1 -1
- package/dist/bin/package/lint.mjs +4 -3
- package/dist/bin/package/lint.mjs.map +1 -1
- package/dist/bin/package/publint.mjs +220 -165
- package/dist/bin/package/publint.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +173 -108
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/package/relint.mjs +4 -3
- package/dist/bin/package/relint.mjs.map +1 -1
- package/dist/bin/package/sync-layout.mjs +97 -71
- package/dist/bin/package/sync-layout.mjs.map +1 -1
- package/dist/bin/run-or-exec.mjs +8 -4
- package/dist/bin/run-or-exec.mjs.map +1 -1
- package/dist/bin/skills.mjs +494 -222
- package/dist/bin/skills.mjs.map +1 -1
- package/dist/bin/xy.mjs +2962 -2549
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/lib/copyAssetFiles.d.ts +3 -1
- package/dist/lib/copyAssetFiles.d.ts.map +1 -1
- package/dist/lib/licenseCheck/checkLicenses.d.ts +18 -6
- package/dist/lib/licenseCheck/checkLicenses.d.ts.map +1 -1
- package/dist/lib/licenseCheck/collectProductionLicenses.d.ts +9 -3
- package/dist/lib/licenseCheck/collectProductionLicenses.d.ts.map +1 -1
- package/dist/lib/licenseCheck/readPackageLicense.d.ts +6 -2
- package/dist/lib/licenseCheck/readPackageLicense.d.ts.map +1 -1
- package/dist/lib/loadConfig.d.ts.map +1 -1
- package/dist/lib/match.d.ts +6 -2
- package/dist/lib/match.d.ts.map +1 -1
- package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts +12 -4
- package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts.map +1 -1
- package/dist/lib/safeExit.d.ts +3 -1
- package/dist/lib/safeExit.d.ts.map +1 -1
- package/dist/lib/updo/fetchRegistryInfo.d.ts.map +1 -1
- package/dist/lib/updo/interactiveSelect.d.ts +6 -2
- package/dist/lib/updo/interactiveSelect.d.ts.map +1 -1
- package/dist/lib/updo/interfaces.d.ts +15 -5
- package/dist/lib/updo/interfaces.d.ts.map +1 -1
- package/dist/lib/updo/resolveVersions.d.ts +15 -5
- package/dist/lib/updo/resolveVersions.d.ts.map +1 -1
- package/dist/lib/updo/runUpdo.d.ts +12 -4
- package/dist/lib/updo/runUpdo.d.ts.map +1 -1
- package/dist/pm/PackageManager.d.ts +45 -15
- package/dist/pm/PackageManager.d.ts.map +1 -1
- package/dist/xy/common/repo/initCommand.d.ts.map +1 -1
- package/dist/xy/common/work/options.d.ts +3 -1
- package/dist/xy/common/work/options.d.ts.map +1 -1
- package/package.json +19 -19
- package/templates/repo/cli/package/package.json.tmpl +5 -5
- package/templates/repo/cli/package/tsconfig.json.tmpl +4 -0
- package/templates/repo/cli/root/AGENTS.md.tmpl +34 -0
- package/templates/repo/cli/root/CLAUDE.md.tmpl +15 -15
- package/templates/repo/cli/root/eslint.config.ts.tmpl +16 -0
- package/templates/repo/cli/root/gitignore.tmpl +6 -9
- package/templates/repo/cli/root/package.json.tmpl +16 -14
- package/templates/repo/cli/root/tsconfig.json.tmpl +4 -0
- package/templates/repo/cli/root/{vitest.config.ts → vitest.config.ts.tmpl} +2 -2
- package/templates/repo/cli/package/tsconfig.json +0 -4
- package/templates/repo/cli/root/eslint.config.ts +0 -20
- package/templates/repo/cli/root/tsconfig.json +0 -4
|
@@ -4,33 +4,33 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
{{layoutDescription}}
|
|
8
8
|
|
|
9
9
|
## Commands
|
|
10
10
|
|
|
11
|
-
All `xy` commands must be run from the repo root
|
|
11
|
+
All `xy` commands must be run from the repo root{{packageDirNote}}.
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
{{
|
|
15
|
-
{{
|
|
16
|
-
{{
|
|
17
|
-
{{
|
|
18
|
-
{{
|
|
19
|
-
{{
|
|
20
|
-
{{pmName}} xy deplint # Verify dependency declarations
|
|
14
|
+
{{xyCommand}} build # Full build
|
|
15
|
+
{{xyCommand}} compile # TypeScript compilation only
|
|
16
|
+
{{xyCommand}} lint # Lint
|
|
17
|
+
{{xyCommand}} fix # Auto-fix lint issues
|
|
18
|
+
{{xyCommand}} test # Run all tests
|
|
19
|
+
{{xyCommand}} deplint # Verify dependency declarations
|
|
21
20
|
```
|
|
22
21
|
|
|
23
22
|
## Architecture
|
|
24
23
|
|
|
25
|
-
- **Package manager**: {{pmName}}
|
|
24
|
+
- **Package manager**: {{pmName}}
|
|
25
|
+
- **Layout**: {{layoutLabel}}
|
|
26
26
|
- **Build**: `xy compile` emits declarations with `tsc` and ESM JavaScript with esbuild in `dist/`
|
|
27
27
|
- **Test**: Vitest (node environment)
|
|
28
|
-
- **Lint**: ESLint
|
|
28
|
+
- **Lint**: ESLint via `{{eslintConfigPackage}}` (`recommendedConfig`)
|
|
29
29
|
|
|
30
30
|
### CLI structure
|
|
31
31
|
|
|
32
32
|
The `{{packageName}}` CLI follows the yargs command pattern:
|
|
33
|
-
- Entry point: `
|
|
34
|
-
- Yargs bootstrap: `
|
|
35
|
-
- Commands: `
|
|
36
|
-
- Actions: `
|
|
33
|
+
- Entry point: `{{srcPrefix}}bin/{{packageName}}.ts`
|
|
34
|
+
- Yargs bootstrap: `{{srcPrefix}}{{packageName}}.ts`
|
|
35
|
+
- Commands: `{{srcPrefix}}commands/` (each exports a `CommandModule`)
|
|
36
|
+
- Actions: `{{srcPrefix}}actions/` (business logic invoked by commands)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url'
|
|
2
|
+
|
|
3
|
+
import { recommendedConfig } from '{{eslintConfigPackage}}'
|
|
4
|
+
import type { Linter } from 'eslint'
|
|
5
|
+
import { includeIgnoreFile } from 'eslint/config'
|
|
6
|
+
|
|
7
|
+
const config: Linter.Config[] = [
|
|
8
|
+
includeIgnoreFile(fileURLToPath(new URL('.gitignore', import.meta.url)), {
|
|
9
|
+
gitignoreResolution: true,
|
|
10
|
+
name: 'repository .gitignore',
|
|
11
|
+
}),
|
|
12
|
+
{ ignores: ['**/dist/**', '**/build/**', '**/coverage/**', '**/node_modules/**'] },
|
|
13
|
+
...recommendedConfig({ tier: 3, isTypeChecked: true }),
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
export default config
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
# Build outputs
|
|
1
|
+
# Build outputs
|
|
2
2
|
/build
|
|
3
3
|
/dist
|
|
4
4
|
/docs
|
|
5
5
|
/storybook-static
|
|
6
|
-
|
|
7
|
-
# Build outputs (packages)
|
|
8
6
|
packages/*/build
|
|
9
7
|
packages/*/dist
|
|
10
8
|
packages/*/docs
|
|
@@ -34,14 +32,13 @@ node_modules
|
|
|
34
32
|
# Lint
|
|
35
33
|
.eslintcache
|
|
36
34
|
|
|
37
|
-
# Claude Code
|
|
38
|
-
.claude
|
|
35
|
+
# Claude Code local overrides / worktrees (keep project skills under .claude/skills)
|
|
39
36
|
CLAUDE.local.md
|
|
40
|
-
|
|
41
|
-
# Claude Code worktrees
|
|
42
37
|
.claude-worktrees
|
|
38
|
+
.claude/worktrees
|
|
39
|
+
|
|
40
|
+
# Agent local overrides (keep project skills under .agents/skills)
|
|
41
|
+
.agents/worktrees
|
|
43
42
|
|
|
44
43
|
tmp
|
|
45
|
-
AGENTS.md
|
|
46
|
-
.agents
|
|
47
44
|
output
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "{{
|
|
3
|
-
"private":
|
|
2
|
+
"name": "{{rootPackageName}}",
|
|
3
|
+
"private": {{rootPrivate}},
|
|
4
4
|
"description": "{{description}}",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"type": "module",
|
|
28
28
|
"scripts": {
|
|
29
|
+
"build": "{{xyCommand}} build",
|
|
30
|
+
"compile": "{{xyCommand}} compile",
|
|
31
|
+
"lint": "{{xyCommand}} lint",
|
|
32
|
+
"fix": "{{xyCommand}} fix",
|
|
29
33
|
"test": "vitest run",
|
|
30
34
|
"test:coverage": "vitest run --coverage"
|
|
31
35
|
},
|
|
@@ -33,22 +37,20 @@
|
|
|
33
37
|
"packages/*"
|
|
34
38
|
],
|
|
35
39
|
"devDependencies": {
|
|
36
|
-
"@types/node": "~
|
|
37
|
-
"@vitest/coverage-v8": "~4.1.
|
|
38
|
-
"
|
|
39
|
-
"@ariestools/eslint-config-flat": "{{toolchainRange}}",
|
|
40
|
+
"@types/node": "~26.1.2",
|
|
41
|
+
"@vitest/coverage-v8": "~4.1.10",
|
|
42
|
+
"{{eslintConfigPackage}}": "{{toolchainRange}}",
|
|
40
43
|
"@ariestools/toolchain": "{{toolchainRange}}",
|
|
41
|
-
"
|
|
42
|
-
"eslint": "~10.
|
|
43
|
-
"eslint-import-resolver-typescript": "~4.4.
|
|
44
|
-
"typescript": "
|
|
45
|
-
"vite": "
|
|
46
|
-
"vitest": "
|
|
47
|
-
"yargs": "~18.0.0"
|
|
44
|
+
"{{tsconfigPackage}}": "{{toolchainRange}}",
|
|
45
|
+
"eslint": "~10.8.0",
|
|
46
|
+
"eslint-import-resolver-typescript": "~4.4.5",
|
|
47
|
+
"typescript": "~6.0.3",
|
|
48
|
+
"vite": "~8.2.1",
|
|
49
|
+
"vitest": "~4.1.10"
|
|
48
50
|
},
|
|
49
51
|
"packageManager": "{{packageManager}}",
|
|
50
52
|
"engineStrict": true,
|
|
51
53
|
"volta": {
|
|
52
|
-
"node": "22.
|
|
54
|
+
"node": "22.14.0"
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -6,7 +6,7 @@ export default defineConfig({
|
|
|
6
6
|
provider: 'v8' as const,
|
|
7
7
|
reporter: ['text', 'lcov', 'json-summary'],
|
|
8
8
|
reportsDirectory: './coverage',
|
|
9
|
-
include: ['
|
|
9
|
+
include: ['{{coverageInclude}}'],
|
|
10
10
|
exclude: [
|
|
11
11
|
'**/*.spec.{ts,tsx,mts,cts}',
|
|
12
12
|
'**/*.test.{ts,tsx,mts,cts}',
|
|
@@ -23,7 +23,7 @@ export default defineConfig({
|
|
|
23
23
|
test: {
|
|
24
24
|
name: 'node',
|
|
25
25
|
environment: 'node',
|
|
26
|
-
include: ['
|
|
26
|
+
include: ['{{testInclude}}'],
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
],
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
importConfig,
|
|
3
|
-
rulesConfig,
|
|
4
|
-
typescriptTypeCheckedConfig,
|
|
5
|
-
unicornConfig,
|
|
6
|
-
workspacesConfig,
|
|
7
|
-
} from '@ariestools/eslint-config-flat'
|
|
8
|
-
import type { Linter } from 'eslint'
|
|
9
|
-
|
|
10
|
-
const config: Linter.Config[] = [
|
|
11
|
-
{ ignores: ['.yarn', 'dist', 'build', 'coverage', 'docs', '**/dist', '**/build', '**/docs'] },
|
|
12
|
-
unicornConfig,
|
|
13
|
-
workspacesConfig,
|
|
14
|
-
rulesConfig,
|
|
15
|
-
...typescriptTypeCheckedConfig,
|
|
16
|
-
...importConfig,
|
|
17
|
-
{ rules: { 'import-x/no-cycle': ['warn', { maxDepth: 5 }] } },
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
export default config
|