bun-sticky 1.0.3 → 1.0.4
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/PRODUCT-SHEET.md +124 -0
- package/PUBLISH-PROTOCOL.md +1 -0
- package/README.md +7 -7
- package/index.ts +4 -4
- package/package.json +2 -2
- package/project.faf +1 -1
package/PRODUCT-SHEET.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# bun-sticky
|
|
2
|
+
|
|
3
|
+
## Fastest bun under the sum
|
|
4
|
+
|
|
5
|
+
**Bun-native FAF scoring CLI with Wolfejam slot-based scoring**
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
### Zero Dependencies
|
|
12
|
+
Pure Bun APIs only. No node_modules bloat. No supply chain risk.
|
|
13
|
+
|
|
14
|
+
### TypeScript Native
|
|
15
|
+
No build step. No transpilation. Bun runs TypeScript directly.
|
|
16
|
+
|
|
17
|
+
### Wolfejam Slot-Based Scoring
|
|
18
|
+
21 slots across 5 categories. Type-aware scoring that knows CLI differs from fullstack.
|
|
19
|
+
|
|
20
|
+
### Instant Feedback
|
|
21
|
+
Cold start <50ms. Score command <100ms. Fast enough you'll actually use it.
|
|
22
|
+
|
|
23
|
+
### Bi-Sync
|
|
24
|
+
Keep project.faf and CLAUDE.md in sync. Non-destructive - preserves your content.
|
|
25
|
+
|
|
26
|
+
### Championship Testing
|
|
27
|
+
328 tests. WJTTC certified. Full Bun test API coverage.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
faf score # Show FAF score + tier
|
|
35
|
+
faf init myapp # Create project.faf
|
|
36
|
+
faf sync # Sync to CLAUDE.md
|
|
37
|
+
faf help # Show commands
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Tier System
|
|
43
|
+
|
|
44
|
+
| Score | Tier | Status |
|
|
45
|
+
|-------|------|--------|
|
|
46
|
+
| 100% | Trophy | Perfect |
|
|
47
|
+
| 99%+ | Gold | Exceptional |
|
|
48
|
+
| 95%+ | Silver | Excellent |
|
|
49
|
+
| 85%+ | Bronze | Production ready |
|
|
50
|
+
| 70%+ | Green | Solid |
|
|
51
|
+
| 55%+ | Yellow | Needs work |
|
|
52
|
+
| <55% | Red | Critical |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
# Specifications
|
|
57
|
+
|
|
58
|
+
## Scoring Categories
|
|
59
|
+
|
|
60
|
+
| Category | Slots | Fields |
|
|
61
|
+
|----------|-------|--------|
|
|
62
|
+
| Project | 3 | name, goal, main_language |
|
|
63
|
+
| Frontend | 4 | frontend, css_framework, ui_library, state_management |
|
|
64
|
+
| Backend | 5 | backend, api_type, runtime, database, connection |
|
|
65
|
+
| Universal | 3 | hosting, build, cicd |
|
|
66
|
+
| Human | 6 | who, what, why, where, when, how |
|
|
67
|
+
|
|
68
|
+
## Type-Aware Slot Counts
|
|
69
|
+
|
|
70
|
+
| Project Type | Applicable Slots |
|
|
71
|
+
|--------------|------------------|
|
|
72
|
+
| CLI | 9 |
|
|
73
|
+
| Library | 9 |
|
|
74
|
+
| API | 17 |
|
|
75
|
+
| Webapp | 16 |
|
|
76
|
+
| Fullstack | 21 |
|
|
77
|
+
|
|
78
|
+
## Formula
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Score = (Filled Slots / Applicable Slots) × 100
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Performance
|
|
85
|
+
|
|
86
|
+
| Metric | Target | Actual |
|
|
87
|
+
|--------|--------|--------|
|
|
88
|
+
| Cold start | <50ms | <50ms |
|
|
89
|
+
| Score command | <100ms | <100ms |
|
|
90
|
+
| Dependencies | 0 | 0 |
|
|
91
|
+
|
|
92
|
+
## Technical
|
|
93
|
+
|
|
94
|
+
| Spec | Value |
|
|
95
|
+
|------|-------|
|
|
96
|
+
| Runtime | Bun >=1.0.0 |
|
|
97
|
+
| Language | TypeScript (native) |
|
|
98
|
+
| Tests | 328 |
|
|
99
|
+
| License | MIT |
|
|
100
|
+
| Package Size | 24.4 kB |
|
|
101
|
+
|
|
102
|
+
## Installation
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# npm
|
|
106
|
+
npm install -g bun-sticky
|
|
107
|
+
|
|
108
|
+
# bunx (run directly)
|
|
109
|
+
bunx bun-sticky score
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Links
|
|
113
|
+
|
|
114
|
+
| Resource | URL |
|
|
115
|
+
|----------|-----|
|
|
116
|
+
| npm | https://npmjs.com/package/bun-sticky |
|
|
117
|
+
| GitHub | https://github.com/Wolfe-Jam/bun-sticky |
|
|
118
|
+
| FAF Ecosystem | https://faf.one |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
*Part of the FAF ecosystem. Built for Bun. Made for Claude Code.*
|
|
123
|
+
|
|
124
|
+
**v1.0.3** | MIT License | Zero Dependencies
|
package/PUBLISH-PROTOCOL.md
CHANGED
|
@@ -56,6 +56,7 @@ bunx bun-sticky help
|
|
|
56
56
|
| 1.0.1 | 2024-12-22 | Proper publish ceremony, version consistency |
|
|
57
57
|
| 1.0.2 | 2025-12-22 | Test fixes (rounding, TIERS export, Empty tier) |
|
|
58
58
|
| 1.0.3 | 2025-12-22 | Fix sync command overwriting CLAUDE.md |
|
|
59
|
+
| 1.0.4 | 2025-12-22 | Binary renamed to `faf` for ecosystem consistency |
|
|
59
60
|
|
|
60
61
|
---
|
|
61
62
|
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Fastest bun under the sum. Zero dependencies. Pure Bun.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
|
|
6
|
+
faf score
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
```
|
|
@@ -18,7 +18,7 @@ bunx bun-sticky score
|
|
|
18
18
|
████ █▄▀ ▀▄▀ █ █
|
|
19
19
|
▀▀
|
|
20
20
|
|
|
21
|
-
🥐 Bun Sticky v1.0.
|
|
21
|
+
🥐 Bun Sticky v1.0.4 .faf CLI
|
|
22
22
|
Fastest bun under the sum.
|
|
23
23
|
|
|
24
24
|
────────────────────────────────────────────────
|
|
@@ -36,7 +36,7 @@ bunx bun-sticky score
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
|
|
39
|
+
npm install -g bun-sticky
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Or run directly:
|
|
@@ -48,10 +48,10 @@ bunx bun-sticky score
|
|
|
48
48
|
## Commands
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
faf score # Show FAF score + tier
|
|
52
|
+
faf init myapp # Create project.faf
|
|
53
|
+
faf sync # Sync to CLAUDE.md
|
|
54
|
+
faf help # Show commands
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
## What is FAF?
|
package/index.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { getTier } from "./lib/tier.ts";
|
|
|
20
20
|
// CONSTANTS
|
|
21
21
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
22
22
|
|
|
23
|
-
const VERSION = "1.0.
|
|
23
|
+
const VERSION = "1.0.4";
|
|
24
24
|
|
|
25
25
|
// Standard colors only (B/W version - color reserved for ZIG poster child)
|
|
26
26
|
const GREEN = "\x1b[32m";
|
|
@@ -61,7 +61,7 @@ async function cmdScore(): Promise<void> {
|
|
|
61
61
|
|
|
62
62
|
if (!(await file.exists())) {
|
|
63
63
|
console.log(`${RED}No project.faf found${RESET}`);
|
|
64
|
-
console.log(`${DIM}Run:
|
|
64
|
+
console.log(`${DIM}Run: faf init <name>${RESET}`);
|
|
65
65
|
process.exit(1);
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -218,7 +218,7 @@ stack:
|
|
|
218
218
|
await Bun.write("project.faf", template);
|
|
219
219
|
console.log(BANNER);
|
|
220
220
|
console.log(` ${GREEN}Created${RESET} project.faf`);
|
|
221
|
-
console.log(` ${DIM}Run:
|
|
221
|
+
console.log(` ${DIM}Run: faf score${RESET}`);
|
|
222
222
|
console.log();
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -327,7 +327,7 @@ switch (cmd) {
|
|
|
327
327
|
case "init":
|
|
328
328
|
const name = args[1];
|
|
329
329
|
if (!name) {
|
|
330
|
-
console.log(`${RED}Usage:
|
|
330
|
+
console.log(`${RED}Usage: faf init <name>${RESET}`);
|
|
331
331
|
process.exit(1);
|
|
332
332
|
}
|
|
333
333
|
await cmdInit(name);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-sticky",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Fastest bun under the sum. FAF scoring CLI for Bun.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"
|
|
8
|
+
"faf": "./index.ts"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "bun run index.ts",
|