Skip to content

Commit

Permalink
Merge pull request #258 from AndreaPontrandolfo/AndreaPontrandolfo/is…
Browse files Browse the repository at this point in the history
…sue227

chore(internals): implemented turbo watch on dev command
  • Loading branch information
AndreaPontrandolfo authored Sep 22, 2024
2 parents daea2c3 + e598bd7 commit 58e200e
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 33 deletions.
8 changes: 8 additions & 0 deletions .changeset/silent-balloons-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'eslint-config-sheriff': patch
'@sherifforg/create-config': patch
'@sheriff/utils': patch
---

chore(internals): implemented turbo watch on dev command
Fixes #227
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
"name": "sheriff-monorepo",
"private": true,
"scripts": {
"dev": "turbo watch build-watch start",
"build": "turbo run build",
"start:docs": "turbo run start --filter=docs-website --filter=sheriff-webservices",
"playground": "pnpm --filter=cli-playground exec create-config",
"playground:mimic-monorepo": "pnpm exec create-config --filter=cli-playground",
"webservices:dev": "turbo run start --filter=sheriff-webservices",
"webservices:deploy": "turbo run serve --filter=sheriff-webservices",
"preview-docs": "turbo run serve --filter=docs-website",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
Expand Down Expand Up @@ -35,7 +34,7 @@
"@turbo/gen": "^2.0.9",
"knip": "^5.25.1",
"prettier": "^3.3.2",
"turbo": "^2.0.9",
"turbo": "^2.1.2",
"typesync": "^0.13.0"
},
"packageManager": "[email protected]",
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-sheriff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"preinstall": "npx only-allow pnpm",
"clean": "rm -rf .turbo dist",
"build": "tsup",
"build-watch": "tsup",
"typecheck": "tsc --noEmit",
"publint": "publint",
"typesync": "typesync --dry=fail",
Expand Down
1 change: 1 addition & 0 deletions packages/sheriff-create-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dev": "tsx ./src/index.ts",
"clean": "rm -rf .turbo dist",
"build": "tsup",
"build-watch": "tsup",
"typecheck": "tsc --noEmit",
"lint": "eslint . --max-warnings=0 --cache --cache-location=node_modules/.cache/.eslintcache",
"publint": "publint",
Expand Down
1 change: 0 additions & 1 deletion packages/sheriff-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
}
},
"scripts": {
"start": "tsx watch ./src/generateRulesDataset.ts",
"rulesgen": "tsx ./src/generateRulesDataset.ts",
"publint": "publint",
"clean": "rm -rf .turb dist"
Expand Down
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"dependsOn": ["^build"],
"outputs": [".docusaurus/**", "dist/**"]
},
"build-watch": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"start": {
"cache": false,
"persistent": true,
Expand Down

0 comments on commit 58e200e

Please sign in to comment.