Commit 091ea4e
refactor: use bun init instead of copying template config files (#24)
* refactor: use bun init instead of copying template config files
- Remove template package.json, tsconfig.json, and .gitignore files
- Update init command to run `bun init -y` to generate project config
- Add proper error handling for when Bun is not installed
- Install @types/node dependency after project initialization
This approach is cleaner as it lets Bun generate the appropriate configuration
files instead of maintaining static template copies.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* ci: add Bun setup to GitHub Actions workflows
The init command now uses 'bun init -y' to create the TypeScript project,
so Bun needs to be installed in the CI environment for tests to pass.
Added oven-sh/setup-bun@v2 action to all test jobs (test, smoke, integration).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 8e63b74 commit 091ea4e
File tree
5 files changed
+61
-55
lines changed- .github/workflows
- src/commands
- templates/hooks
5 files changed
+61
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
116 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
117 | 126 | | |
118 | 127 | | |
119 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
120 | 133 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
125 | 163 | | |
126 | 164 | | |
127 | | - | |
| 165 | + | |
128 | 166 | | |
129 | 167 | | |
| 168 | + | |
130 | 169 | | |
131 | | - | |
| 170 | + | |
132 | 171 | | |
133 | 172 | | |
134 | 173 | | |
| |||
141 | 180 | | |
142 | 181 | | |
143 | 182 | | |
144 | | - | |
| 183 | + | |
145 | 184 | | |
146 | 185 | | |
147 | 186 | | |
148 | | - | |
| 187 | + | |
149 | 188 | | |
150 | 189 | | |
151 | 190 | | |
| |||
154 | 193 | | |
155 | 194 | | |
156 | 195 | | |
157 | | - | |
| 196 | + | |
158 | 197 | | |
159 | 198 | | |
160 | 199 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments