Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hooks implementation #149

Merged
merged 29 commits into from
May 27, 2020
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
593f125
npm audit fix
tstirrat15 May 9, 2020
997777c
Bump react versions, add hooks eslint
tstirrat15 May 9, 2020
e1436ee
Update package.lock
tstirrat15 May 9, 2020
dfc2b2c
Add hook rules to eslint
tstirrat15 May 10, 2020
21a65f5
Add testing library to project
tstirrat15 May 10, 2020
e5935cf
First pass with all tests working
tstirrat15 May 10, 2020
3fc6049
Refactor tests to use testing-library patterns
tstirrat15 May 10, 2020
92f7c72
Refactor renderStrict to use testing-library
tstirrat15 May 10, 2020
1444394
Make nested ternaries explicit using parentheses
tstirrat15 May 10, 2020
e18f27c
Extract hook logic and export new function
tstirrat15 May 10, 2020
c489cbb
Add useMedia to exports
tstirrat15 May 10, 2020
97c1d0c
Explicitly tell rollup to use named exports
tstirrat15 May 10, 2020
9459522
Remove TODO
tstirrat15 May 10, 2020
02602bb
Add exports: named, be explicit about babelHelpers, swap uglify for t…
tstirrat15 May 10, 2020
a59d672
Upgrade rollup and friends to latest
tstirrat15 May 10, 2020
5f89897
Upgrade rollup and friends to latest
tstirrat15 May 10, 2020
f491714
Check it out! smaller bundles
tstirrat15 May 10, 2020
8619b1e
Remove unused class property babel transform
tstirrat15 May 10, 2020
a1e5d9e
Bump babel-jest version, remove now-unused transformation
tstirrat15 May 10, 2020
37c7086
Update size snapshot
tstirrat15 May 10, 2020
fe58da4
Upgrade the babels too
tstirrat15 May 10, 2020
0a30e06
Add babel bridge for jest's benefit
tstirrat15 May 11, 2020
49758b4
Switch from npm to yarn
tstirrat15 May 11, 2020
0c5e83d
Mild reformatting of babelrc
tstirrat15 May 11, 2020
655b58a
move travis.yml to use yarn
tstirrat15 May 11, 2020
8cefd6f
Fix proptypes errors
tstirrat15 May 11, 2020
1144c64
Remove lockfile
tstirrat15 May 13, 2020
256b02c
Turn off package.lock for the repository
tstirrat15 May 13, 2020
13cd76d
Prevent jest errors from showing up in stderr output
tstirrat15 May 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move travis.yml to use yarn
tstirrat15 committed May 11, 2020
commit 655b58a9e2b9905471133bf7a390cb46f58b721a
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
language: node_js
node_js: node
cache: npm
cache: yarn
env:
- TEST_ENV=cjs BUILD_ENV=cjs
- TEST_ENV=umd BUILD_ENV=umd
- TEST_ENV=source
before_script:
- ([[ -z "$BUILD_ENV" ]] || npm run build)
script:
- npm run lint
- npm test
- npm run testTypes
- yarn run lint
- yarn test
- yarn run testTypes
jobs:
include:
- stage: Release