From 0d4421c7540c3e25f2732550c4be83af46ac375f Mon Sep 17 00:00:00 2001 From: Alex Gibson Date: Fri, 25 May 2018 09:53:21 +0100 Subject: [PATCH] Bump version to 1.0.0 --- CHANGELOG.md | 2 +- README.md | 2 +- docs/README.md | 16 +++++++++++----- package-lock.json | 2 +- package.json | 2 +- src/assets/package/README.md | 2 +- src/assets/package/package.json | 2 +- 7 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dca226d..4aeb6696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# HEAD +# 1.0.0 ## Features * **css:** Compile protocol-extra.css bundle (#120) diff --git a/README.md b/README.md index b489a221..948d6020 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ To use Protocol in your website you can install the core package directly from N npm install @mozilla-protocol/core --save ``` -Alternatively, you can also [download the latest release]( https://github.com/mozilla/protocol/releases/latest) from GitHub. +Alternatively, you can also [download the latest release](https://github.com/mozilla/protocol/releases/latest) from GitHub. ## Usage diff --git a/docs/README.md b/docs/README.md index 90fe8e9d..cefc5d69 100755 --- a/docs/README.md +++ b/docs/README.md @@ -9,6 +9,10 @@ [demo-default]: https://mozilla-protocol.netlify.com/patterns/organisms/article.html [demo-collection]: https://mozilla-protocol.netlify.com/patterns/atoms/typographic.html [demo-blank]: https://mozilla-protocol.netlify.com/demos/type-scale.html +[package.json]: https://github.com/mozilla/protocol/blob/master/src/assets/package/package.json +[releases]: https://github.com/mozilla/protocol/releases/latest +[readme]: https://github.com/mozilla/protocol/blob/master/src/assets/package/README.md +[changelog]: https://github.com/mozilla/protocol/blob/master/CHANGELOG.md @@ -492,11 +496,13 @@ The build sequence consists of a small set of [Gulp][gulp] tasks. While you'll p Protocol is published to NPM under the `@mozilla-protocol/core` namespace/package name. To publish a release to NPM, use the following steps: -1. Update the `version` number in `./src/assets/package/package.json` (use [Semantic Versioning][semver] to determine what the new version number should be). -2. Make sure the version number is commited to `master` in Git. -3. Tag a new release. You can do this either using [Git tag][git-tag], or directly on the [GitHub website][releases]. -4. Run `gulp build` to create the NPM package. The package contents will be located in `./dist/assets/protocol/`. -5. Publish to NPM using `npm publish ./dist/assets/protocol/`. +1. Update the `version` number in [package.json][package.json] (use [Semantic Versioning][semver] to determine what the new version number should be). +2. Update the accompanying [README.md][readme]. +3. Make sure [CHANGELOG.md][changelog] is also up to date. +4. Commit the changes to the `master` branch. +5. Tag a new release. You can do this either using [Git tag][git-tag], or directly on the [GitHub website][releases]. +6. Run `gulp build` to create the NPM package. The package contents will be located in `./dist/assets/protocol/`. +7. Publish to NPM using `npm publish ./dist/assets/protocol/`. # Acknowledgements diff --git a/package-lock.json b/package-lock.json index b68d32b4..c972ffad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "protocol", - "version": "0.1.3", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8e800095..ebc8fa6a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "protocol", - "version": "0.1.3", + "version": "1.0.0", "private": true, "author": "Mozilla", "description": "A design system for Mozilla's websites.", diff --git a/src/assets/package/README.md b/src/assets/package/README.md index 3a6792d9..e47ae0da 100644 --- a/src/assets/package/README.md +++ b/src/assets/package/README.md @@ -20,7 +20,7 @@ Install package with NPM and add it to your dependencies: Version -[0.1.2](https://github.com/mozilla/protocol/blob/master/CHANGELOG.md) +[1.0.0](https://github.com/mozilla/protocol/blob/master/CHANGELOG.md) diff --git a/src/assets/package/package.json b/src/assets/package/package.json index e4d6eebe..a72d1858 100644 --- a/src/assets/package/package.json +++ b/src/assets/package/package.json @@ -1,6 +1,6 @@ { "name": "@mozilla-protocol/core", - "version": "0.1.2", + "version": "1.0.0", "description": "A design system for Mozilla's websites.", "repository": { "type": "git",