mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
The pins that fixed the blank React /map were removed as collateral when the Mantine commit rewrote `overrides` for TypeScript 5. Nothing failed, so nothing objected: the map kept working only because package-lock.json still happened to resolve @babel/core to 7.20.12, and devices run `npm install`, not `npm ci`. Verified on this tree rather than assumed. Raising @babel/core to 7.29.7 and reinstalling floats the whole pipeline (traverse/generator/types to 7.29.8) and `npm run build` then fails outright: "'opera_mobile' is not a valid target", from a helper-compilation-targets that floated away from the browserslist data it was pinned against. With the pins restored the build compiles, all 141 resolved copies match, and /map renders from the built bundle. The test walks every path in the lockfile, not just node_modules/<name>: npm nests a second copy whenever versions conflict, and a nested copy that escaped the override would put the new pipeline back into the build while the top-level entry still read correctly. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
{
|
|
"name": "wrolpi-app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@acalcutt/maplibre-contour-pmtiles": "^0.1.2",
|
|
"@artsy/fresnel": "^8.5.0",
|
|
"@cypress/react18": "^2.0.1",
|
|
"@mantine/core": "^8.3.18",
|
|
"@mantine/hooks": "^8.3.18",
|
|
"@mantine/notifications": "^8.3.18",
|
|
"@tabler/icons-react": "^3.46.0",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"cypress": "^15.20.0",
|
|
"esptool-js": "^0.6.0",
|
|
"lodash": "^4.18.1",
|
|
"maplibre-gl": "^5.24.0",
|
|
"mathjs": "^15.2.0",
|
|
"pmtiles": "^4.4.1",
|
|
"protomaps-themes-base": "^4.5.0",
|
|
"query-string": "^9.4.1",
|
|
"react": "^18.2.0",
|
|
"react-colorful": "^5.8.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-hotkeys-hook": "^5.3.3",
|
|
"react-qr-code": "^2.2.0",
|
|
"react-router": "^7.18.2",
|
|
"react-scripts": "5.0.1",
|
|
"react-stl-viewer": "^2.5.0",
|
|
"three": "^0.185",
|
|
"web-vitals": "^5.3.0"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "BROWSERSLIST_IGNORE_OLD_DATA=true react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"cy:run": "cypress run",
|
|
"cy:open": "cypress open"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^7.0.0",
|
|
"@types/lodash": "^4.17.24",
|
|
"@types/node": "^26.1.2",
|
|
"@types/react": "^18.3.17",
|
|
"@types/react-dom": "^18.3.5",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"jest": {
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(react-hotkeys-hook)/)"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"@babel/code-frame": "7.29.0",
|
|
"@babel/compat-data": "7.20.14",
|
|
"@babel/core": "7.20.12",
|
|
"@babel/generator": "7.29.1",
|
|
"@babel/helper-compilation-targets": "7.20.7",
|
|
"@babel/helper-globals": "7.28.0",
|
|
"@babel/helper-module-imports": "7.28.6",
|
|
"@babel/helper-module-transforms": "7.28.6",
|
|
"@babel/helper-string-parser": "7.27.1",
|
|
"@babel/helper-validator-identifier": "7.28.5",
|
|
"@babel/helper-validator-option": "7.18.6",
|
|
"@babel/helpers": "7.27.0",
|
|
"@babel/parser": "7.29.3",
|
|
"@babel/template": "7.28.6",
|
|
"@babel/traverse": "7.29.0",
|
|
"@babel/types": "7.29.0",
|
|
"react-scripts": {
|
|
"typescript": "$typescript"
|
|
},
|
|
"fork-ts-checker-webpack-plugin": "^6.5.3"
|
|
}
|
|
}
|