@drakulavich/oura-cli 0.3.0 → 0.3.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/CHANGELOG.md +28 -0
- package/dist/index.js +2 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,32 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.2] - 2026-05-13
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- All tests rewritten in a behavior-first style (Kent C. Dodds /
|
|
13
|
+
Luca Rossi influence). No new behavioral coverage; the rewrite
|
|
14
|
+
improves readability, drops internal-state peeks, and reorganises
|
|
15
|
+
scenarios into nested describes. First release published via the
|
|
16
|
+
tag-driven `release.yml` workflow.
|
|
17
|
+
|
|
18
|
+
## [0.3.1] - 2026-05-13
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- `docs/ARCHITECTURE.md` documents the four-layer structure
|
|
22
|
+
(`commands → api/db → lib`) and how to extend each layer. (#1, item 14)
|
|
23
|
+
- `.github/workflows/release.yml` — tag-triggered npm publish with provenance,
|
|
24
|
+
GitHub Release creation with CHANGELOG-derived notes. Requires `NPM_TOKEN`
|
|
25
|
+
repo secret. (#1, items 15 & 17)
|
|
26
|
+
- CI workflow gained a `tsc --noEmit` type-check step and an informational
|
|
27
|
+
`npm audit --audit-level=high` step. (#1, item 16)
|
|
28
|
+
- CONTRIBUTING.md "Releasing" subsection documents the tag-driven flow.
|
|
29
|
+
|
|
30
|
+
### Removed
|
|
31
|
+
- Internal back-compat aliases `getWeeklyReport` / `formatWeeklyReport` /
|
|
32
|
+
`WeeklyReportData` left over from v0.3.0. The package exports nothing
|
|
33
|
+
internal, so these were dead code.
|
|
34
|
+
|
|
9
35
|
## [0.3.0] - 2026-05-13
|
|
10
36
|
|
|
11
37
|
### Changed (CLI surface)
|
|
@@ -121,6 +147,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
121
147
|
- Local SQLite cache at `~/.oura-cli/oura.db`.
|
|
122
148
|
- Auth via `oura-cli login`, `OURA_TOKEN`, `OURA_TOKEN_PATH`, or `~/.oura-token`.
|
|
123
149
|
|
|
150
|
+
[0.3.2]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.2
|
|
151
|
+
[0.3.1]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.1
|
|
124
152
|
[0.3.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.0
|
|
125
153
|
[0.2.1]: https://github.com/drakulavich/oura-cli/releases/tag/v0.2.1
|
|
126
154
|
[0.2.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.2.0
|
package/dist/index.js
CHANGED
|
@@ -1005,7 +1005,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1005
1005
|
this._exitCallback = (err) => {
|
|
1006
1006
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
1007
1007
|
throw err;
|
|
1008
|
-
}
|
|
1008
|
+
}
|
|
1009
1009
|
};
|
|
1010
1010
|
}
|
|
1011
1011
|
return this;
|
|
@@ -3917,7 +3917,7 @@ function describeCommand(version) {
|
|
|
3917
3917
|
}
|
|
3918
3918
|
|
|
3919
3919
|
// src/index.ts
|
|
3920
|
-
var VERSION = "0.3.
|
|
3920
|
+
var VERSION = "0.3.2";
|
|
3921
3921
|
if (process.argv.includes("--no-color") || process.env.NO_COLOR) {
|
|
3922
3922
|
source_default.level = 0;
|
|
3923
3923
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drakulavich/oura-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Oura Ring CLI — query and analyze Oura Ring health data from the command line, designed for humans and AI agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oura",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"commander": "^14.0.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
+
"@types/bun": "^1.3.14",
|
|
57
58
|
"@types/node": "^25.3.3",
|
|
58
59
|
"ajv": "^8.20.0",
|
|
59
60
|
"ajv-formats": "^3.0.1",
|