Skip to content

Commit

Permalink
chore(deps): Upgrade dependencies (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya committed Dec 3, 2023
1 parent bc5cbf1 commit 4c13d61
Show file tree
Hide file tree
Showing 21 changed files with 3,378 additions and 2,993 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.copilot",
"github.vscode-github-actions",
"graphql.vscode-graphql",
"mikestead.dotenv",
"streetsidesoftware.code-spell-checker",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"editor.tabSize": 2,
"eslint.nodePath": ".yarn/sdks",
"eslint.runtime": "node",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"vitest.commandLine": "yarn vitest",
Expand Down
891 changes: 0 additions & 891 deletions .yarn/releases/yarn-4.0.0-rc.50.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .yarn/sdks/eslint/lib/unsupported-api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require eslint/use-at-your-own-risk
require(absPnpApiPath).setup();
}
}

// Defer to the real eslint/use-at-your-own-risk your application uses
module.exports = absRequire(`eslint/use-at-your-own-risk`);
12 changes: 10 additions & 2 deletions .yarn/sdks/eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"name": "eslint",
"version": "8.48.0-sdk",
"version": "8.55.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
"type": "commonjs",
"bin": {
"eslint": "./bin/eslint.js"
},
"exports": {
"./package.json": "./package.json",
".": "./lib/api.js",
"./use-at-your-own-risk": "./lib/unsupported-api.js"
}
}
20 changes: 20 additions & 0 deletions .yarn/sdks/prettier/bin/prettier.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {resolve} = require(`path`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/bin/prettier.cjs
require(absPnpApiPath).setup();
}
}

// Defer to the real prettier/bin/prettier.cjs your application uses
module.exports = absRequire(`prettier/bin/prettier.cjs`);
File renamed without changes.
7 changes: 4 additions & 3 deletions .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "prettier",
"version": "3.0.3-sdk",
"main": "./index.js",
"type": "commonjs"
"version": "3.1.0-sdk",
"main": "./index.cjs",
"type": "commonjs",
"bin": "./bin/prettier.cjs"
}
6 changes: 3 additions & 3 deletions .yarn/sdks/typescript/lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const absRequire = createRequire(absPnpApiPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/lib/typescript.js
// Setup the environment to be able to require typescript
require(absPnpApiPath).setup();
}
}

// Defer to the real typescript/lib/typescript.js your application uses
module.exports = absRequire(`typescript/lib/typescript.js`);
// Defer to the real typescript your application uses
module.exports = absRequire(`typescript`);
8 changes: 6 additions & 2 deletions .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "typescript",
"version": "5.2.2-sdk",
"version": "5.3.2-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
"type": "commonjs",
"bin": {
"tsc": "./bin/tsc",
"tsserver": "./bin/tsserver"
}
}
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ packageExtensions:
dependencies:
happy-dom: ^10.11.2

yarnPath: .yarn/releases/yarn-4.0.0-rc.50.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
4 changes: 2 additions & 2 deletions app/core/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export const config: Config =
location.hostname === configs.prod.app.hostname
? configs.prod
: location.hostname === configs.test.app.hostname
? configs.test
: configs.local;
? configs.test
: configs.local;
4 changes: 2 additions & 2 deletions app/core/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export function usePageEffect(
location.pathname === "/"
? options?.title ?? config.app.name
: options?.title
? `${options.title} - ${config.app.name}`
: config.app.name;
? `${options.title} - ${config.app.name}`
: config.app.name;

return function () {
document.title = previousTitle;
Expand Down
8 changes: 4 additions & 4 deletions app/layout/components/LoginButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export function LoginButton(props: LoginButtonProps): JSX.Element {
{method === "google.com"
? "Continue with Google"
: method === "facebook.com"
? "Continue with Facebook"
: method === "anonymous"
? "Continue as Anonymous"
: `Continue with ${method}`}
? "Continue with Facebook"
: method === "anonymous"
? "Continue as Anonymous"
: `Continue with ${method}`}
</span>
</Button>
);
Expand Down
32 changes: 16 additions & 16 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
"app:deploy": "yarn workspace app deploy"
},
"dependencies": {
"@babel/runtime": "^7.22.15",
"@babel/runtime": "^7.23.5",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.7",
"@mui/lab": "^5.0.0-alpha.142",
"@mui/material": "^5.14.7",
"firebase": "^10.3.1",
"@mui/icons-material": "^5.14.19",
"@mui/lab": "^5.0.0-alpha.154",
"@mui/material": "^5.14.19",
"firebase": "^10.7.0",
"localforage": "^1.10.0",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.15.0",
"react-router-dom": "^6.20.1",
"recoil": "^0.7.7"
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/core": "^7.23.5",
"@emotion/babel-plugin": "^11.11.0",
"@types/node": "^20.5.9",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"envars": "^0.4.0",
"happy-dom": "^10.11.2",
"typescript": "~5.2.2",
"vite": "~4.4.9",
"vitest": "~0.33.0"
"@types/node": "^20.10.2",
"@types/react": "^18.2.40",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.0",
"envars": "^1.0.2",
"happy-dom": "^12.10.3",
"typescript": "~5.3.2",
"vite": "~5.0.4",
"vitest": "~0.34.6"
}
}
8 changes: 4 additions & 4 deletions app/theme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export const ThemeName = atom<PaletteMode>({
localStorage?.getItem(storageKey) === "dark"
? "dark"
: localStorage?.getItem(storageKey) === "light"
? "light"
: matchMedia?.("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
? "light"
: matchMedia?.("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
ctx.setSelf(name);
}

Expand Down
20 changes: 10 additions & 10 deletions edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
"edge:logs": "node ../scripts/wrangler.js tail"
},
"dependencies": {
"@hono/zod-validator": "^0.1.8",
"hono": "^3.5.8",
"jose": "^4.14.6",
"@hono/zod-validator": "^0.1.11",
"hono": "^3.10.4",
"jose": "^5.1.3",
"web-auth-library": "^1.0.3",
"zod": "^3.22.2"
"zod": "^3.22.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230904.0",
"@types/node": "^20.5.9",
"happy-dom": "^10.11.2",
"@cloudflare/workers-types": "^4.20231121.0",
"@types/node": "^20.10.2",
"happy-dom": "^12.10.3",
"toml": "^3.0.0",
"typescript": "~5.2.2",
"vite": "~4.4.9",
"vitest": "~0.33.0",
"typescript": "~5.3.2",
"vite": "~5.0.4",
"vitest": "~0.34.6",
"vitest-environment-miniflare": "^2.14.1"
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "root",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected].0-rc.50",
"packageManager": "[email protected].2",
"type": "module",
"workspaces": [
"app",
Expand All @@ -21,25 +21,25 @@
"devDependencies": {
"@emotion/babel-plugin": "^11.11.0",
"@emotion/eslint-plugin": "^11.11.0",
"@types/eslint": "^8.44.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"@types/eslint": "^8.44.8",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"graphql": "^16.8.0",
"happy-dom": "^10.11.2",
"graphql": "^16.8.1",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"react": "^18.2.0",
"relay-config": "^12.0.1",
"typescript": "~5.2.2",
"vite": "~4.4.9",
"vitest": "~0.33.0"
"typescript": "~5.3.2",
"vite": "~5.0.4",
"vitest": "~0.34.6"
},
"prettier": {
"printWidth": 80,
Expand Down
14 changes: 7 additions & 7 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": {
"envars": "^0.4.0",
"envars": "^1.0.2",
"execa": "^8.0.1",
"get-port": "^7.0.0",
"got": "^13.0.0",
"graphql": "^16.8.0",
"got": "^14.0.0",
"graphql": "^16.8.1",
"lodash-es": "^4.17.21",
"miniflare": "^3.20230821.0",
"prettier": "^3.0.3",
"miniflare": "^3.20231030.2",
"prettier": "^3.1.0",
"toml": "^3.0.0",
"vite": "^4.4.9",
"wrangler": "^3.6.0",
"vite": "^5.0.4",
"wrangler": "^3.18.0",
"zx": "^7.2.3"
}
}
Loading

0 comments on commit 4c13d61

Please sign in to comment.