build(deps): bump version

This commit is contained in:
xfy
2024-04-16 15:35:27 +08:00
parent 44940a7978
commit 16f5a33b36
5 changed files with 551 additions and 522 deletions

5
.env.example Normal file
View File

@ -0,0 +1,5 @@
NEXT_PUBLIC_GITHUB_API=
NEXT_PUBLIC_GISCUS_CATEGORY_ID=
NEXT_PUBLIC_GISCUS_REPO_ID=
NEXT_PUBLIC_ALGOLIA_SEARCH_ADMIN_KEY=
NEXT_PUBLIC_ALGOLIA_APP_ID=

View File

@ -1,19 +0,0 @@
// jest.config.js
const nextJest = require('next/jest');
const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: './',
});
// Add any custom config to be passed to Jest
const customJestConfig = {
// Add more setup options before each test is run
// setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
moduleDirectories: ['node_modules', '<rootDir>/'],
testEnvironment: 'jest-environment-jsdom',
};
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
module.exports = createJestConfig(customJestConfig);

View File

@ -16,23 +16,23 @@
"dependencies": {
"@catppuccin/highlightjs": "^0.1.4",
"@catppuccin/tailwindcss": "^0.1.6",
"@catppuccin/palette": "^1.1.0",
"@codesandbox/sandpack-react": "^2.13.5",
"@catppuccin/palette": "^1.1.1",
"@codesandbox/sandpack-react": "^2.13.8",
"@docsearch/css": "^3.6.0",
"@docsearch/react": "^3.6.0",
"@giscus/react": "^3.0.0",
"@react-spring/three": "^9.7.3",
"@react-three/drei": "^9.102.6",
"@react-three/fiber": "^8.15.19",
"algoliasearch": "^4.22.1",
"@react-three/drei": "^9.105.3",
"@react-three/fiber": "^8.16.2",
"algoliasearch": "^4.23.3",
"dayjs": "^1.11.10",
"next": "14.1.4",
"next": "14.2.1",
"next-mdx-remote": "^4.4.1",
"next-themes": "^0.3.0",
"octokit": "^3.1.2",
"octokit": "^3.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-icons": "^5.1.0",
"rehype-highlight": "^6.0.0",
"rehype-react": "^7.2.0",
"rehype-slug": "^6.0.0",
@ -40,22 +40,22 @@
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"sharp": "^0.33.2",
"three": "^0.162.0",
"sharp": "^0.33.3",
"three": "^0.163.0",
"unified": "^10.1.2",
"zustand": "^4.5.2"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.1.4",
"@types/node": "20.11.30",
"@types/react": "18.2.69",
"@types/three": "^0.162.0",
"@next/bundle-analyzer": "^14.2.1",
"@types/node": "20.12.7",
"@types/react": "18.2.79",
"@types/three": "^0.163.0",
"autoprefixer": "^10.4.19",
"clsx": "^2.1.0",
"dotenv": "^16.4.5",
"encoding": "^0.1.13",
"eslint": "8.57.0",
"eslint-config-next": "14.1.4",
"eslint": "^8",
"eslint-config-next": "14.2.1",
"file-loader": "^6.2.0",
"gray-matter": "^4.0.3",
"husky": "^9.0.11",
@ -63,9 +63,9 @@
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"raw-loader": "^4.0.2",
"sass": "^1.72.0",
"tailwindcss": "^3.4.1",
"typescript": "5.4.3",
"sass": "^1.75.0",
"tailwindcss": "^3.4.3",
"typescript": "5.4.5",
"url-loader": "^4.1.1"
}
}

1005
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,6 @@
module.exports = {
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: ['class', '.mocha'],
plugins: [require('@catppuccin/tailwindcss')],
content: [
@ -49,3 +51,5 @@ module.exports = {
},
},
};
export default config;