Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
9ffd6b8
font-size:12px => $font-size-small
shawnbot Jul 17, 2017
a73f153
font-size:14px => $h5-size
shawnbot Jul 17, 2017
c104444
font-size:16px => $h4-size
shawnbot Jul 17, 2017
01af566
font-size:20px => $h3-size
shawnbot Jul 17, 2017
5a66e68
font-size:24px => $h2-size
shawnbot Jul 17, 2017
e2295f1
font-size:48px => $h00-size
shawnbot Jul 17, 2017
19a1b87
use $font-size-small in <pre> styles
shawnbot Jul 17, 2017
783ee1c
line-height:1 => $lh-condensed-ultra
shawnbot Jul 17, 2017
9466514
line-height:1.5 => $lh-default
shawnbot Jul 17, 2017
e2537e3
font-weight:normal => $font-weight-normal
shawnbot Jul 17, 2017
29b8b16
font-weight:400 => $font-weight-normal
shawnbot Jul 17, 2017
c0334da
font-weight:500 => $font-weight-semibold
shawnbot Jul 17, 2017
072b430
fix stray font-weight:normal
shawnbot Jul 17, 2017
9f24452
Merge remote-tracking branch 'origin/dev' into shawnbot/type-vars
shawnbot Jul 18, 2017
6e073f1
stash
jonrohan Jul 24, 2017
ee51ce0
Merge branch 'dev' into shawnbot/type-vars
shawnbot Jul 24, 2017
ddc2a61
Merge branch 'dev' into shawnbot/type-vars
shawnbot Jul 24, 2017
dce5d3c
Merge branch 'dev' into shawnbot/type-vars
shawnbot Jul 24, 2017
f321b41
Updating test, and adding to all modules
jonrohan Jul 25, 2017
c07e69a
what if I add it here
jonrohan Jul 25, 2017
08afa16
Better matching
jonrohan Jul 25, 2017
bfe72b9
Some docs
jonrohan Jul 25, 2017
628055a
Removing modules that fail from test for now
jonrohan Jul 25, 2017
ecf0680
Removed dev deps in modules and added hoist option
jonrohan Jul 26, 2017
1b2001a
Renaming ava script to test-docs
jonrohan Jul 26, 2017
4feeb1a
Merge branch 'dev' into document_styles_test
jonrohan Jul 26, 2017
c824f75
These dependencies aren't supposed to be here
jonrohan Jul 26, 2017
c3f8961
Dropping quotes in ava command
jonrohan Jul 26, 2017
b705d1c
Using npm-run-all
jonrohan Jul 26, 2017
4a1a9a1
These are synchronous functions
jonrohan Jul 26, 2017
593eddf
read file sync utf8
jonrohan Jul 26, 2017
580bc02
Deleting module .gitignore files
jonrohan Jul 26, 2017
9c5fc2a
Merge pull request #277 from primer/document_styles_test
jonrohan Jul 26, 2017
a5bef7c
Removing postcss.json files
jonrohan Jul 26, 2017
0941427
Ignoring a lerna backup file
jonrohan Jul 26, 2017
d55d07d
Merge branch 'dev' into module_meta_cleanup
jonrohan Jul 26, 2017
f2d7d2b
Removing CHANGELOG.md
jonrohan Jul 26, 2017
50d420c
Moving .stylelintrc.json to root
jonrohan Jul 26, 2017
7a4fb98
Merge branch 'dev' into shawnbot/type-vars
shawnbot Jul 26, 2017
6174255
Merge pull request #284 from primer/module_meta_cleanup
jonrohan Jul 27, 2017
477945e
reorganize CI release logic
shawnbot Jul 27, 2017
7525bcb
clean up release scripts
shawnbot Jul 27, 2017
2dc55e5
Merge branch 'dev' into shawnbot/type-vars
shawnbot Jul 27, 2017
e30626a
Merge pull request #252 from primer/shawnbot/type-vars
shawnbot Jul 27, 2017
0a6f07f
Merge pull request #286 from primer/master
shawnbot Jul 27, 2017
1ef2816
publish release candidates from release branches
shawnbot Jul 28, 2017
5b7d987
simplify script/after_success
shawnbot Jul 28, 2017
0864919
nix unused encrypted env var
shawnbot Jul 28, 2017
533895c
Merge remote-tracking branch 'origin/dev' into shawnbot/travis-deploy
shawnbot Jul 28, 2017
21d4d70
fix typo
shawnbot Jul 28, 2017
9b03481
move lerna publish --yes option to script/after_success
shawnbot Jul 28, 2017
ab913f2
chmod +x, derp
shawnbot Jul 28, 2017
420ce3a
Merge pull request #290 from primer/shawnbot/travis-deploy
shawnbot Jul 28, 2017
133d6c1
try glob "release*" instead of regex-style
shawnbot Jul 31, 2017
8177890
Merge branch 'master' into release-9.2.0
shawnbot Jul 31, 2017
4de1f71
don't set $PATH; call npm bins directly
shawnbot Jul 31, 2017
70101fe
add skip_cleanup to deploy configs
shawnbot Jul 31, 2017
f7a353a
update CHANGELOG for v9.2.0
shawnbot Jul 31, 2017
55047e1
symlink CHANGELOG.md to primer-css after build success
shawnbot Jul 31, 2017
ba8a03e
move CHANGELOG symlink to .travis.yml
shawnbot Jul 31, 2017
86d8127
remove --skip-git from bump script
shawnbot Jul 31, 2017
ee3048a
Publish
shawnbot Jul 31, 2017
77520f5
just copy CHANGELOG.md
shawnbot Jul 31, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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