-
-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: yarn 3 * chore: update husky and lint-staged * chore: add nvmrc
- Loading branch information
Showing
10 changed files
with
12,873 additions
and
8,204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run precommit | ||
yarn precommit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v18 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.5.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,17 @@ | |
"scripts": { | ||
"analyze": "ANALYZE=true yarn build", | ||
"dev": "next dev", | ||
"prepare": "husky install", | ||
"prebuild": "rimraf .next", | ||
"precommit": "lint-staged", | ||
"build": "NODE_ENV=production next build", | ||
"lint:fix": "next lint --fix", | ||
"lint": "next lint", | ||
"start": "NODE_ENV=production next start", | ||
"test": "jest -c .jest.config.js", | ||
"prettier": "prettier **/*.js --write", | ||
"size": "bundlesize" | ||
"size": "bundlesize", | ||
"postinstall": "husky install" | ||
}, | ||
"dependencies": { | ||
"@mdx-js/loader": "^1.5.3", | ||
|
@@ -60,10 +63,10 @@ | |
"enzyme-to-json": "^3.6.2", | ||
"eslint": "^8.4.1", | ||
"eslint-config-next": "12.0.7", | ||
"husky-v4": "^4.3.8", | ||
"husky": "^8.0.0", | ||
"jest": "^27.4.3", | ||
"jest-styled-components": "^7.0.8", | ||
"lint-staged": "^12.1.2", | ||
"lint-staged": "^13", | ||
"prettier": "^2.5.1", | ||
"react-test-renderer": "^17.0.2", | ||
"rimraf": "^3.0.0" | ||
|
@@ -74,9 +77,5 @@ | |
"maxSize": "300kB" | ||
} | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.
773a080
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
styled-components – ./
www.styled-components.com
styled-components-styledcomponents.vercel.app
styled-components-git-main-styledcomponents.vercel.app
styled-components.com