@malindar/whyline 0.1.0 → 0.1.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.
@@ -5,6 +5,9 @@ on:
5
5
  tags:
6
6
  - "v*"
7
7
 
8
+ permissions:
9
+ contents: read
10
+
8
11
  jobs:
9
12
  publish:
10
13
  runs-on: ubuntu-latest
@@ -17,7 +20,7 @@ jobs:
17
20
  with:
18
21
  node-version: 22
19
22
  cache: npm
20
- registry-url: https://registry.npmjs.org/
23
+ registry-url: "https://registry.npmjs.org/"
21
24
 
22
25
  - name: Install dependencies
23
26
  run: npm ci
@@ -32,6 +35,6 @@ jobs:
32
35
  run: npm test
33
36
 
34
37
  - name: Publish to npm
35
- run: npm publish
38
+ run: npm publish --access public
36
39
  env:
37
40
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@malindar/whyline",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "description": "Local-first MCP memory for AI coding sessions. Git remembers what changed; Whyline remembers why.",
5
8
  "keywords": [
6
9
  "mcp",
@@ -35,7 +38,10 @@
35
38
  "test:watch": "vitest",
36
39
  "lint": "eslint src tests",
37
40
  "format": "prettier --write src tests",
38
- "prepublishOnly": "npm run build"
41
+ "prepublishOnly": "npm run build",
42
+ "release:patch": "npm version patch && git push && git push --tags",
43
+ "release:minor": "npm version minor && git push && git push --tags",
44
+ "release:major": "npm version major && git push && git push --tags"
39
45
  },
40
46
  "dependencies": {
41
47
  "@modelcontextprotocol/sdk": "^1.12.0",
@@ -1,33 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npm test *)",
5
- "Bash(npm rebuild *)",
6
- "Bash(node-gyp rebuild *)",
7
- "Bash(npx node-gyp *)",
8
- "Bash(npm install *)",
9
- "Bash(node -e \"require\\('better-sqlite3'\\)\")",
10
- "Bash(node -e \"require\\('better-sqlite3'\\); console.log\\('ok'\\)\")",
11
- "Bash(npm prefix *)",
12
- "Bash(npm run *)",
13
- "Bash(node *)",
14
- "Bash(git -C /Users/malinda.ranasinghe/Documents/contentful/personal/commit-gpt init)",
15
- "Bash(git -C /Users/malinda.ranasinghe/Documents/contentful/personal/commit-gpt add .)",
16
- "Bash(git -C /Users/malinda.ranasinghe/Documents/contentful/personal/commit-gpt commit -m \"chore: initial commit\")",
17
- "Bash(GIT_COMMITTER_NAME=\"Test\" GIT_COMMITTER_EMAIL=\"test@test.com\" GIT_AUTHOR_NAME=\"Test\" GIT_AUTHOR_EMAIL=\"test@test.com\" git -C /Users/malinda.ranasinghe/Documents/contentful/personal/commit-gpt -c commit.gpgsign=false commit -m \"chore: initial commit\")",
18
- "Bash(git -C /Users/malinda.ranasinghe/Documents/contentful/moi/gatekeeper log --oneline -5)",
19
- "Bash(git -C /Users/malinda.ranasinghe/Documents/contentful/moi/gatekeeper remote get-url origin)",
20
- "Read(//Users/malinda.ranasinghe/Documents/contentful/moi/gatekeeper/**)",
21
- "Bash(npm unlink *)",
22
- "Bash(npm link *)",
23
- "Bash(whyline --version)",
24
- "Bash(git rm *)",
25
- "Bash(npx vitest *)",
26
- "Read(//Users/malinda.ranasinghe/Documents/contentful/moi/audit-logging/**)",
27
- "Bash(whyline init *)",
28
- "Bash(whyline install-claude *)",
29
- "Bash(whyline doctor *)",
30
- "Bash(whyline list *)"
31
- ]
32
- }
33
- }