Skip to content

Commit

Permalink
Merge pull request #258 from primer/release-9.1.0
Browse files Browse the repository at this point in the history
Release primer-css@9.1.0
  • Loading branch information
shawnbot authored Jul 24, 2017
2 parents 293d832 + 69ddca2 commit 16de342
Show file tree
Hide file tree
Showing 57 changed files with 466 additions and 240 deletions.
45 changes: 15 additions & 30 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
language: node_js
node_js:
- '7'
env:
- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
script: cd $TEST_DIR && npm install && npm test
- 7

before_script:
- lerna bootstrap

script:
- npm test

after_success:
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
- script/cibuild --yes

notifications:
slack:
secure: W9lPRuuPMNwElkXZ8UZtu5phgUNleDCK0PgERa28dkh5b0Y9xzRpIQPRJfqVYAPtnMVXhfYcqryMzA4oj0E4fc7OxQsKmMeF1OcTuj5N4CM5xXR/qXDehOUTp6fpCToIX9d4hZ2H///PCExpul3TcfxYJe6EWQCHYd1n6zKRl8g=
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# HEAD

# 9.1.0

This release updates our [stylelint config](/primer/stylelint-config-primer) to [v2.0.0](https://github.com/primer/stylelint-config-primer/releases/tag/v2.0.0), and to stylelint v7.13.0. Each module also now has a `lint` npm script, and there are top-level `test` and `lint` scripts that you can use to lint and test all modules in one go.

This release also includes major improvements to our Travis build scripts to automatically publish PR builds, release candidates, and the "final" versions to npm.

# 9.0.0

# 8.0.0

# 7.0.0

# 6.0.0

# 5.0.0

# 4.4.0

- Adding primer-marketing module to primer
Expand Down
2 changes: 1 addition & 1 deletion modules/primer-alerts/lib/flash.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Default flash
// stylelint-disable selector-no-type
// stylelint-disable selector-max-type
.flash {
position: relative;
padding: $spacer-3;
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-alerts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.8",
"version": "1.2.0",
"name": "primer-alerts",
"description": "Flash messages, or alerts, inform users of successful or pending actions.",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"alerts",
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-avatars/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.1.0",
"name": "primer-avatars",
"description": "Basic styles for user profile avatars.",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"avatars",
Expand Down
2 changes: 1 addition & 1 deletion modules/primer-base/lib/base.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// stylelint-disable selector-no-type
// stylelint-disable selector-max-type
* {
box-sizing: border-box;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/primer-base/lib/typography-base.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Headings
// --------------------------------------------------
// stylelint-disable selector-no-type
// stylelint-disable selector-max-type
h1,
h2,
h3,
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-base/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.5",
"version": "1.2.0",
"name": "primer-base",
"description": "CSS to reset the browsers default styles",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"primer",
Expand Down
2 changes: 1 addition & 1 deletion modules/primer-blankslate/lib/blankslate.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// stylelint-disable selector-no-type
// stylelint-disable selector-max-type
.blankslate {
position: relative;
padding: $spacer-5;
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-blankslate/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.1.0",
"name": "primer-blankslate",
"description": "Blankslates are for when there is a lack of content within a page or section.",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"primer",
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-box/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.8",
"version": "2.2.0",
"name": "primer-box",
"description": "A module for creating rounded-corner boxes with options for headers, lists, and footers.",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"primer",
Expand Down
13 changes: 7 additions & 6 deletions modules/primer-breadcrumb/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.1.0",
"name": "primer-breadcrumb",
"description": "Breadcrumb navigation for pages with parents / grandparents.",
"homepage": "http://primercss.io/",
Expand All @@ -19,16 +19,17 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",
"primer-support": "^4.0.7"
"primer-marketing-support": "^1.1.0",
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"breadcrumb",
Expand Down
2 changes: 1 addition & 1 deletion modules/primer-buttons/lib/button.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// stylelint-disable selector-no-type, block-opening-brace-space-before, no-duplicate-selectors
// stylelint-disable selector-max-type, block-opening-brace-space-before, no-duplicate-selectors

// Base button styles
.btn {
Expand Down
11 changes: 6 additions & 5 deletions modules/primer-buttons/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.6",
"version": "2.1.0",
"name": "primer-buttons",
"description": "A collection of buttons used for primary and secondary actions.",
"homepage": "http://primercss.io/",
Expand All @@ -19,15 +19,16 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-support": "^4.0.7"
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"primer",
Expand Down
13 changes: 7 additions & 6 deletions modules/primer-cards/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.8",
"version": "0.2.0",
"name": "primer-cards",
"description": "Card-like containers to group semantically related content together on marketing websites at GitHub.",
"homepage": "http://primercss.io/",
Expand All @@ -19,16 +19,17 @@
"scripts": {
"build": "primer-module-build index.scss",
"prepare": "npm run build",
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
"lint": "stylelint **/*.scss -c .stylelintrc.json -s scss",
"test": "npm run build && npm run lint"
},
"dependencies": {
"primer-marketing-support": "^1.0.2",
"primer-support": "^4.0.7"
"primer-marketing-support": "^1.1.0",
"primer-support": "^4.1.0"
},
"devDependencies": {
"primer-module-build": "*",
"stylelint": "*",
"stylelint-config-primer": "*"
"stylelint": "^7.13.0",
"stylelint-config-primer": "^2.0.0"
},
"keywords": [
"cards",
Expand Down
27 changes: 14 additions & 13 deletions modules/primer-core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.0.0",
"version": "6.1.0",
"name": "primer-core",
"description": "Primer CSS's core modules",
"homepage": "http://primercss.io/",
Expand All @@ -21,19 +21,20 @@
"test": "npm run build"
},
"dependencies": {
"primer-base": "^1.1.5",
"primer-box": "^2.1.8",
"primer-buttons": "^2.0.6",
"primer-forms": "^1.0.13",
"primer-layout": "^1.0.5",
"primer-navigation": "^1.0.6",
"primer-support": "^4.0.7",
"primer-table-object": "^1.0.9",
"primer-tooltips": "^1.0.2",
"primer-truncate": "^1.0.2",
"primer-utilities": "^4.3.5"
"primer-base": "^1.2.0",
"primer-box": "^2.2.0",
"primer-buttons": "^2.1.0",
"primer-forms": "^1.1.0",
"primer-layout": "^1.1.0",
"primer-navigation": "^1.1.0",
"primer-support": "^4.1.0",
"primer-table-object": "^1.1.0",
"primer-tooltips": "^1.1.0",
"primer-truncate": "^1.1.0",
"primer-utilities": "^4.4.0"
},
"devDependencies": {
"primer-module-build": "*"
"primer-module-build": "*",
"stylelint-config-primer": "^2.0.0"
}
}
Loading

0 comments on commit 16de342

Please sign in to comment.