Skip to content

Commit

Permalink
feat: support deploy local manifest file
Browse files Browse the repository at this point in the history
  • Loading branch information
Leizhenpeng committed Jan 15, 2024
1 parent 0548f66 commit eea915b
Show file tree
Hide file tree
Showing 8 changed files with 464 additions and 22 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"conf": "^12.0.0",
"fast-glob": "^3.3.1",
"fs-extra": "^11.1.1",
"listr": "^0.14.3",
"onebot-feishu": "workspace:^",
"ora": "^8.0.1",
"picocolors": "^1.0.0",
Expand All @@ -49,6 +50,7 @@
"@antfu/ni": "^0.21.3",
"@antfu/utils": "^0.7.4",
"@types/fs-extra": "^11.0.1",
"@types/listr": "^0.14.9",
"@types/node": "^18.16.16",
"@types/prompts": "^2.4.4",
"@types/yargs": "^17.0.24",
Expand Down
2 changes: 2 additions & 0 deletions packages/feishuapi/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Configuration } from './configuration'
import { getFeishuCookies } from './auth'
import { OpenApp } from './app'

export {
OpenApp,
Configuration,
getFeishuCookies,
}
5 changes: 2 additions & 3 deletions packages/feishuapi/test/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import type { AppInfo, EventUrlInfo } from '../src/app'
import { FeishuAppPlus, OpenApp } from '../src/app'

const testConfig: FeishuLoginCookies = {
lark_oapi_csrf_token: 'Y1iA0mNt5CrgKU0w10OhkgwA61Z8xaa4+jMXdW1BVCU=',
session: 'XN0YXJ0-aa0n2124-c8c4--b7b7-7684ceb5b9aa-WVuZA',

lark_oapi_csrf_token: '6YRvL8A3JuqniYsZyAf6c//eMBfh3jaDMF6Vc1Sr870=',
session: 'XN0YXJ0-39ej5d23-864f-4461-aad1-b0eacaf2cc99-WVuZA',
}

const config = new Configuration(testConfig)
Expand Down
Loading

0 comments on commit eea915b

Please sign in to comment.