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