Skip to content

Commit 6403d7f

Browse files
fix: add missing package.json entry (#43)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 00bb24d commit 6403d7f

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

.changeset/swift-moles-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ab64": patch
3+
---
4+
5+
fix: add missing `package.json` entry

.github/workflows/pkg-pr-new.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish Any Commit
2+
on:
3+
- push
4+
- pull_request
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
16+
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
19+
20+
- name: Setup Node.js LTS
21+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
22+
with:
23+
node-version: lts/*
24+
cache: pnpm
25+
26+
- name: Install Dependencies
27+
run: pnpm i --frozen-lockfile
28+
29+
- name: Build
30+
run: pnpm build
31+
32+
- name: Publish Package
33+
run: pnpm dlx pkg-pr-new publish --compact

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.3",
44
"type": "module",
55
"description": "The smallest and fastest Base64 implementation in JavaScript",
6-
"repository": "git+https://github.com/un-ts/ab64.git",
6+
"repository": "https://github.com/un-ts/ab64.git",
77
"author": "JounQin (https://www.1stG.me) <[email protected]>",
88
"funding": "https://opencollective.com/unts",
99
"license": "MIT",
@@ -111,6 +111,7 @@
111111
"default": "./lib/index.cjs"
112112
}
113113
},
114+
"./package.json": "./package.json",
114115
"./mini-app": {
115116
"types": "./lib/mini-app.d.ts",
116117
"default": "./lib/mini-app.js"

0 commit comments

Comments
 (0)