Skip to content

Commit 56257ff

Browse files
author
cccs-jc
committed
issue 695
copy generated type files into lib directory
1 parent d3d6b85 commit 56257ff

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/jupyterlab-lsp/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
"build:lib": "tsc",
3535
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
3636
"build:schema": "jlpm build:schema-backend && jlpm build:schema-completion && jlpm build:schema-hover && jlpm build:schema-diagnostics && jlpm build:schema-syntax_highlighting && jlpm build:schema-jump_to && jlpm build:schema-signature && jlpm build:schema-highlights && jlpm build:schema-plugin",
37-
"build:schema-backend": "json2ts ../../python_packages/jupyter_lsp/jupyter_lsp/schema/schema.json --unreachableDefinitions | prettier --stdin-filepath _schema.d.ts > src/_schema.d.ts",
38-
"build:schema-plugin": "json2ts schema/plugin.json | prettier --stdin-filepath _plugin.d.ts > src/_plugin.d.ts",
39-
"build:schema-completion": "json2ts schema/completion.json | prettier --stdin-filepath _completion.d.ts > src/_completion.d.ts",
40-
"build:schema-diagnostics": "json2ts schema/diagnostics.json | prettier --stdin-filepath _diagnostics.d.ts > src/_diagnostics.d.ts",
41-
"build:schema-hover": "json2ts schema/hover.json | prettier --stdin-filepath _hover.d.ts > src/_hover.d.ts",
42-
"build:schema-jump_to": "json2ts schema/jump_to.json | prettier --stdin-filepath _jump_to.d.ts > src/_jump_to.d.ts",
43-
"build:schema-syntax_highlighting": "json2ts schema/syntax_highlighting.json | prettier --stdin-filepath _syntax_highlighting.d.ts > src/_syntax_highlighting.d.ts",
44-
"build:schema-highlights": "json2ts schema/highlights.json | prettier --stdin-filepath _highlights.d.ts > src/_highlights.d.ts",
45-
"build:schema-signature": "json2ts schema/signature.json | prettier --stdin-filepath _signature.d.ts > src/_signature.d.ts",
37+
"build:schema-backend": "json2ts ../../python_packages/jupyter_lsp/jupyter_lsp/schema/schema.json --unreachableDefinitions | prettier --stdin-filepath _schema.d.ts > src/_schema.d.ts && cp src/_schema.d.ts lib/_schema.d.ts",
38+
"build:schema-plugin": "json2ts schema/plugin.json | prettier --stdin-filepath _plugin.d.ts > src/_plugin.d.ts && cp src/_plugin.d.ts lib/_plugin.d.ts",
39+
"build:schema-completion": "json2ts schema/completion.json | prettier --stdin-filepath _completion.d.ts > src/_completion.d.ts && cp src/_completion.d.ts lib/_completion.d.ts",
40+
"build:schema-diagnostics": "json2ts schema/diagnostics.json | prettier --stdin-filepath _diagnostics.d.ts > src/_diagnostics.d.ts && cp src/_diagnostics.d.ts lib/_diagnostics.d.ts",
41+
"build:schema-hover": "json2ts schema/hover.json | prettier --stdin-filepath _hover.d.ts > src/_hover.d.ts && cp src/_hover.d.ts lib/_hover.d.ts",
42+
"build:schema-jump_to": "json2ts schema/jump_to.json | prettier --stdin-filepath _jump_to.d.ts > src/_jump_to.d.ts && cp src/_jump_to.d.ts lib/_jump_to.d.ts",
43+
"build:schema-syntax_highlighting": "json2ts schema/syntax_highlighting.json | prettier --stdin-filepath _syntax_highlighting.d.ts > src/_syntax_highlighting.d.ts && cp src/_syntax_highlighting.d.ts lib/_syntax_highlighting.d.ts",
44+
"build:schema-highlights": "json2ts schema/highlights.json | prettier --stdin-filepath _highlights.d.ts > src/_highlights.d.ts && cp src/_highlights.d.ts lib/_highlights.d.ts",
45+
"build:schema-signature": "json2ts schema/signature.json | prettier --stdin-filepath _signature.d.ts > src/_signature.d.ts && cp src/_signature.d.ts lib/_signature.d.ts",
4646
"bundle": "npm pack .",
4747
"clean": "jlpm run clean:lib",
4848
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",

packages/jupyterlab-lsp/src/virtual/document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CodeEditor } from '@jupyterlab/codeeditor';
22
import { Signal } from '@lumino/signaling';
3-
import { IDocumentInfo } from 'lsp-ws-connection/src';
3+
import { IDocumentInfo } from 'lsp-ws-connection';
44

55
import { DocumentConnectionManager } from '../connection_manager';
66
import {

0 commit comments

Comments
 (0)