🔧 Reconcile config/doc contradictions and remove stale entries
This commit is contained in:
1 parent
99fd85ca7e
commit
c6f7a5d1b0
7 files changed
+11
-33
No files matched your search
+4
-17
@@ -1,16 +1,8 @@
|
|||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
pnpm-debug.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
|
|
||||||
coverage
|
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
dist-ssr
|
coverage
|
||||||
|
*.log
|
||||||
|
*.tsbuildinfo
|
||||||
*.local
|
*.local
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
@@ -19,9 +11,4 @@ dist-ssr
|
|||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
!.vscode/tasks.json
|
!.vscode/tasks.json
|
||||||
.idea
|
.idea
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.suo
|
|
||||||
*.ntvs*
|
|
||||||
*.njsproj
|
|
||||||
*.sln
|
|
||||||
*.sw?
|
|
||||||
@@ -10,5 +10,4 @@ src/
|
|||||||
.node-version
|
.node-version
|
||||||
cspell.json
|
cspell.json
|
||||||
lefthook.yml
|
lefthook.yml
|
||||||
LICENSE
|
|
||||||
commit-message-template
|
commit-message-template
|
||||||
@@ -21,7 +21,7 @@ Pattern matching for TypeScript/ESM environments (F#-style, not regex).
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Node.js >= 22.6 (>= 24 recommended; `--experimental-strip-types` is unflagged on 24).
|
- Node.js >= 26 (engines field; pinned via `.node-version`).
|
||||||
|
|
||||||
## VSCode integration
|
## VSCode integration
|
||||||
|
|
||||||
|
|||||||
+1
-8
@@ -17,12 +17,5 @@
|
|||||||
"dbaeumer",
|
"dbaeumer",
|
||||||
"msvc"
|
"msvc"
|
||||||
],
|
],
|
||||||
"ignorePaths": [
|
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
|
||||||
"dist",
|
|
||||||
"node_modules",
|
|
||||||
"public",
|
|
||||||
"coverage",
|
|
||||||
"*.svg",
|
|
||||||
".gitignore"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
+3
-3
@@ -5,11 +5,11 @@ pre-commit:
|
|||||||
commands:
|
commands:
|
||||||
oxlint:
|
oxlint:
|
||||||
glob: "*.{ts,tsx,js,jsx,mjs,cjs}"
|
glob: "*.{ts,tsx,js,jsx,mjs,cjs}"
|
||||||
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:oxlint' {staged_files}
|
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:oxlint' sh {staged_files}
|
||||||
oxfmt:
|
oxfmt:
|
||||||
glob: "*.{ts,tsx,js,jsx,mjs,cjs,json,jsonc,yaml,yml,md,mdx}"
|
glob: "*.{ts,tsx,js,jsx,mjs,cjs,json,jsonc,yaml,yml,md,mdx}"
|
||||||
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:oxfmt' {staged_files}
|
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:oxfmt' sh {staged_files}
|
||||||
cspell:
|
cspell:
|
||||||
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:cspell' {staged_files}
|
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:cspell' sh {staged_files}
|
||||||
typecheck:
|
typecheck:
|
||||||
run: npm run check:tsc
|
run: npm run check:tsc
|
||||||
+1
-1
@@ -202,7 +202,7 @@ typescript-lib-starter-tiny => https://github.com/tmueller/typescript-lib-starte
|
|||||||
alphabetized (replaces the former `sort-package-json` tool).
|
alphabetized (replaces the former `sort-package-json` tool).
|
||||||
Built-in import sorting (enabled via `sortImports: true`) replaces
|
Built-in import sorting (enabled via `sortImports: true`) replaces
|
||||||
any external import-sort plugin.
|
any external import-sort plugin.
|
||||||
- `check:tsc`: `tsc --noEmit`.
|
- `check:tsc`: `tsc` (noEmit is set in `tsconfig.json`).
|
||||||
- `check:cspell`: `cspell lint ${LEFTHOOK_FILES:-.}` — walks the
|
- `check:cspell`: `cspell lint ${LEFTHOOK_FILES:-.}` — walks the
|
||||||
project root by default; from lefthook, only the staged files.
|
project root by default; from lefthook, only the staged files.
|
||||||
- `check:outdated`: `check-outdated --ignore-pre-releases --ignore-packages @oxfmt/binding-*,@oxlint/binding-*`. The oxc native bindings are declared as `optionalDependencies` so the correct one is selected per platform automatically; the `*`-platform bindings show as "not installed" on the current platform and are explicitly ignored here.
|
- `check:outdated`: `check-outdated --ignore-pre-releases --ignore-packages @oxfmt/binding-*,@oxlint/binding-*`. The oxc native bindings are declared as `optionalDependencies` so the correct one is selected per platform automatically; the `*`-platform bindings show as "not installed" on the current platform and are explicitly ignored here.
|
||||||
|
|||||||
+1
-2
@@ -3,8 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false,
|
"noEmit": false,
|
||||||
"rewriteRelativeImportExtensions": true,
|
"rewriteRelativeImportExtensions": true,
|
||||||
"rootDir": "src",
|
"rootDir": "src"
|
||||||
"outDir": "dist"
|
|
||||||
},
|
},
|
||||||
"exclude": ["src/**/*.test.ts", "src/**/__tests__/**"]
|
"exclude": ["src/**/*.test.ts", "src/**/__tests__/**"]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user