-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/nodejs comlink package #128
Conversation
0277cbd
to
ef52550
Compare
* also add bundler to comlink_language_server
* ensure that schemas generated for profile input, result and error are valid json schemas even in case of parsing errors (although they might be trivial in that case) * this allows better integration with json schema types in POD * emit error when profile has no Use cases
* profile id and version are not currently present in the profile document * add convenience to nodejs_comlink package to parse them from file name in the parseProfile function
* update actions checkout, cache, download-artifact, upload-artifact, setup-node, setup-python to newest major version * separate map_std, nodejs_comlink and comlink_language_server into a separate workflow * abstract core_build action, which takes care of building any core component (core.wasm, test-core.wasm, comlink.wasm) * remove option to build all hosts at once, it doesn't properly work anyway * add changelogs, version files, gitignore
ef52550
to
c204b6b
Compare
* use the same version in VERSION file and package.json in new packages * remove incorrect comment * remove misplaced tab character
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.
LGTM, just names of steps.
import { | ||
DocumentUri, | ||
TextDocumentContentChangeEvent, | ||
} from 'vscode-languageserver'; | ||
|
||
import { ComlinkDocument } from './document'; | ||
import { stripUriPrefix } from './lib'; | ||
import { Diagnostic, Profile, ProfileSpans } from './parser/model'; | ||
import { Diagnostic, Profile, ProfileSpans } from '@superfaceai/comlink'; |
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.
How does it work with linked package? It works thanks to bundling right?
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.
Yes, since this is basically a "binary" release (as opposed to a library), and I was using it this way during development. It's a good question whether we want to keep it this way or add a proper npm dependency.
Draft because: