Skip to content

Commit

Permalink
Integrate start command with turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Feb 20, 2023
1 parent 733d8a8 commit b339b0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
"author": "CrowdStrike UX Team",
"scripts": {
"release": "changeset publish",
"build:docs-app": "pnpm _turbo build --filter 'docs-app'",
"start": "concurrently 'npm:start:*' --restart-after 5000 --prefix-colors cyan,white,yellow",
"start:tests": "pnpm --filter test-app start",
"build:docs": "pnpm _turbo build --filter docs-app",
"start": "pnpm start:tests",
"start:docs": "pnpm _turbo --filter docs-app start",
"start:tests": "pnpm _turbo --filter test-app start",
"start:addon": "pnpm --filter !test-app start --no-watch.clearScreen",
"build": "pnpm _turbo build",
"turbo:start": "pnpm _turbo start",
"test": "pnpm _turbo test",
"lint": "pnpm _turbo lint",
"lint:fix": "pnpm --filter '*' lint:fix",
"dev": "pnpm start",
"_turbo": "pnpm turbo --api='http://127.0.0.1:9080' --token=foo-123 --team=foo"
},
"devDependencies": {
Expand Down
16 changes: 3 additions & 13 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"dev": {
// A package's `build` script depends on that package's
// dependencies and devDependencies
// `build` tasks being completed first
// (the `^` symbol signifies `upstream`).
"dependsOn": ["_syncPnpm"],
// Ignore all outputs for "dev", because we don't want to cache anything
"outputs": [],
"cache": false
},
// Alias for dev
"start": {
"dependsOn": ["dev"],
"dependsOn": ["_syncPnpm"],
"outputs": [],
"cache": false
"cache": false,
"persistent": true
},
"test": {
// Normally, A package's `test` script depends on that package's
Expand Down

0 comments on commit b339b0c

Please sign in to comment.