@openbee/openbee 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/package.json +4 -3
- package/scripts/postinstall.js +36 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openbee/openbee",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "OpenBee —
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "OpenBee — A hive of specialized AI bees collaborating with unique roles and capacities. Join us to build a user-friendly, strong, and secure AI agent/skills CLI tool!",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"postinstall": "node scripts/postinstall.js"
|
|
8
9
|
},
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Post-installation script for @openbee/openbee
|
|
3
|
+
* Displays a welcome message and a call for talents.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const projectInfo = {
|
|
7
|
+
name: "OpenBee",
|
|
8
|
+
description: "Busy as a Bee, Smart as AI, Automated for You",
|
|
9
|
+
tagline: "Building a user-friendly, strong, and secure AI agent/skills CLI tool.",
|
|
10
|
+
collaboration: "A hive of specialized AI bees working in harmony, where every role contributes unique strengths and distinct capacities to make complex tasks happen.",
|
|
11
|
+
github: "https://github.com/sanpiekankan/openbee"
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const colors = {
|
|
15
|
+
reset: "\x1b[0m",
|
|
16
|
+
bright: "\x1b[1m",
|
|
17
|
+
cyan: "\x1b[36m",
|
|
18
|
+
yellow: "\x1b[33m",
|
|
19
|
+
green: "\x1b[32m",
|
|
20
|
+
magenta: "\x1b[35m"
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
function displayWelcomeMessage() {
|
|
24
|
+
const line = "=".repeat(60);
|
|
25
|
+
|
|
26
|
+
console.log(`\n${colors.cyan}${line}${colors.reset}`);
|
|
27
|
+
console.log(`${colors.bright}${colors.yellow}Welcome to ${projectInfo.name}!${colors.reset}`);
|
|
28
|
+
console.log(`${colors.green}${projectInfo.description}${colors.reset}`);
|
|
29
|
+
console.log(`\n${projectInfo.tagline}`);
|
|
30
|
+
console.log(`\n${colors.magenta}${projectInfo.collaboration}${colors.reset}`);
|
|
31
|
+
console.log(`\n${colors.bright}We are looking for talents to join this open-source project!${colors.reset}`);
|
|
32
|
+
console.log(`Check us out at: ${colors.cyan}${projectInfo.github}${colors.reset}`);
|
|
33
|
+
console.log(`${colors.cyan}${line}${colors.reset}\n`);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
displayWelcomeMessage();
|