Skip to content

Conversation

justinfagnani
Copy link
Contributor

Also upgrades related ESLint plugins

What I did

  1. yarn install -D typescript@latest -W
  2. Set version constraint to use ~ since TypeScript doesn't follow semver
  3. Fix new errors
    a. Most were cause by catch parameters (error) being unknown. I cast these to specific Error types when possible.
    b. One set of errors was around very dynamic console patching that wasn't very type safe to begin with.
  4. Upgrade the TypeScript ESLint parser and plugin

I'm unsure whether the upgraded tsc will cause .d.ts changes that are backwards incompatible. This should be checked before merging. It's possible, because I needed to upgrade TypeScript to be able to upgrade parse5, since parse5 7.0 uses type imports that TypeScript 4.1 can't parse.

Also upgrades related ESLint plugins
@changeset-bot
Copy link

changeset-bot bot commented Aug 25, 2022

🦋 Changeset detected

Latest commit: c26d373

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@web/dev-server-import-maps Patch
@web/dev-server-esbuild Patch
@web/test-runner-mocha Patch
@web/polyfills-loader Patch
@web/test-runner-core Patch
@web/dev-server-core Patch
@web/config-loader Patch
@web/test-runner Patch
@web/dev-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@koddsson
Copy link
Contributor

Hey @justinfagnani; I tried solving the merge conflict but am getting CI errors now 😬

@koddsson
Copy link
Contributor

I very annoyingly ain't getting these failures locally 😭 This PR might get a bit noisy if I keep trying to debug this against CI.

@koddsson koddsson merged commit b2c27a4 into modernweb-dev:master Apr 21, 2023
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