Skip to content

Commit d19480b

Browse files
committed
chore(build): archives need to have "ally.js" as root directory (for npm and bower)
1 parent 42677a6 commit d19480b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
ally.js.zip
2+
ally.js.tar.gz
23
dist/ally.js.zip
4+
dist/ally.js.tar.gz

build/build.archive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function createArchive(name, type, options) {
2424
archive.pipe(output);
2525

2626
archive.bulk([
27-
{ expand: true, cwd: 'dist', src: ['**/*', '!*.zip', '!*.tar.gz', '!.*'] },
27+
{ expand: true, cwd: 'dist', src: ['**/*', '!*.zip', '!*.tar.gz', '!.*'], dest: 'ally.js/' },
2828
]);
2929

3030
archive.finalize();

0 commit comments

Comments
 (0)