2 Star 1 Fork 0

吴烜 / vscode_english_chinese_dictionary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
开发说明.md 717 Bytes
一键复制 编辑 原始数据 按行查看 历史
吴烜 提交于 2021-09-13 22:01 . 修复发布问题

每次提交前, 需确保通过所有测试用例: 参考官方文档, 在VS Code调试窗口运行"Launch Tests", 即运行test目录下所有测试用例, 并在"DEBUG CONSOLE"中显示测试结果.

发布

vsce publish

配置问题解决

Executing prepublish script 'npm run vscode:prepublish'...

> EnglishChineseDictionary@1.1.0 vscode:prepublish
> tsc -p ./

node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax.

20 /// <reference lib="es2016" />
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

通过升级 TypeScript 解决:https://stackoverflow.com/a/65678958/1536803

1
https://gitee.com/zhishi/vscode_english_chinese_dictionary.git
git@gitee.com:zhishi/vscode_english_chinese_dictionary.git
zhishi
vscode_english_chinese_dictionary
vscode_english_chinese_dictionary
master

搜索帮助