@onflow/cadence-language-server v1.0.0-preview.29
Cadence Language Server
The Cadence language server compiled to WebAssembly and bundled as an NPM package, so it can be used in tools written in JavaScript.
Releasing
To release a new version of the Language server NPM package all you need to do is create a release of Langauge server and GitHub action will also publish a new version of WebAssembly built binary to NPM. That newly build NPM package using the WebAssembly will be published and can be found on NPM https://www.npmjs.com/package/@onflow/cadence-language-server
Development
Updating src/go.js
- Copy
misc/wasm/wasm_exec.js
of appropriate Go version intosrc/go.js
. Keep the last line (export const go = new Go();
) - Update the version in the header
- Remove the anonymous function wrapper
- Change
globalThis.Go = class {
toclass Go {
- Run
npx prettier -w src/go.js
5 days ago
8 days ago
8 days ago
20 days ago
20 days ago
26 days ago
1 month ago
4 months ago
6 months ago
6 months ago
9 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months ago
1 year ago
1 year ago
12 months ago
12 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago