donebear 0.4.4 → 0.5.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/AGENTS.md CHANGED
@@ -6,16 +6,16 @@ Done Bear command-line interface for OAuth auth, workspace management, and task
6
6
 
7
7
  Run from repo root:
8
8
 
9
- - `npm run build --workspace=apps/cli`: build with tsdown
10
- - `npm run dev --workspace=apps/cli`: watch build
11
- - `npm run lint`: lint all workspaces (run from root)
12
- - `npm run check-types --workspace=apps/cli`: TypeScript check
13
- - `npm run test --workspace=apps/cli`: Vitest tests
14
- - `npm run lint:fix`: format/autofix before commit
9
+ - `pnpm --filter donebear run build`: build with tsdown
10
+ - `pnpm --filter donebear run dev`: watch build
11
+ - `pnpm run lint`: lint all workspaces (run from root)
12
+ - `pnpm --filter donebear run check-types`: TypeScript check
13
+ - `pnpm --filter donebear run test`: Vitest tests
14
+ - `pnpm run lint:fix`: format/autofix before commit
15
15
 
16
16
  Run CLI locally from repo root:
17
17
 
18
- - `npm exec --workspace=apps/cli donebear -- --help`
18
+ - `pnpm --filter donebear exec donebear -- --help`
19
19
 
20
20
  ## Agent Quickstart
21
21
 
@@ -123,7 +123,7 @@ src/
123
123
  things-sqlite.ts # reads Things 3 SQLite database
124
124
  things-output.ts # import result summary formatting
125
125
  model-id.ts # idempotency-key UUIDs (Things import ids come from @donebear/import-core/things)
126
- tests/ # Vitest: npm run test --workspace=apps/cli
126
+ tests/ # Vitest: pnpm --filter donebear run test
127
127
  ```
128
128
 
129
129
  The pure Things snapshot types, mapper, recurrence conversion, date decoding,
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Matthew Blode
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -197,6 +197,11 @@ These are optional; the CLI works out of the box for production use.
197
197
  | `DONEBEAR_SUPABASE_PUBLISHABLE_KEY` | Supabase publishable key | production key |
198
198
  | `DONEBEAR_CONFIG_DIR` | Config/cache directory | `~/.config/donebear` |
199
199
  | `DONEBEAR_DEBUG` | Enable debug logging (`1`) | disabled |
200
+ | `DO_NOT_TRACK` | Turn off crash reports (`1`) | reports on |
201
+
202
+ ## Crash reports
203
+
204
+ When the CLI hits a bug (a `TypeError`, `ReferenceError` or `RangeError` in its own code), it sends the error's type and stack trace to Done Bear's PostHog error tracking, with the CLI, Node and OS versions. Nothing else goes with it: not the error message, no arguments, no task data, no workspace or account, and paths under your home directory are shortened to `~`. Usage errors, failed sign-ins and network failures are never sent. Set `DO_NOT_TRACK=1` to turn crash reports off. Crash reports need Node 20.20+ or 22.22+; on older Node the reporter is skipped at install and nothing is sent.
200
205
 
201
206
  ## Exit codes
202
207
 
@@ -221,15 +226,15 @@ These are optional; the CLI works out of the box for production use.
221
226
  Build from a checkout of the monorepo:
222
227
 
223
228
  ```bash
224
- npm install
225
- npm run build --workspace=apps/cli
229
+ pnpm install
230
+ pnpm --filter donebear run build
226
231
  ```
227
232
 
228
233
  Then, from repo root:
229
234
 
230
235
  ```bash
231
- npm run lint --workspace=apps/cli
232
- npm run check-types --workspace=apps/cli
233
- npm run test --workspace=apps/cli
234
- npm run build --workspace=apps/cli
236
+ pnpm --filter donebear run lint
237
+ pnpm --filter donebear run check-types
238
+ pnpm --filter donebear run test
239
+ pnpm --filter donebear run build
235
240
  ```
package/dist/cli.d.mts CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { };
2
+ export {}