Skip to content

Commit 5faa637

Browse files
authored
[add] Copy methods of Lark documents (#15)
1 parent 49f46be commit 5faa637

File tree

13 files changed

+1260
-1066
lines changed

13 files changed

+1260
-1066
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
tags:
55
- v*
6+
env:
7+
PUBLISH_TAG: ${{ contains(github.ref_name, '-') && 'next' || 'latest' }}
8+
69
jobs:
710
Test-Build-Publish-Deploy:
811
runs-on: ubuntu-latest
@@ -28,11 +31,12 @@ jobs:
2831
cat > .env <<EOF
2932
${{ secrets.ENV_FILE }}
3033
EOF
31-
npm publish --access public --provenance
34+
npm publish --access public --provenance --tag ${{ env.PUBLISH_TAG }}
3235
env:
3336
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3437

3538
- name: Deploy document
39+
if: ${{ env.PUBLISH_TAG == 'latest' }}
3640
uses: peaceiris/actions-gh-pages@v4
3741
with:
3842
publish_dir: ./docs

ReadMe.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,12 @@ await writeFile('document.html', markup);
150150
## Scaffolds
151151

152152
1. https://github.com/idea2app/Lark-Next-Bootstrap-ts
153+
2. https://github.com/idea2app/Lark-Next-Shadcn-ts
153154

154155
## User cases
155156

156157
1. [idea2app web-site](https://github.com/idea2app/idea2app.github.io/tree/main/models)
157-
2. [KaiYuanShe web-site](https://github.com/kaiyuanshe/kaiyuanshe.github.io/tree/main/models)
158+
2. [Open-Source-Bazaar web-site](https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io/tree/main/models)
158159

159160
## Related with
160161

@@ -166,4 +167,4 @@ await writeFile('document.html', markup);
166167
[4]: https://mobx.js.org/
167168
[5]: https://libraries.io/npm/mobx-lark
168169
[6]: https://github.com/idea2app/MobX-Lark/actions/workflows/main.yml
169-
[7]: https://nodei.co/npm/mobx-lark/
170+
[7]: https://npm.im/mobx-lark/

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-lark",
3-
"version": "2.5.0",
3+
"version": "2.6.0",
44
"license": "LGPL-3.0",
55
"author": "shiy2008@gmail.com",
66
"description": "Unofficial TypeScript SDK for FeiShu/Lark API, which is based on MobX-RESTful.",
@@ -25,37 +25,37 @@
2525
"url": "https://github.com/idea2app/MobX-Lark/issues"
2626
},
2727
"dependencies": {
28-
"@swc/helpers": "^0.5.17",
29-
"@types/react": "^19.2.2",
28+
"@swc/helpers": "^0.5.18",
29+
"@types/react": "^19.2.7",
3030
"koajax": "^3.1.2",
3131
"lodash.memoize": "^4.1.2",
3232
"mobx": "^6.15.0",
3333
"mobx-restful": "^2.1.4",
3434
"regenerator-runtime": "^0.14.1",
35-
"web-utility": "^4.6.2"
35+
"web-utility": "^4.6.4"
3636
},
3737
"peerDependencies": {
3838
"react": ">=16"
3939
},
4040
"devDependencies": {
41-
"@parcel/config-default": "~2.16.0",
42-
"@parcel/transformer-typescript-tsc": "~2.16.0",
41+
"@parcel/config-default": "~2.16.3",
42+
"@parcel/transformer-typescript-tsc": "~2.16.3",
4343
"@types/fs-extra": "^11.0.4",
4444
"@types/lodash.memoize": "^4.1.9",
45-
"@types/node": "^22.18.12",
46-
"@types/react-dom": "^19.2.2",
47-
"@types/turndown": "^5.0.5",
45+
"@types/node": "^22.19.3",
46+
"@types/react-dom": "^19.2.3",
47+
"@types/turndown": "^5.0.6",
4848
"dotenv": "^17.2.3",
49-
"fs-extra": "^11.3.2",
49+
"fs-extra": "^11.3.3",
5050
"husky": "^9.1.7",
51-
"lint-staged": "^16.2.5",
52-
"parcel": "~2.16.0",
53-
"prettier": "^3.6.2",
54-
"react": "^19.2.0",
55-
"react-dom": "^19.2.0",
51+
"lint-staged": "^16.2.7",
52+
"parcel": "~2.16.3",
53+
"prettier": "^3.7.4",
54+
"react": "^19.2.3",
55+
"react-dom": "^19.2.3",
5656
"ts-node": "^10.9.2",
57-
"turndown": "^7.2.1",
58-
"typedoc": "^0.28.14",
57+
"turndown": "^7.2.2",
58+
"typedoc": "^0.28.15",
5959
"typedoc-plugin-mdn-links": "^5.0.10",
6060
"typescript": "~5.8.3"
6161
},

0 commit comments

Comments
 (0)