📚 Sync project-specs.md and package.json with current state
project-specs.md: - Replace Prettier/ESLint/Vite/Vitest references with oxfmt/oxlint/oxc and TypeScript 7 / node --test - Drop @tsconfig/strictest note; rules are inlined in tsconfig.json, enumerated explicitly - Document oxlint rule disables (no-undefined, sort-keys, id-length, no-named-export) and test-file overrides (no-unused-expressions, no-empty-file, no-nodejs-modules, no-magic-numbers) - Document Node 26 / .node-version / engines.node / CI follow - Document allowImportingTsExtensions + rewriteRelativeImportExtensions for the node --strip-types quirk - Replace Vite/vitest coverage example with c8 + node --test - Sync scripts section: drop check:eslint, check:prettier and their fix:* counterparts; add check:oxlint/check:oxfmt/fix:oxlint/fix:oxfmt - Add current source layout (index.ts, match.ts, pattern.ts, index.test.ts) - Update VSCode integration section with actual settings.json and extensions.json contents - Document the actual commit history with gitmoji prefixes - Fix 'initilizing' typo - Drop 'changesets is a devDep' claims (changesets is not installed) package.json: - Move @oxfmt/binding-* and @oxlint/binding-* from devDependencies to optionalDependencies so the right binding is selected per platform (CI on Ubuntu gnu gets the gnu binding automatically, not the local musl one) - Extend check:outdated to ignore the platform-specific bindings (they show as 'not installed' on the current platform, which is correct - Add cspell words: gitmoji, dbaeumer, msvc (the latter for the Windows binding variant). Drop the unused 'nocheck' word README.md: - Drop the 'changesets is available as a devDep' line; changesets isn't installed
This commit is contained in:
1 parent
cb5b302238
commit
ab6eb0f34c
5 files changed
+311
-152
No files matched your search
+17
-3
@@ -34,7 +34,7 @@
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
"check": "npm run check:oxlint && npm run check:oxfmt && npm run check:tsc && npm run check:cspell && npm run check:package && npm run check:outdated",
|
||||
"check:cspell": "cspell .",
|
||||
"check:outdated": "check-outdated",
|
||||
"check:outdated": "check-outdated --ignore-pre-releases --ignore-packages @oxfmt/binding-darwin-arm64,@oxfmt/binding-darwin-x64,@oxfmt/binding-linux-arm64-gnu,@oxfmt/binding-linux-arm64-musl,@oxfmt/binding-linux-x64-gnu,@oxfmt/binding-linux-x64-musl,@oxfmt/binding-win32-x64-msvc,@oxlint/binding-darwin-arm64,@oxlint/binding-darwin-x64,@oxlint/binding-linux-arm64-gnu,@oxlint/binding-linux-arm64-musl,@oxlint/binding-linux-x64-gnu,@oxlint/binding-linux-x64-musl,@oxlint/binding-win32-x64-msvc",
|
||||
"check:oxfmt": "oxfmt --check src",
|
||||
"check:oxlint": "oxlint src",
|
||||
"check:package": "sort-package-json --check",
|
||||
@@ -49,8 +49,6 @@
|
||||
"use:git-commit-message": "cp commit-message-template .git/COMMIT_EDITMSG || true"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@oxfmt/binding-linux-x64-musl": "^0.66.0",
|
||||
"@oxlint/binding-linux-x64-musl": "^1.81.0",
|
||||
"@types/node": "^22.10.0",
|
||||
"c8": "^10.1.3",
|
||||
"check-outdated": "^2.13.0",
|
||||
@@ -64,6 +62,22 @@
|
||||
"type-fest": "^4.40.1",
|
||||
"typescript": "^7.0.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@oxfmt/binding-darwin-arm64": "^0.66.0",
|
||||
"@oxfmt/binding-darwin-x64": "^0.66.0",
|
||||
"@oxfmt/binding-linux-arm64-gnu": "^0.66.0",
|
||||
"@oxfmt/binding-linux-arm64-musl": "^0.66.0",
|
||||
"@oxfmt/binding-linux-x64-gnu": "^0.66.0",
|
||||
"@oxfmt/binding-linux-x64-musl": "^0.66.0",
|
||||
"@oxfmt/binding-win32-x64-msvc": "^0.66.0",
|
||||
"@oxlint/binding-darwin-arm64": "^1.81.0",
|
||||
"@oxlint/binding-darwin-x64": "^1.81.0",
|
||||
"@oxlint/binding-linux-arm64-gnu": "^1.81.0",
|
||||
"@oxlint/binding-linux-arm64-musl": "^1.81.0",
|
||||
"@oxlint/binding-linux-x64-gnu": "^1.81.0",
|
||||
"@oxlint/binding-linux-x64-musl": "^1.81.0",
|
||||
"@oxlint/binding-win32-x64-msvc": "^1.81.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=26"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user