@ws-ui/code-editor 1.8.1 → 1.8.4
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/dist/editor/index.d.ts +1 -1
- package/dist/editor/utils.d.ts +1 -1
- package/package.json +4 -3
package/dist/editor/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FileFolderType, IMethodAttributes, ISource, ITextEditorSelection } from '
|
|
2
|
+
import { FileFolderType, IMethodAttributes, ISource, ITextEditorSelection } from '@ws-ui/shared';
|
|
3
3
|
import { TEditor } from './providers';
|
|
4
4
|
import { LSPProps } from './Alerts';
|
|
5
5
|
import { editor as MonacoEditor } from 'monaco-editor';
|
package/dist/editor/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Monaco } from '@monaco-editor/react';
|
|
2
2
|
import { editor as MonacoEditor } from 'monaco-editor';
|
|
3
|
-
import { ITextEditorSelection } from '
|
|
3
|
+
import { ITextEditorSelection } from '@ws-ui/shared';
|
|
4
4
|
export declare function getFileSystemPath(path: string, withProtocol?: boolean): string;
|
|
5
5
|
export declare function _await(callback: () => void, timeout?: number): void;
|
|
6
6
|
export declare function jumpToSelection(editor: MonacoEditor.IStandaloneCodeEditor, sel: ITextEditorSelection): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/code-editor",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prebuild": "npm run clean:cache",
|
|
23
23
|
"build": "tsc && vite build",
|
|
24
24
|
"build:noloader": "cross-env VITE_DISABLE_MONACO_LOADER=true npm run build",
|
|
25
|
-
"publish": "npm publish --
|
|
25
|
+
"publish": "yarn npm publish --access public"
|
|
26
26
|
},
|
|
27
27
|
"overrides": {
|
|
28
28
|
"@ws-ui/shared": {
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@codingame/monaco-vscode-theme-service-override": "8.0.4",
|
|
57
57
|
"@monaco-editor/react": "4.6.0",
|
|
58
58
|
"@popperjs/core": "^2.9.2",
|
|
59
|
+
"@ws-ui/shared": "1.8.4",
|
|
59
60
|
"classnames": "^2.3.1",
|
|
60
61
|
"lodash": "^4.17.21",
|
|
61
62
|
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@8.0.4",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"@types/react-dom": "^17.0.5",
|
|
80
81
|
"@types/react-select": "^4.0.15",
|
|
81
82
|
"@vitejs/plugin-react": "^4.3.4",
|
|
82
|
-
"@ws-ui/vite-plugins": "1.8.
|
|
83
|
+
"@ws-ui/vite-plugins": "1.8.4",
|
|
83
84
|
"autoprefixer": "^10.4.2",
|
|
84
85
|
"cross-env": "^7.0.3",
|
|
85
86
|
"esbuild": "^0.18.20",
|