Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Release to Gitee #49

Open
northword opened this issue Sep 17, 2024 · 2 comments · May be fixed by #56
Open

[Bug] Release to Gitee #49

northword opened this issue Sep 17, 2024 · 2 comments · May be fixed by #56
Labels
bug Something isn't working

Comments

@northword
Copy link
Owner

northword commented Sep 17, 2024

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

@northword northword added the bug Something isn't working label Sep 17, 2024
@volatile-static
Copy link
Contributor

volatile-static commented Sep 17, 2024

好麻烦啊,要不先不支持gitee了吧hhh


也可以向 sdk 仓库发 issue 请求其增加 js。

这就别想了,我仨月前开的都没人理我

@northword
Copy link
Owner Author

好麻烦啊,要不先不支持gitee了吧hhh

哈哈哈哈哈也可以,那部分代码现在只要 gitee 不启用就不会导入,先那么放着吧,有空再搞 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants