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

Strict mode deps #1098

Merged
merged 4 commits into from
Jun 12, 2023
Merged

Strict mode deps #1098

merged 4 commits into from
Jun 12, 2023

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Jun 12, 2023

A consequence of enabling this is that is I found out that the addon has a devDep on ember-resolver, which was just used for the type tests -- and that's it.

To prevent adding bloat to the addon, I moved the type tests to their own workspace, updated the workflow for those type tests, and while I was at it threw TS 5 and 5.1 on the type check matrix, since we saw that those versions were green via dependabot.

To verify that there are no peer issues locally, you can check via:

❯ pnpm i --resolution-only

@@ -1,11 +0,0 @@
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

moved(ish) to the test-types directory

"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"webpack"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added because ember-qunit depends on ember-source, which declared webpack as a peerDependency.
This makes sense for apps, but not for v2 addons.

The webpack peerdep in ember-source will also go away once it itself is converted to a v2 addon

@MelSumner MelSumner merged commit 5aa728a into emberjs:master Jun 12, 2023
@NullVoxPopuli NullVoxPopuli deleted the strict-mode-deps branch June 12, 2023 23:09
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.

3 participants