Skip to content

Commit 9f35858

Browse files
Merge pull request #4 from getjoystick/publish-prepare
Prepare for publishing
2 parents cc2a11c + 0606a54 commit 9f35858

File tree

6 files changed

+50
-1999
lines changed

6 files changed

+50
-1999
lines changed

.github/workflows/publish.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Package to npmjs
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '18.x'
16+
registry-url: 'https://registry.npmjs.org'
17+
18+
- name: Git configuration
19+
run: |
20+
git config --global user.email "code@getjoystick.com"
21+
git config --global user.name "GitHub Actions"
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Build
27+
run: npm run build
28+
29+
- name: Publish
30+
run: npm publish --access=public
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

LICENSE.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

33
Copyright (c) 2023 Rui Gomes
4+
Copyright (c) 2023 Joystick letsgo@getjoystick.com
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue-turnstile
22

3-
[![npm version](https://badge.fury.io/js/vue-turnstile.svg)](https://www.npmjs.com/package/vue-turnstile)
3+
[![Latest Stable Version](https://img.shields.io/npm/v/@getjoystick/vue-turnstile)](https://www.npmjs.com/package/@getjoystick/vue-turnstile)
44

55
A [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile/) library for Vue 3
66

@@ -66,9 +66,14 @@ export default {
6666

6767
## Author
6868

69+
Original author of the library is:
6970
Rui Gomes
7071
https://ruigomes.me
7172

73+
Fork is maintained and published by:
74+
Joystick
75+
https://getjoystick.com
76+
7277
## License
7378

74-
The MIT License (MIT). Please see [LICENSE file](https://github.com/ruigomeseu/vue-turnstile/blob/main/LICENSE.md) for more information.
79+
The MIT License (MIT). Please see [LICENSE file](https://github.com/getjoystick/vue-turnstile/blob/main/LICENSE.md) for more information.

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "vue-turnstile",
3-
"version": "1.0.0",
2+
"name": "@getjoystick/vue-turnstile",
3+
"version": "1.1.0",
44
"description": "Vue library for Cloudflare Turnstile CAPTCHA alternative",
55
"type": "module",
66
"files": [
@@ -20,16 +20,12 @@
2020
"build": "vite build && vue-tsc --emitDeclarationOnly",
2121
"preview": "vite preview"
2222
},
23-
"homepage": "https://github.com/ruigomeseu/vue-turnstile",
24-
"author": {
25-
"name": "Rui Gomes",
26-
"email": "hello@ruigomes.me",
27-
"url": "https://ruigomes.me"
28-
},
23+
"homepage": "https://github.com/getjoystick/vue-turnstile",
24+
"author": "getjoystick",
2925
"license": "MIT",
3026
"repository": {
3127
"type": "git",
32-
"url": "https://github.com/ruigomeseu/vue-turnstile"
28+
"url": "https://github.com/getjoystick/vue-turnstile"
3329
},
3430
"keywords": [
3531
"cloudflare",
@@ -42,6 +38,7 @@
4238
"dependencies": {
4339
"vue": "^3.2.45"
4440
},
41+
4542
"devDependencies": {
4643
"@testing-library/cypress": "^9.0.0",
4744
"@types/node": "^18.11.18",

0 commit comments

Comments
 (0)