@boostd/boost 0.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 ADDED
@@ -0,0 +1,36 @@
1
+ # @boostd/boost
2
+
3
+ `@boostd/boost` is a small placeholder CLI published ahead of the full Boost toolchain.
4
+
5
+ Right now it does one simple thing:
6
+ it boots, runs, and **reports “ok.”**
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install -g @boostd/boost
12
+ ```
13
+
14
+ ## Commands
15
+
16
+ - `boost up`
17
+ Starts the CLI and reports ok.
18
+
19
+ ## Why this exists
20
+
21
+ This package exists to:
22
+
23
+ - reserve the name
24
+ - validate install + execution
25
+ - establish the CLI shape (`boost up`)
26
+ - make sure nothing explodes
27
+
28
+ More functionality will land here as the Boost toolchain comes online.
29
+
30
+ ## Development
31
+
32
+ ```bash
33
+ npm install # install dependencies
34
+ npm run build # emit compiled files into dist/
35
+ npm run test # build + sanity-check the CLI output
36
+ ```
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ declare const args: string[];
3
+ declare const command: string;
4
+ declare const asciiOk = "+------------------+\n| |\n| OOOO KK KK |\n| OO OO KK KK |\n| OO OO KKKKK |\n| OO OO KK KK |\n| OOOO KK KK |\n| |\n+------------------+";
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ const args = process.argv.slice(2);
4
+ const [command] = args;
5
+ const asciiOk = `+------------------+
6
+ | |
7
+ | OOOO KK KK |
8
+ | OO OO KK KK |
9
+ | OO OO KKKKK |
10
+ | OO OO KK KK |
11
+ | OOOO KK KK |
12
+ | |
13
+ +------------------+`;
14
+ if (!command || command === "up") {
15
+ console.log(asciiOk);
16
+ }
17
+ else {
18
+ console.log("oh no");
19
+ process.exitCode = 1;
20
+ }
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AAEvB,MAAM,OAAO,GAAG;;;;;;;;qBAQK,CAAC;AAEtB,IAAI,CAAC,OAAO,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;IAC/B,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC;KAAM,CAAC;IACJ,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACrB,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACzB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@boostd/boost",
3
+ "version": "0.0.1",
4
+ "description": "Placeholder CLI for boost",
5
+ "engines": {
6
+ "node": ">=18"
7
+ },
8
+ "bin": {
9
+ "boost": "dist/index.js"
10
+ },
11
+ "main": "dist/index.js",
12
+ "types": "dist/index.d.ts",
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "scripts": {
17
+ "build": "tsc",
18
+ "prepublishOnly": "npm run build",
19
+ "test": "npm run build && node dist/index.js up"
20
+ },
21
+ "keywords": [
22
+ "boost",
23
+ "cli"
24
+ ],
25
+ "author": "",
26
+ "license": "ISC",
27
+ "devDependencies": {
28
+ "@types/node": "^25.1.0",
29
+ "typescript": "^5.9.3"
30
+ }
31
+ }