ember-cli / ember-cli-deprecation-workflow

MIT License
165 stars 43 forks source link

Proposal: ember-cli-deprecation-workflow 3 #169

Open mixonic opened 11 months ago

mixonic commented 11 months ago

This issue proposes a major version release of ember-cli-deprecation-workflow: v3.0.0

The aims of a 3.0 are:

Any other suggestions or concerns?

mansona commented 11 months ago

Hey thanks for this list 🎉 I have a few questions/comments about some of the specifics:

Update the oldest supported Node version to be Node 16

Is there any particular reason why we're not intending to make this Node 18 since v16 was EOL'd on 2023-09-11 ?

Adopt Volta

Do you have more info on the motivation behind this? We have recently removed volta from our test suite in Embroider because it was giving us so much grief. We found that the lockfile was good enough to pin the behaviour of pnpm locally and it also supports defining a version of Node directly in your .npmrc file

mixonic commented 11 months ago

Is there any particular reason why we're not intending to make this Node 18 since v16 was EOL'd on 2023-09-11 ?

Eh, we could. In general this kind of library is intended to help codebases on very old versions bridge the gap to newer versions. So I think some dragging of the feet for minimal version support is probably a good idea.

Do you have more info on the motivation behind this? We have recently https://github.com/embroider-build/embroider/pull/1594 because it was giving us so much grief. We found that the lockfile was good enough to pin the behaviour of pnpm locally and it also supports defining a version of Node directly in your .npmrc file

I'm not familiar with pnpm's pinning functionality at all. I thought Node's infra is what kept falling over with Volta.

Volta still lacks support for pnpm I just realized. Lame https://docs.volta.sh/advanced/pnpm

Yay that pnpm lockfile is supported by dependabot though! https://github.com/dependabot/dependabot-core/issues/1736

simonihmig commented 7 months ago

The first two checkboxes here can be checked I think!

One related minor cleanup PR: #181. With all broccoli dependencies removed, I think we could turn this addon into v2 format, couldn't we? As we don't have a dependency on ember-auto-import currently, this would be strictly speaking a breaking change (although probably nobody notice, unless they are light years behind), so something we should do before bumping the major!

Also this: https://github.com/mixonic/ember-cli-deprecation-workflow/issues/182

mansona commented 3 months ago

@simonihmig are we able to convert this to a v2 with the fact that we still need the vendor support to be able to catch deprecations in vendor code?