Skip to content

Commit

Permalink
update dependencies (#22)
Browse files Browse the repository at this point in the history
* update dependencies, remove husky

* turn on react strict mode as recommended by next

* update snapshots
  • Loading branch information
agcty authored Aug 23, 2021
1 parent da583cc commit d331bab
Show file tree
Hide file tree
Showing 9 changed files with 703 additions and 749 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": ["jest-dom", "unused-imports", "prettier"],
"extends": [
"next",
"next/core-web-vitals",
"plugin:jest-dom/recommended",
"plugin:tailwind/recommended",
Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-push

This file was deleted.

3 changes: 0 additions & 3 deletions __tests__/__snapshots__/snapshots.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ exports[`renders homepage unchanged 1`] = `
>
Tailwind CSS 2.0, ESLint & Prettier without a single line of config! Easily extendable zero-config template for pros and beginners.
</h2>
<div>
Test
</div>
<div
className="px-4 sm:px-0"
>
Expand Down
4 changes: 4 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module.exports = {}
module.exports = {
reactStrictMode: true,
}
43 changes: 17 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"name": "with-typescript-eslint-jest",
"author": "@agctyz",
"license": "MIT",
"version": "1.0.0",
"version": "1.1.0",
"scripts": {
"prepare": "husky install",
"dev": "next dev",
"build": "next build",
"start": "next start",
Expand All @@ -14,43 +13,35 @@
"test": "jest",
"test-all": "yarn lint && yarn type-check && yarn test"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"yarn lint",
"yarn format"
]
},
"dependencies": {
"@tailwindcss/forms": "^0.3.3",
"@tailwindcss/typography": "^0.4.1",
"autoprefixer": "^10.2.6",
"next": "11.0.1",
"postcss": "^8.3.5",
"autoprefixer": "^10.3.2",
"next": "11.1.0",
"postcss": "^8.3.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.35.1",
"tailwindcss": "^2.2.2"
"sass": "^1.38.0",
"tailwindcss": "^2.2.7"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.4",
"@types/react": "^17.0.11",
"babel-jest": "^27.0.5",
"eslint": "^7.29.0",
"eslint-config-next": "^11.0.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.1",
"@types/react": "^17.0.19",
"babel-jest": "^27.0.6",
"eslint": "^7.32.0",
"eslint-config-next": "^11.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest-dom": "^3.9.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-tailwind": "^0.2.1",
"eslint-plugin-unused-imports": "^1.1.1",
"husky": "^6.0.0",
"eslint-plugin-unused-imports": "^1.1.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.5",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"react-test-renderer": "^17.0.2",
"typescript": "^4.3.4"
"typescript": "^4.3.5"
}
}
Loading

1 comment on commit d331bab

@vercel
Copy link

@vercel vercel bot commented on d331bab Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.