-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): update devdependencies (major) #73
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -78,26 +78,26 @@ | |
| "@types/lodash": "^4.17.20", | ||
| "@types/react": "^18.0.26", | ||
| "@types/react-addons-linked-state-mixin": "^0.14.22", | ||
| "@typescript-eslint/eslint-plugin": "^6.1.0", | ||
| "@typescript-eslint/parser": "^6.1.0", | ||
| "css-loader": "^6.7.1", | ||
| "eslint": "^8.36.0", | ||
| "eslint-config-prettier": "^8.8.0", | ||
| "@typescript-eslint/eslint-plugin": "^8.0.0", | ||
| "@typescript-eslint/parser": "^8.0.0", | ||
| "css-loader": "^7.0.0", | ||
| "eslint": "^9.0.0", | ||
|
Contributor
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. 🧩 Analysis chain🌐 Web query:
💡 Result: Summary of the v9 flat-config / breaking-change items and quick migration steps Key changes you need to know
Minimal migration checklist
References
Would you like me to run the config migrator on a sample .eslintrc file you paste here and produce an eslint.config.js for you? 🏁 Script executed: # Read the package.json file, specifically around lines 142-184 to see the eslintConfig
head -n 190 package.json | tail -n 60 | cat -nRepository: deepnote/jupyterlab-deepnote Length of output: 2275 Migrate eslintConfig to flat config format. ESLint v9 defaults to flat config; your |
||
| "eslint-config-prettier": "^10.0.0", | ||
|
Comment on lines
+81
to
+85
Contributor
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. 🧩 Analysis chain🏁 Script executed: # First, let's look at the package.json file around the specified lines
head -n 110 package.json | tail -n 40Repository: deepnote/jupyterlab-deepnote Length of output: 1398 🏁 Script executed: # Also check if there are configuration files for the tools mentioned
fd -e "\.eslintrc|\.stylelintrc|jest\.config" .Repository: deepnote/jupyterlab-deepnote Length of output: 54 🏁 Script executed: # Check if there's a git history showing what changed
git log --oneline -n 1 -- package.jsonRepository: deepnote/jupyterlab-deepnote Length of output: 115 🏁 Script executed: # Check git diff to see what the actual changes were
git diff HEAD~1 package.json | head -n 100Repository: deepnote/jupyterlab-deepnote Length of output: 258 🏁 Script executed: # Check for configuration files for the tools mentioned
find . -maxdepth 2 -type f \( -name ".eslintrc*" -o -name "eslint.config.*" -o -name ".stylelintrc*" -o -name "jest.config.*" -o -name "prettier.config.*" \)Repository: deepnote/jupyterlab-deepnote Length of output: 88 🏁 Script executed: # Check if package-lock.json or yarn.lock exists to see lock status
ls -la package-lock.json yarn.lock 2>&1 | head -5Repository: deepnote/jupyterlab-deepnote Length of output: 197 🏁 Script executed: # Check what scripts are available in package.json
grep -A 20 '"scripts":' package.jsonRepository: deepnote/jupyterlab-deepnote Length of output: 1640 🏁 Script executed: # Check the jest.config.js to see if it needs updates
cat jest.config.jsRepository: deepnote/jupyterlab-deepnote Length of output: 861 🏁 Script executed: # Search for eslint configuration
find . -maxdepth 2 -type f -name "eslint.config.*" -o -name ".eslintrc*"Repository: deepnote/jupyterlab-deepnote Length of output: 54 🏁 Script executed: # Check for eslint configuration - ESLint 9 uses eslint.config.js or .eslintrc
find . -maxdepth 2 -type f \( -name "eslint.config.js" -o -name ".eslintrc.js" -o -name ".eslintrc.json" -o -name ".eslintrc" \)Repository: deepnote/jupyterlab-deepnote Length of output: 54 🏁 Script executed: # Check if there's a stylelint config
find . -maxdepth 2 -type f \( -name ".stylelintrc*" -o -name "stylelint.config.*" \)Repository: deepnote/jupyterlab-deepnote Length of output: 54 🏁 Script executed: # Check the full scripts section to see if test exists
grep -A 30 '"scripts":' package.json | grep testRepository: deepnote/jupyterlab-deepnote Length of output: 106 🏁 Script executed: # Check if there are any references to ESLint legacy config
grep -r "eslintConfig" . --include="*.json" --include="*.js" 2>/dev/null | head -5Repository: deepnote/jupyterlab-deepnote Length of output: 108 🏁 Script executed: # Check the actual versions in node_modules to understand the state
grep -A 2 '"eslint"' package.json
grep -A 2 '"jest"' package.jsonRepository: deepnote/jupyterlab-deepnote Length of output: 426 🏁 Script executed: # Check what's in the eslintConfig section of package.json
sed -n '/"eslintConfig"/,/^ }/p' package.jsonRepository: deepnote/jupyterlab-deepnote Length of output: 1507 🏁 Script executed: # Check if ESLint 9 is looking for eslint.config.js specifically
grep -i "flat\|config" package.json | head -10Repository: deepnote/jupyterlab-deepnote Length of output: 441 ESLint 9 incompatibility: Project uses legacy Major version bumps (ESLint 8→9, Jest 29→30, TypeScript ESLint 6→8, stylelint 15→16) include breaking changes. ESLint 9 specifically requires either an Before merge, either:
Also verify Jest 30 compatibility and run 🤖 Prompt for AI Agents |
||
| "eslint-plugin-prettier": "^5.0.0", | ||
| "husky": "9.1.7", | ||
| "jest": "^29.2.0", | ||
| "jest": "^30.0.0", | ||
|
Contributor
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. 🧩 Analysis chain🌐 Web query:
💡 Result: Here are the key breaking changes in Jest 30 and concise migration steps. Quick install
Major breaking changes (summary)
Concrete migration checklist
References
If you want, I can: (a) produce a codemod to replace common alias matchers in your repo, (b) scan a package.json + a few test files and point out likely breakages, or (c) generate exact grep/sed commands to find deep imports and removed CLI flags. Which would you like? Jest 30 upgrade requires migration work. Jest 30 drops support for Node 14/16/19/21, requires TypeScript ≥5.4, and changes critical matcher behavior (e.g., 🤖 Prompt for AI Agents |
||
| "lint-staged": "16.2.3", | ||
| "mkdirp": "^1.0.3", | ||
| "npm-run-all2": "^7.0.1", | ||
| "mkdirp": "^3.0.0", | ||
| "npm-run-all2": "^8.0.0", | ||
| "prettier": "^3.0.0", | ||
| "rimraf": "^5.0.1", | ||
| "source-map-loader": "^1.0.2", | ||
| "style-loader": "^3.3.1", | ||
| "stylelint": "^15.10.1", | ||
| "stylelint-config-recommended": "^13.0.0", | ||
| "stylelint-config-standard": "^34.0.0", | ||
| "rimraf": "^6.0.0", | ||
| "source-map-loader": "^5.0.0", | ||
| "style-loader": "^4.0.0", | ||
| "stylelint": "^16.0.0", | ||
| "stylelint-config-recommended": "^17.0.0", | ||
| "stylelint-config-standard": "^39.0.0", | ||
| "stylelint-csstree-validator": "^3.0.0", | ||
| "stylelint-prettier": "^4.0.0", | ||
| "stylelint-prettier": "^5.0.0", | ||
| "typescript": "~5.8.0", | ||
| "yjs": "^13.5.0" | ||
| }, | ||
|
|
||
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.
🧩 Analysis chain
🌐 Web query:
@typescript-eslint 8.0 breaking changes ESLint compatibility💡 Result:
Short answer — for @typescript-eslint v8 the important ESLint-compatibility changes are:
Sources: [1] typescript-eslint v8 release notes; [2] ESLint v8 → v8.0.0 migration guide.
🌐 Web query:
@typescript-eslint version history v7 v8 releases💡 Result:
Summary — @typescript-eslint v7 and v8 (major releases)
Sources
If you want, I can list notable v7→v8 breaking changes and the exact upgrade steps for each @typescript-eslint package.
🌐 Web query:
@typescript-eslint 8.0 migration guide configuration changes💡 Result:
Key config changes when migrating to @typescript-eslint v8
Package consolidation: v8 provides a combined package (typescript-eslint) that bundles the parser and plugin; you can uninstall separate @typescript-eslint/parser and @typescript-eslint/eslint-plugin and install the new package (or use the new @8 tag). [1][2]
Install command change (example): npm i typescript-eslint@8 --save-dev (or the release-candidate / rc tag during beta). [1][6]
Recommended configs reworked: v8 ships updated/reworked recommended configurations — update your extends to the new recommended configs and prefer them if you haven’t updated your lint config in a while. [1]
Flat config support / legacy configs: v8 supports ESLint’s flat config format; docs show both flat and legacy (.eslintrc) usage and recommend migrating where appropriate. If moving to flat config, follow ESLint’s config migration guide. [2][0]
Migration steps / action items:
References
[1] typescript-eslint — “Announcing typescript-eslint v8” (upgrade notes, recommended configs).
[2] typescript-eslint packages / getting-started & config docs (migration, flat vs legacy config).
Update ESLint peer requirement and verify config compatibility with v8.
@typescript-eslint v8 requires ESLint ^8.57.0 (tightened from v6). Verify your ESLint version and update eslint config: recommended configs changed in v8, and if using type-aware linting, parserOptions.project may need adjustment. See typescript-eslint v8 migration guide.
🤖 Prompt for AI Agents