@nerd-bible/valio 0.0.8 → 0.0.10

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.
package/package.json CHANGED
@@ -15,7 +15,12 @@
15
15
  "peerDependencies": {
16
16
  "typescript": "^5.9.3"
17
17
  },
18
- "version": "0.0.8",
18
+ "files": [
19
+ "README.md",
20
+ "src",
21
+ "dist"
22
+ ],
23
+ "version": "0.0.10",
19
24
  "repository": {
20
25
  "url": "git+https://github.com/nerd-bible/valio"
21
26
  }
@@ -1,21 +0,0 @@
1
- name: Publish Package
2
- on:
3
- push:
4
- branches:
5
- - master
6
- permissions:
7
- id-token: write # npm OIDC
8
- contents: write # push tags
9
- jobs:
10
- publish:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v4
14
- with:
15
- fetch-depth: 0
16
- - uses: oven-sh/setup-bun@v2
17
- - run: bun ci
18
- - run: bun run build
19
- - run: bun test
20
- - run: bun run fmt
21
- - run: ./publish.sh
package/publish.sh DELETED
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -e
3
-
4
- TAG_CMD="git describe --tags --abbrev=0 --match=v[0-9]*.[0-9]*.[0-9]*"
5
-
6
- git fetch --tags
7
- VERSION=$($TAG_CMD --exact-match 2>/dev/null || true)
8
- if [[ -z $VERSION ]]; then
9
- VERSION=$($TAG_CMD 2>/dev/null || echo 'v0.0.0')
10
- echo "No manual tag, bumping $VERSION"
11
- VERSION=$(echo $VERSION | awk -F. -v OFS=. '{$NF += 1 ; print}')
12
- git tag $VERSION
13
- git push --tags origin master
14
- fi
15
- echo "Publishing $VERSION"
16
- cat <<< $(jq ".version = \"${VERSION:1}\" |\
17
- .repository.url = \"git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY\"" package.json) > package.json
18
-
19
- bunx npm@latest publish