@tukuyomil032/bricklayer 1.0.3 → 1.0.41

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.
Files changed (3) hide show
  1. package/README.md +36 -20
  2. package/dist/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,12 +6,17 @@ Quickly generate a well-structured TypeScript CLI project with best practices bu
6
6
 
7
7
  ## Features
8
8
 
9
- ✨ **Interactive Setup** - Guided prompts for project configuration
10
- šŸ“¦ **Latest Packages** - Automatically fetches the latest npm package versions
11
- šŸŽØ **Optional Tools** - Choose Prettier and ESLint during setup
12
- šŸŖ **Git Hooks** - Pre-configured Husky hooks with lint-staged
13
- šŸ—ļø **Clean Structure** - Role-separated files and commands
14
- ⚔ **Multiple Package Managers** - Support for pnpm, npm, yarn, and bun
9
+ - ✨ **Interactive Setup** - Guided prompts for project configuration
10
+ - šŸ“¦ **Latest Packages** - Automatically fetches the latest npm package versions
11
+ - šŸŽØ **Optional Tools** - Choose Prettier and ESLint during setup
12
+ - šŸŖ **Git Hooks** - Pre-configured Husky hooks with lint-staged
13
+ - šŸ—ļø **Clean Structure** - Role-separated files and commands
14
+ - ⚔ **Multiple Package Managers** - Support for pnpm, npm, yarn, and bun
15
+
16
+ ## Prerequisites
17
+
18
+ - Node.js 18+
19
+ - npm, pnpm, yarn, bun
15
20
 
16
21
  ## Installation
17
22
 
@@ -32,16 +37,26 @@ bun add -g @tukuyomil032/bricklayer
32
37
 
33
38
  ```bash
34
39
  # When treating the current directory during command execution as the project's root folder:
35
- brick create
40
+ $ brick create
41
+
42
+ # To view the help screen:
43
+ $ brick -h
36
44
 
37
45
  # If you want to specify the project's root folder yourself (we generally recommend using this option):
38
46
  # Use the arrow keys (up and down) and the Enter key to navigate to the project's root folder.
39
- brick create -d
47
+ $ brick create -d
40
48
 
41
49
  # You can also specify a project folder directly by entering a relative path after the `-d` option.
42
- brick create -d ~/Documents/dev/CLI/my-test-project
50
+ $ brick create -d ~/Documents/dev/CLI/my-test-project
43
51
  ```
44
52
 
53
+ ## Available Options
54
+
55
+ - ``-h --help`` - display help for command
56
+ - ``-V --version`` - output the version number
57
+ - ``-d --destination`` - Specify the project creation directory
58
+ - This option can be used either to manually select the directory path where the project will be created, or to specify a relative path by entering it directly after ā€œ-dā€.
59
+
45
60
  Follow the interactive prompts to configure your project:
46
61
 
47
62
  - Project name
@@ -63,15 +78,16 @@ your-cli/
63
78
  ā”œā”€ā”€ .husky/ #options
64
79
  │ ā”œā”€ā”€ pre-commit
65
80
  │ └── pre-push
66
- ā”œā”€ā”€ .gitignore
67
- ā”œā”€ā”€ .prettierrc
68
- ā”œā”€ā”€ .prettierignore
69
81
  ā”œā”€ā”€ .editorconfig
82
+ ā”œā”€ā”€ .gitignore
70
83
  ā”œā”€ā”€ .npmignore
84
+ ā”œā”€ā”€ .npmrc
85
+ ā”œā”€ā”€ .prettierignore
86
+ ā”œā”€ā”€ .prettierrc
71
87
  ā”œā”€ā”€ eslint.config.js
72
88
  ā”œā”€ā”€ package.json
73
- ā”œā”€ā”€ tsconfig.json
74
- └── README.md
89
+ ā”œā”€ā”€ README.md
90
+ └── tsconfig.json
75
91
  ```
76
92
 
77
93
  ## Development
@@ -82,10 +98,10 @@ git clone https://github.com/tukuyomil032/bricklayer.git
82
98
  cd bricklayer
83
99
 
84
100
  # Install dependencies
85
- pnpm install
101
+ npm install
86
102
 
87
103
  # Build
88
- pnpm run build
104
+ npm run build
89
105
 
90
106
  # Test locally
91
107
  node dist/index.js create
@@ -93,10 +109,10 @@ node dist/index.js create
93
109
 
94
110
  ## Scripts
95
111
 
96
- - `pnpm run build` - Build the TypeScript project
97
- - `pnpm run dev` - Run in development mode
98
- - `pnpm run lint` - Lint the code
99
- - `pnpm run format` - Format the code with Prettier
112
+ - `npm run build` - Build the TypeScript project
113
+ - `npm run dev` - Run in development mode
114
+ - `npm run lint` - Lint the code
115
+ - `npm run format` - Format the code with Prettier
100
116
 
101
117
  ## Requirements
102
118
 
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ const program = new Command();
5
5
  program
6
6
  .name('brick')
7
7
  .description('Interactive CLI to scaffold TypeScript CLI projects')
8
- .version('1.0.3');
8
+ .version('1.0.41');
9
9
  program.addCommand(createCommand());
10
10
  program.addCommand(sampleCommand());
11
11
  program.parseAsync(process.argv).catch((err) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tukuyomil032/bricklayer",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.0.41",
5
5
  "description": "Interactive TypeScript CLI project scaffolder",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",