@doist/todoist-cli 1.29.0 → 1.29.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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.29.1](https://github.com/Doist/todoist-cli/compare/v1.29.0...v1.29.1) (2026-03-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * use cross-platform postinstall script ([#178](https://github.com/Doist/todoist-cli/issues/178)) ([ba03109](https://github.com/Doist/todoist-cli/commit/ba031091cad26ca4ace2a291ce27e1996fa02bc6))
14
+
8
15
  ## [1.29.0](https://github.com/Doist/todoist-cli/compare/v1.28.0...v1.29.0) (2026-03-25)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-cli",
3
- "version": "1.29.0",
3
+ "version": "1.29.1",
4
4
  "description": "TypeScript CLI for Todoist",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "lint:write": "oxlint src --fix",
17
17
  "format": "oxfmt",
18
18
  "format:check": "oxfmt --check",
19
- "postinstall": "test -f dist/postinstall.js && node dist/postinstall.js || true",
19
+ "postinstall": "node scripts/postinstall.js",
20
20
  "test": "vitest run",
21
21
  "test:watch": "vitest"
22
22
  },
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "files": [
47
47
  "dist",
48
+ "scripts",
48
49
  "CHANGELOG.md"
49
50
  ],
50
51
  "dependencies": {
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Postinstall script that updates installed skills after package installation.
5
+ * Silently succeeds when dist/ hasn't been built yet (e.g., during local development).
6
+ */
7
+
8
+ import('../dist/postinstall.js').catch((err) => {
9
+ if (err.code !== 'ERR_MODULE_NOT_FOUND') {
10
+ console.error(err)
11
+ }
12
+ })