-
Notifications
You must be signed in to change notification settings - Fork 213
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
Support yarn workspaces #300
Comments
Hi @joaomoreno: any idea if this support will be added soon? |
We have a multiple extensions with some common packages mono-repo structure. Each extension has dependencies on few of those common packages. Currently we are using Lerna to manage the mono-repo, using webpack compile packages for each extension, and using vsce package individual extension and publish it. It would be great if vsce support this natively |
I've worked around this by:
See here: |
Another requirement is that it should support webpack as well as exceptions specified in the .vscodeignore file such as
|
Note that if you bundle your extension, e.g using webpack you won't need the contents of the node_modules inside your vsix. |
Interestingly enough, running It could be that I'm running |
You can safely ignore my last two comments. After looking at the PR code in #458 I can see that your goal was to run I just put up #480 to auto-detect |
I managed to get
HTH |
Split cdt-gdb-vscode into 2 packages, 1 which contains the extendable code the other is the VS code extension itself. Use Yarn workspaces to allow building both with a single command Use vsce-yarn-patch to workaround microsoft/vscode-vsce#300
Split cdt-gdb-vscode into 2 packages, 1 which contains the extendable code the other is the VS code extension itself. Use Yarn workspaces to allow building both with a single command Use vsce-yarn-patch to workaround microsoft/vscode-vsce#300
Split cdt-gdb-vscode into 2 packages, 1 which contains the memory view code the other is the VS code extension itself. Use Yarn workspaces to allow building both with a single command Use vsce-yarn-patch to workaround microsoft/vscode-vsce#300
This has been published in the latest prerelease version of |
This is verified. I created the following test:
This folder contains:
|
Feature request: support yarn workspaces.
vsce --yarn
(as of 1.52.0) does not package any of the modules from the root'snode_modules/
.The text was updated successfully, but these errors were encountered: