create-aponia 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # create-aponia
2
+
3
+ Create a Bun-first Aponia application:
4
+
5
+ ```bash
6
+ bun create aponia my-api
7
+ bun create aponia my-api --skip-install
8
+ bun create aponia my-api --dry-run
9
+ ```
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bun
2
+ // @bun
3
+
4
+ // bin/create-aponia.ts
5
+ import { runCli } from "@aponiajs/cli";
6
+ var exitCode = await runCli(["new", ...Bun.argv.slice(2)]);
7
+ process.exitCode = exitCode;
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "create-aponia",
3
+ "version": "0.0.0",
4
+ "description": "Create a Bun-first Aponia application.",
5
+ "homepage": "https://github.com/aponiajs/aponiajs#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/aponiajs/aponiajs/issues"
8
+ },
9
+ "license": "MIT",
10
+ "author": "AponiaJS contributors",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/aponiajs/aponiajs.git",
14
+ "directory": "packages/create-aponia"
15
+ },
16
+ "bin": {
17
+ "create-aponia": "./dist/create-aponia.mjs"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "type": "module",
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "scripts": {
27
+ "build": "bun build ./bin/create-aponia.ts --target=bun --external @aponiajs/cli --outfile=dist/create-aponia.mjs",
28
+ "test": "bun test",
29
+ "prepublishOnly": "bun run build"
30
+ },
31
+ "dependencies": {
32
+ "@aponiajs/cli": "0.0.0"
33
+ }
34
+ }