Skip to content

Commit

Permalink
feat: move to a Lerna project
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

Node:

- Drop node v6 support

Options:

- Remove `ids` option (use SVGO config instead)
- Remove `jsx-bracket-same-line` option (use Prettier config instead)
- Remove `keep-useless-defs` option (use SVGO config instead)
- Remove `no-bracket-spacing` option (use Prettier config instead)
- Remove `no-semi` option (use Prettier config instead)
- Remove `single-quote` option (use Prettier config instead)
- Remove `tab-width` option (use Prettier config instead)
- Remove `trailing-comma` option (use Prettier config instead)
- Remove `use-tabs` option (use Prettier config instead)
- Remove `no-title` option (use SVGO config instead)
- Remove `no-view-box` option (use SVGO config instead)
- Remove `precision` option (use SVGO config instead)
- Rename `replace-attr-value` into `replace-attr-values` (it is now an object instead of an array)
- Rename `svg-attribute` into `svg-attributes`

API:

- Remove `rawConvert` method
- Templates now receive code, config and state
- `componentName` must now be passed in state

Packages:

The project is now split into several packages:

- @svgr/core (Node API)
- @svgr/cli (Command Line Interface)
- @svgr/webpack (webpack loader)
- @svgr/rollup (Rollup plugin)
  • Loading branch information
gregberge committed Jun 12, 2018
1 parent db4679f commit 087b877
Show file tree
Hide file tree
Showing 112 changed files with 2,882 additions and 2,287 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Expand Up @@ -4,7 +4,7 @@
"@babel/preset-env",
{
"targets": {
"node": "6"
"node": "8"
},
"loose": true
}
Expand Down
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
@@ -1,2 +1,3 @@
CHANGELOG.md
package.json
lib/
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,11 +1,11 @@
language: node_js

node_js:
- 6
- 8
- 10

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.28.4
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- export PATH="$HOME/.yarn/bin:$PATH"

script:
Expand Down
20 changes: 10 additions & 10 deletions CODE_OF_CONDUCT.md
Expand Up @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Expand Down

0 comments on commit 087b877

Please sign in to comment.