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

Update base and fix ci #928

Closed
wants to merge 23 commits into from
Closed

Conversation

Gaurav0
Copy link
Contributor

@Gaurav0 Gaurav0 commented Oct 17, 2023

This is an update of #916

Unlike that PR, the scope is reduced to:

  1. updating to ember-cli 3.28 and related dependency bumps
  2. Fixing ci

It does not:

  1. Fix the issue with fetch globals
  2. Fix deprecations
  3. Make it compatible with Ember 5

These will be addressed in separate PRs so that this one is easier to review.

Remaining failing tests:

  • ember-try ember-release
  • ember-try ember-beta
  • ember-try ember-canary
  • ember-try ember-release-no-deprecations

All other tests are passing.

Also, I've taken care to make smaller commits and to clean them up. Hopefully it is easy to review commit by commit.

@Gaurav0 Gaurav0 force-pushed the upgrade_base branch 13 times, most recently from f536bcc to 88a1221 Compare October 17, 2023 18:30
Gaurav0 and others added 17 commits October 17, 2023 14:50
do not auto install peer dependencies
When running against Ember 4.4 our CI was failing, because
ember-cli-babel incorrectly gets confused about which actual
ember-source is in use.

---

Without this change, the various ember-cli-babel processes were
identifying that ember-source@3.26 was in use and was therefore
transpiling all `@ember/***` module usage to `Ember` global usage. This
is "fine" for Ember 3.26, but under 3.27+ "real" modules exist and
globals rewriting is no longer needed.
explicitly add @ember/test-helpers to devDependencies in test-packages
@Gaurav0 Gaurav0 force-pushed the upgrade_base branch 2 times, most recently from ced999a to eb33984 Compare October 17, 2023 19:40
@Gaurav0 Gaurav0 changed the title Upgrade base Update base and fix ci Oct 17, 2023
@mansona mansona closed this Oct 18, 2023
"volta": {
"node": "16.18.1",
"yarn": "1.22.19"
"yarn": "1.22.19",
"pnpm": "7.33.5"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why an old version of pnpm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the version currently in ci. I figured updating it should be separate.

Copy link
Contributor

@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.

Can the switch to/from pnpm be separated from blueprintesque changes?

Seems like there are a few things happening in here, and it'd be better for the changelog to have them separated, not just for the changelog tho, but managing the realm of potential debug-points during a git bisect.

Thanks!

@Gaurav0
Copy link
Contributor Author

Gaurav0 commented Oct 18, 2023

@NullVoxPopuli Fastboot is already using pnpm 7. Maybe some of the fixes might be independently added, but one of the primary problems in ci right now is using old versions of ember-source.

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.

None yet

4 participants