Skip to content

Commit

Permalink
prevent dev container from trying to launch the browser extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie ⚡ committed Oct 16, 2022
1 parent 8038971 commit 133332d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
"forwardPorts": [5432],
"postCreateCommand": "npm install && npm run db && npm run seed"

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node"
"postCreateCommand": "npm install && npm run db && npm run seed",
"postStartCommand": "npx turbo dev --parallel --filter=!@reubin/extension"
}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: npm run generate && npx prisma generate --schema apps/graphql/prisma/schema.prisma

- name: Types
run: npm run types --workspaces
run: npm run types

- name: Build
run: npm run build
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"apps/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"test": "turbo run test",
"lint": "turbo run lint",
"type-check": "turbo run type-check",
"build": "turbo build",
"test": "turbo test",
"lint": "turbo lint",
"types": "turbo types",
"dev": "turbo dev --parallel",
"git": "node scripts/git.mjs",
"clean": "node scripts/clean.mjs --all",
"generate": "node scripts/codegen.mjs",
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"dependsOn": ["^build"],
"outputs": []
},
"types": {
"outputs": []
},
"dev": {
"cache": false
},
Expand Down

0 comments on commit 133332d

Please sign in to comment.