-
-
Notifications
You must be signed in to change notification settings - Fork 42
Use @cursorless/tree-sitter-wasms
dependency
#103
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
Conversation
@@ -0,0 +1 @@ | |||
cp -r node_modules/@cursorless/tree-sitter-wasms/out parsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tempted to just include node_modules/@cursorless/tree-sitter-wasms/out
directory in the extension bundle and read them in place to avoid this step but I don't feel strongly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah true, but doesn't matter really and we are gonna scrap this ext anyhow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took a crack at this but it apparently isn't recommended and you do get an error
The following include patterns in the "files" property in package.json do not match any files packaged in the extension:
- node_modules/@cursorless/tree-sitter-wasms/out
Remove any include pattern which is not needed.
I think copying assets is fine.
Related to cursorless-dev/cursorless#2898
Tested together with the above pull request