-
-
Notifications
You must be signed in to change notification settings - Fork 39
chore: update deps #412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update deps #412
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,12 @@ | ||
| { | ||
| "presets": [ | ||
| [ | ||
| "@babel/preset-typescript", | ||
| { | ||
| "isTSX": true, | ||
| "allExtensions": true | ||
| } | ||
| ], | ||
| "@babel/preset-typescript", | ||
| [ | ||
| "@babel/preset-env", | ||
| { | ||
| "modules": false, | ||
| "targets": { | ||
| "esmodules": true | ||
| } | ||
| "modules": false | ||
| } | ||
| ] | ||
| ] | ||
| } | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,16 +37,16 @@ | |
| "@reduxjs/toolkit": "catalog:default", | ||
| "date-fns": "catalog:default", | ||
| "geojson": "^0.5.0", | ||
| "preact": "^10.29.7", | ||
| "preact": "^10.29.8", | ||
| "react-redux": "^9.3.0", | ||
| "jsonc-eslint-parser": "catalog:default" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.29.7", | ||
| "@babel/preset-env": "^7.29.7", | ||
| "@babel/preset-typescript": "^7.29.7", | ||
| "@babel/core": "^8.0.1", | ||
| "@babel/preset-env": "^8.0.2", | ||
| "@babel/preset-typescript": "^8.0.1", | ||
|
Comment on lines
+45
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift 🧩 Analysis chain🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
pnpm view `@preact/preset-vite`@2.10.6 peerDependencies dependencies --json
rg -n -A14 -B2 "'`@preact/preset-vite`@2.10.6\\(`@babel/core`@8.0.1" pnpm-lock.yamlRepository: vicb/flyXC Length of output: 2299 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' '--- candidate files ---'
git ls-files | rg '(^|/)(package\.json|vite\.config\.(js|ts|mjs|mts|cjs|cts)|pnpm-lock\.yaml)$'
printf '%s\n' '--- dependency and Vite references ---'
rg -n -A8 -B8 '`@preact/preset-vite`|`@babel/`(core|preset-env|preset-typescript)|preset-vite' \
--glob 'package.json' --glob 'vite.config.*' --glob 'pnpm-lock.yaml' .
printf '%s\n' '--- package metadata ---'
python3 - <<'PY'
import json
from pathlib import Path
for path in Path(".").rglob("package.json"):
if path.as_posix() == "libs/windy-sounding/package.json":
data = json.loads(path.read_text())
print(json.dumps({
"path": str(path),
"dependencies": data.get("dependencies", {}),
"devDependencies": data.get("devDependencies", {}),
"peerDependencies": data.get("peerDependencies", {}),
"scripts": data.get("scripts", {}),
}, indent=2))
PYRepository: vicb/flyXC Length of output: 50367 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' '--- libs/windy-sounding/package.json ---'
cat -n libs/windy-sounding/package.json
printf '%s\n' '--- libs/windy-sounding/vite.config.ts ---'
cat -n libs/windy-sounding/vite.config.ts
printf '%s\n' '--- root package manager and Nx configuration ---'
sed -n '1,180p' package.json
printf '%s\n' '--- workspace configuration files ---'
git ls-files | rg '(^|/)(nx\.json|workspace\.json|project\.json)$' | head -40
printf '%s\n' '--- exact preset lock entry ---'
sed -n '12210,12345p' pnpm-lock.yaml
printf '%s\n' '--- exact JSX plugin lock entries ---'
rg -n -A18 -B2 "^ '`@babel/plugin-transform-react-jsx`@(7\.28\.6|8\.)|^ '`@babel/plugin-transform-react-jsx-development`@(7\.27\.1|8\.)" pnpm-lock.yamlRepository: vicb/flyXC Length of output: 14585 Align Babel versions with Normal Vite builds enable 🤖 Prompt for AI Agents |
||
| "@preact/preset-vite": "catalog:", | ||
| "@types/geojson": "^7946.0.15", | ||
| "@types/geojson": "^7946.0.16", | ||
| "vite": "catalog:default" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (bug_risk):
@preact/preset-vite@2.10.6declares a peer dependency on@babel/core7.x, but this package now installs@babel/core8.0.1. The active Babel integration invite.config.tstherefore runs the preset against an unsupported major version, and pnpm records the installation with an unmet peer dependency.Triggers: When the normal Vite build uses
@preact/preset-vite's Babel integration.Suggested fix: Keep
@babel/coreon a 7.x version, or upgrade@preact/preset-viteto a release whose peer dependency explicitly supports Babel 8.