@aponiajs/cli 0.3.9 → 0.3.11

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 CHANGED
@@ -7,20 +7,20 @@ The Bun-native Aponia command-line interface.
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- bun add --dev @aponiajs/cli
10
+ bun add --global @aponiajs/cli
11
11
  ```
12
12
 
13
13
  ## Commands
14
14
 
15
15
  ```bash
16
- bunx aponia new my-api
17
- bunx aponia n my-api --dry-run
18
- bunx aponia new my-api --skip-install
19
- bunx aponia generate controller users
20
- bunx aponia g s users
21
- bunx aponia g resource users --type rest
22
- bunx aponia g router health --no-spec
23
- bunx aponia --version
16
+ aponia new my-api
17
+ aponia n my-api --dry-run
18
+ aponia new my-api --skip-install
19
+ aponia generate controller users
20
+ aponia g s users
21
+ aponia g resource users --type rest
22
+ aponia g router health --no-spec
23
+ aponia --version
24
24
  ```
25
25
 
26
26
  The generate command supports the complete built-in Nest schematic catalog:
@@ -34,12 +34,10 @@ registered in the nearest Aponia module unless `--skip-import` is used.
34
34
  Resource transports include REST, GraphQL code-first, GraphQL schema-first,
35
35
  microservices, and WebSockets.
36
36
 
37
- For one-command project creation, use the separately published
38
- [`create-aponia`](https://www.npmjs.com/package/create-aponia) entrypoint:
39
-
40
- ```bash
41
- bun create aponia my-api
42
- ```
37
+ The separately published
38
+ [`create-aponia`](https://www.npmjs.com/package/create-aponia) package delegates
39
+ to the same generator. The documented CLI workflow uses the globally installed
40
+ `aponia` command consistently.
43
41
 
44
42
  [npm package](https://www.npmjs.com/package/@aponiajs/cli) ·
45
43
  [complete CLI guide](../../docs/cli.md) ·
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import findFiles from "fast-glob";
7
7
  import { singularize } from "inflection";
8
8
  import { IndentationText, Node, Project, QuoteKind, SyntaxKind } from "ts-morph";
9
9
  //#region package.json
10
- var version = "0.3.9";
10
+ var version = "0.3.11";
11
11
  //#endregion
12
12
  //#region src/arguments.ts
13
13
  const generateSchematics = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aponiajs/cli",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "description": "Bun-native project generator and command-line interface for Aponia.",
5
5
  "homepage": "https://github.com/aponiajs/aponiajs#readme",
6
6
  "bugs": {