qlue-ls 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -30
- package/package.json +1 -1
- package/qlue_ls.d.ts +3 -3
- package/qlue_ls.js +4 -4
- package/qlue_ls_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -174,50 +174,29 @@ Here is a quick guide to set this project up for development.
|
|
|
174
174
|
|
|
175
175
|
You will only have to do this once.
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
In the `justfile` and `Makefile` you will find the target `init_dev`, run it:
|
|
178
178
|
|
|
179
179
|
```bash
|
|
180
|
-
|
|
181
|
-
npm install
|
|
180
|
+
just init_dev
|
|
182
181
|
```
|
|
183
182
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
If you have [just](https://github.com/casey/just) installed:
|
|
183
|
+
or
|
|
187
184
|
|
|
188
185
|
```bash
|
|
189
|
-
|
|
186
|
+
make init_dev
|
|
190
187
|
```
|
|
191
188
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
189
|
+
It will:
|
|
190
|
+
- install node dependencies
|
|
191
|
+
- build wasm binaries
|
|
192
|
+
- link against local packages
|
|
193
|
+
- run the vite dev server
|
|
197
194
|
|
|
198
195
|
If you don't have [just](https://github.com/casey/just) or [make](https://wiki.ubuntuusers.de/Makefile/) installed:
|
|
199
196
|
|
|
200
197
|
**Install [just](https://github.com/casey/just)**
|
|
201
198
|
|
|
202
199
|
|
|
203
|
-
### link against local packages
|
|
204
|
-
|
|
205
|
-
```bash
|
|
206
|
-
cd pkg
|
|
207
|
-
npm link
|
|
208
|
-
cd ../editor
|
|
209
|
-
npm link qlue-ls
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
## Run application
|
|
213
|
-
|
|
214
|
-
```bash
|
|
215
|
-
cd editor
|
|
216
|
-
npm run dev
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
Now the webapp should be running, open the browser on `localhost:5173`.
|
|
220
|
-
|
|
221
200
|
## Automatically rebuild on change
|
|
222
201
|
|
|
223
202
|
When developping the cycle is:
|
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export interface InitOutput {
|
|
|
17
17
|
readonly format_raw: (a: number, b: number) => [number, number, number, number];
|
|
18
18
|
readonly init_language_server: (a: any) => number;
|
|
19
19
|
readonly listen: (a: number, b: any) => any;
|
|
20
|
-
readonly determine_operation_type: (a: number, b: number) => [number, number];
|
|
21
20
|
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
21
|
+
readonly determine_operation_type: (a: number, b: number) => [number, number];
|
|
22
22
|
readonly get_parse_tree: (a: number, b: number, c: number) => any;
|
|
23
23
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
24
24
|
readonly __externref_table_alloc: () => number;
|
|
@@ -28,8 +28,8 @@ export interface InitOutput {
|
|
|
28
28
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
29
29
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
30
30
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
31
|
+
readonly closure1193_externref_shim: (a: number, b: number, c: any) => void;
|
|
32
|
+
readonly closure1562_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
readonly __wbindgen_start: () => void;
|
|
34
34
|
}
|
|
35
35
|
|
package/qlue_ls.js
CHANGED
|
@@ -286,11 +286,11 @@ export function get_parse_tree(input, offset) {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
function __wbg_adapter_24(arg0, arg1, arg2) {
|
|
289
|
-
wasm.
|
|
289
|
+
wasm.closure1193_externref_shim(arg0, arg1, arg2);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
function __wbg_adapter_100(arg0, arg1, arg2, arg3) {
|
|
293
|
-
wasm.
|
|
293
|
+
wasm.closure1562_externref_shim(arg0, arg1, arg2, arg3);
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -571,8 +571,8 @@ function __wbg_get_imports() {
|
|
|
571
571
|
const ret = false;
|
|
572
572
|
return ret;
|
|
573
573
|
};
|
|
574
|
-
imports.wbg.
|
|
575
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
574
|
+
imports.wbg.__wbindgen_closure_wrapper5303 = function(arg0, arg1, arg2) {
|
|
575
|
+
const ret = makeMutClosure(arg0, arg1, 1194, __wbg_adapter_24);
|
|
576
576
|
return ret;
|
|
577
577
|
};
|
|
578
578
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/qlue_ls_bg.wasm
CHANGED
|
Binary file
|