Skip to content

Commit

Permalink
fix(release script): auto copy assets into packaged version.
Browse files Browse the repository at this point in the history
Closes #81
  • Loading branch information
BioPhoton committed Apr 7, 2018
1 parent e2e920b commit e7b7edf
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 15 deletions.
Binary file modified @packaged/angular-star-rating.tgz
Binary file not shown.
24 changes: 24 additions & 0 deletions @packaged/angular-star-rating/assets/images/star-rating.icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Fully featured this component is provided with:

## Related Projects
| Css | Angular 1 | Angular | Ionic 1 |
|--- |--- |--- |--- |
|--- |--- |--- |--- |
| <img src="https://raw.githubusercontent.com/BioPhoton/angular-star-rating/master/resources/family/css3.png" width="100"> | <img src="https://raw.githubusercontent.com/BioPhoton/angular-star-rating/master/resources/family/angular1.png" width="100"> | <img src="https://raw.githubusercontent.com/BioPhoton/angular-star-rating/master/resources/family/angular.png" width="80"> | <img src="https://raw.githubusercontent.com/BioPhoton/angular-star-rating/master/resources/family/ionic1.png" width="80"> |
| [Css Star Rating](https://github.com/BioPhoton/css-star-rating) | [Angular1 Star Rating](https://github.com/BioPhoton/angular1-star-rating) | [Angular Star Rating](https://github.com/BioPhoton/angular-star-rating) |[Ionic1 Star Rating](https://github.com/BioPhoton/ionic1-star-rating) |

Expand Down
165 changes: 152 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"start": "ng serve",
"start:packaged": "ng serve --app=angular5-example-packaged",
"build": "ng build",
"build:lib": "ng-packagr -p libs/angular-star-rating/package.json",
"build:lib": "ng-packagr -p libs/angular-star-rating/package.json && npm run copy:assets",
"build:packaged": "ng build --app=angular5-example-packaged",
"build:github-page": "ng build --prod --output-path docs --base-href /angular-star-rating/",
"copy:assets": "copyfiles -u 3 ./libs/angular-star-rating/src/assets/**/* ./@packaged/angular-star-rating",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
Expand Down

0 comments on commit e7b7edf

Please sign in to comment.