Skip to content
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

[1.x] Upgrade dependencies #1991

Open
wants to merge 11 commits into
base: v1
Choose a base branch
from
Open

[1.x] Upgrade dependencies #1991

wants to merge 11 commits into from

Conversation

pedroborges
Copy link
Collaborator

@pedroborges pedroborges commented Sep 26, 2024

This PR addresses the challenges in the Inertia.js 1.x branch due to outdated dependencies. Previously, running npm update could break the build because of conflicts with stricter TypeScript checks. By updating dependencies, build scripts, and testing configurations, this PR enhances project stability and ensures future compatibility ahead of the v2 release.

  • Upgraded Node.js from to 20.15 in the tests GitHub workflow.
  • Updated core and adapter dependencies (Vue 2/3, React, Svelte) with the latest versions of esbuild, axios, typescript, vite, laravel-vite-plugin, etc.
  • Refactored build scripts across all packages to use esbuild v0.23's context API.
  • Integrated a custom rebuildLogger plugin to replace the deprecated watch option in esbuild.
  • Ensured builds run smoothly without breaking TypeScript checks, producing identical output files.
  • Updated postcss.config.js and tailwind.config.js files across all packages to use ES module syntax for consistency.
  • Migrated cypress.json to cypress.config.js and refactored Cypress test configuration for compatibility with the latest version.
  • Updated React, Vue 2/3, and Svelte 4/5 playgrounds to support the latest package versions and resolve dependency conflicts.

Closes #1942.

@pedroborges pedroborges marked this pull request as ready for review September 26, 2024 18:03
@reinink reinink changed the base branch from master to v1 October 9, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server-Side Request Forgery in axios
1 participant