@only1btayy/g2w 1.0.1 → 1.0.2

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 CHANGED
@@ -16,7 +16,7 @@ This is not a workflow system. Not a task runner. This is a protocol for buildin
16
16
 
17
17
  ---
18
18
 
19
- [![npm version](https://img.shields.io/badge/npm-v0.1.0-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/g2w)
19
+ [![npm version](https://img.shields.io/badge/npm-v1.0.2-CB3837?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/@only1btayy/g2w)
20
20
  [![license](https://img.shields.io/badge/license-MIT-6e7681?style=for-the-badge)](LICENSE)
21
21
  [![platform](https://img.shields.io/badge/platform-Claude%20Code-8957e5?style=for-the-badge)](https://claude.ai/code)
22
22
  [![status](https://img.shields.io/badge/status-In%20Development-d29922?style=for-the-badge)]()
@@ -24,7 +24,7 @@ This is not a workflow system. Not a task runner. This is a protocol for buildin
24
24
  ---
25
25
 
26
26
  ```bash
27
- npm install -g g2w
27
+ npm install -g @only1btayy/g2w
28
28
  ```
29
29
 
30
30
  ```bash
@@ -32,10 +32,7 @@ g2w install
32
32
  ```
33
33
 
34
34
  ```
35
- 1. Global ~/.claude/ available in all projects
36
- 2. Local ./.claude/ this project only
37
-
38
- ✅ G2W installed — 9 skills + hooks ready.
35
+ G2W installed at ~/.claude/ 9 skills + hooks ready.
39
36
  ```
40
37
 
41
38
  **Works on Mac, Windows, and Linux.**
@@ -152,23 +149,10 @@ Safe git operations — add, commit, push, status, log — run without approval
152
149
  ## How 2 Install
153
150
 
154
151
  ```bash
155
- npm install -g g2w
156
- ```
157
-
158
- Then `cd` into your project and run:
159
-
160
- ```bash
161
- g2w install
162
- ```
163
-
164
- You'll be asked:
165
-
166
- ```
167
- 1. Global ~/.claude/ available in all projects
168
- 2. Local ./.claude/ this project only
152
+ npm install -g @only1btayy/g2w
169
153
  ```
170
154
 
171
- Pick 1 to set it and forget it. Pick 2 if you want G2W in just one project.
155
+ That's it. G2W installs globally into `~/.claude/` automatically skills and hooks ready in every project, everywhere.
172
156
 
173
157
  > **Tip:** The logo renders in **bright green** in any terminal. On Windows Terminal or iTerm2, enable Retro/Bloom effects for the full glow.
174
158
 
package/lib/install.js CHANGED
@@ -144,3 +144,5 @@ async function uninstall() {
144
144
  }
145
145
 
146
146
  module.exports = { run, update, uninstall };
147
+
148
+ if (require.main === module) run();
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@only1btayy/g2w",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "G2W — a relationship protocol for building trust with AI",
5
5
  "bin": {
6
6
  "g2w": "bin/g2w.js"
7
7
  },
8
+ "scripts": {
9
+ "postinstall": "node lib/install.js"
10
+ },
8
11
  "files": [
9
12
  "bin/",
10
13
  "lib/",