upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
4 changed files with 12 additions and 13 deletions
Showing only changes of commit b03b9973ea - Show all commits

View File

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged npx --no-install lint-staged

View File

@ -81,8 +81,9 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
href={author.twitter} href={author.twitter}
className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400" className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
> >
{author.twitter.replace('https://twitter.com/', '@') {author.twitter
.replace('https://x.com/', '@')} .replace('https://twitter.com/', '@')
.replace('https://x.com/', '@')}
</Link> </Link>
)} )}
</dd> </dd>

View File

@ -8,7 +8,8 @@
"build": "cross-env INIT_CWD=$PWD next build && cross-env NODE_OPTIONS='--experimental-json-modules' node ./scripts/postbuild.mjs", "build": "cross-env INIT_CWD=$PWD next build && cross-env NODE_OPTIONS='--experimental-json-modules' node ./scripts/postbuild.mjs",
"serve": "next start", "serve": "next start",
"analyze": "cross-env ANALYZE=true next build", "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": { "dependencies": {
"@next/bundle-analyzer": "14.1.4", "@next/bundle-analyzer": "14.1.4",
@ -51,7 +52,7 @@
"eslint-config-next": "14.1.0", "eslint-config-next": "14.1.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0", "eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0", "husky": "^9.0.0",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"prettier": "^3.0.0", "prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.11", "prettier-plugin-tailwindcss": "^0.5.11",

View File

@ -6442,12 +6442,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"husky@npm:^8.0.0": "husky@npm:^9.0.0":
version: 8.0.3 version: 9.0.11
resolution: "husky@npm:8.0.3" resolution: "husky@npm:9.0.11"
bin: bin:
husky: lib/bin.js husky: bin.mjs
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 checksum: 1aebc3334dc7ac6288ff5e1fb72cfb447cfa474e72cf7ba692e8c5698c573ab725c28c6a5088c9f8e6aca5f47d40fa7261beffbc07a4d307ca21656dc4571f07
languageName: node languageName: node
linkType: hard linkType: hard
@ -10750,7 +10750,7 @@ __metadata:
eslint-plugin-prettier: ^5.0.0 eslint-plugin-prettier: ^5.0.0
github-slugger: ^2.0.0 github-slugger: ^2.0.0
gray-matter: ^4.0.2 gray-matter: ^4.0.2
husky: ^8.0.0 husky: ^9.0.0
image-size: 1.0.0 image-size: 1.0.0
lint-staged: ^13.0.0 lint-staged: ^13.0.0
next: 14.1.4 next: 14.1.4