Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed Jul 8, 2023
1 parent 3a1e791 commit cbf9774
Show file tree
Hide file tree
Showing 10 changed files with 223 additions and 292 deletions.
8 changes: 7 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "plugin:@typescript-eslint/recommended"
"extends": [
"plugin:@typescript-eslint/recommended",
"next"
],
"rules": {
"@typescript-eslint/no-empty-function": "off"
}
}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
auto-install-peers=true
ignore-workspace-root-check=true
strict-peer-dependencie=false
2 changes: 0 additions & 2 deletions examples/mathjax-render-react-example/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion examples/mathjax-render-react-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@types/react-dom": "^18.2.6",
"autoprefixer": "^10.4.14",
"eslint": "8.26.0",
"eslint-config-next": "13.0.0",
"eslint-config-prettier": "^8.8.0",
"postcss": "^8.4.25",
"shadcn-ui": "^0.3.0",
Expand Down
12 changes: 12 additions & 0 deletions examples/mathjax-render-react-example/src/app/api/echo/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { NextRequest, NextResponse } from "next/server";

export function GET(req: NextRequest) {
const { searchParams } = new URL(req.url);
const msg = searchParams.get("msg") ?? "";

const data = {
msg: msg,
};

return NextResponse.json(data);
}

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@typescript-eslint/parser": "^5.61.0",
"bumpp": "^7.2.0",
"eslint": "^8.44.0",
"eslint-config-next": "13.0.0",
"esmo": "^0.14.1",
"fsxx": "^0.0.5",
"glob": "^8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mathjax-render-for-mkdocs-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@types/jsdom": "^16.2.15",
"cac": "^6.7.14",
"chalk": "^5.2.0",
"chalk": "^5.3.0",
"debug": "^4.3.4",
"glob": "^8.1.0",
"jsdom": "^19.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/mathjax-render-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"mathjax-render": "workspace:*"
},
"devDependencies": {
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"camelcase": "^7.0.1",
"less": "^4.1.3",
"postcss": "^8.4.24",
"postcss": "^8.4.25",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.1",
Expand Down

0 comments on commit cbf9774

Please sign in to comment.