Skip to content

Commit

Permalink
Update dependencies (#554)
Browse files Browse the repository at this point in the history
* Update dependencies

* Update example deps
  • Loading branch information
aralroca authored Mar 22, 2021
1 parent 4c6c3b7 commit 42de091
Show file tree
Hide file tree
Showing 8 changed files with 1,003 additions and 2,589 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
!src
!__tests__
!.babelrc
!.husky
!.husky/*
!.prettierignore

# dependencies
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn husky
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "next build"
},
"dependencies": {
"next": "10.0.6",
"next": "10.0.9",
"next-translate": "link:../../",
"react": "link:../../node_modules/react",
"react-dom": "link:../../node_modules/react-dom"
Expand Down
4 changes: 2 additions & 2 deletions examples/complex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@mdx-js/loader": "1.6.22",
"@next/mdx": "10.0.6",
"next": "10.0.6",
"@next/mdx": "10.0.9",
"next": "10.0.9",
"next-translate": "link:../../",
"react": "link:../../node_modules/react",
"react-dom": "link:../../node_modules/react-dom"
Expand Down
2 changes: 1 addition & 1 deletion examples/without-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "next build"
},
"dependencies": {
"next": "10.0.6",
"next": "10.0.9",
"next-translate": "link:../../",
"react": "link:../../node_modules/react",
"react-dom": "link:../../node_modules/react-dom"
Expand Down
29 changes: 13 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
"example:complex": "yarn build && cd examples/complex && yarn && yarn dev",
"example:without-loader": "yarn build && cd examples/without-loader && yarn && yarn dev",
"format": "pretty-quick",
"husky": "pretty-quick --staged && yarn test",
"prepare": "husky install",
"prepublish": "yarn test && yarn build",
"test": "cross-env NODE_ENV=test jest",
"test:coverage": "cross-env NODE_ENV=test jest --coverage",
Expand All @@ -64,39 +66,34 @@
"next-translate": "./cli/builder.js"
},
"devDependencies": {
"@babel/cli": "7.12.10",
"@babel/core": "7.12.10",
"@babel/preset-env": "7.12.11",
"@babel/preset-typescript": "7.12.7",
"@testing-library/react": "11.2.3",
"@types/node": "14.14.22",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@babel/preset-env": "7.13.12",
"@babel/preset-typescript": "7.13.0",
"@testing-library/react": "11.2.5",
"@types/node": "14.14.35",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.2",
"@types/webpack": "4.41.26",
"babel-jest": "26.6.3",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"babel-preset-minify": "0.5.1",
"cross-env": "7.0.3",
"express": "4.17.1",
"husky": "4.3.8",
"husky": "5.2.0",
"jest": "26.6.3",
"next": "10.0.5",
"next": "10.0.9",
"prettier": "2.2.1",
"pretty-quick": "3.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"supertest": "6.1.3",
"typescript": "4.1.3"
"typescript": "4.2.3"
},
"peerDependencies": {
"next": ">= 10.0.0",
"react": ">= 16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn test"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
Expand Down
3,548 changes: 979 additions & 2,569 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 42de091

Please sign in to comment.