Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TokenTrackerBar/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ targets:
PRODUCT_NAME: TokenTrackerBar
INFOPLIST_VALUES: |
LSUIElement = YES
MARKETING_VERSION: "0.39.49"
MARKETING_VERSION: "0.39.50"
CURRENT_PROJECT_VERSION: "1"
SWIFT_EMIT_LOC_STRINGS: "YES"
CODE_SIGN_STYLE: Automatic
Expand Down Expand Up @@ -79,7 +79,7 @@ targets:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.tokentracker.bar.widget
PRODUCT_NAME: TokenTrackerWidget
MARKETING_VERSION: "0.39.49"
MARKETING_VERSION: "0.39.50"
CURRENT_PROJECT_VERSION: "1"
MACOSX_DEPLOYMENT_TARGET: "14.0"
SWIFT_EMIT_LOC_STRINGS: "YES"
Expand Down
2 changes: 1 addition & 1 deletion TokenTrackerWin/TokenTrackerWin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>assets\trayicon.ico</ApplicationIcon>
<!-- Keep in sync with package.json / project.yml on release. -->
<Version>0.39.49</Version>
<Version>0.39.50</Version>
<Product>TokenTracker</Product>
<Company>TokenTracker</Company>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ipv9/tokentracker-cli",
"version": "0.39.49",
"version": "0.39.50",
"description": "Local-first token and cost dashboard for 22 AI coding tools, including Claude Code, Codex, Cursor, Gemini, Kiro, OpenCode, OpenClaw, Copilot, Antigravity, Zed, and Goose.",
"main": "src/cli.js",
"bin": {
Expand Down Expand Up @@ -40,7 +40,7 @@
"graph:scip": "node scripts/graph/generate-scip.cjs",
"test:graph": "node --test test/graph/*.test.js",
"pricing:build-seed": "node scripts/build-pricing-seed.cjs",
"prepublishOnly": "node scripts/build-pricing-seed.cjs",
"prepublishOnly": "npm run dashboard:build && node scripts/build-pricing-seed.cjs",
"test": "node --test test/*.test.js",
"validate:copy": "node scripts/validate-copy-registry.cjs",
"validate:curated-expiry": "node scripts/validate-curated-expiry.cjs",
Expand Down
12 changes: 12 additions & 0 deletions test/npm-publish-workflow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ test("workflow builds dashboard before publish", () => {
);
});

test("package prepublish rebuilds dashboard before pricing seed", () => {
const pkg = JSON.parse(
fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8")
);
const command = pkg.scripts.prepublishOnly;
const dashboardIndex = command.indexOf("npm run dashboard:build");
const pricingIndex = command.indexOf("node scripts/build-pricing-seed.cjs");
assert.ok(dashboardIndex >= 0, "manual npm publish must rebuild dashboard/dist");
assert.ok(pricingIndex >= 0, "prepublish must still rebuild pricing seed");
assert.ok(dashboardIndex < pricingIndex, "dashboard build must precede pricing seed generation");
});

test("package publishes under the ipv9 npm scope", () => {
const pkg = JSON.parse(
fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8")
Expand Down