@tukuyomil032/bricklayer 1.0.2 → 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 -23
  2. package/dist/index.js +2 -3
  3. package/package.json +2 -2
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,19 +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
- bricklayer 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
- bricklayer 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
- bricklayer create -d ~/Documents/dev/CLI/my-test-project
43
-
44
- # available aliases
45
- bl create
50
+ $ brick create -d ~/Documents/dev/CLI/my-test-project
46
51
  ```
47
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
+
48
60
  Follow the interactive prompts to configure your project:
49
61
 
50
62
  - Project name
@@ -66,15 +78,16 @@ your-cli/
66
78
  ā”œā”€ā”€ .husky/ #options
67
79
  │ ā”œā”€ā”€ pre-commit
68
80
  │ └── pre-push
69
- ā”œā”€ā”€ .gitignore
70
- ā”œā”€ā”€ .prettierrc
71
- ā”œā”€ā”€ .prettierignore
72
81
  ā”œā”€ā”€ .editorconfig
82
+ ā”œā”€ā”€ .gitignore
73
83
  ā”œā”€ā”€ .npmignore
84
+ ā”œā”€ā”€ .npmrc
85
+ ā”œā”€ā”€ .prettierignore
86
+ ā”œā”€ā”€ .prettierrc
74
87
  ā”œā”€ā”€ eslint.config.js
75
88
  ā”œā”€ā”€ package.json
76
- ā”œā”€ā”€ tsconfig.json
77
- └── README.md
89
+ ā”œā”€ā”€ README.md
90
+ └── tsconfig.json
78
91
  ```
79
92
 
80
93
  ## Development
@@ -85,10 +98,10 @@ git clone https://github.com/tukuyomil032/bricklayer.git
85
98
  cd bricklayer
86
99
 
87
100
  # Install dependencies
88
- pnpm install
101
+ npm install
89
102
 
90
103
  # Build
91
- pnpm run build
104
+ npm run build
92
105
 
93
106
  # Test locally
94
107
  node dist/index.js create
@@ -96,10 +109,10 @@ node dist/index.js create
96
109
 
97
110
  ## Scripts
98
111
 
99
- - `pnpm run build` - Build the TypeScript project
100
- - `pnpm run dev` - Run in development mode
101
- - `pnpm run lint` - Lint the code
102
- - `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
103
116
 
104
117
  ## Requirements
105
118
 
package/dist/index.js CHANGED
@@ -3,10 +3,9 @@ import { createCommand } from './create/index.js';
3
3
  import { sampleCommand } from './sample.js';
4
4
  const program = new Command();
5
5
  program
6
- .name('bricklayer')
7
- .alias('bl')
6
+ .name('brick')
8
7
  .description('Interactive CLI to scaffold TypeScript CLI projects')
9
- .version('0.0.1');
8
+ .version('1.0.41');
10
9
  program.addCommand(createCommand());
11
10
  program.addCommand(sampleCommand());
12
11
  program.parseAsync(process.argv).catch((err) => {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tukuyomil032/bricklayer",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.41",
5
5
  "description": "Interactive TypeScript CLI project scaffolder",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
9
  "bin": {
10
- "bricklayer": "./dist/index.js"
10
+ "brick": "./dist/index.js"
11
11
  },
12
12
  "files": [
13
13
  "dist",