Skip to content

feat: v2 addons#9407

Merged
runspired merged 1 commit intomainfrom
v2-addon-bump
May 28, 2024
Merged

feat: v2 addons#9407
runspired merged 1 commit intomainfrom
v2-addon-bump

Conversation

@runspired
Copy link
Contributor

@runspired runspired commented May 13, 2024

monitoring to see if v2 addons are feasible yet

In our work in #9292 we discovered that

  • rolling up types(.d.ts) is not yet feasible, though dts-buddy approach was not yet explored (vite, rollup, tsc, and api-extractor approaches were)
  • EmberData can't ship v2 addons (yet) due to webpack bugs in production builds improperly dropping various exports. This may (or may not) be related the auto-import layering issue, though is likely distinct.

We merged the big PR with all the work but turned off type rollup and configured most of the packages to continue to ship as v1 addons with a simple switch to upgrade them to v2 if possible. This PR triggered that switch so that we can debug these issues.

@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant