Skip to content

Commit

Permalink
fix: update TypeScript settings, improve layout margins, and enhance …
Browse files Browse the repository at this point in the history
…localization for events
  • Loading branch information
Robert27 committed Dec 18, 2024
1 parent 0549f80 commit 92e30c7
Show file tree
Hide file tree
Showing 21 changed files with 1,049 additions and 1,540 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
Expand Down
Binary file modified bun.lockb
Binary file not shown.
7 changes: 6 additions & 1 deletion codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ generates:
presetConfig:
fragmentMasking:
unmaskFunctionName: 'getFragmentData'

config:
documentMode: 'string'
'src/__generated__/schema.graphql':
plugins: ['schema-ast']
config:
includeDirectives: true
config:
scalars:
DateTime: 'Date'
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"format": "prettier --write .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:staged": "lint-staged",
"licences": "npm-license-crawler -onlyDirectDependencies -json src/data/licenses.json --exclude docs/",
"prepare": "husky",
"codegen": "graphql-codegen --config codegen.yml",
Expand All @@ -26,7 +27,7 @@
"dependencies": {
"@aptabase/react-native": "^0.3.10",
"@babel/runtime": "^7.26.0",
"@bottom-tabs/react-navigation": "^0.7.6",
"@bottom-tabs/react-navigation": "^0.7.7",
"@expo/metro-runtime": "^4.0.0",
"@expo/vector-icons": "^14.0.4",
"@gorhom/bottom-sheet": "^5.0.6",
Expand All @@ -36,7 +37,7 @@
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/netinfo": "11.4.1",
"@react-navigation/native": "^7.0.14",
"@react-navigation/stack": "^7.1.0",
"@react-navigation/stack": "^7.1.1",
"@shopify/flash-list": "1.7.1",
"@tanstack/query-sync-storage-persister": "^5.62.8",
"@tanstack/react-query": "^5.62.8",
Expand Down Expand Up @@ -79,7 +80,7 @@
"react-native-calendars": "^1.1307.0",
"react-native-collapsible": "1.6.1",
"react-native-context-menu-view": "^1.16.0",
"react-native-device-info": "^14.0.1",
"react-native-device-info": "^14.0.2",
"react-native-drag-drop-ios": "^0.1.1",
"react-native-drag-sort": "^2.4.4",
"react-native-edge-to-edge": "^1.1.3",
Expand All @@ -103,7 +104,7 @@
"zustand": "^5.0.2"
},
"devDependencies": {
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"@0no-co/graphqlsp": "^1.12.16",
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
Expand All @@ -115,6 +116,7 @@
"@expo/ngrok": "^4.1.3",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.5.1",
"@graphql-codegen/schema-ast": "^4.1.0",
"@react-native-community/cli": "^15.1.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/bun": "latest",
Expand All @@ -128,6 +130,7 @@
"@typescript-eslint/parser": "^7.18.0",
"ajv": "^8.17.1",
"babel-plugin-formatjs": "^10.5.29",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
Expand Down
29 changes: 11 additions & 18 deletions src/__generated__/gql/fragment-masking.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 8 additions & 27 deletions src/__generated__/gql/gql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 92e30c7

Please sign in to comment.