Restore Ember addon identity to @ember/string v4 by Copilot · Pull Request #480 · emberjs/ember-string

@ember/string v4 was published as a plain npm package, stripping its Ember addon identity. This broke Embroider's v1-addon compatibility layer, which requires the ember-addon keyword to make the module resolvable from v1 addons that don't explicitly declare @ember/string as a dependency.

Changes

  • addon-main.cjs — new file; minimal v2 addon entry point required by Embroider
  • package.json
    • Add "keywords": ["ember-addon"] — signals Embroider to apply addon resolution compatibility
    • Add "ember-addon" metadata block registering the package as a v2 addon with an empty app-js map

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.