Skip to content

Commit

Permalink
Add graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
barshathakuri committed Mar 19, 2024
1 parent d41534a commit d951c00
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
21 changes: 16 additions & 5 deletions .unimportedrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
"entry": ["./src/main.tsx"],
"ignorePatterns": ["**/node_modules/**", "build/**"],
"ignoreUnimported": ["**/*.d.ts"],
"ignoreUnused": [],
"entry": ["./src/index.tsx"],
"ignorePatterns": ["**/node_modules/**", "build/**", "**/parked/**"],
"ignoreUnimported": ["**/*.d.ts", "**/*.test.*"],
"ignoreUnresolved": [
"#assets/content/operational_timeline_title.svg?react",
"#assets/content/operational_timeline_body.svg?react"
],
"ignoreUnused": ["@tinymce/tinymce-react", "@mapbox/mapbox-gl-draw"],
"extensions": [".ts", ".js", ".tsx", ".jsx"],
"aliases": {}
"aliases": {
"#assets/*": ["./src/assets/*"],
"#components/*": ["./src/components/*"],
"#config": ["./src/config"],
"#strings/*": ["./src/strings/*"],
"#utils/*": ["./src/utils/*"],
"#views/*": ["./src/views/*"]
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
"postinstall": "patch-package"
},
"dependencies": {
"@apollo/client": "^3.9.7",
"@ifrc-go/icons": "^1.3.1",
"@mapbox/mapbox-gl-draw": "^1.2.0",
"@togglecorp/fujs": "^2.1.1",
"@togglecorp/re-map": "^0.2.0-beta-6",
"@turf/bbox": "^6.5.0",
"@turf/buffer": "^6.5.0",
"graphql": "^16.8.1",
"mapbox-gl": "^1.13.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './index.css';
import React from 'react';
import ReactDOM from 'react-dom/client';

import App from './App/index.tsx';
import App from './App';

const webappRootId = 'webapp-root';

Expand Down

0 comments on commit d951c00

Please sign in to comment.