Skip to content

Commit fa99d49

Browse files
authored
Merge pull request #41 from agneym/update-deps
Update deps
2 parents 886c3a7 + e4da4d5 commit fa99d49

File tree

8 files changed

+4023
-3213
lines changed

8 files changed

+4023
-3213
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ typings/
7373

7474
# parcel-bundler cache (https://parceljs.org/)
7575
.cache
76+
.parcel-cache
7677

7778
# microbundle cache
7879
.rts2_cache_*

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn pretty-quick --staged
4+
npm test
5+
npx pretty-quick --staged

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"dependencies": {
1515
"@agney/playground": "*",
1616
"babel-polyfill": "^6.26.0",
17-
"react": "^17.0.1",
18-
"react-dom": "^17.0.1"
17+
"react": "^17.0.2",
18+
"react-dom": "^17.0.2"
1919
},
2020
"devDependencies": {
21-
"parcel-bundler": "^1.12.4"
21+
"parcel": "^2.0.0"
2222
},
2323
"browserslist": [
2424
"last 3 versions",

example/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
<span>Follow me on</span>
2020
<a href="https://twitter.com/agneymenon" target="__blank">@agneymenon</a>
2121
</footer>
22-
<script src="./index.js"></script>
22+
<script type="module" src="./index.js"></script>
2323
</body>
2424
</html>

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"example"
1515
],
1616
"devDependencies": {
17-
"husky": "^5.1.3",
18-
"prettier": "^2.2.1",
19-
"pretty-quick": "^3.1.0",
20-
"typescript": "^4.2.3"
17+
"husky": "^6.0.0",
18+
"prettier": "^2.4.1",
19+
"pretty-quick": "^3.1.1",
20+
"typescript": "^4.4.4"
2121
},
2222
"repository": {
2323
"type": "git",

playground/package.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,35 @@
4444
},
4545
"dependencies": {
4646
"@agney/react-inspector": "^4.0.0",
47-
"@reach/auto-id": "^0.13.2",
48-
"@reach/tabs": "^0.13.2",
49-
"goober": "^2.0.33",
47+
"@reach/auto-id": "^0.16.0",
48+
"@reach/tabs": "^0.16.1",
49+
"goober": "^2.0.41",
5050
"lodash.merge": "^4.6.2",
51-
"prism-react-renderer": "^1.2.0",
51+
"prism-react-renderer": "^1.2.1",
5252
"react-simple-code-editor": "^0.11.0"
5353
},
5454
"devDependencies": {
55-
"@babel/core": "^7.13.10",
56-
"@babel/preset-env": "^7.13.10",
57-
"@babel/preset-react": "^7.12.13",
58-
"@babel/preset-typescript": "^7.13.0",
59-
"@testing-library/jest-dom": "^5.11.9",
60-
"@testing-library/react": "^11.2.5",
61-
"@types/jest": "^26.0.20",
62-
"@types/lodash": "^4.14.168",
63-
"@types/lodash-es": "^4.17.4",
55+
"@babel/core": "^7.15.8",
56+
"@babel/preset-env": "^7.15.8",
57+
"@babel/preset-react": "^7.14.5",
58+
"@babel/preset-typescript": "^7.15.0",
59+
"@testing-library/jest-dom": "^5.14.1",
60+
"@testing-library/react": "^12.1.2",
61+
"@types/jest": "^27.0.2",
62+
"@types/lodash": "^4.14.175",
63+
"@types/lodash-es": "^4.17.5",
6464
"@types/lodash.merge": "^4.6.6",
65-
"@types/react": "^17.0.3",
66-
"@types/react-dom": "^17.0.2",
67-
"@types/react-inspector": "^4.0.1",
68-
"jest": "^26.6.3",
69-
"microbundle": "^0.13.0",
70-
"react": "^17.0.1",
71-
"react-dom": "^17.0.1"
65+
"@types/react": "^17.0.29",
66+
"@types/react-dom": "^17.0.9",
67+
"@types/react-inspector": "^4.0.2",
68+
"jest": "^27.2.5",
69+
"microbundle": "^0.14.0",
70+
"react": "^17.0.2",
71+
"react-dom": "^17.0.2"
7272
},
7373
"jest": {
74-
"rootDir": "src"
74+
"rootDir": "src",
75+
"testEnvironment": "jsdom"
7576
},
7677
"repository": {
7778
"type": "git",

0 commit comments

Comments
 (0)