Skip to content

Commit

Permalink
Bump protocol to v17.0.0 (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored May 11, 2023
1 parent 2820247 commit 52479ba
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
15 changes: 9 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# HEAD
# 17.0.0

## Bug Fixes
* **js:** Moves the aria-expanded attribute to the mzp-c-navigation-menu-button (#860).
* **css:** Remove default mobile padding on nospace split component (#875).
* **css:** Removed min-width on the .mzp-c-split-container class on the split component (#843).

## Features
* **css:** Moves the aria-expanded attribute to the mzp-c-navigation-menu-button (#860).
* **css:** Remove default mobile padding on nospace split component
* **css:** Removed min-width on the .mzp-c-split-container class on the split component

* **js:** Protocol JS components are now written using modern JS and published as ES5/UMD format (#255).
* **js:** Removed pre-minified JS files from the published package. Consuming sites should handle their own minification.
* **css:** Removed pre-minified CSS files from the published package Consuming sites should handle their own minification.
* **js:** Removed pre-minified JS files from the published package (#255).
* **css:** Removed pre-minified CSS files from the published package (#255).

## Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ name. To publish a release to NPM, use the following steps:
have permission). Once the changes have been merged to main:
6. Tag a new release. You can do this either using [Git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging),
or directly on the [GitHub website](https://github.com/mozilla/protocol/releases/latest).
7. Run `npm test` to run the build script and front-end tests. The package contents
7. Run `npm run build-package && npm test` to run the build script and front-end tests. The package contents
will be located in `./package/`.
8. If the build is successful and all tests pass, publish to NPM using `npm publish ./package/`.

Expand Down
2 changes: 1 addition & 1 deletion assets/package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Install package with NPM and add it to your dependencies:
</tr>
<tr>
<td>Version</td>
<td><a href="https://github.com/mozilla/protocol/blob/master/CHANGELOG.md">16.1.0</a></td>
<td><a href="https://github.com/mozilla/protocol/blob/master/CHANGELOG.md">17.0.0</a></td>
</tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion assets/package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mozilla-protocol/core",
"version": "16.1.0",
"version": "17.0.0",
"description": "A design system for Mozilla's websites.",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protocol",
"version": "16.1.0",
"version": "17.0.0",
"private": true,
"author": "Mozilla",
"description": "A design system for Mozilla's websites.",
Expand All @@ -19,7 +19,7 @@
"lint": "npm run lint-js && npm run lint-css",
"lint-css": "./node_modules/.bin/stylelint \"**/*.scss\"",
"lint-js": "./node_modules/.bin/eslint .",
"prepublishOnly": "npm run webpack-package",
"prepublishOnly": "npm run build-package",
"start": "ENV=development fractal start --sync",
"test": "npm run lint && ./node_modules/.bin/karma start ./tests/karma.conf.js",
"webpack": "npm run lint && webpack --config webpack.docs.static.config.js --mode development && webpack --config webpack.docs.build.config.js --watch --mode development"
Expand Down

0 comments on commit 52479ba

Please sign in to comment.