Skip to content

Commit

Permalink
Merge pull request #2012 from embroider-build/fix-empty-packages
Browse files Browse the repository at this point in the history
Empty packages as valid v2 addons
  • Loading branch information
mansona committed Jul 3, 2024
2 parents c1c13d6 + 14fdcb0 commit 6c91dca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/compat/src/empty-package-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ export default class extends Plugin {
writeJSONSync(join(this.outputPath, 'package.json'), {
name: this.originalPackage.name,
version: this.originalPackage.version,
keywords: ['ember-addon'],
'ember-addon': {
version: 2,
type: 'addon',
'auto-upgraded': true,
},
'//': 'This empty package was created by embroider. See https://github.com/embroider-build/embroider/blob/main/docs/empty-package-output.md',
});
}
Expand Down

0 comments on commit 6c91dca

Please sign in to comment.