From e5c9b04f127bdd62693aa931a7296aed7adbb944 Mon Sep 17 00:00:00 2001 From: Aral Roca Date: Fri, 29 Sep 2023 12:50:03 +0200 Subject: [PATCH] chore: move create-brisa-app --- package.json | 4 ++-- .../create-brisa-app/create-brisa-app.sh | 0 src/create-brisa-app/package.json | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) rename create-brisa-app.sh => src/create-brisa-app/create-brisa-app.sh (100%) create mode 100644 src/create-brisa-app/package.json diff --git a/package.json b/package.json index 3371c027a..84317c515 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,7 @@ "out", "jsx-runtime", "jsx-dev-runtime", - "cli.sh", - "create-brisa-app.sh" + "cli.sh" ], "exports": { ".": { @@ -48,6 +47,7 @@ "build:jsx-dev-runtime": "bun build --minify --target=bun --outdir=jsx-dev-runtime src/jsx-runtime/index.ts && cp src/types/index.d.ts jsx-dev-runtime/index.d.ts", "test": "bun test", "test:coverage": "bun test --coverage", + "release-create-brisa-app": "cd src/create-brisa-app && npm publish --tag next && cd ../..", "release:alpha": "bun run build && npm publish --tag next && bun run clean", "clean": "rm -rf out jsx-runtime jsx-dev-runtime cli", "format": "bunx prettier --write ." diff --git a/create-brisa-app.sh b/src/create-brisa-app/create-brisa-app.sh similarity index 100% rename from create-brisa-app.sh rename to src/create-brisa-app/create-brisa-app.sh diff --git a/src/create-brisa-app/package.json b/src/create-brisa-app/package.json new file mode 100644 index 000000000..3a71b8740 --- /dev/null +++ b/src/create-brisa-app/package.json @@ -0,0 +1,15 @@ +{ + "name": "create-brisa-app", + "version": "0.1.0-alpha.5", + "license": "MIT", + "author": { + "name": "Aral Roca Gòmez", + "email": "contact@aralroca.com" + }, + "files": [ + "create-brisa-app.sh" + ], + "bin": { + "create-brisa-app": "./create-brisa-app.sh" + } +} \ No newline at end of file