Skip to content

Commit

Permalink
Merge pull request #22 from piterator-org/global
Browse files Browse the repository at this point in the history
部分 `.com.cn` -> `.com`
  • Loading branch information
wxh06 authored Jun 18, 2024
2 parents 7bccaa2 + 9808164 commit a81a467
Show file tree
Hide file tree
Showing 6 changed files with 5,129 additions and 3,756 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"migrate": "dotenv -e .env.local -- pnpm exec prisma migrate deploy"
},
"dependencies": {
"@prisma/client": "^5.5.2"
"@prisma/client": "^5.15.0"
},
"devDependencies": {
"dotenv-cli": "^7.3.0",
"eslint": "^8.53.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"prisma": "^5.5.2"
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prisma": "^5.15.0"
},
"engines": {
"pnpm": "^8.6.0"
"pnpm": "^9"
}
}
22 changes: 11 additions & 11 deletions packages/archive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@fastify/cors": "^8.4.1",
"@logtail/pino": "^0.4.12",
"@prisma/client": "^5.5.2",
"@fastify/cors": "^8.5.0",
"@logtail/pino": "^0.4.22",
"@prisma/client": "^5.15.0",
"@socket.io/admin-ui": "^0.5.1",
"fastify": "^4.24.3",
"fastify": "^4.28.0",
"fastify-plugin": "^4.5.1",
"jsdom": "^22.1.0",
"pino": "^8.16.1",
"socket.io": "^4.7.2"
"pino": "^8.21.0",
"socket.io": "^4.7.5"
},
"devDependencies": {
"@types/jsdom": "^21.1.4",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"eslint": "^8.53.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"typescript": "^5.2.2"
"@types/jsdom": "^21.1.7",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"typescript": "^5.4.5"
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
Expand Down
3 changes: 2 additions & 1 deletion packages/archive/src/lib/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default async function getPostList(
) {
const response = await getResponse(
logger,
`https://www.luogu.com.cn/api/discuss?page=${page}`,
`https://www.luogu.com/api/discuss?page=${page}`,
false,
);
const {
data: { result },
Expand Down
4 changes: 2 additions & 2 deletions packages/archive/src/lib/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export async function savePost(
const fetchPage = (page: number) =>
getResponse(
logger,
`https://www.luogu.com.cn/discuss/${id}?_contentOnly&page=${page}`,
true,
`https://www.luogu.com/discuss/${id}?_contentOnly&page=${page}`,
false,
).then((response): Promise<ResponseBody> => response.json());

const saveReplies = async (replies: ReplyContent[]) => {
Expand Down
54 changes: 27 additions & 27 deletions packages/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,46 @@
"inspect": "cross-env NODE_OPTIONS='$NODE_OPTIONS --inspect' next start"
},
"dependencies": {
"@floating-ui/dom": "^1.5.3",
"@prisma/client": "^5.5.2",
"bootstrap": "^5.3.2",
"@floating-ui/dom": "^1.6.5",
"@prisma/client": "^5.15.0",
"bootstrap": "^5.3.3",
"highlight.js": "^11.9.0",
"jsdom": "^22.1.0",
"katex": "^0.16.9",
"next": "^14.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.11.0",
"katex": "^0.16.10",
"next": "^14.2.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.12.0",
"react-infinite-scroll-component": "^6.1.0",
"react-markdown": "^9.0.0",
"react-markdown": "^9.0.1",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^7.0.0",
"remark-luogu-flavor": "^1.0.0",
"remark-math": "^6.0.0",
"socket.io-client": "^4.7.2",
"swr": "^2.2.4"
"socket.io-client": "^4.7.5",
"swr": "^2.2.5"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.0.1",
"@types/bootstrap": "^5.2.8",
"@types/jsdom": "^21.1.4",
"@types/katex": "^0.16.5",
"@types/node": "^20.8.10",
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@next/bundle-analyzer": "^14.2.4",
"@types/bootstrap": "^5.2.10",
"@types/jsdom": "^21.1.7",
"@types/katex": "^0.16.7",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-next": "^14.0.1",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-next": "^14.2.4",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.2",
"git-revision-webpack-plugin": "^5.0.0",
"sass": "^1.69.5",
"typescript": "^5.2.2",
"webpack": "^5.89.0"
"sass": "^1.77.5",
"typescript": "^5.4.5",
"webpack": "^5.92.0"
},
"optionalDependencies": {
"sharp": "^0.32.6"
Expand Down
Loading

0 comments on commit a81a467

Please sign in to comment.