Skip to content

Commit

Permalink
Merge branch '771-turborepo-poc' of github.com:ethyca/fides into bann…
Browse files Browse the repository at this point in the history
…er-infra
  • Loading branch information
NevilleS committed May 4, 2023
2 parents a5b51f4 + 9149f2f commit 147e5dd
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion clients/admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"lint-staged:fix": "lint-staged --diff=main",
"openapi:generate": "openapi --input http://localhost:8080/openapi.json --output ./src/types/api --exportCore false --exportServices false --indent 2",
"start": "next start",
"test": "jest --watch",
"test": "jest --watchAll",
"test:ci": "jest"
},
"dependencies": {
Expand Down
3 changes: 0 additions & 3 deletions clients/admin-ui/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
},
"dev:mock": {
"dependsOn": ["build"]
},
"dev": {
"dependsOn": []
}
}
}
3 changes: 1 addition & 2 deletions clients/fides-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
],
"scripts": {
"build": "NODE_ENV=production rollup -c",
"dev": "NODE_ENV=development rollup -c -w",
"clean": "rm -rf dist .turbo",
"format": "prettier --write .",
"format:ci": "prettier --check .",
"lint": "eslint . --ext .ts,.tsx",
"test": "jest --watch",
"test": "jest --watchAll",
"test:ci": "jest"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion clients/privacy-center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint:fix": "lint-staged --diff=main",
"format": "prettier --write types/ theme/ pages/ config/ components/ __tests__/",
"format:ci": "prettier --check types/ theme/ pages/ config/ components/ __tests__/",
"test": "jest --watch",
"test": "jest --watchAll",
"test:ci": "tsc --noEmit && jest",
"cy:open": "cypress open",
"cy:run": "cypress run",
Expand Down
8 changes: 0 additions & 8 deletions clients/privacy-center/turbo.json

This file was deleted.

10 changes: 7 additions & 3 deletions clients/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"outputs": [".next/*", "!.next/cache/*"]
},
"dev": {
"dependsOn": [],
"outputs": [".next/*", "!.next/cache/*"]
"dependsOn": ["^build"],
"outputs": [".next/*", "!.next/cache/*"],
"cache": false,
"persistent": true
},
"start": {
"dependsOn": ["build"],
Expand All @@ -26,7 +28,9 @@
"dependsOn": []
},
"test": {
"dependsOn": ["build"]
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"test:ci": {
"dependsOn": ["build"]
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ services:
read_only: False
# do not volume mount over the node_modules
- /fides/clients/node_modules
- /fides/clients/admin-ui/node_modules
environment:
- NEXT_PUBLIC_FIDESCTL_API_SERVER=http://fides:8080

Expand All @@ -68,6 +69,7 @@ services:
read_only: False
# do not volume mount over the node_modules
- /fides/clients/node_modules
- /fides/clients/privacy-center/node_modules

fides-db:
image: postgres:12
Expand Down

0 comments on commit 147e5dd

Please sign in to comment.