@grunnverk/kilde 1.5.9-dev.0 → 1.5.9-dev.20260131210921.14b214e

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.
@@ -23,7 +23,7 @@ concurrency:
23
23
 
24
24
  jobs:
25
25
  build:
26
- runs-on: ubuntu-latest
26
+ runs-on: ubuntu-latest-8-cores
27
27
  steps:
28
28
  - name: Checkout
29
29
  uses: actions/checkout@v4
@@ -51,7 +51,7 @@ jobs:
51
51
  environment:
52
52
  name: github-pages
53
53
  url: ${{ steps.deployment.outputs.page_url }}
54
- runs-on: ubuntu-latest
54
+ runs-on: ubuntu-latest-8-cores
55
55
  needs: build
56
56
  steps:
57
57
  - name: Deploy to GitHub Pages
@@ -17,7 +17,7 @@ permissions:
17
17
 
18
18
  jobs:
19
19
  publish-npm:
20
- runs-on: ubuntu-latest
20
+ runs-on: ubuntu-latest-8-cores
21
21
  timeout-minutes: 15
22
22
  steps:
23
23
  - uses: actions/checkout@v4
@@ -33,20 +33,34 @@ jobs:
33
33
  run: |
34
34
  VERSION=$(node -p "require('./package.json').version")
35
35
  IS_RELEASE="${{ github.event_name == 'release' }}"
36
-
36
+ SHORT_SHA=$(git rev-parse --short=7 HEAD)
37
+ TIMESTAMP=$(date +%Y%m%d%H%M%S)
38
+
37
39
  if [[ "$VERSION" == *"-"* ]]; then
38
40
  echo "tag=dev" >> $GITHUB_OUTPUT
39
41
  echo "should_publish=true" >> $GITHUB_OUTPUT
42
+ # Add timestamp and SHA to pre-release version (e.g., 1.5.5-dev.0 -> 1.5.5-dev.20260131210612.ab169e2)
43
+ BASE_VERSION="${VERSION%%-*}"
44
+ NEW_VERSION="${BASE_VERSION}-dev.${TIMESTAMP}.${SHORT_SHA}"
45
+ echo "version=${NEW_VERSION}" >> $GITHUB_OUTPUT
46
+ echo "📦 Publishing pre-release version: ${NEW_VERSION}"
40
47
  else
41
48
  echo "tag=latest" >> $GITHUB_OUTPUT
49
+ echo "version=${VERSION}" >> $GITHUB_OUTPUT
42
50
  # Only publish production versions on release events
43
51
  if [[ "$IS_RELEASE" == "true" ]]; then
44
52
  echo "should_publish=true" >> $GITHUB_OUTPUT
53
+ echo "📦 Publishing production version: ${VERSION}"
45
54
  else
46
55
  echo "should_publish=false" >> $GITHUB_OUTPUT
47
56
  echo "⚠️ Skipping publish: Production version detected on non-release push"
48
57
  fi
49
58
  fi
59
+ - name: Update package.json version for pre-release
60
+ if: steps.npm-tag.outputs.should_publish == 'true' && steps.npm-tag.outputs.tag == 'dev'
61
+ run: |
62
+ node -e "const pkg = require('./package.json'); pkg.version = '${{ steps.npm-tag.outputs.version }}'; require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2) + '\n');"
63
+ echo "Updated package.json to version ${{ steps.npm-tag.outputs.version }}"
50
64
  - name: Publish to npm
51
65
  if: steps.npm-tag.outputs.should_publish == 'true'
52
66
  run: npm publish --access public --tag ${{ steps.npm-tag.outputs.tag }}
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  test:
11
- runs-on: ubuntu-latest
11
+ runs-on: ubuntu-latest-8-cores
12
12
  permissions:
13
13
  contents: read
14
14
 
package/dist/constants.js CHANGED
@@ -3,9 +3,9 @@ import path from 'path';
3
3
 
4
4
  /**
5
5
  * Version and build information (replaced at build time)
6
- */ const VERSION = '1.5.9-dev.0 (working/fb86ae8 2026-01-31 11:55:31 -0800) linux x64 v24.13.0';
7
- const BUILD_HOSTNAME = 'runnervmkj6or';
8
- const BUILD_TIMESTAMP = '2026-01-31T19:59:36.334Z';
6
+ */ const VERSION = '1.5.9-dev.20260131210921.14b214e (working/14b214e 2026-01-31 13:08:41 -0800) linux arm64 v24.13.0';
7
+ const BUILD_HOSTNAME = 'runnervmb1tt7';
8
+ const BUILD_TIMESTAMP = '2026-01-31T21:09:30.271Z';
9
9
  /**
10
10
  * Program identification
11
11
  */ const PROGRAM_NAME = 'kilde';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grunnverk/kilde",
3
- "version": "1.5.9-dev.0",
3
+ "version": "1.5.9-dev.20260131210921.14b214e",
4
4
  "description": "Universal Git Automation Tool - AI-powered commit and release messages for any git repository",
5
5
  "main": "dist/main.js",
6
6
  "type": "module",