llm-wikis 0.2.0 → 0.2.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.
@@ -0,0 +1,32 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20'
19
+ registry-url: 'https://registry.npmjs.org'
20
+
21
+ - name: Verify tag matches package version
22
+ run: |
23
+ PKG_VERSION="v$(node -p "require('./package.json').version")"
24
+ TAG_VERSION="${GITHUB_REF_NAME}"
25
+ if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
26
+ echo "Tag $TAG_VERSION does not match package version $PKG_VERSION"
27
+ exit 1
28
+ fi
29
+
30
+ - run: npm publish
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-wikis",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Multi-wiki sync observability for the Karpathy LLM Wiki pattern",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -5,7 +5,7 @@ const fs = require('fs');
5
5
  const path = require('path');
6
6
  const crypto = require('crypto');
7
7
 
8
- const VERSION = '0.2.0';
8
+ const VERSION = '0.2.1';
9
9
 
10
10
  function usage() {
11
11
  console.error('Usage:');
package/scripts/wikis.js CHANGED
@@ -4,7 +4,7 @@
4
4
  const { execFileSync } = require('child_process');
5
5
  const path = require('path');
6
6
 
7
- const VERSION = '0.2.0';
7
+ const VERSION = '0.2.1';
8
8
 
9
9
  const HELP = `
10
10
  llm-wikis v${VERSION}