Skip to content

Commit 67316f5

Browse files
authored
Merge pull request #292 from primer/release-9.2.0
Release primer-css@9.2.0
2 parents 8e3775c + 77520f5 commit 67316f5

File tree

157 files changed

+334
-2634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+334
-2634
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ node_modules
55
build
66
_site
77
docs
8+
*.lerna_backup

.travis.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,34 @@ language: node_js
22
node_js:
33
- 7
44

5+
before_install:
6+
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
7+
58
before_script:
69
- lerna bootstrap
710

811
script:
912
- npm test
1013

1114
after_success:
12-
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
13-
- script/cibuild --yes
15+
# copy the CHANGELOG.md primer-css for publishing
16+
- cp CHANGELOG.md modules/primer-css
17+
- script/after_success
18+
19+
deploy:
20+
# publish release candidates on release branches
21+
- provider: script
22+
script: script/release-candidate
23+
skip_cleanup: true
24+
on:
25+
branch: release*
26+
27+
# publish "final" releases on master
28+
- provider: script
29+
script: script/release
30+
skip_cleanup: true
31+
on:
32+
branch: master
1433

1534
notifications:
1635
slack:

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# HEAD
22

3+
# 9.2.0
4+
5+
## New
6+
7+
- 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
8+
9+
## Changes
10+
11+
- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284
12+
- 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
13+
- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290
14+
315
# 9.1.1
16+
417
This release updates primer modules to use variables for spacing units instead of pixel values.
518

619
## Changes

modules/primer-alerts/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

modules/primer-alerts/.postcss.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

modules/primer-alerts/CHANGELOG.md

Lines changed: 0 additions & 95 deletions
This file was deleted.

modules/primer-alerts/package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.1",
2+
"version": "1.3.0",
33
"name": "primer-alerts",
44
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
55
"homepage": "http://primercss.io/",
@@ -19,16 +19,11 @@
1919
"scripts": {
2020
"build": "primer-module-build index.scss",
2121
"prepare": "npm run build",
22-
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
23-
"test": "npm run build && npm run lint"
22+
"lint": "stylelint **/*.scss -s scss",
23+
"test": "npm-run-all -s build lint"
2424
},
2525
"dependencies": {
26-
"primer-support": "^4.1.1"
27-
},
28-
"devDependencies": {
29-
"primer-module-build": "*",
30-
"stylelint": "^7.13.0",
31-
"stylelint-config-primer": "^2.0.0"
26+
"primer-support": "^4.2.0"
3227
},
3328
"keywords": [
3429
"alerts",

modules/primer-avatars/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

modules/primer-avatars/.postcss.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)