@puniyu/nipaw 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +263 -16
- package/dist/index.js +58 -53
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export declare class CnbClient {
|
|
|
28
28
|
commit(): CnbCommit
|
|
29
29
|
/** 获取Issue操作模块 */
|
|
30
30
|
issue(): CnbIssue
|
|
31
|
+
/** 获取Release操作模块 */
|
|
32
|
+
release(): CnbRelease
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export declare class CnbCommit {
|
|
@@ -121,7 +123,51 @@ export declare class CnbOrg {
|
|
|
121
123
|
* - `org_name` 组织名称
|
|
122
124
|
* - `option` 仓库列表选项
|
|
123
125
|
*/
|
|
124
|
-
repoList(orgName: string, option?:
|
|
126
|
+
repoList(orgName: string, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export declare class CnbRelease {
|
|
130
|
+
|
|
131
|
+
constructor()
|
|
132
|
+
/**
|
|
133
|
+
* 创建一个Release
|
|
134
|
+
*
|
|
135
|
+
* ## 参数
|
|
136
|
+
* - `owner` 仓库所有者
|
|
137
|
+
* - `repo` 仓库名称
|
|
138
|
+
* - `tag_name` 标签名称
|
|
139
|
+
* - `name` Release名称, 可选
|
|
140
|
+
* - `body` Release内容, 可选
|
|
141
|
+
* - `target_commitish` 目标提交SHA或分支, 可选
|
|
142
|
+
*/
|
|
143
|
+
create(owner: string, repo: string, tagName: string, name?: string | undefined | null, body?: string | undefined | null, targetCommitish?: string | undefined | null): Promise<ReleaseInfo>
|
|
144
|
+
/**
|
|
145
|
+
* 获取Release信息
|
|
146
|
+
*
|
|
147
|
+
* ## 参数
|
|
148
|
+
* - `owner` 仓库所有者
|
|
149
|
+
* - `repo` 仓库名称
|
|
150
|
+
* - `tag_name` 标签名称, 可选, 为空时获取最新Release
|
|
151
|
+
*/
|
|
152
|
+
info(owner: string, repo: string, tagName?: string | undefined | null): Promise<ReleaseInfo>
|
|
153
|
+
/**
|
|
154
|
+
* 获取Release列表
|
|
155
|
+
*
|
|
156
|
+
* ## 参数
|
|
157
|
+
* - `owner` 仓库所有者
|
|
158
|
+
* - `repo` 仓库名称
|
|
159
|
+
*/
|
|
160
|
+
list(owner: string, repo: string): Promise<Array<ReleaseInfo>>
|
|
161
|
+
/**
|
|
162
|
+
* 更新Release
|
|
163
|
+
*
|
|
164
|
+
* ## 参数
|
|
165
|
+
* - `owner` 仓库所有者
|
|
166
|
+
* - `repo` 仓库名称
|
|
167
|
+
* - `tag_name` 标签名称
|
|
168
|
+
* - `option` 更新参数
|
|
169
|
+
*/
|
|
170
|
+
update(owner: string, repo: string, tagName: string, option: UpdateReleaseOptions): Promise<ReleaseInfo>
|
|
125
171
|
}
|
|
126
172
|
|
|
127
173
|
export declare class CnbRepo {
|
|
@@ -178,7 +224,7 @@ export declare class CnbUser {
|
|
|
178
224
|
* - `user_name` 用户名称, 为空时获取当前登录用户仓库列表
|
|
179
225
|
* - `option` 仓库列表选项
|
|
180
226
|
*/
|
|
181
|
-
repoList(userName?: string | undefined | null, option?:
|
|
227
|
+
repoList(userName?: string | undefined | null, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
182
228
|
}
|
|
183
229
|
|
|
184
230
|
export declare class GitCodeClient {
|
|
@@ -210,6 +256,8 @@ export declare class GitCodeClient {
|
|
|
210
256
|
commit(): GitCodeCommit
|
|
211
257
|
/** 获取Issue操作模块 */
|
|
212
258
|
issue(): GitCodeIssue
|
|
259
|
+
/** 获取Release操作模块 */
|
|
260
|
+
release(): GitCodeRelease
|
|
213
261
|
}
|
|
214
262
|
|
|
215
263
|
export declare class GitCodeCommit {
|
|
@@ -303,7 +351,51 @@ export declare class GitCodeOrg {
|
|
|
303
351
|
* - `org_name` 组织名称
|
|
304
352
|
* - `option` 仓库列表选项
|
|
305
353
|
*/
|
|
306
|
-
repoList(orgName: string, option?:
|
|
354
|
+
repoList(orgName: string, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export declare class GitCodeRelease {
|
|
358
|
+
|
|
359
|
+
constructor()
|
|
360
|
+
/**
|
|
361
|
+
* 创建一个Release
|
|
362
|
+
*
|
|
363
|
+
* ## 参数
|
|
364
|
+
* - `owner` 仓库所有者
|
|
365
|
+
* - `repo` 仓库名称
|
|
366
|
+
* - `tag_name` 标签名称
|
|
367
|
+
* - `name` Release名称, 可选
|
|
368
|
+
* - `body` Release内容, 可选
|
|
369
|
+
* - `target_commitish` 目标提交SHA或分支, 可选
|
|
370
|
+
*/
|
|
371
|
+
create(owner: string, repo: string, tagName: string, name?: string | undefined | null, body?: string | undefined | null, targetCommitish?: string | undefined | null): Promise<ReleaseInfo>
|
|
372
|
+
/**
|
|
373
|
+
* 获取Release信息
|
|
374
|
+
*
|
|
375
|
+
* ## 参数
|
|
376
|
+
* - `owner` 仓库所有者
|
|
377
|
+
* - `repo` 仓库名称
|
|
378
|
+
* - `tag_name` 标签名称, 可选, 为空时获取最新Release
|
|
379
|
+
*/
|
|
380
|
+
info(owner: string, repo: string, tagName?: string | undefined | null): Promise<ReleaseInfo>
|
|
381
|
+
/**
|
|
382
|
+
* 获取Release列表
|
|
383
|
+
*
|
|
384
|
+
* ## 参数
|
|
385
|
+
* - `owner` 仓库所有者
|
|
386
|
+
* - `repo` 仓库名称
|
|
387
|
+
*/
|
|
388
|
+
list(owner: string, repo: string): Promise<Array<ReleaseInfo>>
|
|
389
|
+
/**
|
|
390
|
+
* 更新Release
|
|
391
|
+
*
|
|
392
|
+
* ## 参数
|
|
393
|
+
* - `owner` 仓库所有者
|
|
394
|
+
* - `repo` 仓库名称
|
|
395
|
+
* - `tag_name` 标签名称
|
|
396
|
+
* - `option` 更新参数
|
|
397
|
+
*/
|
|
398
|
+
update(owner: string, repo: string, tagName: string, option: UpdateReleaseOptions): Promise<ReleaseInfo>
|
|
307
399
|
}
|
|
308
400
|
|
|
309
401
|
export declare class GitCodeRepo {
|
|
@@ -360,7 +452,7 @@ export declare class GitCodeUser {
|
|
|
360
452
|
* - `user_name` 用户名称, 为空时获取当前登录用户仓库列表
|
|
361
453
|
* - `option` 仓库列表选项
|
|
362
454
|
*/
|
|
363
|
-
repoList(userName?: string | undefined | null, option?:
|
|
455
|
+
repoList(userName?: string | undefined | null, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
364
456
|
}
|
|
365
457
|
|
|
366
458
|
export declare class GiteeClient {
|
|
@@ -392,6 +484,8 @@ export declare class GiteeClient {
|
|
|
392
484
|
commit(): GiteeCommit
|
|
393
485
|
/** 获取Issue操作模块 */
|
|
394
486
|
issue(): GiteeIssue
|
|
487
|
+
/** 获取Release操作模块 */
|
|
488
|
+
release(): GiteeRelease
|
|
395
489
|
}
|
|
396
490
|
|
|
397
491
|
export declare class GiteeCommit {
|
|
@@ -485,7 +579,51 @@ export declare class GiteeOrg {
|
|
|
485
579
|
* - `org_name` 组织名称
|
|
486
580
|
* - `option` 仓库列表选项
|
|
487
581
|
*/
|
|
488
|
-
repoList(orgName: string, option?:
|
|
582
|
+
repoList(orgName: string, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export declare class GiteeRelease {
|
|
586
|
+
|
|
587
|
+
constructor()
|
|
588
|
+
/**
|
|
589
|
+
* 创建一个Release
|
|
590
|
+
*
|
|
591
|
+
* ## 参数
|
|
592
|
+
* - `owner` 仓库所有者
|
|
593
|
+
* - `repo` 仓库名称
|
|
594
|
+
* - `tag_name` 标签名称
|
|
595
|
+
* - `name` Release名称, 可选
|
|
596
|
+
* - `body` Release内容, 可选
|
|
597
|
+
* - `target_commitish` 目标提交SHA或分支, 可选
|
|
598
|
+
*/
|
|
599
|
+
create(owner: string, repo: string, tagName: string, name?: string | undefined | null, body?: string | undefined | null, targetCommitish?: string | undefined | null): Promise<ReleaseInfo>
|
|
600
|
+
/**
|
|
601
|
+
* 获取Release信息
|
|
602
|
+
*
|
|
603
|
+
* ## 参数
|
|
604
|
+
* - `owner` 仓库所有者
|
|
605
|
+
* - `repo` 仓库名称
|
|
606
|
+
* - `tag_name` 标签名称, 可选, 为空时获取最新Release
|
|
607
|
+
*/
|
|
608
|
+
info(owner: string, repo: string, tagName?: string | undefined | null): Promise<ReleaseInfo>
|
|
609
|
+
/**
|
|
610
|
+
* 获取Release列表
|
|
611
|
+
*
|
|
612
|
+
* ## 参数
|
|
613
|
+
* - `owner` 仓库所有者
|
|
614
|
+
* - `repo` 仓库名称
|
|
615
|
+
*/
|
|
616
|
+
list(owner: string, repo: string): Promise<Array<ReleaseInfo>>
|
|
617
|
+
/**
|
|
618
|
+
* 更新Release
|
|
619
|
+
*
|
|
620
|
+
* ## 参数
|
|
621
|
+
* - `owner` 仓库所有者
|
|
622
|
+
* - `repo` 仓库名称
|
|
623
|
+
* - `tag_name` 标签名称
|
|
624
|
+
* - `option` 更新参数
|
|
625
|
+
*/
|
|
626
|
+
update(owner: string, repo: string, tagName: string, option: UpdateReleaseOptions): Promise<ReleaseInfo>
|
|
489
627
|
}
|
|
490
628
|
|
|
491
629
|
export declare class GiteeRepo {
|
|
@@ -542,7 +680,7 @@ export declare class GiteeUser {
|
|
|
542
680
|
* - `user_name` 用户名称, 为空时获取当前登录用户仓库列表
|
|
543
681
|
* - `option` 仓库列表选项
|
|
544
682
|
*/
|
|
545
|
-
repoList(userName?: string | undefined | null, option?:
|
|
683
|
+
repoList(userName?: string | undefined | null, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
546
684
|
}
|
|
547
685
|
|
|
548
686
|
export declare class GithubClient {
|
|
@@ -574,6 +712,8 @@ export declare class GithubClient {
|
|
|
574
712
|
commit(): GithubCommit
|
|
575
713
|
/** 获取Issue操作模块 */
|
|
576
714
|
issue(): GithubIssue
|
|
715
|
+
/** 获取Release操作模块 */
|
|
716
|
+
release(): GithubRelease
|
|
577
717
|
/**
|
|
578
718
|
* 设置反向代理
|
|
579
719
|
*
|
|
@@ -674,7 +814,51 @@ export declare class GithubOrg {
|
|
|
674
814
|
* - `org_name` 组织名称
|
|
675
815
|
* - `option` 仓库列表选项
|
|
676
816
|
*/
|
|
677
|
-
repoList(orgName: string, option?:
|
|
817
|
+
repoList(orgName: string, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export declare class GithubRelease {
|
|
821
|
+
|
|
822
|
+
constructor()
|
|
823
|
+
/**
|
|
824
|
+
* 创建一个Release
|
|
825
|
+
*
|
|
826
|
+
* ## 参数
|
|
827
|
+
* - `owner` 仓库所有者
|
|
828
|
+
* - `repo` 仓库名称
|
|
829
|
+
* - `tag_name` 标签名称
|
|
830
|
+
* - `name` Release名称, 可选
|
|
831
|
+
* - `body` Release内容, 可选
|
|
832
|
+
* - `target_commitish` 目标提交SHA或分支, 可选
|
|
833
|
+
*/
|
|
834
|
+
create(owner: string, repo: string, tagName: string, name?: string | undefined | null, body?: string | undefined | null, targetCommitish?: string | undefined | null): Promise<ReleaseInfo>
|
|
835
|
+
/**
|
|
836
|
+
* 获取Release信息
|
|
837
|
+
*
|
|
838
|
+
* ## 参数
|
|
839
|
+
* - `owner` 仓库所有者
|
|
840
|
+
* - `repo` 仓库名称
|
|
841
|
+
* - `tag_name` 标签名称, 可选, 为空时获取最新Release
|
|
842
|
+
*/
|
|
843
|
+
info(owner: string, repo: string, tagName?: string | undefined | null): Promise<ReleaseInfo>
|
|
844
|
+
/**
|
|
845
|
+
* 获取Release列表
|
|
846
|
+
*
|
|
847
|
+
* ## 参数
|
|
848
|
+
* - `owner` 仓库所有者
|
|
849
|
+
* - `repo` 仓库名称
|
|
850
|
+
*/
|
|
851
|
+
list(owner: string, repo: string): Promise<Array<ReleaseInfo>>
|
|
852
|
+
/**
|
|
853
|
+
* 更新Release
|
|
854
|
+
*
|
|
855
|
+
* ## 参数
|
|
856
|
+
* - `owner` 仓库所有者
|
|
857
|
+
* - `repo` 仓库名称
|
|
858
|
+
* - `tag_name` 标签名称
|
|
859
|
+
* - `option` 更新参数
|
|
860
|
+
*/
|
|
861
|
+
update(owner: string, repo: string, tagName: string, option: UpdateReleaseOptions): Promise<ReleaseInfo>
|
|
678
862
|
}
|
|
679
863
|
|
|
680
864
|
export declare class GithubRepo {
|
|
@@ -731,7 +915,14 @@ export declare class GithubUser {
|
|
|
731
915
|
* - `user_name` 用户名称, 为空时获取当前登录用户仓库列表
|
|
732
916
|
* - `option` 仓库列表选项
|
|
733
917
|
*/
|
|
734
|
-
repoList(userName?: string | undefined | null, option?:
|
|
918
|
+
repoList(userName?: string | undefined | null, option?: RepoListOptions | undefined | null): Promise<Array<RepoInfo>>
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export interface AssetsInfo {
|
|
922
|
+
/** 资源文件名 */
|
|
923
|
+
name: string
|
|
924
|
+
/** 资源下载地址 */
|
|
925
|
+
url: string
|
|
735
926
|
}
|
|
736
927
|
|
|
737
928
|
export declare const enum CollaboratorPermission {
|
|
@@ -766,8 +957,8 @@ export interface CommitInfo {
|
|
|
766
957
|
commit: CommitData
|
|
767
958
|
/** 提交统计信息 */
|
|
768
959
|
stats: StatsInfo
|
|
769
|
-
/**
|
|
770
|
-
|
|
960
|
+
/** 文件差异状态 */
|
|
961
|
+
files: Array<FileInfo>
|
|
771
962
|
}
|
|
772
963
|
|
|
773
964
|
export interface CommitListOptions {
|
|
@@ -821,6 +1012,36 @@ export interface CreateIssueOptions {
|
|
|
821
1012
|
assignees?: Array<string>
|
|
822
1013
|
}
|
|
823
1014
|
|
|
1015
|
+
export interface FileInfo {
|
|
1016
|
+
/** 文件名 */
|
|
1017
|
+
fileName: string
|
|
1018
|
+
/** 文件状态 */
|
|
1019
|
+
status: FileStatus
|
|
1020
|
+
/** 新增行数 */
|
|
1021
|
+
additions: number
|
|
1022
|
+
/** 删除行数 */
|
|
1023
|
+
deletions: number
|
|
1024
|
+
/** 修改行数 */
|
|
1025
|
+
changes: number
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export declare const enum FileStatus {
|
|
1029
|
+
/** 新增文件 */
|
|
1030
|
+
Added = 'Added',
|
|
1031
|
+
/** 修改文件 */
|
|
1032
|
+
Modified = 'Modified',
|
|
1033
|
+
/** 删除文件 */
|
|
1034
|
+
Deleted = 'Deleted',
|
|
1035
|
+
/** 重命名文件 */
|
|
1036
|
+
Renamed = 'Renamed',
|
|
1037
|
+
/** 复制文件 */
|
|
1038
|
+
Copied = 'Copied',
|
|
1039
|
+
/** 文件已变更 */
|
|
1040
|
+
Changed = 'Changed',
|
|
1041
|
+
/** 文件未变更 */
|
|
1042
|
+
UnChanged = 'UnChanged'
|
|
1043
|
+
}
|
|
1044
|
+
|
|
824
1045
|
export interface IssueInfo {
|
|
825
1046
|
/** 议题编号 */
|
|
826
1047
|
number: string
|
|
@@ -888,11 +1109,30 @@ export interface OrgInfo {
|
|
|
888
1109
|
followCount: number
|
|
889
1110
|
}
|
|
890
1111
|
|
|
891
|
-
export interface
|
|
892
|
-
/**
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
|
|
1112
|
+
export interface ReleaseAuthorInfo {
|
|
1113
|
+
/** 用户登录名 */
|
|
1114
|
+
login: string
|
|
1115
|
+
/** 用户头像地址 */
|
|
1116
|
+
avatarUrl: string
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export interface ReleaseInfo {
|
|
1120
|
+
/** 标签名 */
|
|
1121
|
+
tagName: string
|
|
1122
|
+
/** 目标提交分支或 SHA */
|
|
1123
|
+
targetCommitish: string
|
|
1124
|
+
/** 是否为预发布版本 */
|
|
1125
|
+
prerelease: boolean
|
|
1126
|
+
/** 发布名称 */
|
|
1127
|
+
name: string
|
|
1128
|
+
/** 发布说明内容 */
|
|
1129
|
+
body?: string
|
|
1130
|
+
/** 发布作者信息 */
|
|
1131
|
+
author: ReleaseAuthorInfo
|
|
1132
|
+
/** 创建时间 */
|
|
1133
|
+
createdAt: Date
|
|
1134
|
+
/** 附件资源列表 */
|
|
1135
|
+
assets: Array<AssetsInfo>
|
|
896
1136
|
}
|
|
897
1137
|
|
|
898
1138
|
export interface RepoInfo {
|
|
@@ -924,7 +1164,7 @@ export interface RepoInfo {
|
|
|
924
1164
|
pushedAt: Date
|
|
925
1165
|
}
|
|
926
1166
|
|
|
927
|
-
export interface
|
|
1167
|
+
export interface RepoListOptions {
|
|
928
1168
|
/** 每页数量,默认 30,最大 100 */
|
|
929
1169
|
perPage?: number
|
|
930
1170
|
/** 页码,默认 1 */
|
|
@@ -963,6 +1203,13 @@ export interface UpdateIssueOptions {
|
|
|
963
1203
|
state?: StateType
|
|
964
1204
|
}
|
|
965
1205
|
|
|
1206
|
+
export interface UpdateReleaseOptions {
|
|
1207
|
+
/** 发行名称 */
|
|
1208
|
+
name?: string
|
|
1209
|
+
/** 发行正文 */
|
|
1210
|
+
body?: string
|
|
1211
|
+
}
|
|
1212
|
+
|
|
966
1213
|
export interface UserInfo {
|
|
967
1214
|
/** 登录用户名 */
|
|
968
1215
|
login: string
|
package/dist/index.js
CHANGED
|
@@ -81,8 +81,8 @@ function requireNative() {
|
|
|
81
81
|
try {
|
|
82
82
|
const binding = require('@puniyu/nipaw-android-arm64')
|
|
83
83
|
const bindingPackageVersion = require('@puniyu/nipaw-android-arm64/package.json').version
|
|
84
|
-
if (bindingPackageVersion !== '1.
|
|
85
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
84
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
85
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
86
86
|
}
|
|
87
87
|
return binding
|
|
88
88
|
} catch (e) {
|
|
@@ -97,8 +97,8 @@ function requireNative() {
|
|
|
97
97
|
try {
|
|
98
98
|
const binding = require('@puniyu/nipaw-android-arm-eabi')
|
|
99
99
|
const bindingPackageVersion = require('@puniyu/nipaw-android-arm-eabi/package.json').version
|
|
100
|
-
if (bindingPackageVersion !== '1.
|
|
101
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
100
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
101
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
102
102
|
}
|
|
103
103
|
return binding
|
|
104
104
|
} catch (e) {
|
|
@@ -118,8 +118,8 @@ function requireNative() {
|
|
|
118
118
|
try {
|
|
119
119
|
const binding = require('@puniyu/nipaw-win32-x64-gnu')
|
|
120
120
|
const bindingPackageVersion = require('@puniyu/nipaw-win32-x64-gnu/package.json').version
|
|
121
|
-
if (bindingPackageVersion !== '1.
|
|
122
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
121
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
122
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
123
123
|
}
|
|
124
124
|
return binding
|
|
125
125
|
} catch (e) {
|
|
@@ -134,8 +134,8 @@ function requireNative() {
|
|
|
134
134
|
try {
|
|
135
135
|
const binding = require('@puniyu/nipaw-win32-x64-msvc')
|
|
136
136
|
const bindingPackageVersion = require('@puniyu/nipaw-win32-x64-msvc/package.json').version
|
|
137
|
-
if (bindingPackageVersion !== '1.
|
|
138
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
137
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
138
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
139
139
|
}
|
|
140
140
|
return binding
|
|
141
141
|
} catch (e) {
|
|
@@ -151,8 +151,8 @@ function requireNative() {
|
|
|
151
151
|
try {
|
|
152
152
|
const binding = require('@puniyu/nipaw-win32-ia32-msvc')
|
|
153
153
|
const bindingPackageVersion = require('@puniyu/nipaw-win32-ia32-msvc/package.json').version
|
|
154
|
-
if (bindingPackageVersion !== '1.
|
|
155
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
154
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
155
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
156
156
|
}
|
|
157
157
|
return binding
|
|
158
158
|
} catch (e) {
|
|
@@ -167,8 +167,8 @@ function requireNative() {
|
|
|
167
167
|
try {
|
|
168
168
|
const binding = require('@puniyu/nipaw-win32-arm64-msvc')
|
|
169
169
|
const bindingPackageVersion = require('@puniyu/nipaw-win32-arm64-msvc/package.json').version
|
|
170
|
-
if (bindingPackageVersion !== '1.
|
|
171
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
170
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
171
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
172
172
|
}
|
|
173
173
|
return binding
|
|
174
174
|
} catch (e) {
|
|
@@ -186,8 +186,8 @@ function requireNative() {
|
|
|
186
186
|
try {
|
|
187
187
|
const binding = require('@puniyu/nipaw-darwin-universal')
|
|
188
188
|
const bindingPackageVersion = require('@puniyu/nipaw-darwin-universal/package.json').version
|
|
189
|
-
if (bindingPackageVersion !== '1.
|
|
190
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
189
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
190
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
191
191
|
}
|
|
192
192
|
return binding
|
|
193
193
|
} catch (e) {
|
|
@@ -202,8 +202,8 @@ function requireNative() {
|
|
|
202
202
|
try {
|
|
203
203
|
const binding = require('@puniyu/nipaw-darwin-x64')
|
|
204
204
|
const bindingPackageVersion = require('@puniyu/nipaw-darwin-x64/package.json').version
|
|
205
|
-
if (bindingPackageVersion !== '1.
|
|
206
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
205
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
206
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
207
207
|
}
|
|
208
208
|
return binding
|
|
209
209
|
} catch (e) {
|
|
@@ -218,8 +218,8 @@ function requireNative() {
|
|
|
218
218
|
try {
|
|
219
219
|
const binding = require('@puniyu/nipaw-darwin-arm64')
|
|
220
220
|
const bindingPackageVersion = require('@puniyu/nipaw-darwin-arm64/package.json').version
|
|
221
|
-
if (bindingPackageVersion !== '1.
|
|
222
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
221
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
222
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
223
223
|
}
|
|
224
224
|
return binding
|
|
225
225
|
} catch (e) {
|
|
@@ -238,8 +238,8 @@ function requireNative() {
|
|
|
238
238
|
try {
|
|
239
239
|
const binding = require('@puniyu/nipaw-freebsd-x64')
|
|
240
240
|
const bindingPackageVersion = require('@puniyu/nipaw-freebsd-x64/package.json').version
|
|
241
|
-
if (bindingPackageVersion !== '1.
|
|
242
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
241
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
242
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
243
243
|
}
|
|
244
244
|
return binding
|
|
245
245
|
} catch (e) {
|
|
@@ -254,8 +254,8 @@ function requireNative() {
|
|
|
254
254
|
try {
|
|
255
255
|
const binding = require('@puniyu/nipaw-freebsd-arm64')
|
|
256
256
|
const bindingPackageVersion = require('@puniyu/nipaw-freebsd-arm64/package.json').version
|
|
257
|
-
if (bindingPackageVersion !== '1.
|
|
258
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
257
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
258
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
259
259
|
}
|
|
260
260
|
return binding
|
|
261
261
|
} catch (e) {
|
|
@@ -275,8 +275,8 @@ function requireNative() {
|
|
|
275
275
|
try {
|
|
276
276
|
const binding = require('@puniyu/nipaw-linux-x64-musl')
|
|
277
277
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-x64-musl/package.json').version
|
|
278
|
-
if (bindingPackageVersion !== '1.
|
|
279
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
278
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
279
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
280
280
|
}
|
|
281
281
|
return binding
|
|
282
282
|
} catch (e) {
|
|
@@ -291,8 +291,8 @@ function requireNative() {
|
|
|
291
291
|
try {
|
|
292
292
|
const binding = require('@puniyu/nipaw-linux-x64-gnu')
|
|
293
293
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-x64-gnu/package.json').version
|
|
294
|
-
if (bindingPackageVersion !== '1.
|
|
295
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
294
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
295
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
296
296
|
}
|
|
297
297
|
return binding
|
|
298
298
|
} catch (e) {
|
|
@@ -309,8 +309,8 @@ function requireNative() {
|
|
|
309
309
|
try {
|
|
310
310
|
const binding = require('@puniyu/nipaw-linux-arm64-musl')
|
|
311
311
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-arm64-musl/package.json').version
|
|
312
|
-
if (bindingPackageVersion !== '1.
|
|
313
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
312
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
313
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
314
314
|
}
|
|
315
315
|
return binding
|
|
316
316
|
} catch (e) {
|
|
@@ -325,8 +325,8 @@ function requireNative() {
|
|
|
325
325
|
try {
|
|
326
326
|
const binding = require('@puniyu/nipaw-linux-arm64-gnu')
|
|
327
327
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-arm64-gnu/package.json').version
|
|
328
|
-
if (bindingPackageVersion !== '1.
|
|
329
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
328
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
329
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
330
330
|
}
|
|
331
331
|
return binding
|
|
332
332
|
} catch (e) {
|
|
@@ -343,8 +343,8 @@ function requireNative() {
|
|
|
343
343
|
try {
|
|
344
344
|
const binding = require('@puniyu/nipaw-linux-arm-musleabihf')
|
|
345
345
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-arm-musleabihf/package.json').version
|
|
346
|
-
if (bindingPackageVersion !== '1.
|
|
347
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
346
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
347
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
348
348
|
}
|
|
349
349
|
return binding
|
|
350
350
|
} catch (e) {
|
|
@@ -359,8 +359,8 @@ function requireNative() {
|
|
|
359
359
|
try {
|
|
360
360
|
const binding = require('@puniyu/nipaw-linux-arm-gnueabihf')
|
|
361
361
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-arm-gnueabihf/package.json').version
|
|
362
|
-
if (bindingPackageVersion !== '1.
|
|
363
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
362
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
363
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
364
364
|
}
|
|
365
365
|
return binding
|
|
366
366
|
} catch (e) {
|
|
@@ -377,8 +377,8 @@ function requireNative() {
|
|
|
377
377
|
try {
|
|
378
378
|
const binding = require('@puniyu/nipaw-linux-loong64-musl')
|
|
379
379
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-loong64-musl/package.json').version
|
|
380
|
-
if (bindingPackageVersion !== '1.
|
|
381
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
380
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
381
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
382
382
|
}
|
|
383
383
|
return binding
|
|
384
384
|
} catch (e) {
|
|
@@ -393,8 +393,8 @@ function requireNative() {
|
|
|
393
393
|
try {
|
|
394
394
|
const binding = require('@puniyu/nipaw-linux-loong64-gnu')
|
|
395
395
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-loong64-gnu/package.json').version
|
|
396
|
-
if (bindingPackageVersion !== '1.
|
|
397
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
396
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
397
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
398
398
|
}
|
|
399
399
|
return binding
|
|
400
400
|
} catch (e) {
|
|
@@ -411,8 +411,8 @@ function requireNative() {
|
|
|
411
411
|
try {
|
|
412
412
|
const binding = require('@puniyu/nipaw-linux-riscv64-musl')
|
|
413
413
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-riscv64-musl/package.json').version
|
|
414
|
-
if (bindingPackageVersion !== '1.
|
|
415
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
414
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
415
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
416
416
|
}
|
|
417
417
|
return binding
|
|
418
418
|
} catch (e) {
|
|
@@ -427,8 +427,8 @@ function requireNative() {
|
|
|
427
427
|
try {
|
|
428
428
|
const binding = require('@puniyu/nipaw-linux-riscv64-gnu')
|
|
429
429
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-riscv64-gnu/package.json').version
|
|
430
|
-
if (bindingPackageVersion !== '1.
|
|
431
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
430
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
431
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
432
432
|
}
|
|
433
433
|
return binding
|
|
434
434
|
} catch (e) {
|
|
@@ -444,8 +444,8 @@ function requireNative() {
|
|
|
444
444
|
try {
|
|
445
445
|
const binding = require('@puniyu/nipaw-linux-ppc64-gnu')
|
|
446
446
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-ppc64-gnu/package.json').version
|
|
447
|
-
if (bindingPackageVersion !== '1.
|
|
448
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
447
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
448
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
449
449
|
}
|
|
450
450
|
return binding
|
|
451
451
|
} catch (e) {
|
|
@@ -460,8 +460,8 @@ function requireNative() {
|
|
|
460
460
|
try {
|
|
461
461
|
const binding = require('@puniyu/nipaw-linux-s390x-gnu')
|
|
462
462
|
const bindingPackageVersion = require('@puniyu/nipaw-linux-s390x-gnu/package.json').version
|
|
463
|
-
if (bindingPackageVersion !== '1.
|
|
464
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
463
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
464
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
465
465
|
}
|
|
466
466
|
return binding
|
|
467
467
|
} catch (e) {
|
|
@@ -480,8 +480,8 @@ function requireNative() {
|
|
|
480
480
|
try {
|
|
481
481
|
const binding = require('@puniyu/nipaw-openharmony-arm64')
|
|
482
482
|
const bindingPackageVersion = require('@puniyu/nipaw-openharmony-arm64/package.json').version
|
|
483
|
-
if (bindingPackageVersion !== '1.
|
|
484
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
483
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
484
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
485
485
|
}
|
|
486
486
|
return binding
|
|
487
487
|
} catch (e) {
|
|
@@ -496,8 +496,8 @@ function requireNative() {
|
|
|
496
496
|
try {
|
|
497
497
|
const binding = require('@puniyu/nipaw-openharmony-x64')
|
|
498
498
|
const bindingPackageVersion = require('@puniyu/nipaw-openharmony-x64/package.json').version
|
|
499
|
-
if (bindingPackageVersion !== '1.
|
|
500
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
499
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
500
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
501
501
|
}
|
|
502
502
|
return binding
|
|
503
503
|
} catch (e) {
|
|
@@ -512,8 +512,8 @@ function requireNative() {
|
|
|
512
512
|
try {
|
|
513
513
|
const binding = require('@puniyu/nipaw-openharmony-arm')
|
|
514
514
|
const bindingPackageVersion = require('@puniyu/nipaw-openharmony-arm/package.json').version
|
|
515
|
-
if (bindingPackageVersion !== '1.
|
|
516
|
-
throw new Error(`Native binding package version mismatch, expected 1.
|
|
515
|
+
if (bindingPackageVersion !== '1.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
516
|
+
throw new Error(`Native binding package version mismatch, expected 1.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
517
517
|
}
|
|
518
518
|
return binding
|
|
519
519
|
} catch (e) {
|
|
@@ -575,31 +575,36 @@ if (!nativeBinding) {
|
|
|
575
575
|
throw new Error(`Failed to load native binding`)
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
const { CnbClient, CnbCommit, CnbIssue, CnbOrg, CnbRepo, CnbUser, GitCodeClient, GitCodeCommit, GitCodeIssue, GitCodeOrg, GitCodeRepo, GitCodeUser, GiteeClient, GiteeCommit, GiteeIssue, GiteeOrg, GiteeRepo, GiteeUser, GithubClient, GithubCommit, GithubIssue, GithubOrg, GithubRepo, GithubUser, CollaboratorPermission, RepoVisibility, StateType } = nativeBinding
|
|
578
|
+
const { CnbClient, CnbCommit, CnbIssue, CnbOrg, CnbRelease, CnbRepo, CnbUser, GitCodeClient, GitCodeCommit, GitCodeIssue, GitCodeOrg, GitCodeRelease, GitCodeRepo, GitCodeUser, GiteeClient, GiteeCommit, GiteeIssue, GiteeOrg, GiteeRelease, GiteeRepo, GiteeUser, GithubClient, GithubCommit, GithubIssue, GithubOrg, GithubRelease, GithubRepo, GithubUser, CollaboratorPermission, FileStatus, RepoVisibility, StateType } = nativeBinding
|
|
579
579
|
export { CnbClient }
|
|
580
580
|
export { CnbCommit }
|
|
581
581
|
export { CnbIssue }
|
|
582
582
|
export { CnbOrg }
|
|
583
|
+
export { CnbRelease }
|
|
583
584
|
export { CnbRepo }
|
|
584
585
|
export { CnbUser }
|
|
585
586
|
export { GitCodeClient }
|
|
586
587
|
export { GitCodeCommit }
|
|
587
588
|
export { GitCodeIssue }
|
|
588
589
|
export { GitCodeOrg }
|
|
590
|
+
export { GitCodeRelease }
|
|
589
591
|
export { GitCodeRepo }
|
|
590
592
|
export { GitCodeUser }
|
|
591
593
|
export { GiteeClient }
|
|
592
594
|
export { GiteeCommit }
|
|
593
595
|
export { GiteeIssue }
|
|
594
596
|
export { GiteeOrg }
|
|
597
|
+
export { GiteeRelease }
|
|
595
598
|
export { GiteeRepo }
|
|
596
599
|
export { GiteeUser }
|
|
597
600
|
export { GithubClient }
|
|
598
601
|
export { GithubCommit }
|
|
599
602
|
export { GithubIssue }
|
|
600
603
|
export { GithubOrg }
|
|
604
|
+
export { GithubRelease }
|
|
601
605
|
export { GithubRepo }
|
|
602
606
|
export { GithubUser }
|
|
603
607
|
export { CollaboratorPermission }
|
|
608
|
+
export { FileStatus }
|
|
604
609
|
export { RepoVisibility }
|
|
605
610
|
export { StateType }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puniyu/nipaw",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "一个git平台封装库",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@napi-rs/cli": "^3.4.1"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@puniyu/nipaw-win32-x64-msvc": "1.
|
|
44
|
-
"@puniyu/nipaw-darwin-x64": "1.
|
|
45
|
-
"@puniyu/nipaw-linux-x64-gnu": "1.
|
|
46
|
-
"@puniyu/nipaw-linux-arm64-gnu": "1.
|
|
47
|
-
"@puniyu/nipaw-darwin-arm64": "1.
|
|
43
|
+
"@puniyu/nipaw-win32-x64-msvc": "1.9.0",
|
|
44
|
+
"@puniyu/nipaw-darwin-x64": "1.9.0",
|
|
45
|
+
"@puniyu/nipaw-linux-x64-gnu": "1.9.0",
|
|
46
|
+
"@puniyu/nipaw-linux-arm64-gnu": "1.9.0",
|
|
47
|
+
"@puniyu/nipaw-darwin-arm64": "1.9.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"artifacts": "napi artifacts",
|