chore(build): update build scripts

This commit is contained in:
Adam Bradley
2018-03-03 16:16:02 -06:00
parent 06abbf069f
commit 239b0aa1bb
7 changed files with 126 additions and 69 deletions

View File

@@ -1,12 +1,19 @@
# @ionic/angular
Ionic Angular specific building blocks on top of [@ionic/core](https://www.npmjs.com/package/@ionic/core) components/services.
Ionic Angular specific building blocks on top of [@ionic/core](https://www.npmjs.com/package/@ionic/core) components.
## Related
* [Ionic Components](https://www.npmjs.com/package/@ionic/core)
* [Ionicons](http://ionicons.com/)
* [Ionic Core Components](https://www.npmjs.com/package/@ionic/core)
* [Ionic Documentation](https://ionicframework.com/docs/)
* [Ionic Worldwide Slack](http://ionicworldwide.herokuapp.com/)
* [Ionic Forum](https://forum.ionicframework.com/)
* [Ionicons](http://ionicons.com/)
* [Stencil](https://stenciljs.com/)
* [Stencil Worldwide Slack](https://stencil-worldwide.slack.com)
## License
* [MIT](https://raw.githubusercontent.com/ionic-team/ionic/master/LICENSE)

View File

@@ -5,10 +5,11 @@
"keywords": [
"ionic",
"framework",
"angular",
"mobile",
"app",
"hybrid",
"webapp",
"capacitor",
"cordova",
"progressive web app",
"pwa"
@@ -20,7 +21,6 @@
},
"scripts": {
"build": "npm run clean && npm run compile && npm run clean-generated",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"clean": "node scripts/clean.js",
"clean-generated": "node ./scripts/clean-generated.js",
"compile": "./node_modules/.bin/ngc",
@@ -47,7 +47,6 @@
"@angular/router": "latest",
"@ionic/core": "^0.1.3",
"chalk": "^2.3.2",
"conventional-changelog-cli": "^1.3.16",
"execa": "^0.9.0",
"fs-extra": "^5.0.0",
"glob": "7.1.2",

View File

@@ -149,10 +149,6 @@ function runTasks(opts) {
{
title: 'Set package.json version',
task: () => execa('npm', ['run', 'set.version', opts.version], { cwd: rootDir }),
},
{
title: 'Generate CHANGELOG',
task: () => execa('npm', ['run', 'changelog'], { cwd: rootDir }),
}
);
}
@@ -165,7 +161,7 @@ function runTasks(opts) {
},
{
title: 'Tagging the latest commit',
task: () => execa('git', ['tag', `v${opts.version}`], { cwd: rootDir })
task: () => execa('git', ['tag', `${pkg.name}-v${opts.version}`], { cwd: rootDir })
},
{
title: 'Pushing to Github',