blessed-components 0.0.1 → 1.0.0

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 CHANGED
@@ -3,8 +3,8 @@
3
3
  Composable, typed terminal UI components for
4
4
  [Blessed](https://github.com/chjj/blessed).
5
5
 
6
- > **Project status:** foundation stage. The package structure and automated
7
- > release pipeline are ready; UI components are coming soon.
6
+ > **Project status:** early development. `ProgressBar` is available; more
7
+ > components are coming soon.
8
8
 
9
9
  ## Goals
10
10
 
@@ -17,8 +17,6 @@ Composable, typed terminal UI components for
17
17
 
18
18
  ## Installation
19
19
 
20
- Components are not available yet. Once the first component ships:
21
-
22
20
  ```sh
23
21
  npm install blessed blessed-components
24
22
  ```
@@ -31,7 +29,7 @@ npm install blessed blessed-components
31
29
 
32
30
  | Component | Purpose | Priority |
33
31
  | ------------- | ---------------------------------------------------- | -------- |
34
- | `ProgressBar` | Render one bounded horizontal progress bar. | P0 |
32
+ | [`ProgressBar`](./src/components/progress-bar/README.md) | Render one bounded horizontal progress bar. | Available |
35
33
  | `Sparkline` | Render compact time-series data with Unicode blocks. | P0 |
36
34
  | `MetricBars` | Render labeled metrics as aligned progress bars. | P0 |
37
35
  | `Stat` | Display a label and highlighted value. | P0 |
@@ -110,13 +108,21 @@ Useful commands:
110
108
 
111
109
  ```sh
112
110
  npm run build
111
+ npm run docs
112
+ npm run docs:check
113
113
  npm test
114
114
  npm run test:watch
115
115
  npm run lint
116
+ npm run lint:fix
117
+ npm run biome:check
116
118
  npm run typecheck
117
119
  npm run format
120
+ npm run format:check
118
121
  ```
119
122
 
123
+ ESLint and Biome extend the shared `super-configs` presets. Biome owns
124
+ formatting and import organization; Prettier is not used.
125
+
120
126
  ## Testing
121
127
 
122
128
  Development follows vertical TDD slices:
@@ -129,45 +135,12 @@ Development follows vertical TDD slices:
129
135
  Tests should use public interfaces and observable output. Internal mocks and
130
136
  large snapshots are avoided.
131
137
 
132
- ## Releases
133
-
134
- [semantic-release](https://github.com/semantic-release/semantic-release)
135
- publishes from `main`.
136
-
137
- Commit messages follow
138
- [Conventional Commits](https://www.conventionalcommits.org/):
139
-
140
- ```text
141
- fix: clamp progress values
142
- feat: add progress bar renderer
143
- feat!: change component update contract
144
- ```
145
-
146
- Release mapping:
147
-
148
- | Commit | Release |
149
- | --------------- | ------- |
150
- | `fix:` | Patch |
151
- | `feat:` | Minor |
152
- | Breaking change | Major |
153
-
154
- The release workflow:
155
-
156
- 1. Validates formatting, linting, types, tests, and build.
157
- 2. Calculates the next version from commits.
158
- 3. Publishes the package to npm.
159
- 4. Creates a GitHub release with generated notes.
160
-
161
- ### npm trusted publishing setup
162
-
163
- Before the first release, configure an npm trusted publisher for:
164
-
165
- - Organization or user: `ElJijuna`
166
- - Repository: `blessed-components`
167
- - Workflow filename: `release.yml`
138
+ ## Releases and documentation
168
139
 
169
- The workflow uses GitHub Actions OIDC and npm provenance. No long-lived
170
- `NPM_TOKEN` is required.
140
+ `semantic-release` publishes packages from `main`. After a real npm release
141
+ succeeds, the same workflow generates TypeDoc for the released version and
142
+ deploys `docs/api` to GitHub Pages. Commits that produce no release do not
143
+ deploy documentation.
171
144
 
172
145
  ## License
173
146