Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1023 Bytes

开发说明.md

File metadata and controls

36 lines (22 loc) · 1023 Bytes

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

发布

vsce publish

参考 文档,需 PAT

问题解决

徽标

规避 svg

module not found

运行 npm install

TS1084

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

> [email protected] 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