From edbcf1ce32269b22877f94899e19fdfc3db060db Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 8 Jul 2023 02:44:07 -0400 Subject: [PATCH] fix: add templates to npm, and move out of src --- .prettierignore | 2 +- package.json | 6 +++++- {src/templates => templates}/scripts.yaml | 0 {src/templates => templates}/vite.config.js | 0 4 files changed, 6 insertions(+), 2 deletions(-) rename {src/templates => templates}/scripts.yaml (100%) rename {src/templates => templates}/vite.config.js (100%) diff --git a/.prettierignore b/.prettierignore index 15270f2..01b4bfe 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1 @@ -src/templates/vite.config.js +templates/vite.config.js diff --git a/package.json b/package.json index 3d20a34..d3c0fc7 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,9 @@ }, "publishConfig": { "access": "public" - } + }, + "files": [ + "lib", + "templates" + ] } diff --git a/src/templates/scripts.yaml b/templates/scripts.yaml similarity index 100% rename from src/templates/scripts.yaml rename to templates/scripts.yaml diff --git a/src/templates/vite.config.js b/templates/vite.config.js similarity index 100% rename from src/templates/vite.config.js rename to templates/vite.config.js