Add support for cypress?
Stupidism opened this issue · comments
Feng Sun commented
Roman Lo commented
No description provided.
Cypress defines their mirror site to resolve install package by query param, pattern:
https://<mirror-site>/desktop/<version>?platform=<platform>&arch=<arch>
But taobao cypress mirror is stored in a folder-based pattern:
https://npm.taobao.org/mirrors/cypress/<version>/<platform>-<arch>/cypress.zip
So there should be an url rewrite/convert rule to make taobao npm work. Currently, I've built a local web service to do the url conversion and set the CYPRESS_DOWNLOAD_MIRROR
to it.
I don't think by generating a .npmrc
file can solve this problem. But it is okay if all the team members are using the same OS.
Jay Fong | 方剑成 commented
tbify 支持 Cypress: