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

build: fix TypeScript version #113

Merged
merged 15 commits into from
Jan 2, 2025
Merged

build: fix TypeScript version #113

merged 15 commits into from
Jan 2, 2025

Conversation

wpf500
Copy link
Member

@wpf500 wpf500 commented Dec 20, 2024

TypeScript doesn't follow semantic versioning (microsoft/TypeScript#14116). This means things can break on minor version changes. This happened with vue-tsc (vuejs/language-tools#5020), which currently doesn't seem to support TS 5.7. When I fixed this vue-tsc started reporting errors, it seems it was silently failing before.

This PR fixes our TypeScript version to patch upgrades only, and fixes the tiptap type errors. To do this I removed the explicit tiptap dependencies which are loaded via the starter kit, and I also had to regenerate the yarn.lock file to propagate the version changes.

This of course means all our dependencies have potentially upgraded by minor or patch version, which should be fine, but will need some testing. Maybe there is a way of just partially updating the lock file just for tiptap related dependencies that I'm not aware of?

@wpf500 wpf500 force-pushed the build/fix-ts-version branch from efdc8a4 to b529e4f Compare December 20, 2024 12:36
@wpf500 wpf500 requested a review from JumpLink December 20, 2024 12:38
Copy link
Collaborator

@JumpLink JumpLink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

This PR includes (including the Merged PR in this PR):

  • Dependency updates across the stack (backend, frontend, e2e tests)
  • ESLint configuration improvements for TypeScript/Vue
  • Minor Vue component refactoring (v-model bindings, unused code removal)
  • TypeScript version bump to 5.6.3

Changes look safe and maintainable. I made sure that the test suite is successful before the merge.

@JumpLink JumpLink merged commit 8150e0a into main Jan 2, 2025
2 checks passed
@JumpLink JumpLink deleted the build/fix-ts-version branch January 2, 2025 12:38
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.

2 participants