@zwerm/zwermapi-client
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -9,2 +9,25 @@ # Changelog | ||
## [0.4.0] - 2018-06-19 | ||
Some minor cleanup, automation, and fixes. This release removes the whole .idea folder, | ||
which might mess-up this project in JetBrains IDEs. | ||
You can fix this by just copying the deleted files from v0.3.0 to your .idea folder, | ||
or by just deleting the project & re-checking it out again from source. | ||
Sorry in advance - it's easier to rip the bandage off now, vs later down the line. | ||
### Added | ||
- `npm version` script to help automate bits and bobs, making it easier & quicker to release. | ||
### Changed | ||
- Cleaned up .gitignore, ignoring and removing .idea/** folder & files. | ||
This might break existing checkouts of this repo as projects in JetBrains IDEs. | ||
The best fix is to just delete & checkout the project again. Sorry! | ||
### Removed | ||
- `@stampit/stamp` optional dependency, as it screws over `npm` despite being optional. | ||
Once this package is released publicity, it'll be added back. | ||
This (hopefully) shouldn't screw over the typings too much. | ||
## [0.3.0] - 2018-06-19 | ||
@@ -64,6 +87,7 @@ | ||
[Unreleased]: https://github.com/zwerm/api-client-js/compare/v0.3.0...HEAD | ||
[Unreleased]: https://github.com/zwerm/api-client-js/compare/v0.4.0...HEAD | ||
[0.4.0]: https://github.com/zwerm/api-client-js/compare/v0.3.0...v0.4.0 | ||
[0.3.0]: https://github.com/zwerm/api-client-js/compare/v0.2.0...v0.3.0 | ||
[0.2.0]: https://github.com/zwerm/api-client-js/compare/v0.1.0...v0.2.0 | ||
[0.1.0]: https://github.com/zwerm/api-client-js/compare/v0.1.0...v0.1.0 |
{ | ||
"name": "@zwerm/zwermapi-client", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"private": false, | ||
@@ -17,3 +17,4 @@ "description": "Client for using the ZwermAPI", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"version": "node ./scripts/npm-version.js" | ||
}, | ||
@@ -27,5 +28,2 @@ "dependencies": { | ||
}, | ||
"optionalDependencies": { | ||
"@stampit/stamp": "git+ssh://git@bitbucket.org/preferizi/stamp.git" | ||
}, | ||
"engines": { | ||
@@ -32,0 +30,0 @@ "node": ">=8.0.0" |
@@ -47,8 +47,1 @@ /** | ||
const fs = require('fs'); | ||
delete packageJson.scripts.version; | ||
fs.writeFileSync(path.join(process.env.INIT_CWD, 'package.json'), JSON.stringify(packageJson, undefined, 4) + '\n'); | ||
addFilesToGit([path.join(process.env.INIT_CWD, 'package.json')], process.env.INIT_CWD); | ||
2
9
186139
14
3883