Skip to content

Commit 6736c0d

Browse files
committed
chore: simplify release task
1 parent 0cc316e commit 6736c0d

File tree

5 files changed

+8
-50
lines changed

5 files changed

+8
-50
lines changed

doc/CHANGELOG.md CHANGELOG.md

File renamed without changes.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Run `npm test` to run the unit tests.
3838

3939
## Release new aurelia-cli version
4040

41-
Please see the [release instructions](./RELEASE_INSTRUCTIONS.md).
41+
Just run `npm version patch` (or minor or major)
4242

4343
## License
4444

RELEASE_INSTRUCTIONS.md

-4
This file was deleted.

gulpfile.js

-40
This file was deleted.

package.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@
1717
"au": "bin/aurelia-cli.js"
1818
},
1919
"scripts": {
20-
"lint": "gulp lint",
20+
"lint": "eslint lib spec",
2121
"pretest": "npm run lint",
2222
"test": "jasmine",
2323
"coverage": "nyc jasmine",
24-
"test:watch": "nodemon -x 'npm test'"
24+
"test:watch": "nodemon -x 'npm test'",
25+
"preversion": "npm test",
26+
"version": "standard-changelog && git add CHANGELOG.md",
27+
"postversion": "git push && git push --tags && npm publish"
2528
},
2629
"license": "MIT",
2730
"author": "Rob Eisenberg <[email protected]> (http://robeisenberg.com/)",
@@ -87,14 +90,13 @@
8790
},
8891
"devDependencies": {
8992
"@types/node": "^17.0.39",
90-
"gulp-bump": "^3.2.0",
91-
"gulp-conventional-changelog": "^2.0.35",
92-
"gulp-eslint": "^6.0.0",
93+
"eslint": "^8.17.0",
9394
"jasmine": "^4.1.0",
9495
"jasmine-spec-reporter": "^7.0.0",
9596
"mock-fs": "^5.1.2",
9697
"nodemon": "^2.0.16",
9798
"nyc": "^15.1.0",
99+
"standard-changelog": "^2.0.27",
98100
"yargs": "^17.5.1"
99101
}
100102
}

0 commit comments

Comments
 (0)