File tree 4 files changed +28
-12
lines changed
4 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 1
1
# These are supported funding model platforms
2
2
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/parcel-plugin-markdown-string
8
- community_bridge : # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- custom : https://jaywcjlove.github.io/sponsor.html
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/mocker-api
8
+ # community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ custom : https://jaywcjlove.github.io/#/ sponsor
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
runs-on : ubuntu-latest
10
+ permissions :
11
+ contents : write
12
+ id-token : write
10
13
steps :
11
14
- uses : actions/checkout@v3
12
15
- uses : actions/setup-node@v3
13
16
with :
14
- node-version : 16
17
+ node-version : 18
15
18
registry-url : ' https://registry.npmjs.org'
16
19
17
20
- run : npm install
23
26
npm install
24
27
npm run build
25
28
26
- - run : npm i markdown-to-html-cli -g
27
- - run : mkdir build
28
- - run : markdown-to-html --output build/index.html
29
+ - name : Create idoc config.
30
+ run : |
31
+ cat > idoc.yml << EOF
32
+ site: "parcel-transformer-markdown {{version}}"
33
+ menus:
34
+ Home: index.html
35
+ Sponsor: https://jaywcjlove.github.io/#/sponsor
36
+ EOF
37
+
38
+ - run : npm install idoc@1.27.2 -g
39
+ - run : idoc --output="build"
29
40
30
41
- name : Generate Contributors Images
31
42
uses : jaywcjlove/github-action-contributors@main
62
73
name : ${{ steps.create_tag.outputs.version }}
63
74
tag : ${{ steps.create_tag.outputs.version }}
64
75
body : |
76
+ [](https://jaywcjlove.github.io/#/sponsor)
77
+
65
78
```js
66
79
{
67
80
"extends": "@parcel/config-default",
76
89
${{ steps.changelog.outputs.changelog }}
77
90
78
91
79
- - run : npm publish --access public
92
+ - run : npm publish --access public --provenance
80
93
name : 📦 parcel-transformer-markdown publish to NPM
81
94
continue-on-error : true
82
95
env :
Original file line number Diff line number Diff line change 1
1
parcel-transformer-markdown
2
2
===
3
3
4
+ [ ![ Buy me a coffee] ( https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )] ( https://jaywcjlove.github.io/#/sponsor )
4
5
[ ![ NPM Downloads] ( https://img.shields.io/npm/dm/parcel-transformer-markdown.svg?style=flat )] ( https://www.npmjs.com/package/parcel-transformer-markdown )
5
6
[ ![ Build & Deploy] ( https://github.com/jaywcjlove/parcel-plugin-markdown-string/actions/workflows/ci.yml/badge.svg )] ( https://github.com/jaywcjlove/parcel-plugin-markdown-string/actions/workflows/ci.yml )
6
7
[ ![ parcel-transformer-markdown version] ( https://img.shields.io/npm/v/parcel-transformer-markdown.svg?label=parcel-transformer-markdown )] ( https://www.npmjs.com/package/parcel-transformer-markdown )
Original file line number Diff line number Diff line change 3
3
"version" : " 3.0.0" ,
4
4
"description" : " Parcel plugin for loader markdown string & Markdown transformer." ,
5
5
"author" : " kenny wong <wowohoo@qq.com>" ,
6
+ "homepage" : " https://jaywcjlove.github.io/parcel-plugin-markdown-string" ,
7
+ "funding" : " https://jaywcjlove.github.io/#/sponsor" ,
6
8
"license" : " MIT" ,
7
9
"main" : " ./lib/index.js" ,
8
10
"module" : " ./esm/index.js" ,
You can’t perform that action at this time.
0 commit comments