Skip to content

Commit

Permalink
fix(jsii): add readme and restore missing files in jsii tarball (#214)
Browse files Browse the repository at this point in the history
1. npmignore excluded all files
2. README was not copied from root
  • Loading branch information
Elad Ben-Israel authored Sep 6, 2018
1 parent 4418762 commit 3911da6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions packages/jsii/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*
!*.js
!*.d.ts

!**/*.js
!**/*.d.ts
!bin/jsii

coverage
2 changes: 1 addition & 1 deletion packages/jsii/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"jsii": "bin/jsii"
},
"scripts": {
"build": "bash ./generate.sh && tsc",
"build": "cp ../../README.md . && bash ./generate.sh && tsc",
"watch": "bash ./generate.sh && tsc -w",
"test": "nyc nodeunit test/test.*.js",
"package": "package-js"
Expand Down

0 comments on commit 3911da6

Please sign in to comment.