Skip to content

Commit 1aaef3f

Browse files
committed
Update Readme and Build
1 parent 43a2e27 commit 1aaef3f

File tree

7 files changed

+19950
-41
lines changed

7 files changed

+19950
-41
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 🚀 Release
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- master
@@ -50,12 +51,6 @@ jobs:
5051
- name: ✅ Test
5152
run: pnpm run test
5253

53-
- name: 🔑 Generate Token
54-
uses: wow-actions/use-app-token@v2
55-
with:
56-
app_id: ${{ secrets.APP_ID }}
57-
private_key: ${{ secrets.PRIVATE_KEY }}
58-
5954
- name: 📦 Semantic Release
6055
uses: cycjimmy/semantic-release-action@v3
6156
id: semantic
@@ -66,24 +61,23 @@ jobs:
6661
@semantic-release/git
6762
env:
6863
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
69-
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
64+
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
7065
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}[bot]
7166
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
7267
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}[bot]
7368
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
7469

75-
- name: 🎉 Setup Node.js with GitHub Package Registry
76-
if: steps.semantic.outputs.new_release_published == 'true'
77-
uses: actions/setup-node@v3
78-
with:
79-
node-version: 16
80-
registry-url: https://npm.pkg.github.com
81-
scope: bubkoo
70+
# - name: 🎉 Setup Node.js with GitHub Package Registry
71+
# if: steps.semantic.outputs.new_release_published == 'true'
72+
# uses: actions/setup-node@v3
73+
# with:
74+
# node-version: 16
75+
# registry-url: https://npm.pkg.github.com
76+
# scope: ruediste
8277

83-
- name: 🔀 Publish To GitHub Package Registry
84-
if: steps.semantic.outputs.new_release_published == 'true'
85-
run: |
86-
sed -i 's/\("name"\:[[:space:]]*"\)\(html-to-image"\)/\1@bubkoo\/\2/' package.json
87-
npm publish
88-
env:
89-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
# - name: 🔀 Publish To Package Registry
79+
# if: steps.semantic.outputs.new_release_published == 'true'
80+
# run: |
81+
# npm publish
82+
# env:
83+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/commit-msg

Lines changed: 0 additions & 4 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
<p align="center"><strong>✂️ Generates an image from a DOM node using HTML5 canvas and SVG.</strong></p>
44

5-
<p align="center">Fork from <a href="https://github.com/tsayen/dom-to-image" rel="nofollow">dom-to-image</a> with more maintainable code and some new features.</p>
5+
<p align="center">Fork from <a href="https://github.com/bubkoo/html-to-image" rel="nofollow">html-to-image</a> to incorporate some PRs.</p>
66

77
<p align="center">
8-
<a href="https://github.com/bubkoo/html-to-image/actions/workflows/ci.yml"><img alt="build" src="https://img.shields.io/github/actions/workflow/status/bubkoo/html-to-image/ci.yml?branch=master&logo=github&style=for-the-badge"></a>
8+
<a href="https://github.com/ruediste/html-to-image/actions/workflows/ci.yml"><img alt="build" src="https://img.shields.io/github/actions/workflow/status/ruediste/html-to-image/ci.yml?branch=master&logo=github&style=for-the-badge"></a>
99
<a href="https://app.codecov.io/gh/bubkoo/html-to-image"><img alt="coverage" src="https://img.shields.io/codecov/c/gh/bubkoo/html-to-image?logo=codecov&style=for-the-badge&token=BWweeU2uNX"></a>
10-
<a href="https://www.npmjs.com/package/html-to-image" rel="nofollow"><img alt="NPM Package" src="https://img.shields.io/npm/v/html-to-image.svg?logo=npm&style=for-the-badge" /></a>
11-
<a href="https://www.npmjs.com/package/html-to-image" rel="nofollow"><img alt="NPM Downloads" src="http://img.shields.io/npm/dm/html-to-image.svg?logo=npm&style=for-the-badge" /></a>
10+
<a href="https://www.npmjs.com/package/@ruediste/html-to-image" rel="nofollow"><img alt="NPM Package" src="https://img.shields.io/npm/v/html-to-image.svg?logo=npm&style=for-the-badge" /></a>
11+
<a href="https://www.npmjs.com/package/@ruediste/html-to-image" rel="nofollow"><img alt="NPM Downloads" src="http://img.shields.io/npm/dm/html-to-image.svg?logo=npm&style=for-the-badge" /></a>
1212

1313

1414
</p>
1515

1616
<p align="center">
17-
<a href="/LICENSE"><img src="https://img.shields.io/github/license/bubkoo/html-to-image?style=for-the-badge" alt="MIT License"></a>
17+
<a href="/LICENSE"><img src="https://img.shields.io/github/license/ruediste/html-to-image?style=for-the-badge" alt="MIT License"></a>
1818
<a href="https://www.typescriptlang.org"><img alt="Language" src="https://img.shields.io/badge/language-TypeScript-blue.svg?style=for-the-badge"></a>
1919
<a href="https://github.com/bubkoo/html-to-image/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=for-the-badge"></a>
2020
</p>

0 commit comments

Comments
 (0)