gameforce 0.0.1 → 0.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/bin/index.js +19 -0
- package/package.json +18 -2
package/bin/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// GameForce placeholder: the builder is not open yet. No network, no files written.
|
|
3
|
+
const tty = process.stdout.isTTY && !process.env.NO_COLOR;
|
|
4
|
+
const c = (code, s) => (tty ? `\x1b[${code}m${s}\x1b[0m` : s);
|
|
5
|
+
// The brand violet #7c3aed where the terminal shows exact colors; the nearest
|
|
6
|
+
// true purple (256 colour 93) elsewhere, never the blue leaning 99.
|
|
7
|
+
const truecolor = /truecolor|24bit/i.test(process.env.COLORTERM || "") ||
|
|
8
|
+
["iTerm.app", "vscode", "WezTerm", "ghostty"].includes(process.env.TERM_PROGRAM || "");
|
|
9
|
+
const purple = (s) => c(truecolor ? "38;2;124;58;237" : "38;5;93", s);
|
|
10
|
+
const bold = (s) => c("1", s);
|
|
11
|
+
const dim = (s) => c("2", s);
|
|
12
|
+
console.log("");
|
|
13
|
+
console.log(" " + purple(bold("GameForce")) + dim(" the operating system for sales"));
|
|
14
|
+
console.log("");
|
|
15
|
+
console.log(" " + purple("Atlas:") + " Hi! The GameForce builder is coming soon. It unlocks this week.");
|
|
16
|
+
console.log(" Build your own sales apps on GameForceOS, right here in your terminal.");
|
|
17
|
+
console.log("");
|
|
18
|
+
console.log(" Join the developer preview: " + bold("https://gameforce.ai/developers"));
|
|
19
|
+
console.log("");
|
package/package.json
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gameforce",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "GameForceOS: build your own sales apps on GameForce with Atlas. Coming soon.",
|
|
5
5
|
"homepage": "https://gameforce.ai/developers",
|
|
6
6
|
"author": "GameForce",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
|
-
"keywords": [
|
|
8
|
+
"keywords": [
|
|
9
|
+
"gameforce",
|
|
10
|
+
"gameforceos",
|
|
11
|
+
"atlas",
|
|
12
|
+
"crm",
|
|
13
|
+
"sales"
|
|
14
|
+
],
|
|
15
|
+
"bin": {
|
|
16
|
+
"gameforce": "bin/index.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"bin",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=18"
|
|
24
|
+
}
|
|
9
25
|
}
|