repospend 0.0.2 → 0.0.4

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.
@@ -0,0 +1,57 @@
1
+ # Publishing
2
+
3
+ These notes are for RepoSpend maintainers.
4
+
5
+ ## Before Publishing
6
+
7
+ Run the release checks from the repository root:
8
+
9
+ ```bash
10
+ pnpm lint
11
+ pnpm typecheck
12
+ pnpm test
13
+ pnpm build
14
+ npm publish --dry-run
15
+ ```
16
+
17
+ Make sure `package.json` and the workspace package versions match the intended
18
+ release version.
19
+
20
+ ## Version Bump
21
+
22
+ If the version has not already been bumped, update it before committing the
23
+ release:
24
+
25
+ ```bash
26
+ pnpm version patch --no-git-tag-version
27
+ ```
28
+
29
+ For a specific version:
30
+
31
+ ```bash
32
+ pnpm version 0.0.3 --no-git-tag-version
33
+ ```
34
+
35
+ Review the changed package files before committing.
36
+
37
+ ## Tag And Push
38
+
39
+ After committing the release, create the matching Git tag and push both `main`
40
+ and the tag:
41
+
42
+ ```bash
43
+ git tag v0.0.3
44
+ git push origin main v0.0.3
45
+ ```
46
+
47
+ The publish workflow runs when a `v*.*.*` tag is pushed.
48
+
49
+ ## npm Trusted Publishing
50
+
51
+ The npm package `repospend` must have Trusted Publishing configured for:
52
+
53
+ - GitHub repository: `mehmetdemircs/RepoSpend`
54
+ - Workflow file: `.github/workflows/publish.yml`
55
+ - npm workflow filename setting: `publish.yml`
56
+
57
+ No `NPM_TOKEN` is required when Trusted Publishing is configured correctly.
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "repospend",
3
- "version": "0.0.2",
4
- "description": "Local-first dashboard for tracking Codex and AI coding token usage by repo, session, model, and day.",
3
+ "version": "0.0.4",
4
+ "description": "Local-first dashboard for tracking AI coding token usage by repo, source, session, model, and day.",
5
5
  "license": "Apache-2.0",
6
+ "author": "Mehmet Mustafa Demir",
6
7
  "type": "module",
7
8
  "private": false,
8
9
  "repository": {
9
10
  "type": "git",
10
- "url": "https://github.com/mehmetdemircs/RepoSpend"
11
+ "url": "git+https://github.com/mehmetdemircs/RepoSpend.git"
11
12
  },
12
13
  "bugs": {
13
14
  "url": "https://github.com/mehmetdemircs/RepoSpend/issues"
@@ -20,6 +21,9 @@
20
21
  "dist",
21
22
  "web-dist",
22
23
  "README.md",
24
+ "CHANGELOG.md",
25
+ "SECURITY.md",
26
+ "docs/PUBLISHING.md",
23
27
  "LICENSE"
24
28
  ],
25
29
  "publishConfig": {
@@ -41,6 +45,7 @@
41
45
  "keywords": [
42
46
  "codex",
43
47
  "openai-codex",
48
+ "claude",
44
49
  "ai-coding",
45
50
  "developer-tools",
46
51
  "token-usage",