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

Modernize Infrastructure #1418

Merged
merged 3 commits into from
May 3, 2023
Merged

Modernize Infrastructure #1418

merged 3 commits into from
May 3, 2023

Conversation

wycats
Copy link
Contributor

@wycats wycats commented May 2, 2023

Highlights

  • updated typescript to 5.0.4.
  • updated eslint and associated packages to the latest version
  • updated prettier and associated packages
  • updated babel and associated packages
  • updated to pnpm and pnpm workspaces

Details

The biggest consequence of this commit is that packages should
reliably have dependencies on the packages they depend on.

This required moving a handful of interfaces to @glimmer/interfaces:

  • The Reference type and associated types
  • The Tag type and associated types
  • All of the SimpleDOM types, to avoid duplication problems

Where a symbol is part of an interface, @glimmer/interface declares
the symbol. The concrete implementation assigns its symbol to the symbol
type exported by @glimmer/interface.

This commit also refactors away from const enum in a few key places.
Const enums were refactored into normal unions, and the members of a
const enum were refactored into type literal types.

@NullVoxPopuli
Copy link
Contributor

CI is currently red until these are merged: https://discord.com/channels/480462759797063690/480502165434138624/1102812603966836837 🙃

@wycats wycats changed the title Testing gh-act Upgrade deps and attempt to migrate to pnpm May 2, 2023
@wycats wycats force-pushed the chore/try-pnpm branch 6 times, most recently from 92fb93f to bbd5216 Compare May 2, 2023 23:55
wycats added 2 commits May 2, 2023 17:20
Highlights:

- updated `typescript` to `5.0.4`.
- updated eslint and associated packages to the latest version
- updated prettier and associated packages
- updated babel and associated packages
- updated to pnpm and pnpm workspaces

The biggest consequence of this commit is that packages should
*reliably* have dependencies on the packages they depend on.

This required moving a handful of interfaces to `@glimmer/interfaces`:

- The `Reference` type and associated types
- The `Tag` type and associated types
- All of the `SimpleDOM` types, to avoid duplication problems

Where a symbol is part of an interface, `@glimmer/interface` declares
the symbol. The concrete implementation assigns its symbol to the symbol
type exported by `@glimmer/interface`.

This commit also refactors away from `const enum` in a few key places.
Const enums were refactored into normal unions, and the members of a
const enum were refactored into type literal types.
@wycats wycats marked this pull request as ready for review May 3, 2023 00:22
@wycats wycats changed the title Upgrade deps and attempt to migrate to pnpm Modernize Infrastructure May 3, 2023
@wycats wycats merged commit 99fee7d into master May 3, 2023
@wycats wycats deleted the chore/try-pnpm branch May 3, 2023 00:37
This was referenced May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants