cdp-docs-cli 1.0.0 → 1.0.1
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
@@ -11,8 +11,9 @@ npm install -g cdp-docs-cli
|
|
11
11
|
|
12
12
|
### Using npx (No Installation Required)
|
13
13
|
```bash
|
14
|
-
|
15
|
-
|
14
|
+
# Install globally first, then use commands
|
15
|
+
npm install -g cdp-docs-cli
|
16
|
+
cdp-setup
|
16
17
|
```
|
17
18
|
|
18
19
|
## 🎯 What This Package Does
|
@@ -29,7 +30,11 @@ When you install and run this CLI tool, it will:
|
|
29
30
|
|
30
31
|
### Interactive Setup (Recommended)
|
31
32
|
```bash
|
32
|
-
|
33
|
+
# Install globally first
|
34
|
+
npm install -g cdp-docs-cli
|
35
|
+
|
36
|
+
# Then run interactive setup
|
37
|
+
cdp-setup
|
33
38
|
```
|
34
39
|
|
35
40
|
This will guide you through:
|
@@ -40,17 +45,20 @@ This will guide you through:
|
|
40
45
|
|
41
46
|
### Manual Setup
|
42
47
|
```bash
|
48
|
+
# Install globally first
|
49
|
+
npm install -g cdp-docs-cli
|
50
|
+
|
43
51
|
# Setup documentation only
|
44
|
-
|
52
|
+
cdp-docs setup
|
45
53
|
|
46
54
|
# List available documentation
|
47
|
-
|
55
|
+
cdp-docs list
|
48
56
|
|
49
57
|
# Setup with custom path
|
50
|
-
|
58
|
+
cdp-docs setup --path ./docs/coinbase
|
51
59
|
|
52
60
|
# Force overwrite existing files
|
53
|
-
|
61
|
+
cdp-docs setup --force
|
54
62
|
```
|
55
63
|
|
56
64
|
## 📁 Generated Directory Structure
|
@@ -195,6 +203,7 @@ MIT
|
|
195
203
|
|
196
204
|
## 🆘 Support
|
197
205
|
|
206
|
+
- **NPM Package**: [https://www.npmjs.com/package/cdp-docs-cli](https://www.npmjs.com/package/cdp-docs-cli)
|
198
207
|
- **CDP Documentation**: [https://docs.cdp.coinbase.com/](https://docs.cdp.coinbase.com/)
|
199
208
|
- **Base Network**: [https://base.org/](https://base.org/)
|
200
209
|
- **Issues**: [GitHub Issues](https://github.com/must-be-ash/cdp-docs-cli/issues)
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "cdp-docs-cli",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"description": "CLI tool to set up CDP (Coinbase Developer Platform) documentation and integration in your project",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"bin": {
|
8
|
-
"cdp-docs": "
|
9
|
-
"cdp-setup": "
|
8
|
+
"cdp-docs": "bin/cdp-docs.js",
|
9
|
+
"cdp-setup": "bin/cdp-setup.js"
|
10
10
|
},
|
11
11
|
"scripts": {
|
12
12
|
"build": "tsc",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"license": "MIT",
|
30
30
|
"repository": {
|
31
31
|
"type": "git",
|
32
|
-
"url": "https://github.com/must-be-ash/cdp-docs-cli.git"
|
32
|
+
"url": "git+https://github.com/must-be-ash/cdp-docs-cli.git"
|
33
33
|
},
|
34
34
|
"homepage": "https://github.com/must-be-ash/cdp-docs-cli#readme",
|
35
35
|
"bugs": {
|
@@ -56,4 +56,4 @@
|
|
56
56
|
"engines": {
|
57
57
|
"node": ">=16.0.0"
|
58
58
|
}
|
59
|
-
}
|
59
|
+
}
|
@@ -36,7 +36,7 @@ Your Next.js project needs **Coinbase Developer Platform (CDP) Wallet API v2** i
|
|
36
36
|
|
37
37
|
#### Examples & Documentation
|
38
38
|
- [ ] Create `examples/wallet-demo.ts` - Demo usage example
|
39
|
-
- [ ]
|
39
|
+
- [ ] Review `/doc/cdp/integration/SETUP-CDP-WALLET.md` - User setup guide (already provided)
|
40
40
|
|
41
41
|
### Main Page Integration
|
42
42
|
- [ ] Update `src/app/page.tsx` to use WalletDashboard component
|