Skip to content

Commit

Permalink
feat(lib): upgrade pretty much everything and support DOM nodes (#34)
Browse files Browse the repository at this point in the history
This is a significant change and it's great!

BREAKING CHANGE: Custom replacer no longer supported
BREAKING CHANGE: The replacer was modified and improved, but snapshots will break
  • Loading branch information
Kent C. Dodds authored Mar 16, 2018
1 parent 20f9e1b commit c145d6b
Show file tree
Hide file tree
Showing 36 changed files with 851 additions and 7,435 deletions.
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

11 changes: 3 additions & 8 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,17 @@ never done that before, that's great! Check this free short video tutorial to
learn how: http://kcd.im/pull-request
-->

- `jest-glamor-react` version:
- `node` version:
- `npm` (or `yarn`) version:
* `jest-glamor-react` version:
* `node` version:
* `npm` (or `yarn`) version:

Relevant code or config

```javascript

```

What you did:



What happened:

<!-- Please provide the full error message/screenshots/anything -->
Expand All @@ -38,6 +35,4 @@ minimal amount of code possible.

Problem description:



Suggested solution:
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->

**What**:

<!-- Why are these changes necessary? -->

**Why**:

<!-- How were these changes implemented? -->
**How**:

**How**:

<!-- feel free to add additional comments -->
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ coverage
dist
.opt-in
.opt-out
.DS_Store

# JetBrains IDE
.idea

# MacOs
.DS_Store
# these cause more harm than good
# when working with contributors
package-lock.json
yarn.lock
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
registry=http://registry.npmjs.org/
save-exact=true
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: false,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: false,
jsxBracketSameLine: false,
}
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@ sudo: false
language: node_js
cache:
directories:
- node_modules
- ~/.npm
notifications:
email: false
node_js:
- '6'
script:
- yarn start validate
after_success:
- yarn start report-coverage
- yarn start release
node_js: '8'
install: npm install
script: npm run validate
after_success: kcd-scripts travis-after-success
branches:
only:
- master
only: master
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Thanks for being willing to contribute!

**Working on your first Pull Request?** You can learn how from this *free* series
**Working on your first Pull Request?** You can learn how from this _free_ series
[How to Contribute to an Open Source Project on GitHub][egghead]

## Project setup

1. Fork and clone the repo
2. `$ npm install` to install dependencies
3. `$ npm start validate` to validate you've got it working
4. Create a branch for your PR
1. Fork and clone the repo
2. `$ npm install` to install dependencies
3. `$ npm start validate` to validate you've got it working
4. Create a branch for your PR

This project uses [`p-s`][p-s] and you can run `npm start` to see what scripts are available.

Expand All @@ -36,8 +36,8 @@ You can use `commitizen` to help you to follow [the convention][convention]

Once you are ready to commit the changes, please use the below commands

1. `git add <files to be comitted>`
2. `$ npm start commit`
1. `git add <files to be comitted>`
2. `$ npm start commit`

... and follow the instruction of the interactive prompt.

Expand All @@ -54,7 +54,7 @@ pre-commit

## Help needed

Please checkout the [ROADMAP.md][ROADMAP] and raise an issue to discuss
Please checkout the [ROADMAP.md][roadmap] and raise an issue to discuss
any of the items in the want to do or might do list.

Also, please watch the repo and respond to questions/bug reports/feature requests! Thanks!
Expand All @@ -63,5 +63,5 @@ Also, please watch the repo and respond to questions/bug reports/feature request
[semantic-release]: https://npmjs.com/package/semantic-release
[convention]: https://github.com/conventional-changelog/conventional-changelog-angular/blob/ed32559941719a130bb0327f886d6a32a8cbc2ba/convention.md
[all-contributors]: https://github.com/kentcdodds/all-contributors
[ROADMAP]: ./other/ROADMAP.md
[roadmap]: ./other/ROADMAP.md
[p-s]: https://npmjs.com/package/p-s
Loading

0 comments on commit c145d6b

Please sign in to comment.