Files
Daniel La RocqueandGitHub c66dd63b93 optimize linting speed repo-wide (#10110)
Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)
2026-06-24 10:28:25 -04:00

46 lines
1.3 KiB
JSON

{
"name": "@firebase/changelog-generator",
"version": "0.1.0",
"private": true,
"type": "commonjs",
"description": "A package for generating changelog",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"lint": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"build": "tsc",
"build:dev": "tsc -w",
"test": "tsc -p . --noEmit"
},
"dependencies": {
"@changesets/types": "6.1.0",
"@changesets/get-github-info": "0.6.0",
"@types/node": "18.19.83"
},
"license": "Apache-2.0",
"devDependencies": {
"typescript": "5.5.4"
},
"repository": {
"directory": "repo-scripts/changelog-generator",
"type": "git",
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
},
"bugs": {
"url": "https://github.com/firebase/firebase-js-sdk/issues"
},
"nyc": {
"extension": [
".ts"
],
"reportDir": "./coverage/node"
},
"engines": {
"node": ">=20.0.0"
}
}