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

Move blueprint provided packages to peerDependencies #917

Merged
merged 3 commits into from May 1, 2023
Merged

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented Apr 7, 2023

Experiment to see how we might fix #899

Being aggressive here and moving as much as possible from dependencies to devDependencies in an attempt to batch breaking changes and avoid another major.

@gilest gilest added the breaking label Apr 7, 2023
Comment on lines 105 to 113
"peerDependencies": {
"@ember/test-helpers": "^2.9.3",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"ember-cli-mirage": "*",
"miragejs": "*"
"ember-modifier": "^3.2.7 || ^4.1.0",
"miragejs": "*",
"tracked-built-ins": "^3.1.1"
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Everything I've moved to peerDependencies is in the modern ember-cli blueprints.

Comment on lines 48 to 53
"dependencies": {
"@ember/test-helpers": "^2.9.3",
"@ember/test-waiters": "^3.0.0",
"@embroider/addon-shim": "^1.5.0",
"@embroider/macros": "^1.0.0",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"ember-auto-import": "^2.0.0",
"ember-modifier": "^3.2.7 || ^4.0.0",
"tracked-built-ins": "^3.0.0"
"ember-auto-import": "^2.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.

Believe the remaining dependencies are required. Keen for others to check this, though.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good to.

@gilest gilest changed the title Move blueprint addons to peerDependencies Move blueprint provided packages to peerDependencies Apr 7, 2023
Copy link
Collaborator

@jelhan jelhan left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@gilest gilest mentioned this pull request Apr 29, 2023
@gilest gilest merged commit 6c58bc8 into master May 1, 2023
11 checks passed
@gilest gilest deleted the chore/peer-deps branch May 1, 2023 08:03
gilest added a commit that referenced this pull request May 7, 2023
Documentation for #917 which I probably should have included before release 😅

Should help clarify the upgrade path for cases such as #926 as well as new installations
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.

Audit peerDependencies
2 participants