Skip to content

[Bug] Release to Gitee #49

@northword

Description

@northword

ref: #47

cc @volatile-static

@gitee/typescript-sdk-v5 是以 ts 格式发布的,而脚手架是以 js 格式发布的,且是使用 node 运行的,不支持直接运行 ts。

因此,需要 bundle sdk 或自行实现。

或是将这部分单独作为一个模块,并调用 tsx 执行。需要解决变量传递。


自行实现参考:

可以依赖 ofetch ,共需要写 6 个方法。

另外,创建 release 时的 target_commitish 需要作为选项。


打包参考:

报错,还不晓得原因。


也可以向 sdk 仓库发 issue 请求其增加 js。(https://gitee.com/sdk/typescript-sdk-v5/issues/IARN0E?from=project-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions