tshex-cli 1.0.7 → 1.0.9

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/build/main.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import { program } from 'commander';
3
3
  import fs from 'fs';
4
4
  import path from 'path';
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "tshex-cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "author": "https://github.com/virtualitems/",
5
5
  "description": "Typescript Hexagonal Architecture CLI",
6
6
  "type": "module",
7
7
  "main": "./build/main.js",
8
8
  "keywords": [
9
9
  "architecture",
10
+ "clean-architecture",
11
+ "clean",
10
12
  "cli",
11
13
  "ddd",
12
14
  "design-patterns",
@@ -16,11 +18,13 @@
16
18
  "pattern",
17
19
  "software-architecture",
18
20
  "tshex",
19
- "typescript"
21
+ "tshex-cli",
22
+ "typescript",
23
+ "virtualitems"
20
24
  ],
21
- "homepage": "https://github.com/virtualitems/typescript-codebase/tree/tshex-cli",
25
+ "homepage": "https://github.com/virtualitems/tshex-cli/",
22
26
  "bugs": {
23
- "url": "https://github.com/virtualitems/typescript-codebase/issues"
27
+ "url": "https://github.com/virtualitems/tshex-cli/issues"
24
28
  },
25
29
  "files": [
26
30
  "./build",
@@ -44,4 +48,4 @@
44
48
  "bin": {
45
49
  "tshex": "./build/main.js"
46
50
  }
47
- }
51
+ }
package/readme.md CHANGED
@@ -28,6 +28,15 @@ npm install -g tshex-cli
28
28
 
29
29
  # Usage
30
30
 
31
+ > Remember to replace placeholders `<...>` with the actual data.
32
+ >
33
+
34
+ ## Getting started
35
+
36
+ ```bash
37
+ tshex --lib <library-name> --ctx <context-name>
38
+ ```
39
+
31
40
  ## Help
32
41
 
33
42
  ```bash
@@ -63,5 +72,5 @@ tshex --rfc <name>
63
72
  ## Set the directory to create the new items
64
73
 
65
74
  ```bash
66
- tshex --lib <name> --ctx <name> --dir <path>
75
+ tshex --lib <lib-name> --ctx <ctx-name> --dir <path>
67
76
  ```
@@ -20,12 +20,12 @@ type Props = React.HTMLProps<HTMLElement> & {};
20
20
  /**
21
21
  * @description
22
22
  */
23
- export default function (props: Props): React.ReactElement
23
+ export default function __COMPONENT__(props: Props): React.ReactElement
24
24
  {
25
25
 
26
- // MODEL -----------------------------
26
+ // MODELS -----------------------------
27
27
 
28
- // VIEW MODEL ------------------------
28
+ // VIEW MODELS ------------------------
29
29
 
30
30
  // EFFECTS ---------------------------
31
31