@only1btayy/g2w 1.0.26 → 1.0.27
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 +14 -2
- package/bin/g2w.js +4 -1
- package/lib/install.js +37 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -209,7 +209,19 @@ Safe git operations — add, commit, push, status, log — run without approval
|
|
|
209
209
|
npm install -g @only1btayy/g2w && g2w
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
That's it. G2W installs globally into `~/.claude/` automatically — skills and
|
|
212
|
+
That's it. G2W installs globally into `~/.claude/` automatically — skills, hooks, and design tools ready in every project, everywhere.
|
|
213
|
+
|
|
214
|
+
To update:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
g2w update
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
To see optional Power-Ups:
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
g2w power-ups
|
|
224
|
+
```
|
|
213
225
|
|
|
214
226
|
To uninstall:
|
|
215
227
|
|
|
@@ -217,7 +229,7 @@ To uninstall:
|
|
|
217
229
|
npm uninstall -g @only1btayy/g2w
|
|
218
230
|
```
|
|
219
231
|
|
|
220
|
-
Skills and
|
|
232
|
+
Skills, hooks, and MCP servers are removed from `~/.claude/` automatically.
|
|
221
233
|
|
|
222
234
|
> **Tip:** The logo renders in **bright green** in any terminal. On Windows Terminal or iTerm2, enable Retro/Bloom effects for the full glow.
|
|
223
235
|
|
package/bin/g2w.js
CHANGED
|
@@ -7,12 +7,15 @@ if (command === 'install') {
|
|
|
7
7
|
require('../lib/install').run();
|
|
8
8
|
} else if (command === 'update') {
|
|
9
9
|
require('../lib/install').update();
|
|
10
|
+
} else if (command === 'power-ups' || command === 'powerups') {
|
|
11
|
+
require('../lib/install').powerups();
|
|
10
12
|
} else if (command === 'uninstall') {
|
|
11
13
|
require('../lib/install').uninstall();
|
|
12
14
|
} else {
|
|
13
15
|
process.stdout.write(`${LOGO}
|
|
14
16
|
Usage:
|
|
15
|
-
g2w update — update skills to latest
|
|
17
|
+
g2w update — update skills, hooks, and tools to latest
|
|
18
|
+
g2w power-ups — show optional tools and setup links
|
|
16
19
|
g2w uninstall — remove G2W
|
|
17
20
|
|
|
18
21
|
`);
|
package/lib/install.js
CHANGED
|
@@ -261,9 +261,43 @@ Open any project with Claude Code and type:
|
|
|
261
261
|
|
|
262
262
|
async function update() {
|
|
263
263
|
const { base, label } = getTarget();
|
|
264
|
-
copySkills(base);
|
|
264
|
+
const { count } = copySkills(base);
|
|
265
265
|
copyHooks(base);
|
|
266
|
-
|
|
266
|
+
mergeHooks(base);
|
|
267
|
+
const mcpAdded = mergeMcpServers(base);
|
|
268
|
+
|
|
269
|
+
writeTTY(`
|
|
270
|
+
\x1b[32m✅ G2W updated at ${label}\x1b[0m
|
|
271
|
+
|
|
272
|
+
${count} skills synced
|
|
273
|
+
Hooks synced
|
|
274
|
+
${mcpAdded > 0 ? mcpAdded + ' new MCP servers added' : 'MCP servers up to date'}
|
|
275
|
+
|
|
276
|
+
`);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
async function powerups() {
|
|
280
|
+
writeTTY(`
|
|
281
|
+
\x1b[36mG2W Power-Ups\x1b[0m
|
|
282
|
+
|
|
283
|
+
\x1b[33mFree (just needs a key):\x1b[0m
|
|
284
|
+
→ 21st.dev — AI component generation https://21st.dev/magic/console
|
|
285
|
+
→ Motion — production animations https://plus.motion.dev/personal-token
|
|
286
|
+
→ Figma MCP — design-to-code from Figma https://figma.com
|
|
287
|
+
→ Marketing — 40+ SEO, copy, growth skills https://github.com/coreyhaines31/marketingskills
|
|
288
|
+
|
|
289
|
+
\x1b[33mResearch (paid):\x1b[0m
|
|
290
|
+
→ Exa — semantic search https://exa.ai
|
|
291
|
+
→ Firecrawl — deep doc crawling https://firecrawl.dev
|
|
292
|
+
|
|
293
|
+
\x1b[33mWorkflow:\x1b[0m
|
|
294
|
+
→ Repomix — pack codebases for AI https://github.com/yamadashy/repomix
|
|
295
|
+
→ MemPalace — persistent memory https://github.com/milla-jovovich/mempalace
|
|
296
|
+
→ Superpowers — enhanced planning + review https://github.com/supermemoryai/superpowers-claude
|
|
297
|
+
|
|
298
|
+
Visit the links above to get your keys, then configure them in ~/.claude/settings.json
|
|
299
|
+
|
|
300
|
+
`);
|
|
267
301
|
}
|
|
268
302
|
|
|
269
303
|
async function uninstall() {
|
|
@@ -279,4 +313,4 @@ async function uninstall() {
|
|
|
279
313
|
}
|
|
280
314
|
}
|
|
281
315
|
|
|
282
|
-
module.exports = { run, update, uninstall };
|
|
316
|
+
module.exports = { run, update, uninstall, powerups };
|