@clawmarket.cc/marketcc 0.1.0 → 0.1.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/package.json +5 -3
- package/postinstall.js +36 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clawmarket.cc/marketcc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI for ClawMarket — upload, manage, and download OpenClaw bots",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
11
|
"dev": "tsx src/index.ts",
|
|
12
|
-
"prepublishOnly": "npm run build"
|
|
12
|
+
"prepublishOnly": "npm run build",
|
|
13
|
+
"postinstall": "node postinstall.js"
|
|
13
14
|
},
|
|
14
15
|
"engines": {
|
|
15
16
|
"node": ">=20.0.0"
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"typescript": "^5.7.0"
|
|
28
29
|
},
|
|
29
30
|
"files": [
|
|
30
|
-
"dist"
|
|
31
|
+
"dist",
|
|
32
|
+
"postinstall.js"
|
|
31
33
|
],
|
|
32
34
|
"keywords": [
|
|
33
35
|
"marketcc",
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const RESET = '\x1b[0m';
|
|
4
|
+
const BOLD = '\x1b[1m';
|
|
5
|
+
const DIM = '\x1b[2m';
|
|
6
|
+
const RED = '\x1b[31m';
|
|
7
|
+
const ORANGE = '\x1b[38;5;208m';
|
|
8
|
+
const YELLOW = '\x1b[33m';
|
|
9
|
+
const CYAN = '\x1b[36m';
|
|
10
|
+
const WHITE = '\x1b[37m';
|
|
11
|
+
const BG = '\x1b[48;5;16m';
|
|
12
|
+
|
|
13
|
+
const crab = `${RED}
|
|
14
|
+
___ ___
|
|
15
|
+
/ \\ / \\
|
|
16
|
+
| ${YELLOW}o${RED} | | ${YELLOW}o${RED} |
|
|
17
|
+
\\___/_____\\___/
|
|
18
|
+
/ ${ORANGE}\\^/${RED} \\
|
|
19
|
+
____/ ${ORANGE}( )${RED} \\____
|
|
20
|
+
/ ${ORANGE}/\\ \\_/ /\\${RED} \\
|
|
21
|
+
${ORANGE}~~${RED}/ ${ORANGE}~~ ~~${RED} \\${ORANGE}~~
|
|
22
|
+
~~ ~~${RESET}`;
|
|
23
|
+
|
|
24
|
+
console.log('');
|
|
25
|
+
console.log(crab);
|
|
26
|
+
console.log('');
|
|
27
|
+
console.log(` ${BOLD}${ORANGE}🦀 Welcome to ClawMarket${RESET}`);
|
|
28
|
+
console.log(` ${DIM}The marketplace for OpenClaw bots${RESET}`);
|
|
29
|
+
console.log('');
|
|
30
|
+
console.log(` ${CYAN}Get started:${RESET}`);
|
|
31
|
+
console.log(` ${WHITE}$ marketcc init${RESET} ${DIM}Set up configuration${RESET}`);
|
|
32
|
+
console.log(` ${WHITE}$ marketcc list${RESET} ${DIM}Browse the marketplace${RESET}`);
|
|
33
|
+
console.log(` ${WHITE}$ marketcc upload ./my-bot${RESET} ${DIM}Publish your first bot${RESET}`);
|
|
34
|
+
console.log('');
|
|
35
|
+
console.log(` ${DIM}Docs: https://clawmarket.cc${RESET}`);
|
|
36
|
+
console.log('');
|