-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework directory structure #114
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4f690b0
feat: remove all unused files and rename various directories
ajhenry ef81241
feat: major environment overhaul
ajhenry ab9a7f9
fix: codeql scanning
ajhenry f2c8263
Merge branch 'main' of https://github.com/sbv-world-health-org-metric…
ajhenry e32f693
feat: cleanup after merge
ajhenry 180653d
feat: add prettier to root
ajhenry 0911edb
feat: more cleanup and eslint rules
ajhenry efe8873
chore: update package versions and eslint rules
ajhenry 6997dd1
Merge branch 'main' of https://github.com/sbv-world-health-org-metric…
ajhenry a385675
fix: next output build step
ajhenry 955076b
chore: prettier output all files
ajhenry 8364d6f
fix: revert commented collaborator counts
ajhenry 8910f8e
feat: add better developer experience
ajhenry b70c33a
fix: don't use optimized images
ajhenry 9540984
fix: no export
ajhenry 05513f0
feat: add glob as a dev dep
ajhenry 0172869
fix: broken eslint rule
ajhenry 2c1d2d2
docs: update env name
ajhenry 29b511e
docs: clarify collaborator count note
ajhenry 5122eef
chore: remove unused icons
ajhenry d6c06f6
fix: spacing on layout
ajhenry 6069d5e
chore: remove unused image
ajhenry 8717291
docs: remove default app readme
ajhenry 7a10099
fix: config since date
ajhenry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,27 @@ | ||
{ | ||
"name": "Go", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"name": "Typescript", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"docker-in-docker": { | ||
"version": "latest", | ||
"moby": true | ||
}, | ||
"azure-cli": "latest", | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
"ghcr.io/devcontainers/features/node:1": {} | ||
}, | ||
|
||
"remoteUser": "vscode", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"go.toolsManagement.checkForUpdates": "local", | ||
"go.useLanguageServer": true, | ||
"go.gopath": "/go", | ||
"gopls": { "ui.semanticTokens": true } | ||
} | ||
}, | ||
"extensions": [ | ||
"github.copilot", | ||
"golang.go" | ||
] | ||
}, | ||
"postCreateCommand": "./script/install-tools.sh" | ||
"docker-in-docker": { | ||
"version": "latest", | ||
"moby": true | ||
}, | ||
"azure-cli": "latest", | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
"ghcr.io/devcontainers/features/node:1": {} | ||
}, | ||
|
||
"remoteUser": "vscode", | ||
"customizations": { | ||
"vscode": { | ||
"settings": {} | ||
}, | ||
"extensions": [ | ||
"github.copilot", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
GRAPHQL_TOKEN="<YOUR TOKEN HERE>" | ||
NEXT_TELEMETRY_DISABLED=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
*.env | ||
tmp/* | ||
sbv-world-health-org-metrics.code-workspace | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
# Data files - these get generated at buildtime. The README includes instructions for generating these. | ||
/src/data/data.json | ||
|
||
.env* | ||
!.env.example |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,35 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch metrics (local)", | ||
"type": "go", | ||
"name": "App: debug server-side", | ||
"type": "node-terminal", | ||
"request": "launch", | ||
"command": "cd app && npm run dev" | ||
}, | ||
{ | ||
"name": "App: debug client-side", | ||
"type": "chrome", | ||
"request": "launch", | ||
"url": "http://localhost:3000" | ||
}, | ||
{ | ||
"name": "App: debug full stack", | ||
"type": "node-terminal", | ||
"request": "launch", | ||
"mode": "debug", | ||
"program": "${workspaceFolder}/backend/cmd/main.go", | ||
"envFile": "${workspaceFolder}/dev.vscode.env" | ||
"command": "cd app && npm run dev", | ||
"serverReadyAction": { | ||
"pattern": "- Local:.+(https?://.+)", | ||
"uriFormat": "%s", | ||
"action": "debugWithChrome" | ||
} | ||
}, | ||
{ | ||
"name": "Next.js: debug metrics", | ||
"name": "Backend: Debug", | ||
"type": "node-terminal", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}/ts-backend", | ||
"command": "npm run start", | ||
"envFile": "${workspaceFolder}/ts-backend/.env" | ||
"command": "cd backend && npm run dev", | ||
"envFile": "${workspaceFolder}/.env" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll need to test this after merging, as I'm not sure how to create a Codespace using the file from this branch. I think it should work though.
FWIW Co-pilot was not installed in my new Codespace by default, but
golang.go
was, so I'm not sure what happened there 🤷