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

Use local beta version of ember-cli #87

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

simonihmig
Copy link
Collaborator

This changes the way we invoke ember-cli, to use our own dependency, so we control the version of the blueprint. And (for now) we use the latest canary version, to use the fixed --typescript support.

@stackblitz
Copy link

stackblitz bot commented Jul 3, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Jul 3, 2023

⚠️ No Changeset found

Latest commit: 26940f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@simonihmig simonihmig force-pushed the fix-ts-flag branch 3 times, most recently from de7a8c0 to 8c8cd1b Compare July 3, 2023 17:40
info.name,
`--dir=${addonDir}`,
// needs https://github.com/embroider-build/addon-blueprint/pull/137 for proper TS support
'--blueprint=embroider-build/addon-blueprint#update-for-upstream-ts-changes',
Copy link
Collaborator Author

@simonihmig simonihmig Jul 3, 2023

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted that, it's now using the npm published blueprint again, which as of https://github.com/embroider-build/addon-blueprint/releases/tag/v1.7.0 contains all the things we need

Copy link
Owner

Choose a reason for hiding this comment

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

Yay!

@simonihmig simonihmig marked this pull request as ready for review July 3, 2023 20:32
Copy link
Owner

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

Love all these deletions 🎉

Copy link
Owner

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

What could go wrong? 🙃

Tho. CLI shourd be released in the next couple days 🤞

(I'm approving this, since i it fixes the ts stuff, but we'll want to at least back off to beta once available)
((I can always hold off on publishing to npm until real versions are used))

This changes the way we invoke ember-cli, to use our own dependency, so we control the version of the blueprint. And (for now) we use the latest canary version, to use the fixed `--typescript` support.
@simonihmig
Copy link
Collaborator Author

I rebased and changed to again use the npm published blueprint, but now tests are failing 🤔 ... need to investigate...

@@ -44,7 +44,6 @@
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.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.

Had to remove this, which is deprecated anyway, as with the new ember-cli we get Ember 5 apps created, which this is incompatible with. This was the reason for CI failing...

Copy link
Owner

Choose a reason for hiding this comment

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

I wonder if the migration code should remove it?

@simonihmig
Copy link
Collaborator Author

but we'll want to at least back off to beta once available

References 5.2.0-beta.0 now instead of master! :)

@simonihmig simonihmig changed the title Use local canary version of ember-cli Use local beta version of ember-cli Jul 10, 2023
@simonihmig simonihmig merged commit a3cc1ee into NullVoxPopuli:main Jul 10, 2023
9 checks passed
@simonihmig simonihmig deleted the fix-ts-flag branch July 10, 2023 11:29
@simonihmig simonihmig mentioned this pull request Jul 10, 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