Skip to content

Commit a5c88ae

Browse files
committed
chore: add sponsor badge.
1 parent 84d576c commit a5c88ae

5 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/FUNDING.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# These are supported funding model platforms
22

3-
github: jaywcjlove
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
3+
# github: jaywcjlove
4+
# patreon: # Replace with a single Patreon username
5+
# open_collective: # Replace with a single Open Collective username
6+
# ko_fi: # Replace with a single Ko-fi username
7+
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
99
custom: https://jaywcjlove.github.io/sponsor.html

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ env:
1010
jobs:
1111
build-deploy:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
id-token: write
1316
steps:
1417
- uses: actions/checkout@v3
1518
- uses: actions/setup-node@v3
1619
with:
17-
node-version: 16
20+
node-version: 18
1821
registry-url: 'https://registry.npmjs.org'
1922

2023
- run: npm install
@@ -85,7 +88,7 @@ jobs:
8588
name: ${{ steps.create_tag.outputs.version }}
8689
tag: ${{ steps.create_tag.outputs.version }}
8790
body: |
88-
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/validator.tool@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
91+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/validator.tool@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
8992
9093
${{ steps.changelog.outputs.compareurl }}
9194

packages/core/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ validator.js
33

44
<!--dividing-->
55

6+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
67
[![Build & Deploy](https://github.com/jaywcjlove/validator.js/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/validator.js/actions/workflows/ci.yml)
78
[![No Dependencies](https://shields.io/badge/no-dependencies-green?style=flat)](https://www.npmjs.com/package/validator.tool)
89
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/validator.tool)](https://bundlephobia.com/package/validator.tool)

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.2.5",
44
"description": "Lightweight JavaScript form validation, that had minimal configuration and felt natural to use. No dependencies, support UMD.",
55
"homepage": "http://jaywcjlove.github.io/validator.js",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wang <wowohoo@qq.com> (https://github.com/jaywcjlove)",
78
"main": "cjs/index.js",
89
"module": "esm/index.js",

packages/hook/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.2.5",
44
"description": "Hooks for use with `validator.tool`.",
55
"homepage": "http://jaywcjlove.github.io/validator.js",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wang <wowohoo@qq.com> (https://github.com/jaywcjlove)",
78
"main": "./cjs/index.js",
89
"module": "./esm/index.js",

0 commit comments

Comments
 (0)