Compare commits

...
10 Commits
Author SHA1 Message Date
siujamo 5999235e41 fix: switch to npm publish to avoid pnpm OIDC auth issues
Publish to npm / publish (push) Canceled after 0s
2026-06-08 09:46:29 +08:00
siujamo b341945a1a fix: configure pnpm auth explicitly to avoid OIDC failure on Gitea 2026-06-08 09:41:38 +08:00
siujamo f677b995e2 chore: bump version to 1.0.2 2026-06-08 09:37:58 +08:00
siujamo 2c58f14b8c chore: bump Node.js version to 24 in CI workflow 2026-06-08 09:36:01 +08:00
siujamo db3cbf16e6 docs: remove scope from package name in install instructions 2026-06-08 09:25:17 +08:00
siujamo d33fbc615e chore: add Gitea Actions CI and switch repo URLs to self-hosted Gitea
Add .gitea/workflows/publish.yml to trigger npm publish on version tags.
Update repository, bugs, and homepage URLs to git.onixbyte.com.
2026-06-08 09:25:01 +08:00
zihluwang c11cef3191 chore: bump version to 1.0.1 2026-05-10 13:18:12 +08:00
siujamo bae2ff199e fix: downgrade version to 1.0.0 and add author information in package.json 2026-05-09 12:58:24 +08:00
siujamo 9a413e6ab7 fix: remove scope from package name 2026-05-08 18:02:24 +08:00
siujamo f28721d4c9 fix: update package name to include scope 2026-05-08 18:01:54 +08:00
3 changed files with 46 additions and 7 deletions

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: Publish to npm
on:
push:
tags:
- "v*.*.*"
- "*.*.*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Setup pnpm
run: corepack enable && corepack prepare pnpm@latest --activate
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+3 -3
View File
@@ -7,11 +7,11 @@ Reference: [Fetch spec — port blocking](https://fetch.spec.whatwg.org/#port-bl
## Install ## Install
```bash ```bash
npm install @onixbyte/vite-plugin-port-checker -D npm install vite-plugin-port-checker -D
# or # or
pnpm add @onixbyte/vite-plugin-port-checker -D pnpm add vite-plugin-port-checker -D
# or # or
yarn add @onixbyte/vite-plugin-port-checker -D yarn add vite-plugin-port-checker -D
``` ```
## Usage ## Usage
+9 -4
View File
@@ -1,7 +1,12 @@
{ {
"name": "vite-plugin-port-checker", "name": "vite-plugin-port-checker",
"version": "1.0.1", "version": "1.0.2",
"description": "A Vite plugin that warns if the dev server is running on a browser-restricted port.", "description": "A Vite plugin that warns if the dev server is running on a browser-restricted port.",
"author": {
"email": "opensource@onixbyte.com",
"name": "OnixByte Open Source Team",
"url": "https://onixbyte.com"
},
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"vite", "vite",
@@ -26,10 +31,10 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/onixbyte/vite-plugin-port-checker.git" "url": "git+https://git.onixbyte.com/onixbyte/vite-plugin-port-checker.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/onixbyte/vite-plugin-port-checker/issues" "url": "https://git.onixbyte.com/onixbyte/vite-plugin-port-checker/issues"
}, },
"homepage": "https://github.com/onixbyte/vite-plugin-port-checker#readme" "homepage": "https://git.onixbyte.com/onixbyte/vite-plugin-port-checker#readme"
} }