Skip to content

Commit

Permalink
chore(deps): Upgrade dependencies (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya committed Feb 15, 2024
1 parent de03288 commit 95c3e61
Show file tree
Hide file tree
Showing 13 changed files with 2,540 additions and 2,499 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4

# Configure Node.js and install NPM dependencies
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with: { node-version: "${{ env.NODE_VERSION }}", cache: "yarn" }
- run: yarn install

Expand All @@ -50,7 +50,7 @@ jobs:

# Compile and save build artifacts
- run: yarn build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with: { name: "build", path: "app/dist\nedge/dist\n" }

deploy:
Expand All @@ -62,10 +62,10 @@ jobs:
url: ${{ inputs.environment == 'prod' && 'https://example.com' || format('https://{0}.example.com', inputs.environment || 'test') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with: { node-version: "${{ env.NODE_VERSION }}", cache: "yarn" }
- run: yarn install
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with: { name: "build" }
- run: yarn workspace edge deploy --env=${{ inputs.environment || 'test' }}
if: ${{ false }}
10 changes: 5 additions & 5 deletions .vscode/react.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"}",
"",
"export type ${1}Props = Omit<${2}Props, \"children\">;",
""
"",
],
"description": "React Component"
"description": "React Component",
},
"ReactRoute": {
"scope": "javascriptreact,typescriptreact",
Expand All @@ -29,8 +29,8 @@
" <${2}>$0</${2}>",
" );",
"}",
""
"",
],
"description": "React Route Component"
}
"description": "React Route Component",
},
}
672 changes: 336 additions & 336 deletions .yarn/releases/yarn-4.0.2.cjs → .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ nodeLinker: pnp
packageExtensions:
local-pkg@*:
dependencies:
happy-dom: ^10.11.2
happy-dom: ^13.3.8

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs
34 changes: 17 additions & 17 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,34 @@
"app:deploy": "yarn workspace app deploy"
},
"dependencies": {
"@babel/runtime": "^7.23.8",
"@babel/runtime": "^7.23.9",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/base": "^5.0.0-beta.31",
"@mui/icons-material": "^5.15.4",
"@mui/joy": "^5.0.0-beta.22",
"@mui/lab": "^5.0.0-alpha.160",
"@mui/material": "^5.15.4",
"firebase": "^10.7.1",
"jotai": "^2.6.1",
"jotai-effect": "^0.2.3",
"@mui/base": "^5.0.0-beta.36",
"@mui/icons-material": "^5.15.10",
"@mui/joy": "^5.0.0-beta.28",
"@mui/lab": "^5.0.0-alpha.165",
"@mui/material": "^5.15.10",
"firebase": "^10.8.0",
"jotai": "^2.6.4",
"jotai-effect": "^0.5.0",
"localforage": "^1.10.0",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1"
"react-router-dom": "^6.22.0"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/core": "^7.23.9",
"@emotion/babel-plugin": "^11.11.0",
"@types/node": "^20.10.8",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@types/node": "^20.11.18",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"envars": "^1.0.2",
"happy-dom": "^13.0.0",
"happy-dom": "^13.3.8",
"typescript": "~5.3.3",
"vite": "~5.0.11",
"vitest": "~1.1.3"
"vite": "~5.1.2",
"vitest": "~1.2.2"
}
}
14 changes: 7 additions & 7 deletions db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"test": "vitest"
},
"dependencies": {
"@google-cloud/firestore": "^7.1.0",
"@googleapis/identitytoolkit": "^8.0.0",
"@google-cloud/firestore": "^7.3.0",
"@googleapis/identitytoolkit": "^8.0.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.10.8",
"dotenv": "^16.3.1",
"@types/node": "^20.11.18",
"dotenv": "^16.4.4",
"ora": "^8.0.1",
"typescript": "~5.3.3",
"vite": "~5.0.11",
"vite-node": "~1.1.3",
"vitest": "~1.1.3"
"vite": "~5.1.2",
"vite-node": "~1.2.2",
"vitest": "~1.2.2"
}
}
16 changes: 8 additions & 8 deletions edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
},
"dependencies": {
"@hono/zod-validator": "^0.1.11",
"hono": "^3.12.1",
"jose": "^5.2.0",
"hono": "^4.0.2",
"jose": "^5.2.2",
"web-auth-library": "^1.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231218.0",
"@types/node": "^20.10.8",
"happy-dom": "^13.0.0",
"@cloudflare/workers-types": "^4.20240208.0",
"@types/node": "^20.11.18",
"happy-dom": "^13.3.8",
"toml": "^3.0.0",
"typescript": "~5.3.3",
"vite": "~5.0.11",
"vitest": "~1.1.3",
"vitest-environment-miniflare": "^2.14.1"
"vite": "~5.1.2",
"vitest": "~1.2.2",
"vitest-environment-miniflare": "^2.14.2"
}
}
4 changes: 2 additions & 2 deletions edge/routes/api-login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export const handler = app.post(
),

// Handle the request
({ req, jsonT }) => {
({ req, json }) => {
const input = req.valid("json");
// TODO: Implement the login logic
return jsonT<LoginResponse>({ email: input.email });
return json<LoginResponse>({ email: input.email });
},
);

Expand Down
2 changes: 1 addition & 1 deletion edge/routes/echo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { app } from "../core/app.js";

export const handler = app.get("/echo", ({ json, req }) => {
return json({
headers: Object.fromEntries(req.headers.entries()),
headers: Object.fromEntries(req.raw.headers.entries()),
cf: req.raw.cf,
});
});
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "root",
"version": "0.0.0",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.0",
"private": true,
"type": "module",
"workspaces": [
Expand All @@ -22,9 +22,9 @@
"devDependencies": {
"@emotion/babel-plugin": "^11.11.0",
"@emotion/eslint-plugin": "^11.11.0",
"@types/eslint": "^8.56.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@types/eslint": "^8.56.2",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand All @@ -33,14 +33,14 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"graphql": "^16.8.1",
"happy-dom": "^13.0.0",
"husky": "^8.0.3",
"prettier": "^3.1.1",
"happy-dom": "^13.3.8",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"react": "^18.2.0",
"relay-config": "^12.0.1",
"typescript": "~5.3.3",
"vite": "~5.0.11",
"vitest": "~1.1.3"
"vite": "~5.1.2",
"vitest": "~1.2.2"
},
"prettier": {
"printWidth": 80,
Expand Down
10 changes: 5 additions & 5 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"private": true,
"type": "module",
"dependencies": {
"dotenv": "^16.3.1",
"dotenv": "^16.4.4",
"execa": "^8.0.1",
"get-port": "^7.0.0",
"got": "^13.0.0",
"graphql": "^16.8.1",
"lodash-es": "^4.17.21",
"miniflare": "^3.20231218.1",
"prettier": "^3.1.1",
"miniflare": "^3.20240129.2",
"prettier": "^3.2.5",
"toml": "^3.0.0",
"vite": "^5.0.11",
"wrangler": "^3.22.4",
"vite": "^5.1.2",
"wrangler": "^3.28.2",
"zx": "^7.2.3"
}
}
28 changes: 14 additions & 14 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@
"test": "vitest"
},
"dependencies": {
"@google-cloud/firestore": "^7.1.0",
"@googleapis/identitytoolkit": "^8.0.0",
"@trpc/server": "^10.45.0",
"@google-cloud/firestore": "^7.3.0",
"@googleapis/identitytoolkit": "^8.0.1",
"@trpc/server": "^10.45.1",
"db": "workspace:*",
"envalid": "^8.0.0",
"express": "^4.18.2",
"google-auth-library": "^9.4.1",
"google-auth-library": "^9.6.3",
"got": "^13.0.0",
"http-errors": "^2.0.0",
"http-proxy-middleware": "^2.0.6",
"nanoid": "^5.0.4",
"openai": "^4.24.3",
"pino": "^8.17.2",
"nanoid": "^5.0.5",
"openai": "^4.28.0",
"pino": "^8.18.0",
"pino-http": "^9.0.0",
"pino-pretty": "^10.3.1",
"type-fest": "^4.9.0",
"type-fest": "^4.10.2",
"ws": "^8.16.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/node": "^20.10.8",
"@types/node": "^20.11.18",
"@types/supertest": "^6.0.2",
"@types/ws": "^8.5.10",
"envars": "^1.0.2",
"get-port": "^7.0.0",
"supertest": "^6.3.3",
"type-fest": "^4.9.0",
"supertest": "^6.3.4",
"type-fest": "^4.10.2",
"typescript": "~5.3.3",
"vite": "~5.0.11",
"vite-node": "~1.1.3",
"vitest": "~1.1.3"
"vite": "~5.1.2",
"vite-node": "~1.2.2",
"vitest": "~1.2.2"
}
}

0 comments on commit 95c3e61

Please sign in to comment.