Skip to content

Commit

Permalink
chore: update tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Jan 19, 2025
1 parent d074adf commit 83afc39
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
58 changes: 58 additions & 0 deletions apps/petal-notes/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"outputs": ["node_modules/.vite/**", "build/**"],
"inputs": ["src/**", "static/**", "vite.config.ts", "svelte.config.js"]
},
"preview": {
"cache": false,
"persistent": true,
"dependsOn": ["build"]
},
"dev": {
"cache": false,
"persistent": true,
"outputs": ["node_modules/.vite/**", "dev-dist/**"],
"inputs": ["src/**", "static/**", "vite.config.ts", "svelte.config.js"]
},
"lint": {
"inputs": ["**/*.ts", "**/*.svelte"]
},
"typecheck": {
"inputs": [
".svelte-kit/**",
"src/**",
"*.config.{js,ts}",
"tsconfig.json"
],
"dependsOn": ["prepare"]
},
"typecheck:watch": {
"cache": false,
"persistent": true,
"inputs": [
".svelte-kit/{ambient,non-ambient}.d.ts",
".svelte-kit/tsconfig.json",
"src/**",
"*.config.{js,ts}",
"tsconfig.json"
],
"dependsOn": ["prepare"]
},
"test": {
"cache": false,
"persistent": true,
"inputs": ["src/**"]
},
"storybook": {
"cache": false,
"persistent": true
},
"build-storybook": {},
"chromatic": {
"passThroughEnv": ["CHROMATIC_PROJECT_TOKEN"]
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typesync": "typesync",
"typesync:check": "typesync --dry=fail",
"check-deduped-deps": "pnpm dedupe --check --prefer-offline",
"merge-checks": "turbo run typecheck knip lint format:check manypkg typesync:check"
"merge-checks": "turbo run typecheck knip lint format:check manypkg typesync:check test"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
Expand Down

0 comments on commit 83afc39

Please sign in to comment.