Releases: wix-incubator/corvid
v0.2.12
v0.2.11
Upgrade to Electron 10
This release upgrades the electron version used in corvid-cli
to electron 10.
If you used corvid-cli
in the past few weeks you may have gotten a "Please update your browser" message. This update will make this message go away.
Please report any issues
v0.2.9
chore(release): version 0.2.9
v0.2.3
We are very excited to announce the release of version 0.2.3! 🎉 🎊 🚀
Highlights:
- Fixed handling of broken .wix files
- Improved handling of force closing cli
- Allow showing the electron window during login & logout in debug
v0.2.2
v0.2.0
We are very excited to announce the release of version 0.2.0
! 🎉 🎊 🎈 🚀
If you are using an older version note that there are breaking changes, please read the upgrade guide below.
Highlights:
- Intelligent code-completion in your local IDE - VSCode, Sublime, etc.
- Breaking changes to the local-site file structure
Upgrade Guide
If you already have a corvid project downloaded to your machine and you'd like to upgrade it, you should push it to Wix's repository before upgrading. If you upgrade your version of corvid-cli
and try to perform any command, you will get an error.
- With your existing version of
corvid-cli
runnpx corvid-open-editor
- In the local-editor, click "Push"
npm install --save-dev corvid-cli@latest
npm install --save-dev corvid-types
(to get code completion)npx corvid pull --override
🎉 Your local project is now set up to work with the new CLI 🎈
Intelligent code completion in your local IDE
Corvid has many APIs and it's impossible (and unnecessary) to remember them all. If you're a current user of corvid-cli
, you probably visit the reference docs quite often. Now you don't have to! Introducing... corvid-types
. corvid-types
provides type definitions for corvid APIs, using Typescript Declaration files.
As devs we know to appreciate the importance of a short-feedback loop between dev and code, and how fun it is to code in an environment where your editor helps you write correct code with less typing. That is the power corvid-types
gives you. Don't take my word for it, just check out the gif above 🚀
In addition to saving you the effort of going to the documentation site to find an API, good code-intelligence should offer you only relevant suggestions. For example, we'd like to see a suggestion for $w
available in page code, but it should not be available in backend code. To support context-aware code-completion, corvid-types
exposes various typescript configurations. corvid-cli
uses the configurations to ensure you get the right suggestions in the right place (see open issues).
Why Typescript?
It's important to note that you do not need to write in Typescript to get proper code intelligence. In fact, Typescript is not supported in Corvid. We chose Typescript Declarations because they are widely supported by modern code editors, allowing you to work efficiently with the tools you love with minimal to zero overhead. In VSCode for example, you don't need to do anything, it just works out of the box! :
Note: Do not modify the generated tsconfig.json
. They are overwritten on each "local" save.
Breaking changes
Now there is a directory for each page.
What's Next?
create-corvid-app
#140 - inspired by tools likecreate-react-app
- an easy way to get started with a project, without needing to install multiple packages and run many commands.- Addressing
corvid-types
open issues - More open-source projects coming soon
Stay tuned 😍