Content-Length: 445115 | pFad | http://github.com/jaywcjlove/cookie.js/commit/8a1d68693cee5a7b1dbebc4b5ef8502ee8e47071

8C chore: add sponsor badge. · jaywcjlove/cookie.js@8a1d686 · GitHub
Skip to content

Commit 8a1d686

Browse files
committed
chore: add sponsor badge.
1 parent e5e6e7e commit 8a1d686

File tree

4 files changed

+31
-8
lines changed

4 files changed

+31
-8
lines changed

.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: npm/cookiejs
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: npm/cookiejs
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: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ on:
77
jobs:
88
build-deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v3
1215
- uses: actions/setup-node@v3
1316
with:
14-
node-version: 16
17+
node-version: 18
1518
registry-url: 'https://registry.npmjs.org'
1619

1720
- run: npm install
@@ -44,6 +47,7 @@ jobs:
4447
output: build
4548
menus:
4649
Store.js: https://jaywcjlove.github.io/store.js/
50+
Sponsor: https://jaywcjlove.github.io/#/sponsor
4751
giscus:
4852
src: https://giscus.app/client.js
4953
data-repo: jaywcjlove/cookie.js
@@ -69,6 +73,13 @@ jobs:
6973
- run: cp -p dist/*html build
7074
- run: cp -p dist/*js build
7175

76+
- name: Generate Contributors Images
77+
uses: jaywcjlove/github-action-contributors@main
78+
with:
79+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
80+
output: build/CONTRIBUTORS.svg
81+
avatarSize: 42
82+
7283
- name: Create Coverage Badges
7384
uses: jaywcjlove/coverage-badges-cli@main
7485
with:
@@ -114,7 +125,7 @@ jobs:
114125
${{ steps.changelog.outputs.changelog }}
115126
116127
- name: 📦 cookiejs publish to NPM
117-
run: npm publish
128+
run: npm publish --access public --provenance
118129
continue-on-error: true
119130
env:
120131
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
JavaScript Cookie
22
===
33

4+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
45
[![Downloads](https://img.shields.io/npm/dm/cookiejs.svg?style=flat)](https://www.npmjs.com/package/cookiejs)
56
[![Build & Test](https://github.com/jaywcjlove/cookie.js/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/cookie.js/actions/workflows/ci.yml)
67
[![Coverage Status](https://jaywcjlove.github.io/cookie.js/badges.svg)](https://jaywcjlove.github.io/cookie.js/lcov-report/)
@@ -178,6 +179,16 @@ cookie.set('name', 'value', { sameSite: 'Strict' });
178179

179180
- [storejs](https://github.com/jaywcjlove/store.js) A simple, lightweight JavaScript API for handling browser localStorage , it is easy to pick up and use, has a reasonable footprint 2.36kb(gzipped: 1.04kb), and has no dependencies.
180181

182+
## Contributors
183+
184+
As always, thanks to our amazing contributors!
185+
186+
<a href="https://github.com/jaywcjlove/cookie.js/graphs/contributors">
187+
<img src="https://jaywcjlove.github.io/cookie.js/CONTRIBUTORS.svg" />
188+
</a>
189+
190+
Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
191+
181192
## License
182193

183194
Licensed under the MIT License.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.1.2",
44
"description": "A simple, lightweight JavaScript API for handling browser cookies.",
55
"homepage": "https://jaywcjlove.github.io/cookie.js/",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"main": "dist/cookie.cjs.js",
78
"module": "dist/cookie.esm.js",
89
"browser": "dist/cookie.js",

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jaywcjlove/cookie.js/commit/8a1d68693cee5a7b1dbebc4b5ef8502ee8e47071

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy