Skip to content

Commit

Permalink
Merge pull request #292 from primer/release-9.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot authored Jul 31, 2017
2 parents 8e3775c + 77520f5 commit 67316f5
Show file tree
Hide file tree
Showing 157 changed files with 334 additions and 2,634 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
build
_site
docs
*.lerna_backup
File renamed without changes.
23 changes: 21 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,34 @@ language: node_js
node_js:
- 7

before_install:
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"

before_script:
- lerna bootstrap

script:
- npm test

after_success:
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
- script/cibuild --yes
# copy the CHANGELOG.md primer-css for publishing
- cp CHANGELOG.md modules/primer-css
- script/after_success

deploy:
# publish release candidates on release branches
- provider: script
script: script/release-candidate
skip_cleanup: true
on:
branch: release*

# publish "final" releases on master
- provider: script
script: script/release
skip_cleanup: true
on:
branch: master

notifications:
slack:
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# HEAD

# 9.2.0

## New

- Add `test-docs` npm script in each module to check that every CSS class is documented (or at least mentioned) in the module's own markdown docs

## Changes

- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284
- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer-css/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252
- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290

# 9.1.1

This release updates primer modules to use variables for spacing units instead of pixel values.

## Changes
Expand Down
3 changes: 0 additions & 3 deletions modules/primer-alerts/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions modules/primer-alerts/.postcss.json

This file was deleted.

95 changes: 0 additions & 95 deletions modules/primer-alerts/CHANGELOG.md

This file was deleted.

13 changes: 4 additions & 9 deletions modules/primer-alerts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.1",
"version": "1.3.0",
"name": "primer-alerts",
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
"homepage": "http://primercss.io/",
Expand All @@ -19,16 +19,11 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
"lint": "stylelint **/*.scss -s scss",
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "^4.1.1"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
"primer-support": "^4.2.0"
},
"keywords": [
"alerts",
Expand Down
3 changes: 0 additions & 3 deletions modules/primer-avatars/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions modules/primer-avatars/.postcss.json

This file was deleted.

5 changes: 0 additions & 5 deletions modules/primer-avatars/.stylelintrc.json

This file was deleted.

86 changes: 0 additions & 86 deletions modules/primer-avatars/CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions modules/primer-avatars/lib/avatar.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.avatar {
display: inline-block;
overflow: hidden; // Ensure page layout in Firefox should images fail to load
line-height: 1;
line-height: $lh-condensed-ultra;
vertical-align: middle;
border-radius: 3px;
}
Expand All @@ -10,7 +10,7 @@

.avatar-link {
float: left;
line-height: 1;
line-height: $lh-condensed-ultra;
}

// User for example on /stars and /user for grids of avatars
Expand Down
13 changes: 4 additions & 9 deletions modules/primer-avatars/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.1",
"version": "1.2.0",
"name": "primer-avatars",
"description": "Basic styles for user profile avatars.",
"homepage": "http://primercss.io/",
Expand All @@ -19,16 +19,11 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
"lint": "stylelint **/*.scss -s scss",
"test": "npm-run-all -s build lint"
},
"dependencies": {
"primer-support": "^4.1.1"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
"primer-support": "^4.2.0"
},
"keywords": [
"avatars",
Expand Down
3 changes: 0 additions & 3 deletions modules/primer-base/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions modules/primer-base/.postcss.json

This file was deleted.

5 changes: 0 additions & 5 deletions modules/primer-base/.stylelintrc.json

This file was deleted.

Loading

0 comments on commit 67316f5

Please sign in to comment.