Skip to content

Commit

Permalink
feat: add lib/index.js manifest file for addons (#41)
Browse files Browse the repository at this point in the history
* fix(blueprints): rename raw -> json serializer in app blueprint index action

* feat: add manifest lib/index.js to addon blueprint
  • Loading branch information
davewasmer committed Jan 31, 2018
1 parent a511d66 commit 3ee213e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions blueprints/addon/files/__name__/lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Use this file to re-export anything you want users to be able to directly import, i.e.
//
// export { default as AuthBeforeFilter } from './auth-before-filter';
//
// Then users would be able to:
//
// import { AuthBeforeFilter } from '<%= name %>';
//
2 changes: 1 addition & 1 deletion blueprints/addon/files/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"denali-addon",
"addon"
],
"main": "app/addon.js",
"main": "lib/index.js",
"mainDir": "dist",
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 3ee213e

Please sign in to comment.