This is an internal beta version.
Dolores
Dolores is a VSCode extension installed by FE engineers, providing a lot of useful features like package version check & automatic migration.
Steps
First you have to login http://delos.shopee.io/ and click on your user name at the top right, then click Account and copy your Access Token
Join or create an organization and then add you repository.
Open the project of the repository and Dolores init page will appear, input your access token and choose your organization and click Bind .
Dolores home page will pop up.
How to dev
// install dependencies
yarn
// entry the dir and dev
cd src/webviewUI && yarn && yarn build
在 VSCode 中按 F5 进行调试,弹出一个新的 vscode 窗口,打开另一个项目地址,这个项目需要注册到 delos 测试环境
会自动弹出 Init Page 或者 Home Page
How to publish
1、编译UI
cd src/webviewUI && yarn && yarn build
2、打包
vsce package // myExtension.vsix generated
3、认证(首次)
$ vsce login // input access token, token got from yanboyi
4、发布
vsce publish
// change the local version of package.json file and run
| |