Skip to content
Permalink
Browse files

chore: add .npmignore when publishing

  • Loading branch information
MarshallOfSound committed Oct 16, 2018
1 parent 51a22f7 commit 380762e910babb1bed14088f954904783e75be8f
Showing with 13 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +7 −0 .npmignore
  3. +3 −3 packages/api/core/.npmignore
  4. +1 −0 tools/link-ts.ts
@@ -9,6 +9,8 @@ packages/.old
docs
doc
.vscode
**/.npmignore
!/.npmignore
packages/utils/types/index.d.ts
packages/maker/**/README.md
packages/publisher/**/README.md
@@ -0,0 +1,7 @@
*-error.log
src
doc
README.md
test
ci
docs
@@ -1,4 +1,4 @@
*-error.log
src
test
.travis.yml
ci
doc
README.md
@@ -16,5 +16,6 @@ const PACKAGES_DIR = path.resolve(BASE_DIR, 'packages');
for (const dir of dirsToLink) {
await fs.copy(path.resolve(BASE_DIR, 'tsconfig.json'), path.resolve(dir, 'tsconfig.json'));
await fs.copy(path.resolve(BASE_DIR, 'tslint.json'), path.resolve(dir, 'tslint.json'));
await fs.copy(path.resolve(BASE_DIR, '.npmignore'), path.resolve(dir, '.npmignore'));
}
})();

0 comments on commit 380762e

Please sign in to comment.
You can’t perform that action at this time.