Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Apr 11, 2019
1 parent 96d0cfe commit 35d3f4d
Show file tree
Hide file tree
Showing 38 changed files with 242 additions and 43 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/compare/v4.1.0...v4.2.0) (2019-04-11)


### Bug Fixes

* keep viewBox when dimensions are removed ([#281](https://github.com/smooth-code/svgr/issues/281)) ([f476c8e](https://github.com/smooth-code/svgr/commit/f476c8e))
* **babel-preset:** expandProps + icon option ([ddfae22](https://github.com/smooth-code/svgr/commit/ddfae22)), closes [#277](https://github.com/smooth-code/svgr/issues/277)
* **cli:** fix kebab case transformation with "_" ([39c24c5](https://github.com/smooth-code/svgr/commit/39c24c5)), closes [#280](https://github.com/smooth-code/svgr/issues/280)
* **hast-util-to-babel-ast:** correctly handle aria attributes ([23d12aa](https://github.com/smooth-code/svgr/commit/23d12aa)), closes [#279](https://github.com/smooth-code/svgr/issues/279)
* **plugin-prettier:** fix prettier warning ([d01d33f](https://github.com/smooth-code/svgr/commit/d01d33f))


### Features

* add expo option ([#289](https://github.com/smooth-code/svgr/issues/289)) ([978db3e](https://github.com/smooth-code/svgr/commit/978db3e))





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "4.1.0",
"version": "4.2.0",
"npmClient": "yarn",
"useWorkspaces": true
}
8 changes: 8 additions & 0 deletions packages/babel-plugin-add-jsx-attribute/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-add-jsx-attribute/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-add-jsx-attribute





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-add-jsx-attribute/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-add-jsx-attribute",
"description": "Add JSX attribute",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-add-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-remove-jsx-attribute/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-remove-jsx-attribute/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-attribute





## [4.0.3](https://github.com/smooth-code/svgr/compare/v4.0.2...v4.0.3) (2018-11-13)


Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-remove-jsx-attribute/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-remove-jsx-attribute",
"description": "Remove JSX attribute",
"version": "4.0.3",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-remove-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-remove-jsx-empty-expression/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-remove-jsx-empty-expression





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-remove-jsx-empty-expression",
"description": "Remove JSX empty expression",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-remove-jsx-empty-expression",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-replace-jsx-attribute-value/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-replace-jsx-attribute-value





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-replace-jsx-attribute-value",
"description": "Replace JSX attribute value",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-replace-jsx-attribute-value",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-svg-dynamic-title/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-svg-dynamic-title/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-svg-dynamic-title





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-svg-dynamic-title/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-svg-dynamic-title",
"description": "Transform SVG by adding a dynamic title element",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-svg-dynamic-title",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-svg-em-dimensions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-svg-em-dimensions/compare/v4.1.0...v4.2.0) (2019-04-11)

**Note:** Version bump only for package @svgr/babel-plugin-svg-em-dimensions





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-svg-em-dimensions/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-svg-em-dimensions",
"description": "Transform SVG to use em-based dimensions",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-svg-em-dimensions",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
11 changes: 11 additions & 0 deletions packages/babel-plugin-transform-react-native-svg/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-react-native-svg/compare/v4.1.0...v4.2.0) (2019-04-11)


### Features

* add expo option ([#289](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-react-native-svg/issues/289)) ([978db3e](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-react-native-svg/commit/978db3e))





# [4.0.0](https://github.com/smooth-code/svgr/compare/v3.1.0...v4.0.0) (2018-11-04)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-transform-react-native-svg",
"description": "Transform DOM elements into react-native-svg components",
"version": "4.0.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-react-native-svg",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
11 changes: 11 additions & 0 deletions packages/babel-plugin-transform-svg-component/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-svg-component/compare/v4.1.0...v4.2.0) (2019-04-11)


### Features

* add expo option ([#289](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-svg-component/issues/289)) ([978db3e](https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-svg-component/commit/978db3e))





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)

**Note:** Version bump only for package @svgr/babel-plugin-transform-svg-component
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-svg-component/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-plugin-transform-svg-component",
"description": "Transform SVG into component",
"version": "4.1.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-plugin-transform-svg-component",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down
16 changes: 16 additions & 0 deletions packages/babel-preset/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/babel-preset/compare/v4.1.0...v4.2.0) (2019-04-11)


### Bug Fixes

* **babel-preset:** expandProps + icon option ([ddfae22](https://github.com/smooth-code/svgr/tree/master/packages/babel-preset/commit/ddfae22)), closes [#277](https://github.com/smooth-code/svgr/tree/master/packages/babel-preset/issues/277)


### Features

* add expo option ([#289](https://github.com/smooth-code/svgr/tree/master/packages/babel-preset/issues/289)) ([978db3e](https://github.com/smooth-code/svgr/tree/master/packages/babel-preset/commit/978db3e))





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)

**Note:** Version bump only for package @svgr/babel-preset
Expand Down
18 changes: 9 additions & 9 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/babel-preset",
"description": "SVGR preset that apply transformations from config",
"version": "4.1.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/babel-preset",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand All @@ -22,13 +22,13 @@
"prepublishOnly": "yarn run build"
},
"dependencies": {
"@svgr/babel-plugin-add-jsx-attribute": "^4.0.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^4.0.3",
"@svgr/babel-plugin-remove-jsx-empty-expression": "^4.0.0",
"@svgr/babel-plugin-replace-jsx-attribute-value": "^4.0.0",
"@svgr/babel-plugin-svg-dynamic-title": "^4.0.0",
"@svgr/babel-plugin-svg-em-dimensions": "^4.0.0",
"@svgr/babel-plugin-transform-react-native-svg": "^4.0.0",
"@svgr/babel-plugin-transform-svg-component": "^4.1.0"
"@svgr/babel-plugin-add-jsx-attribute": "^4.2.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^4.2.0",
"@svgr/babel-plugin-remove-jsx-empty-expression": "^4.2.0",
"@svgr/babel-plugin-replace-jsx-attribute-value": "^4.2.0",
"@svgr/babel-plugin-svg-dynamic-title": "^4.2.0",
"@svgr/babel-plugin-svg-em-dimensions": "^4.2.0",
"@svgr/babel-plugin-transform-react-native-svg": "^4.2.0",
"@svgr/babel-plugin-transform-svg-component": "^4.2.0"
}
}
12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/cli/compare/v4.1.0...v4.2.0) (2019-04-11)


### Bug Fixes

* keep viewBox when dimensions are removed ([#281](https://github.com/smooth-code/svgr/tree/master/packages/cli/issues/281)) ([f476c8e](https://github.com/smooth-code/svgr/tree/master/packages/cli/commit/f476c8e))
* **cli:** fix kebab case transformation with "_" ([39c24c5](https://github.com/smooth-code/svgr/tree/master/packages/cli/commit/39c24c5)), closes [#280](https://github.com/smooth-code/svgr/tree/master/packages/cli/issues/280)





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)

**Note:** Version bump only for package @svgr/cli
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/cli",
"description": "SVGR command line.",
"version": "4.1.0",
"version": "4.2.0",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/cli",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand All @@ -26,10 +26,10 @@
"prepublishOnly": "yarn run build"
},
"dependencies": {
"@svgr/core": "^4.1.0",
"@svgr/plugin-jsx": "^4.1.0",
"@svgr/plugin-prettier": "^4.0.3",
"@svgr/plugin-svgo": "^4.0.3",
"@svgr/core": "^4.2.0",
"@svgr/plugin-jsx": "^4.2.0",
"@svgr/plugin-prettier": "^4.2.0",
"@svgr/plugin-svgo": "^4.2.0",
"camelcase": "^5.3.1",
"chalk": "^2.4.2",
"commander": "^2.20.0",
Expand Down
16 changes: 16 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/core/compare/v4.1.0...v4.2.0) (2019-04-11)


### Bug Fixes

* keep viewBox when dimensions are removed ([#281](https://github.com/smooth-code/svgr/tree/master/packages/core/issues/281)) ([f476c8e](https://github.com/smooth-code/svgr/tree/master/packages/core/commit/f476c8e))


### Features

* add expo option ([#289](https://github.com/smooth-code/svgr/tree/master/packages/core/issues/289)) ([978db3e](https://github.com/smooth-code/svgr/tree/master/packages/core/commit/978db3e))





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)

**Note:** Version bump only for package @svgr/core
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/core",
"description": "Transform SVG into React Components.",
"version": "4.1.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/core",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand All @@ -25,7 +25,7 @@
"prepublishOnly": "yarn run build"
},
"dependencies": {
"@svgr/plugin-jsx": "^4.1.0",
"@svgr/plugin-jsx": "^4.2.0",
"camelcase": "^5.3.1",
"cosmiconfig": "^5.2.0"
}
Expand Down
11 changes: 11 additions & 0 deletions packages/hast-util-to-babel-ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.2.0](https://github.com/smooth-code/svgr/tree/master/packages/hast-util-to-babel-ast/compare/v4.1.0...v4.2.0) (2019-04-11)


### Bug Fixes

* **hast-util-to-babel-ast:** correctly handle aria attributes ([23d12aa](https://github.com/smooth-code/svgr/tree/master/packages/hast-util-to-babel-ast/commit/23d12aa)), closes [#279](https://github.com/smooth-code/svgr/tree/master/packages/hast-util-to-babel-ast/issues/279)





# [4.1.0](https://github.com/smooth-code/svgr/compare/v4.0.4...v4.1.0) (2018-11-24)

**Note:** Version bump only for package @svgr/hast-util-to-babel-ast
Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-to-babel-ast/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svgr/hast-util-to-babel-ast",
"description": "Transform HAST to Babel AST (JSX)",
"version": "4.1.0",
"version": "4.2.0",
"main": "lib/index.js",
"repository": "https://github.com/smooth-code/svgr/tree/master/packages/hast-util-to-babel-ast",
"author": "Greg Bergé <berge.greg@gmail.com>",
Expand Down

1 comment on commit 35d3f4d

@vercel
Copy link

@vercel vercel bot commented on 35d3f4d Apr 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully aliased the URL https://svgr-uffvtkgmbe.now.sh to the following alias.

Please sign in to comment.