Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Revert not-working ng-package changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastiaan van den Berg committed Mar 2, 2018
1 parent 0080d4e commit 3f90f4f
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 117 deletions.
2 changes: 1 addition & 1 deletion PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ yarn run build-lib

Publish from dist directory:
```bash
cd dist
cd src/app/ng-select/dist
npm publish
```
4 changes: 2 additions & 2 deletions copy_to_demo.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
rm -rv demo/node_modules/ng-select/*

npm pack ./dist
npm pack src/app/ng-select/dist
tar -xzvf ng-select-*.tgz
mv -v package/* demo/node_modules/ng-select/

rm ng-select-*.tgz
rmdir package
rmdir -v package
2 changes: 1 addition & 1 deletion ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"src": "src/app/ng-select",
"lib": {
"entryFile": "src/app/ng-select/public_api.ts"
"entryFile": "public_api.ts"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.0",
"core-js": "^2.4.1",
"ng-packagr": "2.1.0",
"rxjs": "^5.5.6",
"zone.js": "^0.8.19"
},
Expand All @@ -49,6 +48,7 @@
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "1.5.0-rc.1",
"protractor": "~5.1.2",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
Expand Down
Loading

0 comments on commit 3f90f4f

Please sign in to comment.