Skip to content

Commit

Permalink
Update package (#42)
Browse files Browse the repository at this point in the history
* chore(packages): update to latest non-breaking versions

* chore(packages): update to latest breaking versions

* typecheck(web): remove unused import

* format(*): formatted all files with `pretter`
  • Loading branch information
GervinFung authored Jul 22, 2024
1 parent 45c7260 commit a09d9e1
Show file tree
Hide file tree
Showing 5 changed files with 7,668 additions and 6,266 deletions.
34 changes: 17 additions & 17 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,42 @@
"typecheck": "make typecheck"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@fontsource-variable/jetbrains-mono": "^5.0.21",
"@mui/joy": "5.0.0-beta.36",
"@mui/joy": "5.0.0-beta.48",
"@periotable/data": "workspace:^",
"@poolofdeath20/util": "^0.8.0",
"bowser": "^2.11.0",
"next": "^14.2.4",
"next": "^14.2.5",
"next-seo": "^6.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"use-debounce": "^10.0.1"
},
"devDependencies": {
"@ducanh2912/next-pwa": "^10.2.7",
"@poolofdeath20/eslint-config": "^0.3.2",
"@poolofdeath20/tsconfig": "^0.0.0",
"@ducanh2912/next-pwa": "^10.2.8",
"@poolofdeath20/eslint-config": "^0.3.4",
"@poolofdeath20/tsconfig": "^0.1.0",
"@types/jest-image-snapshot": "^6.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"axios": "^1.7.2",
"ci-info": "^4.0.0",
"eslint": "^8.57.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.35.0",
"gen-env-type-def": "^0.0.4",
"jest-image-snapshot": "^6.4.0",
"knip": "^5.19.0",
"knip": "^5.26.0",
"next-sitemap": "^4.2.3",
"puppeteer": "^22.11.0",
"typescript": "^5.4.5",
"valibot": "^0.32.0",
"vite-node": "^1.6.0",
"vitest": "^1.6.0"
"puppeteer": "^22.13.1",
"typescript": "^5.5.3",
"valibot": "^0.36.0",
"vite-node": "^2.0.3",
"vitest": "^2.0.3"
}
}
2 changes: 0 additions & 2 deletions apps/web/src/web/components/bohr/three-dimensional.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react';

const BohrThreeDimensional = (
props: Readonly<{
src: string;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/web/components/pages/error/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const useWordScramble = (
word: () => {
return result.current.status !== 'started'
? props.content
: words.at(result.current.index)?.content ?? props.content;
: (words.at(result.current.index)?.content ?? props.content);
},
stop: () => {
return setPreviousResult({
Expand Down
37 changes: 36 additions & 1 deletion apps/web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
{
"extends": ["@poolofdeath20/tsconfig/next"],
"include": ["*.d.ts", "**/*.ts", "**/.tsx"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"compilerOptions": {
// typecheck
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"useUnknownInCatchVariables": true,
"strict": true,

// modules
"resolveJsonModule": true,
"module": "esnext",
"moduleResolution": "node",

// emit
"noEmit": true,

// interop
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,

// output formatting
"pretty": true,

// completeness
"skipLibCheck": true
}
}
Loading

0 comments on commit a09d9e1

Please sign in to comment.