mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-10 18:18:56 -04:00
* test: ensure prerelease weighting is correct * fix: use higher weight for package versions already in lockfile * test: remove fundamentally incompatible test * fix(test): use undici MockAgent instead of nock for HTTP mocking nock only patches Node's built-in http/https modules, but pnpm uses undici for HTTP requests. Replace nock with @pnpm/testing.mock-agent (which wraps undici's MockAgent) so the regression test actually intercepts registry metadata requests. * fix(benchmarks): show errors from store populate step The populate step redirected both stdout and stderr to /dev/null, hiding the actual error when pnpm install fails during benchmarks. * fix(benchmarks): replace deprecated packages in benchmark fixture The old fixture used deprecated babel 6, gulp, and other legacy packages whose transitive dependencies (e.g. es-abstract) are missing the "time" field in registry metadata, causing ERR_PNPM_MISSING_TIME with time-based resolution mode. Replace with modern equivalents (babel 7, webpack 5, MUI, Redux Toolkit, etc.) that maintain a similar dependency tree size (~1300 packages) while using well-maintained packages with proper registry metadata. * fix(benchmarks): drop eslint plugins that pull in es-abstract eslint-plugin-react, eslint-plugin-import, and eslint-plugin-jsx-a11y transitively depend on es-abstract, whose registry metadata lacks the "time" field. Replace them with eslint-plugin-prettier to avoid ERR_PNPM_MISSING_TIME with time-based resolution. --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
97 lines
2.8 KiB
JSON
97 lines
2.8 KiB
JSON
{
|
|
"name": "bench-project",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"@babel/core": "^7.24.0",
|
|
"@babel/preset-env": "^7.24.0",
|
|
"@babel/preset-react": "^7.23.3",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@babel/plugin-transform-runtime": "^7.24.0",
|
|
"@babel/runtime": "^7.24.0",
|
|
"@emotion/react": "^11.11.3",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@mui/material": "^5.15.7",
|
|
"@reduxjs/toolkit": "^2.1.0",
|
|
"@tanstack/react-query": "^5.18.1",
|
|
"@tanstack/react-table": "^8.11.6",
|
|
"@types/node": "^20.11.10",
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
"@typescript-eslint/parser": "^7.0.1",
|
|
"autoprefixer": "^10.4.17",
|
|
"axios": "^1.6.7",
|
|
"chart.js": "^4.4.1",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"css-loader": "^6.9.1",
|
|
"cssnano": "^6.0.3",
|
|
"date-fns": "^3.3.1",
|
|
"eslint": "^9.9.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"express": "^4.18.2",
|
|
"formik": "^2.4.5",
|
|
"framer-motion": "^11.0.3",
|
|
"html-webpack-plugin": "^5.6.0",
|
|
"husky": "^9.0.7",
|
|
"i18next": "^23.8.2",
|
|
"immer": "^10.0.3",
|
|
"jquery": "^3.7.1",
|
|
"js-cookie": "^3.0.5",
|
|
"less": "^4.2.0",
|
|
"less-loader": "^12.2.0",
|
|
"lint-staged": "^15.2.1",
|
|
"lodash": "^4.17.21",
|
|
"mini-css-extract-plugin": "^2.7.7",
|
|
"mobx": "^6.12.0",
|
|
"mobx-react-lite": "^4.0.5",
|
|
"moment": "^2.30.1",
|
|
"moment-timezone": "^0.5.44",
|
|
"postcss": "^8.4.33",
|
|
"postcss-loader": "^8.1.0",
|
|
"postcss-preset-env": "^9.3.0",
|
|
"prettier": "^3.2.4",
|
|
"qs": "^6.11.2",
|
|
"react": "^18.2.0",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-helmet-async": "^2.0.4",
|
|
"react-hook-form": "^7.49.3",
|
|
"react-i18next": "^14.0.5",
|
|
"react-redux": "^9.1.0",
|
|
"react-router": "^6.21.3",
|
|
"react-router-dom": "^6.21.3",
|
|
"react-select": "^5.8.0",
|
|
"react-tooltip": "^5.25.2",
|
|
"react-virtualized": "^9.22.5",
|
|
"recharts": "^2.12.0",
|
|
"redux": "^5.0.1",
|
|
"sass": "^1.70.0",
|
|
"sass-loader": "^14.1.0",
|
|
"sortablejs": "^1.15.2",
|
|
"style-loader": "^3.3.4",
|
|
"stylelint": "^16.2.1",
|
|
"stylelint-config-standard": "^36.0.0",
|
|
"terser-webpack-plugin": "^5.3.10",
|
|
"typescript": "^5.3.3",
|
|
"uuid": "^9.0.1",
|
|
"webpack": "^5.90.1",
|
|
"webpack-bundle-analyzer": "^4.10.1",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "^4.15.2",
|
|
"webpack-merge": "^5.10.0",
|
|
"whatwg-fetch": "^3.6.20",
|
|
"yup": "^1.3.3",
|
|
"zod": "^3.22.4",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.4.1",
|
|
"@testing-library/react": "^14.2.1",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0"
|
|
}
|
|
}
|