From 5c6867910915492dccd4449fd5249b48f7087638 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Tue, 10 Jul 2018 10:44:31 -0700 Subject: [PATCH 1/5] v8.0.0 --- lerna.json | 2 +- lib/octicons_gem/lib/octicons/version.rb | 2 +- lib/octicons_gem/package.json | 2 +- lib/octicons_helper/lib/octicons_helper/version.rb | 2 +- lib/octicons_helper/octicons_helper.gemspec | 2 +- lib/octicons_helper/package.json | 4 ++-- lib/octicons_jekyll/jekyll-octicons.gemspec | 2 +- lib/octicons_jekyll/lib/jekyll-octicons/version.rb | 2 +- lib/octicons_jekyll/package.json | 4 ++-- lib/octicons_node/package.json | 2 +- lib/octicons_react/package.json | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lerna.json b/lerna.json index 77c84cdd8..cf9032d63 100644 --- a/lerna.json +++ b/lerna.json @@ -7,5 +7,5 @@ "lib/octicons_jekyll", "lib/octicons_react" ], - "version": "7.4.0" + "version": "8.0.0" } diff --git a/lib/octicons_gem/lib/octicons/version.rb b/lib/octicons_gem/lib/octicons/version.rb index f8662b4ee..a69b5a401 100644 --- a/lib/octicons_gem/lib/octicons/version.rb +++ b/lib/octicons_gem/lib/octicons/version.rb @@ -1,3 +1,3 @@ module Octicons - VERSION = "7.4.0".freeze + VERSION = "8.0.0".freeze end diff --git a/lib/octicons_gem/package.json b/lib/octicons_gem/package.json index 7396e69ea..cf3dc0971 100644 --- a/lib/octicons_gem/package.json +++ b/lib/octicons_gem/package.json @@ -1,6 +1,6 @@ { "name": "octicons_gem", - "version": "7.4.0", + "version": "8.0.0", "description": "Don't install", "scripts": { "postinstall": "bundle install --path vendor/bundle", diff --git a/lib/octicons_helper/lib/octicons_helper/version.rb b/lib/octicons_helper/lib/octicons_helper/version.rb index d1cd92c09..90cfac8d0 100644 --- a/lib/octicons_helper/lib/octicons_helper/version.rb +++ b/lib/octicons_helper/lib/octicons_helper/version.rb @@ -1,3 +1,3 @@ module OcticonsHelper - VERSION = "7.4.0".freeze + VERSION = "8.0.0".freeze end diff --git a/lib/octicons_helper/octicons_helper.gemspec b/lib/octicons_helper/octicons_helper.gemspec index 34cae2601..55ab32d5d 100644 --- a/lib/octicons_helper/octicons_helper.gemspec +++ b/lib/octicons_helper/octicons_helper.gemspec @@ -13,6 +13,6 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] - s.add_dependency "octicons", "7.4.0" + s.add_dependency "octicons", "8.0.0" s.add_dependency "rails" end diff --git a/lib/octicons_helper/package.json b/lib/octicons_helper/package.json index 122db4440..88f212cd6 100644 --- a/lib/octicons_helper/package.json +++ b/lib/octicons_helper/package.json @@ -1,6 +1,6 @@ { "name": "octicons_helper", - "version": "7.4.0", + "version": "8.0.0", "description": "A rails helper that makes including svg Octicons simple.", "scripts": { "version": "../../script/rubyversion ./lib/octicons_helper/version.rb", @@ -21,6 +21,6 @@ "rubygems": "octicons_helper", "homepage": "https://github.com/primer/octicons#readme", "dependencies": { - "octicons_gem": "7.4.0" + "octicons_gem": "8.0.0" } } diff --git a/lib/octicons_jekyll/jekyll-octicons.gemspec b/lib/octicons_jekyll/jekyll-octicons.gemspec index 65cf7a6d0..d23ce2397 100644 --- a/lib/octicons_jekyll/jekyll-octicons.gemspec +++ b/lib/octicons_jekyll/jekyll-octicons.gemspec @@ -14,5 +14,5 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.add_dependency "jekyll", "~> 3.1" - s.add_dependency "octicons", "7.4.0" + s.add_dependency "octicons", "8.0.0" end diff --git a/lib/octicons_jekyll/lib/jekyll-octicons/version.rb b/lib/octicons_jekyll/lib/jekyll-octicons/version.rb index 63c10ddfa..e66673c81 100644 --- a/lib/octicons_jekyll/lib/jekyll-octicons/version.rb +++ b/lib/octicons_jekyll/lib/jekyll-octicons/version.rb @@ -3,6 +3,6 @@ module Liquid; class Tag; end; end module Jekyll class Octicons < Liquid::Tag - VERSION = "7.4.0".freeze + VERSION = "8.0.0".freeze end end diff --git a/lib/octicons_jekyll/package.json b/lib/octicons_jekyll/package.json index 109b17337..c9fda4ef0 100644 --- a/lib/octicons_jekyll/package.json +++ b/lib/octicons_jekyll/package.json @@ -1,6 +1,6 @@ { "name": "jekyll-octicons", - "version": "7.4.0", + "version": "8.0.0", "description": "A jekyll liquid plugin that makes including svg Octicons simple.", "scripts": { "version": "../../script/rubyversion ./lib/jekyll-octicons/version.rb", @@ -21,6 +21,6 @@ "rubygems": "jekyll-octicons", "homepage": "https://github.com/primer/octicons#readme", "dependencies": { - "octicons_gem": "7.4.0" + "octicons_gem": "8.0.0" } } diff --git a/lib/octicons_node/package.json b/lib/octicons_node/package.json index 7396e2e73..42fbaf360 100644 --- a/lib/octicons_node/package.json +++ b/lib/octicons_node/package.json @@ -1,5 +1,5 @@ { - "version": "7.4.0", + "version": "8.0.0", "name": "octicons", "description": "A scalable set of icons handcrafted with <3 by GitHub.", "homepage": "https://octicons.github.com", diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index 07c9aec28..9d863059b 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -1,6 +1,6 @@ { "name": "@github/octicons-react", - "version": "7.4.0", + "version": "8.0.0", "description": "A scalable set of icons handcrafted with <3 by GitHub.", "homepage": "https://octicons.github.com", "author": "GitHub, Inc.", From 194907c820c3b616596312e9b4fd9ca5613245b0 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 11 Jul 2018 15:49:42 -0700 Subject: [PATCH 2/5] rename @github scope to @githubprimer --- lib/octicons_react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index 9d863059b..a438dfdcb 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -1,5 +1,5 @@ { - "name": "@github/octicons-react", + "name": "@githubprimer/octicons-react", "version": "8.0.0", "description": "A scalable set of icons handcrafted with <3 by GitHub.", "homepage": "https://octicons.github.com", From 1d0fd89f17c08d001f840f77955da1e90b3d83c9 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 12 Jul 2018 14:38:15 -0700 Subject: [PATCH 3/5] update npm package scope --- lib/octicons_react/README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/lib/octicons_react/README.md b/lib/octicons_react/README.md index 3f9a3e74e..e949dae08 100644 --- a/lib/octicons_react/README.md +++ b/lib/octicons_react/README.md @@ -1,14 +1,12 @@ -# GitHub Octicons React Component +# [Octicons] for React [![npm version](https://img.shields.io/npm/v/%40github%2Focticons-react.svg)](https://www.npmjs.org/package/%40github%2Focticons-react) [![Build Status](https://travis-ci.org/primer/octicons.svg?branch=master)](https://travis-ci.org/primer/octicons) -> [Octicons] for React - ## Install ``` -$ npm install @github/octicons-react --save +$ npm install @githubprimer/octicons-react --save ``` ## Usage @@ -34,7 +32,7 @@ Note that none of our builtin icons take props, so unless you're creating [custom icons](#custom-icons) you'll probably want to use the `icon` prop form. ### Icons -The `@github/octicons-react` module exports the `Octicon` component as +The `@githubprimer/octicons-react` module exports the `Octicon` component as `default` and the individual icon symbols as separate [named exports](https://ponyfoo.com/articles/es6-modules-in-depth#named-exports). This allows you to import only the icons that you need without blowing up your @@ -42,7 +40,7 @@ bundle: ```jsx import React from 'react' -import Octicon, {Beaker, Zap} from '@github/octicons-react' +import Octicon, {Beaker, Zap} from '@githubprimer/octicons-react' export default function Icon({boom}) { return @@ -66,7 +64,7 @@ resolves it to the right component: ```jsx import React from 'react' -import Octicon, {getIconByName} from '@github/octicons-react' +import Octicon, {getIconByName} from '@githubprimer/octicons-react' export default function OcticonByName({name, ...props}) { return @@ -80,7 +78,7 @@ the octicons: ```jsx import React from 'react' -import Octicon, {iconsByName} from '@github/octicons-react' +import Octicon, {iconsByName} from '@githubprimer/octicons-react' export default function OcticonsList() { return ( @@ -102,7 +100,7 @@ styles. You can change the alignment via the `verticalAlign` prop, which can be either `middle`, `text-bottom`, `text-top`, or `top`. ```js -import Octicon, {Repo} from '@github/octicons-react' +import Octicon, {Repo} from '@githubprimer/octicons-react' export default () => (

@@ -119,7 +117,7 @@ capitalization of `L`!). ```js // Example usage -import Octicon, {Plus} from '@github/octicons-react' +import Octicon, {Plus} from '@githubprimer/octicons-react' export default () => (