Skip to content

Commit

Permalink
chore(app): upgrade apps and packages dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Jul 4, 2022
1 parent 37f30e7 commit b223d80
Show file tree
Hide file tree
Showing 11 changed files with 1,413 additions and 1,753 deletions.
16 changes: 8 additions & 8 deletions apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"scripts": {
"build": "tsc --project tsconfig.prod.json",
"clean": "rm -rf .turbo dist",
"clean": "rm -rf .turbo dist logs",
"dev": "nodemon --watch \"*.ts\" --exec \"ts-node\" ./src/index.ts",
"lint": "eslint src",
"build:prod": "esbuild ./src/index.ts --bundle --platform=node --outfile=dist/index.js",
Expand All @@ -19,8 +19,8 @@
"@sharingan/domain": "*",
"@sharingan/logger": "*",
"@sharingan/utils": "*",
"apollo-server-core": "^3.8.2",
"apollo-server-express": "^3.8.2",
"apollo-server-core": "^3.9.0",
"apollo-server-express": "^3.9.0",
"axios": "^0.27.2",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
Expand All @@ -29,18 +29,18 @@
"shiki": "^0.10.1"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.4",
"@graphql-codegen/typescript": "^2.5.1",
"@graphql-codegen/typescript-resolvers": "^2.6.6",
"@graphql-codegen/cli": "^2.7.0",
"@graphql-codegen/typescript": "^2.6.0",
"@graphql-codegen/typescript-resolvers": "^2.6.7",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.0",
"@types/node": "^18.0.1",
"esbuild": "^0.14.48",
"jest": "^28.1.2",
"nodemon": "^2.0.18",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
}
}
2 changes: 2 additions & 0 deletions apps/web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ sitemap-0.xml

# Sentry
.sentryclirc

.swc
8 changes: 6 additions & 2 deletions apps/web/__tests__/ui/newsletter.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ describe('Newsletter Form', () => {
const inputEmail = screen.getByRole('textbox');
const submitButton = screen.getByRole('button', { name: /Get updates/i });

userEvent.type(inputEmail, '[email protected]');
await act(async () => {
await userEvent.type(inputEmail, '[email protected]');
});

await act(async () => {
fireEvent.click(submitButton);
Expand Down Expand Up @@ -87,7 +89,9 @@ describe('Newsletter Form', () => {
const inputEmail = screen.getByRole('textbox');
const submitButton = screen.getByRole('button', { name: /Get updates/i });

userEvent.type(inputEmail, '[email protected]');
await act(async () => {
await userEvent.type(inputEmail, '[email protected]');
});

await act(async () => {
fireEvent.click(submitButton);
Expand Down
64 changes: 33 additions & 31 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "next build",
"clean": "rm -rf .turbo .next",
"clean": "rm -rf .turbo .next .swc",
"dev": "next dev --port 7500",
"lint": "next lint",
"start": "next start",
Expand All @@ -13,48 +13,50 @@
"postbuild": "next-sitemap --config next-sitemap.js"
},
"dependencies": {
"@apollo/client": "^3.5.10",
"@headlessui/react": "^1.6.4",
"@apollo/client": "^3.6.9",
"@headlessui/react": "^1.6.5",
"@hookform/resolvers": "^2.9.3",
"@sentry/nextjs": "^7.1.1",
"@sentry/nextjs": "^7.5.0",
"@sharingan/ui": "*",
"classnames": "^2.3.1",
"graphql": "^16.3.0",
"next": "12.1.6",
"next": "12.2.0",
"next-seo": "^5.4.0",
"react": "17.0.2",
"react": "18.2.0",
"react-cookie": "^4.1.1",
"react-dom": "17.0.2",
"react-hook-form": "^7.33.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.33.1",
"yup": "^0.32.11"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^2.4.8",
"@graphql-codegen/typescript-operations": "^2.3.5",
"@graphql-codegen/cli": "^2.7.0",
"@graphql-codegen/typescript": "^2.6.0",
"@graphql-codegen/typescript-operations": "^2.4.3",
"@tailwindcss/forms": "^0.5.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "17.0.21",
"@types/react": "17.0.40",
"@typescript-eslint/eslint-plugin": "5.15.0",
"@typescript-eslint/parser": "5.15.0",
"autoprefixer": "^10.4.4",
"babel-jest": "^27.5.1",
"eslint": "8.11.0",
"eslint-config-next": "12.1.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^28.1.4",
"@types/node": "18.0.1",
"@types/react": "17.0.47",
"@types/react-dom": "17.0.17",
"@typescript-eslint/eslint-plugin": "5.30.5",
"@typescript-eslint/parser": "5.30.5",
"autoprefixer": "^10.4.7",
"babel-jest": "^28.1.2",
"eslint": "8.19.0",
"eslint-config-next": "12.2.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-jest-dom": "4.0.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-testing-library": "5.1.0",
"jest": "^27.5.1",
"next-sitemap": "^3.0.5",
"eslint-import-resolver-typescript": "3.2.1",
"eslint-plugin-jest-dom": "4.0.2",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-testing-library": "5.5.1",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"next-sitemap": "^3.1.8",
"next-transpile-modules": "^9.0.0",
"postcss": "^8.4.12",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4",
"typescript": "4.6.2"
"typescript": "4.7.4"
}
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-sort-destructure-keys": "^1.4.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"husky": "^7.0.4",
"prettier": "^2.6.0",
"turbo": "^1.2.16"
"husky": "^8.0.1",
"prettier": "^2.7.1",
"turbo": "^1.3.1"
},
"packageManager": "[email protected].17"
"packageManager": "[email protected].19"
}
10 changes: 5 additions & 5 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"cuid": "^2.1.8"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"dotenv": "^16.0.0",
"jest": "^27.5.1",
"@types/jest": "^28.1.4",
"dotenv": "^16.0.1",
"jest": "^28.1.2",
"prisma": "^4.0.0",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
}
}
18 changes: 8 additions & 10 deletions packages/domain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@
"test:db:local": "TEST_WITH_DB=true IS_LOCAL=true jest"
},
"dependencies": {
"@sharingan/database": "1.0.0",
"@sharingan/utils": "1.0.0",
"axios": "^0.26.1",
"@sharingan/database": "*",
"@sharingan/utils": "*",
"axios": "^0.27.2",
"bcryptjs": "^2.4.3",
"unique-username-generator": "^1.1.1"
},
"devDependencies": {
"@ngneat/falso": "^5.6.0",
"@ngneat/falso": "^6.0.3",
"@types/bcryptjs": "^2.4.2",
"@types/jest": "^27.4.1",
"add": "^2.0.6",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2",
"yarn": "^1.22.18"
"@types/jest": "^28.1.4",
"jest": "^28.1.2",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
}
}
16 changes: 8 additions & 8 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
},
"dependencies": {
"@sentry/node": "^6.19.2",
"@sentry/tracing": "^6.19.2",
"winston": "^3.6.0",
"winston-daily-rotate-file": "^4.6.1"
"@sentry/tracing": "^7.5.0",
"winston": "^3.8.1",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.180",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"@types/jest": "^28.1.4",
"@types/lodash": "^4.14.182",
"jest": "^28.1.2",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
}
}
7 changes: 4 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
"license": "MIT",
"devDependencies": {
"@tailwindcss/forms": "^0.5.2",
"@types/react": "17.0.40",
"@types/react": "17.0.47",
"@types/react-dom": "17.0.17",
"autoprefixer": "^10.4.7",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4"
},
"dependencies": {
"classnames": "^2.3.1",
"react": "17.0.2",
"react-dom": "17.0.2"
"react": "18.2.0",
"react-dom": "18.2.0"
}
}
10 changes: 5 additions & 5 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.180",
"@types/jest": "^28.1.4",
"@types/lodash": "^4.14.182",
"@types/uuid": "^8.3.4",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"jest": "^28.1.2",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
}
}
Loading

0 comments on commit b223d80

Please sign in to comment.