Skip to content

Commit

Permalink
✨フロント側のApollo Clientの設定
Browse files Browse the repository at this point in the history
  • Loading branch information
nyatinte committed Sep 18, 2023
1 parent eb61f38 commit eafe17a
Show file tree
Hide file tree
Showing 13 changed files with 2,257 additions and 4,919 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module.exports = {
{ vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' },
],
'react/destructuring-assignment': 'off',
'no-underscore-dangle': 'off',
// sort-keys
'sort-keys': ['error', 'asc', { caseSensitive: true, natural: false, minKeys: 2 }],
'sort-keys-fix/sort-keys-fix': 'warn',
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"type-check": "tsc --noEmit",
"shadcn-add": "npx shadcn-ui@latest add",
"gqlgen:server": "graphql-codegen -c src/server/codegen.ts",
"gqlgen:client": "graphql-codegen -c src/codegen.ts",
"prisma:generate": "prisma generate --schema src/server/prisma/schema.prisma",
"prisma:migrate": "prisma migrate dev --schema src/server/prisma/schema.prisma",
"prisma:studio": "prisma studio --schema src/server/prisma/schema.prisma",
Expand All @@ -32,6 +33,7 @@
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} src/server/prisma/seed.ts"
},
"dependencies": {
"@apollo/client": "^3.8.3",
"@devoxa/prisma-relay-cursor-connection": "^3.1.0",
"@prisma/client": "5.3.1",
"@radix-ui/react-slider": "^1.1.2",
Expand Down Expand Up @@ -77,6 +79,7 @@
"devDependencies": {
"@eddeee888/gcg-typescript-resolver-files": "^0.7.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@tsconfig/strictest": "^2.0.1",
"@types/unist": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand Down
Loading

0 comments on commit eafe17a

Please sign in to comment.