From 0b2ee01bc49cd18af3e1bb49d2becbdc3c8f7887 Mon Sep 17 00:00:00 2001 From: rossrobino Date: Thu, 3 Oct 2024 07:05:26 -0400 Subject: [PATCH] fix pck json formatting --- .changeset/cyan-teachers-repair.md | 5 +++++ packages/create-domco/src/template-files/package-json.ts | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .changeset/cyan-teachers-repair.md diff --git a/.changeset/cyan-teachers-repair.md b/.changeset/cyan-teachers-repair.md new file mode 100644 index 0000000..6588b41 --- /dev/null +++ b/.changeset/cyan-teachers-repair.md @@ -0,0 +1,5 @@ +--- +"create-domco": patch +--- + +fix package.json formatting diff --git a/packages/create-domco/src/template-files/package-json.ts b/packages/create-domco/src/template-files/package-json.ts index ac26520..c089e27 100644 --- a/packages/create-domco/src/template-files/package-json.ts +++ b/packages/create-domco/src/template-files/package-json.ts @@ -31,13 +31,11 @@ const getTemplateFiles: GetTemplateFile = ({ prettier && tailwind ? `"prettier-plugin-tailwindcss": "^${dependencies.prettierTailwind}",` : "" - } - ${ + }${ tailwind ? `"tailwindcss": "^${dependencies.tailwind}","autoprefixer": "^${dependencies.autoprefixer}",` : "" - } - "typescript": "^${dependencies.typescript}", + }"typescript": "^${dependencies.typescript}", "vite": "^${dependencies.vite}" } }