Files
pnpm/package.json
Paul Nodet 86732affd0 chore: migrate ESLint Configuration to the new flat config format (#8482)
* chore: bump node-version to v18.18

min required version for eslint flat config

* chore: migrate eslint to flat config

* chore: migrate monorepo to flat config

* fix: remove old eslint unused disable directives

* chore: include meta-updater in the tsconfig

* style: remove semicolons

* style: fix

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-01 23:06:12 +02:00

165 lines
5.4 KiB
JSON

{
"name": "monorepo-root",
"private": true,
"packageManager": "pnpm@9.9.0",
"scripts": {
"bump": "changeset version && pnpm update-manifests",
"changeset": "changeset",
"preinstall": "npx only-allow pnpm",
"prepare": "husky",
"pretest": "pnpm run compile-only && pnpm --dir=__fixtures__ run prepareFixtures",
"lint": "pnpm run spellcheck && pnpm lint:meta && pnpm run lint:ts",
"spellcheck": "cspell \"**/*.ts\" \"**/README.md\" \".changeset/*.md\" --no-progress",
"lint:ts": "eslint \"**/src/**/*.ts\" \"**/test/**/*.ts\"",
"test-main": "pnpm pretest && pnpm lint --quiet && pnpm run test-pkgs-main",
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
"test-pkgs-main": "pnpm remove-temp-dir && pnpm run --no-sort --workspace-concurrency=1 -r _test",
"test-branch": "pnpm pretest && pnpm lint --quiet && git remote set-branches --add origin main && git fetch && pnpm run test-pkgs-branch",
"test-pkgs-branch": "pnpm remove-temp-dir && pnpm --workspace-concurrency=1 --filter=...[origin/main] run --no-sort _test",
"compile-only": "ts-node __utils__/scripts/src/typecheck-only.ts && pnpm -F pnpm compile",
"compile": "pnpm compile-only && pnpm run update-manifests",
"watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile --watch",
"make-lcov": "shx mkdir -p coverage && lcov-result-merger './packages/*/coverage/lcov.info' 'coverage/lcov.info'",
"update-manifests": "pnpm run meta-updater && pnpm install",
"meta-updater": "pnpm --filter=@pnpm-private/updater compile && pnpm exec meta-updater",
"lint:meta": "pnpm run meta-updater --test",
"copy-artifacts": "ts-node __utils__/scripts/src/copy-artifacts.ts",
"make-release-description": "pnpm --filter=@pnpm/get-release-text run write-release-text",
"release": "pnpm --filter=@pnpm/exe publish --tag=next-9 --access=public && pnpm publish --filter=!pnpm --filter=!@pnpm/exe --access=public && pnpm publish --filter=pnpm --tag=next-9 --access=public",
"dev-setup": "pnpm -C=./pnpm/dev link -g"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-proposal-dynamic-import": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/types": "^7.24.7",
"@changesets/cli": "^2.27.5",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/prompt-cli": "^17.8.1",
"@pnpm/eslint-config": "workspace:*",
"@pnpm/meta-updater": "catalog:",
"@pnpm/registry-mock": "catalog:",
"@pnpm/tsconfig": "workspace:*",
"@pnpm/worker": "workspace:*",
"@types/jest": "^29.5.12",
"@types/node": "catalog:",
"c8": "^7.14.0",
"concurrently": "catalog:",
"cross-env": "^7.0.3",
"cspell": "7.3.8",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"keyv": "4.5.4",
"lcov-result-merger": "^3.3.0",
"publish-packed": "^4.1.2",
"rimraf": "catalog:",
"shx": "^0.3.4",
"ts-jest": "29.2.3",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"verdaccio": "5.20.1"
},
"engines": {
"pnpm": ">=9.6.0"
},
"pnpm": {
"overrides": {
"clipanion": "3.2.0-rc.6",
"debug@<3.1.0": ">=3.1.0",
"glob-parent@<5.1.2": ">=5.1.2",
"hosted-git-info@1": "catalog:",
"istanbul-reports": "npm:@zkochan/istanbul-reports",
"js-yaml@^4.0.0": "catalog:",
"json5@<2.2.2": "catalog:",
"jsonwebtoken@<=8.5.1": ">=9.0.0",
"nopt@5": "npm:@pnpm/nopt@^0.2.1",
"verdaccio": "5.20.1",
"yaml@<2.2.2": ">=2.2.2",
"semver@<7.5.2": "catalog:",
"tough-cookie@<4.1.3": ">=4.1.3",
"@yarnpkg/fslib@2": "3",
"socks@2": "^2.8.1",
"follow-redirects@<=1.15.5": ">=1.15.6"
},
"packageExtensions": {
"@babel/parser": {
"peerDependencies": {
"@babel/types": "*"
}
},
"jest-circus": {
"dependencies": {
"slash": "3"
}
},
"remark-stringify": {
"peerDependencies": {
"unified": "*"
}
},
"remark-parse": {
"peerDependencies": {
"unified": "*"
}
}
},
"onlyBuiltDependencies": [],
"patchedDependencies": {
"@yao-pkg/pkg": "__patches__/pkg.patch",
"graceful-fs@4.2.11": "__patches__/graceful-fs@4.2.11.patch",
"mdast-util-to-string@2.0.0": "__patches__/mdast-util-to-string@2.0.0.patch"
},
"updateConfig": {
"ignoreDependencies": [
"boxen",
"camelcase",
"camelcase-keys",
"chalk",
"detect-indent",
"escape-string-regexp",
"filenamify",
"find-up",
"get-port",
"is-port-reachable",
"load-json-file",
"mem",
"npm-packlist",
"node-fetch",
"normalize-newline",
"p-any",
"p-defer",
"p-filter",
"p-limit",
"p-memoize",
"p-queue",
"p-settle",
"parse-json",
"path-exists",
"pretty-bytes",
"pretty-ms",
"process-exists",
"ps-list",
"sort-keys",
"string-length",
"strip-ansi",
"strip-bom",
"tempy",
"unique-string",
"write-json-file",
"write-pkg"
]
},
"auditConfig": {
"ignoreCves": [
"CVE-2023-28155",
"CVE-2024-24828",
"CVE-2024-29041",
"CVE-2024-4067"
]
}
}
}