upstream #1
| @@ -1,4 +1 @@ | ||||
| #!/bin/sh | ||||
| . "$(dirname "$0")/_/husky.sh" | ||||
|  | ||||
| npx --no-install lint-staged | ||||
|   | ||||
| @@ -81,8 +81,9 @@ export default function PostLayout({ content, authorDetails, next, prev, childre | ||||
|                               href={author.twitter} | ||||
|                               className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400" | ||||
|                             > | ||||
|                               {author.twitter.replace('https://twitter.com/', '@') | ||||
|                               .replace('https://x.com/', '@')} | ||||
|                               {author.twitter | ||||
|                                 .replace('https://twitter.com/', '@') | ||||
|                                 .replace('https://x.com/', '@')} | ||||
|                             </Link> | ||||
|                           )} | ||||
|                         </dd> | ||||
|   | ||||
| @@ -8,7 +8,8 @@ | ||||
|     "build": "cross-env INIT_CWD=$PWD next build && cross-env NODE_OPTIONS='--experimental-json-modules' node ./scripts/postbuild.mjs", | ||||
|     "serve": "next start", | ||||
|     "analyze": "cross-env ANALYZE=true next build", | ||||
|     "lint": "next lint --fix --dir pages --dir app --dir components --dir lib --dir layouts --dir scripts" | ||||
|     "lint": "next lint --fix --dir pages --dir app --dir components --dir lib --dir layouts --dir scripts", | ||||
|     "prepare": "husky" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@next/bundle-analyzer": "14.1.4", | ||||
| @@ -51,7 +52,7 @@ | ||||
|     "eslint-config-next": "14.1.0", | ||||
|     "eslint-config-prettier": "^8.8.0", | ||||
|     "eslint-plugin-prettier": "^5.0.0", | ||||
|     "husky": "^8.0.0", | ||||
|     "husky": "^9.0.0", | ||||
|     "lint-staged": "^13.0.0", | ||||
|     "prettier": "^3.0.0", | ||||
|     "prettier-plugin-tailwindcss": "^0.5.11", | ||||
|   | ||||
							
								
								
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							| @@ -6442,12 +6442,12 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
| 
 | ||||
| "husky@npm:^8.0.0": | ||||
|   version: 8.0.3 | ||||
|   resolution: "husky@npm:8.0.3" | ||||
| "husky@npm:^9.0.0": | ||||
|   version: 9.0.11 | ||||
|   resolution: "husky@npm:9.0.11" | ||||
|   bin: | ||||
|     husky: lib/bin.js | ||||
|   checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 | ||||
|     husky: bin.mjs | ||||
|   checksum: 1aebc3334dc7ac6288ff5e1fb72cfb447cfa474e72cf7ba692e8c5698c573ab725c28c6a5088c9f8e6aca5f47d40fa7261beffbc07a4d307ca21656dc4571f07 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
| 
 | ||||
| @@ -10750,7 +10750,7 @@ __metadata: | ||||
|     eslint-plugin-prettier: ^5.0.0 | ||||
|     github-slugger: ^2.0.0 | ||||
|     gray-matter: ^4.0.2 | ||||
|     husky: ^8.0.0 | ||||
|     husky: ^9.0.0 | ||||
|     image-size: 1.0.0 | ||||
|     lint-staged: ^13.0.0 | ||||
|     next: 14.1.4 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user