From 931e621568652c9c9b11580b5521b10b115ad481 Mon Sep 17 00:00:00 2001 From: Sadegh Barati Date: Wed, 13 Sep 2023 22:13:47 +0330 Subject: [PATCH] chore: lint --- packages/cli/test/fixtures/colors/neutral.json | 2 +- packages/cli/test/fixtures/colors/slate.json | 2 +- packages/cli/test/fixtures/colors/stone.json | 2 +- packages/cli/test/fixtures/colors/zinc.json | 2 +- packages/cli/test/fixtures/config-full/package.json | 4 ++-- packages/cli/test/fixtures/config-invalid/package.json | 4 ++-- packages/cli/test/fixtures/config-jsx/package.json | 4 ++-- packages/cli/test/fixtures/config-none/package.json | 4 ++-- packages/cli/test/fixtures/config-partial/package.json | 4 ++-- packages/cli/test/fixtures/project-bun/package.json | 4 ++-- packages/cli/test/fixtures/project-npm/package.json | 4 ++-- packages/cli/test/fixtures/project-pnpm/package.json | 4 ++-- packages/cli/test/fixtures/project-yarn/package.json | 4 ++-- 13 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/cli/test/fixtures/colors/neutral.json b/packages/cli/test/fixtures/colors/neutral.json index c2488562..6c8c8c9b 100644 --- a/packages/cli/test/fixtures/colors/neutral.json +++ b/packages/cli/test/fixtures/colors/neutral.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 0 0% 63.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n \n --ring: 0 0% 14.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/packages/cli/test/fixtures/colors/slate.json b/packages/cli/test/fixtures/colors/slate.json index 46469cb7..56da16ff 100644 --- a/packages/cli/test/fixtures/colors/slate.json +++ b/packages/cli/test/fixtures/colors/slate.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n \n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n \n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n \n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n \n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n \n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n \n --ring: 215 20.2% 65.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n \n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n \n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n \n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n \n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n \n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n \n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n \n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n \n --ring: 217.2 32.6% 17.5%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/packages/cli/test/fixtures/colors/stone.json b/packages/cli/test/fixtures/colors/stone.json index 05e92bb5..d38b3eaa 100644 --- a/packages/cli/test/fixtures/colors/stone.json +++ b/packages/cli/test/fixtures/colors/stone.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 20 14.3% 4.1%;\n \n --muted: 60 4.8% 95.9%;\n --muted-foreground: 25 5.3% 44.7%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 20 14.3% 4.1%;\n \n --card: 0 0% 100%;\n --card-foreground: 20 14.3% 4.1%;\n \n --border: 20 5.9% 90%;\n --input: 20 5.9% 90%;\n \n --primary: 24 9.8% 10%;\n --primary-foreground: 60 9.1% 97.8%;\n \n --secondary: 60 4.8% 95.9%;\n --secondary-foreground: 24 9.8% 10%;\n \n --accent: 60 4.8% 95.9%;\n --accent-foreground: 24 9.8% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --ring: 24 5.4% 63.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 60 9.1% 97.8%;\n \n --muted: 12 6.5% 15.1%;\n --muted-foreground: 24 5.4% 63.9%;\n \n --popover: 20 14.3% 4.1%;\n --popover-foreground: 60 9.1% 97.8%;\n \n --card: 20 14.3% 4.1%;\n --card-foreground: 60 9.1% 97.8%;\n \n --border: 12 6.5% 15.1%;\n --input: 12 6.5% 15.1%;\n \n --primary: 60 9.1% 97.8%;\n --primary-foreground: 24 9.8% 10%;\n \n --secondary: 12 6.5% 15.1%;\n --secondary-foreground: 60 9.1% 97.8%;\n \n --accent: 12 6.5% 15.1%;\n --accent-foreground: 60 9.1% 97.8%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n \n --ring: 12 6.5% 15.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/packages/cli/test/fixtures/colors/zinc.json b/packages/cli/test/fixtures/colors/zinc.json index c26bf0e8..a15e2401 100644 --- a/packages/cli/test/fixtures/colors/zinc.json +++ b/packages/cli/test/fixtures/colors/zinc.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n \n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n \n --border: 240 5.9% 90%;\n --input: 240 5.9% 90%;\n \n --primary: 240 5.9% 10%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n \n --accent: 240 4.8% 95.9%;\n --accent-foreground: 240 5.9% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 240 5% 64.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 240 10% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 240 3.7% 15.9%;\n --muted-foreground: 240 5% 64.9%;\n \n --popover: 240 10% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 240 10% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 240 3.7% 15.9%;\n --input: 240 3.7% 15.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 240 5.9% 10%;\n \n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 240 3.7% 15.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 85.7% 97.3%;\n \n --ring: 240 3.7% 15.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/packages/cli/test/fixtures/config-full/package.json b/packages/cli/test/fixtures/config-full/package.json index 833dc70a..dcc5da88 100644 --- a/packages/cli/test/fixtures/config-full/package.json +++ b/packages/cli/test/fixtures/config-full/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-config-full", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/config-invalid/package.json b/packages/cli/test/fixtures/config-invalid/package.json index 79b27998..21a9a1bf 100644 --- a/packages/cli/test/fixtures/config-invalid/package.json +++ b/packages/cli/test/fixtures/config-invalid/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-config-invalid", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/config-jsx/package.json b/packages/cli/test/fixtures/config-jsx/package.json index b239ba4a..7c1d2909 100644 --- a/packages/cli/test/fixtures/config-jsx/package.json +++ b/packages/cli/test/fixtures/config-jsx/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-config-partial", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/config-none/package.json b/packages/cli/test/fixtures/config-none/package.json index 74c6960a..82f1e945 100644 --- a/packages/cli/test/fixtures/config-none/package.json +++ b/packages/cli/test/fixtures/config-none/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-config-none", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/config-partial/package.json b/packages/cli/test/fixtures/config-partial/package.json index b239ba4a..7c1d2909 100644 --- a/packages/cli/test/fixtures/config-partial/package.json +++ b/packages/cli/test/fixtures/config-partial/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-config-partial", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/project-bun/package.json b/packages/cli/test/fixtures/project-bun/package.json index b8cfd201..c5e0fcbb 100644 --- a/packages/cli/test/fixtures/project-bun/package.json +++ b/packages/cli/test/fixtures/project-bun/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-project-bun", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/project-npm/package.json b/packages/cli/test/fixtures/project-npm/package.json index 68c468ac..41d21522 100644 --- a/packages/cli/test/fixtures/project-npm/package.json +++ b/packages/cli/test/fixtures/project-npm/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-project-npm", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/project-pnpm/package.json b/packages/cli/test/fixtures/project-pnpm/package.json index af855da3..9c565949 100644 --- a/packages/cli/test/fixtures/project-pnpm/package.json +++ b/packages/cli/test/fixtures/project-pnpm/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-project-pnpm", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" } diff --git a/packages/cli/test/fixtures/project-yarn/package.json b/packages/cli/test/fixtures/project-yarn/package.json index ed044dce..c9ef7109 100644 --- a/packages/cli/test/fixtures/project-yarn/package.json +++ b/packages/cli/test/fixtures/project-yarn/package.json @@ -1,7 +1,7 @@ { "name": "test-cli-project-yarn", "version": "1.0.0", - "main": "index.js", "author": "shadcn", - "license": "MIT" + "license": "MIT", + "main": "index.js" }