| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "$schema": "https://turbo.build/schema.json",
- "globalEnv": ["NODE_ENV"],
- "globalPassThroughEnv": ["COREPACK_HOME"],
- "ui": "tui",
- "tasks": {
- "//#fix": {
- "dependsOn": ["//#fix:lint", "//#fix:format"],
- "cache": false
- },
- "//#fix:format": {
- "dependsOn": ["//#install:modules", "//#fix:lint"],
- "cache": false
- },
- "//#fix:lint": {
- "dependsOn": ["//#install:modules", "^build"],
- "cache": false
- },
- "//#install:modules": {
- "inputs": [
- "**/package.json",
- ".npmrc",
- ".npmignore",
- "pnpm-workspace.yaml",
- "!**/.next/**",
- "!**/dist/**"
- ],
- "outputs": ["pnpm-lock.yaml"]
- },
- "//#test": {
- "dependsOn": [
- "//#test:types",
- "//#test:unit",
- "//#test:integration",
- "//#test:format",
- "//#test:lint"
- ]
- },
- "//#test:format": {
- "dependsOn": ["//#install:modules"]
- },
- "//#test:lint": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "//#test:types": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "//#test:unit": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "//#test:integration": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "build": {
- "dependsOn": ["//#install:modules", "pull:env", "clean", "^build"],
- "inputs": [
- "$TURBO_DEFAULT$",
- "!README.md",
- "!**/*.test.*",
- "!jest.config.js",
- "!eslint.config.js",
- "!prettier.config.js",
- "!vercel.json"
- ],
- "outputs": ["lib/**", "dist/**", ".next/**", "!.next/cache/**"]
- },
- "build:vercel": {
- "dependsOn": ["//#install:modules", "pull:env", "^build"],
- "inputs": [
- "$TURBO_DEFAULT$",
- "!README.md",
- "!**/*.test.*",
- "!jest.config.js",
- "!eslint.config.js",
- "!prettier.config.js",
- "!vercel.json"
- ],
- "outputs": ["lib/**", "dist/**", ".next/**", "!.next/cache/**"]
- },
- "clean": {
- "cache": false,
- "outputs": []
- },
- "fix": {
- "dependsOn": ["fix:lint", "fix:format"],
- "cache": false
- },
- "fix:format": {
- "dependsOn": ["//#install:modules", "fix:lint"],
- "cache": false
- },
- "fix:lint": {
- "dependsOn": ["//#install:modules", "^build"],
- "cache": false
- },
- "pull:env": {
- "dependsOn": ["//#install:modules"],
- "outputs": [".env.local"],
- "cache": false
- },
- "start:dev": {
- "dependsOn": ["//#install:modules", "pull:env", "^build"],
- "persistent": true,
- "cache": false
- },
- "start:prod": {
- "dependsOn": ["//#install:modules", "build"],
- "persistent": true,
- "cache": false
- },
- "test": {
- "dependsOn": [
- "test:types",
- "test:unit",
- "test:integration",
- "test:format",
- "test:lint"
- ]
- },
- "test:format": {
- "dependsOn": ["//#install:modules"]
- },
- "test:lint": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "test:types": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "test:unit": {
- "dependsOn": ["//#install:modules", "^build"]
- },
- "test:integration": {
- "dependsOn": ["//#install:modules", "^build"]
- }
- }
- }
|