diff --git a/examples/react-router/package.json b/examples/react-router/package.json index 2e3507f..8c91aab 100644 --- a/examples/react-router/package.json +++ b/examples/react-router/package.json @@ -8,8 +8,7 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "format": "prettier --write '**/*.{js,ts,tsx,mts,md,json,yml,yaml,css,html,json}'", - "format:verify": "prettier --check '**/*.{js,ts,tsx,mts,md,json,yml,yaml,css,html,json}'" + "format": "prettier --write '**/*.{js,ts,tsx,mts,md,json,yml,yaml,css,html,json}'" }, "dependencies": { "react": "^18.2.0", diff --git a/package.json b/package.json index 281bfde..97f38e3 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "build:examples": "pnpm turbo build", "check": "tsc --noEmit", "check:examples": "pnpm turbo check", - "format": "npm run format:pkg && turbo run format --continue --parallel", + "format": "npm run format:pkg && npm run format:lib && turbo run format --continue --parallel", + "format:lib": "prettier --write './src/**/*.{js,ts,tsx,mts,md,json,yml,yaml,css,html,json}'", "format:pkg": "prettier-package-json --write package.json apps/*/package.json packages/*/package.json", - "format:verify": "turbo run format:verify --continue --parallel", "release": "release-it", "test": "jest", "watch": "tsc --watch" diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e1fec93..c25addb 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,2 @@ packages: - - 'examples/*' + - "examples/*"