-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mass updates and related code migrations/type fixes #50
Conversation
👋 Thanks for this, can you check to remove that .yarn stuff you've commited ? |
yarn v2+ not supported by vsce microsoft/vscode-vsce#517 draw inspiration from abcradabra (linked in above issue) nicoespeon/abracadabra@10e0c3d
Hey @iRyusa - I just pushed more changes, let me update the OP...one moment |
@iRyusa I think this is good to review now. I bumped the version just for safety, you can revert that or change as needed. In our open repos, we always ship the .yarn stuff (no cache) so everyone is always on the same page. I believe the script additions makes this feasible. Of course you are free to change that, but I think the overall package now is buildable, packageable and deployable as long as long as someone is using a yarn 2+. There are different ways to accomplish the same thing though...I'm just wanting to see this easily contributed to by many. |
@iRyusa currently if you locally |
Wondering if this needs to further similar to abcracadabra and use esbuild https://code.visualstudio.com/api/working-with-extensions/bundling-extension ? |
|
I'm going to leave this branch/PR as-is but branch from here and try the recommended esbuild path. |
NOTE: the esbuild path is raising good errors - showing things that will break at runtime (likely the problem) such as:
so I'll keep pursuing that on that newer branch. |
@iRyusa any chance you can try to run this and let me know where I should look to fix it? |
I'm trying to get this merge and deployed today + some cleaning on the repo (removing phantomJS, MJML5,...) |
@rosskevin Massive thanks for this I had to remove some of old deps that cause some issue (ESModule 😬) This is published as 2.0.0 with MJML5 branch on it, and some older command are removed. |
I tried to keep all intents the same. I note there is no eslint config.
vscode
tovscode-test
and@types/vscode
Scripts:
build
script (no watch)compile
tobuild:watch
package
scripts to usevsce
in a way that allows for modern yarn usepackage:install
for local dev usedeploy
scripts#49
I'm not familiar with writing/testing vscode extensions, so this should be reviewed before merging.
Related: