diff --git a/.changeset/cli-prepack-chmod.md b/.changeset/cli-prepack-chmod.md deleted file mode 100644 index 04caebe..0000000 --- a/.changeset/cli-prepack-chmod.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"tokenometer": patch -"@tokenometer/core": patch ---- - -Fix CLI bin missing execute bit when published from CI. Root `npm run -build` runs `tsc -b` without recursing into workspace scripts, so the -chmod added in the CLI's build script never ran in CI. Added a `prepack` -hook in `packages/cli/package.json` that chmods `dist/index.js` right -before `npm publish` packs the tarball — runs regardless of how the -build was invoked. diff --git a/packages/action/package.json b/packages/action/package.json index ff534ef..2e01dbc 100644 --- a/packages/action/package.json +++ b/packages/action/package.json @@ -30,7 +30,7 @@ "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/github": "^6.0.0", - "@tokenometer/core": "0.1.1", + "@tokenometer/core": "0.1.2", "minimatch": "^10.2.5" }, "devDependencies": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0e562d1..4e21175 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # tokenometer +## 0.1.2 + +### Patch Changes + +- [#25](https://github.com/faraa2m/tokenometer/pull/25) [`377ebff`](https://github.com/faraa2m/tokenometer/commit/377ebff84fe22147c5b786b336a9852aaebde666) Thanks [@faraa2m](https://github.com/faraa2m)! - Fix CLI bin missing execute bit when published from CI. Root `npm run +build` runs `tsc -b` without recursing into workspace scripts, so the + chmod added in the CLI's build script never ran in CI. Added a `prepack` + hook in `packages/cli/package.json` that chmods `dist/index.js` right + before `npm publish` packs the tarball — runs regardless of how the + build was invoked. +- Updated dependencies [[`377ebff`](https://github.com/faraa2m/tokenometer/commit/377ebff84fe22147c5b786b336a9852aaebde666)]: + - @tokenometer/core@0.1.2 + ## 0.1.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 969cf9e..a2afe02 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "tokenometer", - "version": "0.1.1", + "version": "0.1.2", "description": "Tokenometer CLI — LLM token cost + latency benchmarking across Claude, GPT-4o, Gemini, Mistral, and Cohere. Multi-format, empirical mode, vision tokens, SARIF output.", "license": "MIT", "author": "Faraazuddin Mohammed ", @@ -80,7 +80,7 @@ "clean": "rm -rf dist" }, "dependencies": { - "@tokenometer/core": "0.1.1", + "@tokenometer/core": "0.1.2", "image-size": "^2.0.2" }, "devDependencies": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index c56d0d5..69d0438 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,16 @@ # @tokenometer/core +## 0.1.2 + +### Patch Changes + +- [#25](https://github.com/faraa2m/tokenometer/pull/25) [`377ebff`](https://github.com/faraa2m/tokenometer/commit/377ebff84fe22147c5b786b336a9852aaebde666) Thanks [@faraa2m](https://github.com/faraa2m)! - Fix CLI bin missing execute bit when published from CI. Root `npm run +build` runs `tsc -b` without recursing into workspace scripts, so the + chmod added in the CLI's build script never ran in CI. Added a `prepack` + hook in `packages/cli/package.json` that chmods `dist/index.js` right + before `npm publish` packs the tarball — runs regardless of how the + build was invoked. + ## 0.1.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 06b84be..5b1add9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tokenometer/core", - "version": "0.1.1", + "version": "0.1.2", "description": "Tokenometer core library — multi-provider LLM token cost, latency, and vision-token estimation with empirical countTokens fallback (Anthropic, OpenAI, Google, Mistral, Cohere).", "license": "MIT", "author": "Faraazuddin Mohammed ", diff --git a/packages/vscode/CHANGELOG.md b/packages/vscode/CHANGELOG.md index e15a05f..59a7ef7 100644 --- a/packages/vscode/CHANGELOG.md +++ b/packages/vscode/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.1.2 + +### Patch Changes + +- Updated dependencies [[`377ebff`](https://github.com/faraa2m/tokenometer/commit/377ebff84fe22147c5b786b336a9852aaebde666)]: + - @tokenometer/core@0.1.2 + ## 0.1.1 ### Patch Changes diff --git a/packages/vscode/package.json b/packages/vscode/package.json index 52d5880..2e5f3ba 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -1,6 +1,6 @@ { "name": "tokenometer-vscode", - "version": "0.1.1", + "version": "0.1.2", "displayName": "Tokenometer", "description": "Tokenometer for VS Code / Cursor — live token count and USD cost in the status bar for LLM prompts (Claude, GPT-4o, Gemini, Mistral, Cohere).", "publisher": "faraa2m", @@ -105,7 +105,7 @@ "package:vsix": "npm run build && vsce package --no-dependencies" }, "dependencies": { - "@tokenometer/core": "0.1.1" + "@tokenometer/core": "0.1.2" }, "devDependencies": { "@biomejs/biome": "^1.9.4", diff --git a/packages/web/package.json b/packages/web/package.json index 882b69a..c2f47ba 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -13,7 +13,7 @@ "dependencies": { "@anthropic-ai/sdk": "^0.40.0", "@google/generative-ai": "^0.21.0", - "@tokenometer/core": "0.1.1", + "@tokenometer/core": "0.1.2", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router-dom": "^7.15.0"