Skip to content

Commit e362ee6

Browse files
committed
fix(blueprints): rename package.json blueprints
Turns out npm now uses local package.json's "files" to determine what contents of a subdirectory will be published.
1 parent aec2a86 commit e362ee6

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

lib/blueprint.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ export default class Blueprint extends Command {
6565
* Can be overriden/extended by individual addons
6666
*/
6767
public static renamedFiles: any = {
68-
gitignore: '.gitignore'
68+
gitignore: '.gitignore',
69+
package: 'package.json'
6970
};
7071

7172
/**

0 commit comments

Comments
 (0)