-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Pre-Release] Extension did not activate on any monorepo project (PNPM, Rush, Lerna) #453
Comments
Same issue here. The pre-release version stop working on a rush monorepo project. Any commands cannot be found. |
in 75ac27c "activationEvents": [
- "workspaceContains:**/node_modules/windicss/*",
- "workspaceContains:**/node_modules/vite-plugin-windicss/*",
- "workspaceContains:**/node_modules/rollup-plugin-windicss/*",
- "workspaceContains:**/node_modules/windicss-webpack-plugin/*",
- "workspaceContains:**/node_modules/nuxt-windicss/*",
- "workspaceContains:**/node_modules/svelte-windicss-preprocess/*",
- "workspaceContains:**/node_modules/stencil-windics/*s"
+ "workspaceContains:node_modules/windicss/package.json",
+ "workspaceContains:node_modules/vite-plugin-windicss/package.json",
+ "workspaceContains:node_modules/rollup-plugin-windicss/package.json",
+ "workspaceContains:node_modules/windicss-webpack-plugin/package.json",
+ "workspaceContains:node_modules/nuxt-windicss/package.json",
+ "workspaceContains:node_modules/svelte-windicss-preprocess/package.json",
+ "workspaceContains:node_modules/stencil-windics/package.json"
], @alexanderniebuhr Please revert this. It is unusable in monorepo. |
@Tanimodori that is an hard tradeoff. People complain if we activate on Additionally you can make an PR which changes the activationEvents with all the limits outlined in the first sentence. |
If they don't want unnecessary startup they can disable this plugin (globally or per workspace) as mentioned by evamass. I don't think we should detect |
I've encountered #353 in prod version and just want to try the alpha. |
Thank you for merging! Let's wait until v0.23.6 gets released into the plugin market! |
Actually waiting for someone to add a new PAT.. I do not have the permission to do that. |
When will v0.23.6 get released on the marketplace? It's been a month since this patch was merged... |
Once someone with access to the account will update the token... I've pinged them multiple times... nothing I can do.. |
Seems like extension was broken in pre-release versions when in
package.json
was added some extraordinariesactivationEvents
.Monorepo projects often does not have
node_modules
in root of project to prevent shadow dependencies, so I think there a very bad practice to choose for users when extension should be enabled or not. Any VS-code users have option to disable extension per Workspaces if he need.@alexanderniebuhr , please, add more flexible
activationEvents
or special config for force activate this extension or revert any changes to last release variant.The text was updated successfully, but these errors were encountered: