Skip to content

Commit

Permalink
update build (#70)
Browse files Browse the repository at this point in the history
_
  • Loading branch information
ashgw authored Feb 12, 2024
2 parents 666c298 + bc10068 commit 057e780
Show file tree
Hide file tree
Showing 25 changed files with 1,431 additions and 2,773 deletions.
39 changes: 38 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
{
"extends": "next/core-web-vitals"
"root": true,
"env": {
"jest": true,
"node": true
},
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"ignorePatterns": ["/playground/", "/next.config.js"],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
"@typescript-eslint/no-unsafe-return": "error"
},
"overrides": [
{
"files": ["**/*.test.ts"],
"rules": {
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-unsafe-argument": "warn",
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/no-unsafe-member-access": "warn",
"@typescript-eslint/no-unsafe-return": "warn"
}
}
]
}
28 changes: 9 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"build": "next build",
"start": "next start",
"test": "npx jest; cd test/e2e && npx playwright test",
"lint": "next lint",
"lint": "pnpm lint:ts",
"lint:ts": "tsc --noEmit; eslint .",
"lint:fix": "tsc --noEmit; eslint . --fix",
"lint:knip": "knip --production --strict --exclude exports,nsExports,types,nsTypes",
"hooks": "husky install",
"format-check": "prettier --check .",
"format": "prettier . --write"
Expand All @@ -23,61 +26,48 @@
"@types/eslint": "^8.56.1",
"@types/jest": "^29.5.11",
"@types/mdx": "^2.0.10",
"@types/node": "^20",
"@types/node": "^20.11.17",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"autoprefixer": "^10.0.1",
"dotenv": "^16.3.1",
"eslint": "^8",
"eslint-config-next": "14.0.4",
"husky": "^8.0.3",
"jest": "^29.7.0",
"knip": "^5.0.0",
"postcss": "^8",
"prettier": "^3.1.1",
"tailwind-variants": "^0.1.20",
"tailwindcss": "^3.3.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5",
"typescript": "^5.3.3",
"webpack": "^5.90.1"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.11.0",
"@mapbox/rehype-prism": "^0.9.0",
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@next/mdx": "^13.5.4",
"@nextui-org/react": "^2.2.9",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@types/mapbox__rehype-prism": "^0.8.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"dotenv": "^16.3.1",
"framer-motion": "^10.17.4",
"front-matter": "^4.0.2",
"gray-matter": "^4.0.3",
"lucide-react": "^0.309.0",
"markdown-toc": "^1.2.0",
"next": "^14.0.4",
"next-mdx-remote": "^4.4.1",
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.5.0",
"react-use": "^17.5.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"sass": "^1.69.7",
"sharp": "^0.33.1",
"sonner": "^1.3.1",
"sugar-high": "^0.5.6",
"tailwind-merge": "^2.2.0",
"tailwindcss-animate": "^1.0.7",
"uuid": "^9.0.1",
"zod": "^3.22.4"
}
}
Loading

0 comments on commit 057e780

Please sign in to comment.