@ws-ui/code-editor 1.5.7 → 1.5.9
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/assets/css.worker.bundle.js +79 -77
- package/dist/assets/editor.worker.bundle.js +78 -76
- package/dist/assets/html.worker.bundle.js +79 -77
- package/dist/assets/json.worker.bundle.js +79 -77
- package/dist/assets/textmate.worker.bundle.js +110 -108
- package/dist/assets/ts.worker.bundle.js +79 -77
- package/dist/demo/LSPDemo.d.ts +0 -1
- package/dist/demo/common.d.ts +0 -1
- package/dist/demo/index.d.ts +0 -1
- package/dist/editor/Alerts.d.ts +0 -1
- package/dist/editor/extensions/types.d.ts +0 -1
- package/dist/editor/index.d.ts +1 -2
- package/dist/editor/keybindings.d.ts +0 -1
- package/dist/editor/languages/index.d.ts +0 -1
- package/dist/editor/providers/CodeEditorProvider.d.ts +0 -1
- package/dist/editor/providers/LSPProvider/WebSocketMessageReader.d.ts +0 -1
- package/dist/editor/providers/LSPProvider/WebSocketMessageWriter.d.ts +0 -1
- package/dist/editor/providers/LSPProvider/ZoomInit.d.ts +0 -1
- package/dist/editor/providers/LSPProvider/index.d.ts +0 -1
- package/dist/editor/services/index.d.ts +0 -1
- package/dist/editor/services/user/configuration.json.d.ts +88 -0
- package/dist/editor/utils/semanticTokens.d.ts +0 -1
- package/dist/editor/utils/textmateTokens.d.ts +0 -1
- package/dist/editor/utils.d.ts +1 -2
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +63 -347
- package/dist/index.es.js.map +1 -1
- package/package.json +18 -26
- package/dist/package.json +0 -100
- /package/dist/{style.css → code-editor.css} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/code-editor",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.5.7",
|
|
3
|
+
"version": "1.5.9",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"main": "./dist/index.cjs.js",
|
|
7
6
|
"module": "./dist/index.es.js",
|
|
@@ -10,7 +9,6 @@
|
|
|
10
9
|
"dist"
|
|
11
10
|
],
|
|
12
11
|
"scripts": {
|
|
13
|
-
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=code-editor\"",
|
|
14
12
|
"dev": "vite",
|
|
15
13
|
"dev:4d": "cross-env VITE_DEMO_LANG=4d vite",
|
|
16
14
|
"dev:qodly": "cross-env VITE_DEMO_LANG=qodly vite",
|
|
@@ -23,11 +21,12 @@
|
|
|
23
21
|
"prepack": "npm run build",
|
|
24
22
|
"prebuild": "npm run clean:cache",
|
|
25
23
|
"build": "tsc && vite build",
|
|
26
|
-
"build:noloader": "cross-env VITE_DISABLE_MONACO_LOADER=true npm run build"
|
|
24
|
+
"build:noloader": "cross-env VITE_DISABLE_MONACO_LOADER=true npm run build",
|
|
25
|
+
"publish": "npm publish --ignore-scripts --access public"
|
|
27
26
|
},
|
|
28
27
|
"overrides": {
|
|
29
28
|
"@ws-ui/shared": {
|
|
30
|
-
"@ws-ui/icons": "
|
|
29
|
+
"@ws-ui/icons": "$@ws-ui/icons"
|
|
31
30
|
},
|
|
32
31
|
"@monaco-editor/react": {
|
|
33
32
|
"monaco-editor": "$monaco-editor"
|
|
@@ -56,45 +55,38 @@
|
|
|
56
55
|
"@codingame/monaco-vscode-theme-defaults-default-extension": "8.0.4",
|
|
57
56
|
"@codingame/monaco-vscode-theme-service-override": "8.0.4",
|
|
58
57
|
"@monaco-editor/react": "4.6.0",
|
|
59
|
-
"
|
|
60
|
-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@8.0.4",
|
|
61
|
-
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4",
|
|
62
|
-
"vscode-ws-jsonrpc": "^3.0.0"
|
|
63
|
-
},
|
|
64
|
-
"peerDependencies": {
|
|
58
|
+
"@popperjs/core": "^2.9.2",
|
|
65
59
|
"classnames": "^2.3.1",
|
|
66
60
|
"lodash": "^4.17.21",
|
|
61
|
+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@8.0.4",
|
|
62
|
+
"monaco-languageclient": "8.8.3",
|
|
67
63
|
"re-resizable": "^6.9.0",
|
|
68
64
|
"react": "^17.0.2",
|
|
69
65
|
"react-dom": "^17.0.2",
|
|
70
66
|
"react-icons": "^4.3.1",
|
|
71
67
|
"react-popper": "^2.2.5",
|
|
72
68
|
"react-select": "^4.3.1",
|
|
73
|
-
"simplebar-react": "^2.3.3"
|
|
69
|
+
"simplebar-react": "^2.3.3",
|
|
70
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4",
|
|
71
|
+
"vscode-ws-jsonrpc": "^3.0.0"
|
|
74
72
|
},
|
|
75
73
|
"devDependencies": {
|
|
76
74
|
"@tailwindcss/typography": "^0.5.10",
|
|
77
75
|
"@types/classnames": "^2.3.0",
|
|
78
76
|
"@types/lodash": "^4.14.199",
|
|
79
|
-
"@types/node": "^20.
|
|
77
|
+
"@types/node": "^20.14.9",
|
|
80
78
|
"@types/react": "^17.0.24",
|
|
81
79
|
"@types/react-dom": "^17.0.5",
|
|
82
80
|
"@types/react-select": "^4.0.15",
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"
|
|
86
|
-
"@ws-ui/vite-plugins": "^1.0.1",
|
|
87
|
-
"autoprefixer": "^10.4.16",
|
|
81
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
82
|
+
"@ws-ui/vite-plugins": "",
|
|
83
|
+
"autoprefixer": "^10.4.2",
|
|
88
84
|
"cross-env": "^7.0.3",
|
|
89
85
|
"esbuild": "^0.18.20",
|
|
90
|
-
"eslint": "^8.45.0",
|
|
91
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
92
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
93
86
|
"postcss": "^8.4.31",
|
|
94
|
-
"prettier": "^3.3.3",
|
|
95
87
|
"tailwindcss": "^3.3.3",
|
|
96
|
-
"typescript": "^5.
|
|
97
|
-
"vite": "^
|
|
98
|
-
"vite-plugin-dts": "^
|
|
88
|
+
"typescript": "^5.8.3",
|
|
89
|
+
"vite": "^6.2.1",
|
|
90
|
+
"vite-plugin-dts": "^4.5.3"
|
|
99
91
|
}
|
|
100
|
-
}
|
|
92
|
+
}
|
package/dist/package.json
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ws-ui/code-editor",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "1.5.7",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs.js",
|
|
7
|
-
"module": "./dist/index.es.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start-dev": "nodemon --watch src --ext ts,tsx,js,jsx,css --exec \"npm run build && npm run --prefix ../.. postbuild -- --packages=code-editor\"",
|
|
14
|
-
"dev": "vite",
|
|
15
|
-
"dev:4d": "cross-env VITE_DEMO_LANG=4d vite",
|
|
16
|
-
"dev:qodly": "cross-env VITE_DEMO_LANG=qodly vite",
|
|
17
|
-
"dev:json": "cross-env VITE_DEMO_LANG=json vite",
|
|
18
|
-
"dev:js": "cross-env VITE_DEMO_LANG=js vite",
|
|
19
|
-
"dev:condition": "cross-env VITE_DEMO_LANG=condition vite",
|
|
20
|
-
"dev:qs-389": "cross-env VITE_DEMO_LANG=qs-389 vite",
|
|
21
|
-
"dev:issue-3429": "cross-env VITE_DEMO_LANG=issue-3429 vite",
|
|
22
|
-
"clean:cache": "npx rimraf node_modules/.vite node_modules/.monaco",
|
|
23
|
-
"prepack": "npm run build",
|
|
24
|
-
"prebuild": "npm run clean:cache",
|
|
25
|
-
"build": "tsc && vite build",
|
|
26
|
-
"build:noloader": "cross-env VITE_DISABLE_MONACO_LOADER=true npm run build"
|
|
27
|
-
},
|
|
28
|
-
"overrides": {
|
|
29
|
-
"@ws-ui/shared": {
|
|
30
|
-
"@ws-ui/icons": "1.5.7"
|
|
31
|
-
},
|
|
32
|
-
"@monaco-editor/react": {
|
|
33
|
-
"monaco-editor": "$monaco-editor"
|
|
34
|
-
},
|
|
35
|
-
"monaco-languageclient": {
|
|
36
|
-
"monaco-editor": "$monaco-editor",
|
|
37
|
-
"vscode": "$vscode"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@codingame/monaco-vscode-configuration-service-override": "8.0.4",
|
|
42
|
-
"@codingame/monaco-vscode-css-default-extension": "8.0.4",
|
|
43
|
-
"@codingame/monaco-vscode-editor-service-override": "8.0.4",
|
|
44
|
-
"@codingame/monaco-vscode-html-default-extension": "8.0.4",
|
|
45
|
-
"@codingame/monaco-vscode-javascript-default-extension": "8.0.4",
|
|
46
|
-
"@codingame/monaco-vscode-json-default-extension": "8.0.4",
|
|
47
|
-
"@codingame/monaco-vscode-languages-service-override": "8.0.4",
|
|
48
|
-
"@codingame/monaco-vscode-model-service-override": "8.0.4",
|
|
49
|
-
"@codingame/monaco-vscode-monarch-service-override": "8.0.4",
|
|
50
|
-
"@codingame/monaco-vscode-standalone-css-language-features": "8.0.4",
|
|
51
|
-
"@codingame/monaco-vscode-standalone-html-language-features": "8.0.4",
|
|
52
|
-
"@codingame/monaco-vscode-standalone-json-language-features": "8.0.4",
|
|
53
|
-
"@codingame/monaco-vscode-standalone-languages": "8.0.4",
|
|
54
|
-
"@codingame/monaco-vscode-standalone-typescript-language-features": "8.0.4",
|
|
55
|
-
"@codingame/monaco-vscode-textmate-service-override": "8.0.4",
|
|
56
|
-
"@codingame/monaco-vscode-theme-defaults-default-extension": "8.0.4",
|
|
57
|
-
"@codingame/monaco-vscode-theme-service-override": "8.0.4",
|
|
58
|
-
"@monaco-editor/react": "4.6.0",
|
|
59
|
-
"monaco-languageclient": "8.8.3",
|
|
60
|
-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@8.0.4",
|
|
61
|
-
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4",
|
|
62
|
-
"vscode-ws-jsonrpc": "^3.0.0"
|
|
63
|
-
},
|
|
64
|
-
"peerDependencies": {
|
|
65
|
-
"classnames": "^2.3.1",
|
|
66
|
-
"lodash": "^4.17.21",
|
|
67
|
-
"re-resizable": "^6.9.0",
|
|
68
|
-
"react": "^17.0.2",
|
|
69
|
-
"react-dom": "^17.0.2",
|
|
70
|
-
"react-icons": "^4.3.1",
|
|
71
|
-
"react-popper": "^2.2.5",
|
|
72
|
-
"react-select": "^4.3.1",
|
|
73
|
-
"simplebar-react": "^2.3.3"
|
|
74
|
-
},
|
|
75
|
-
"devDependencies": {
|
|
76
|
-
"@tailwindcss/typography": "^0.5.10",
|
|
77
|
-
"@types/classnames": "^2.3.0",
|
|
78
|
-
"@types/lodash": "^4.14.199",
|
|
79
|
-
"@types/node": "^20.6.5",
|
|
80
|
-
"@types/react": "^17.0.24",
|
|
81
|
-
"@types/react-dom": "^17.0.5",
|
|
82
|
-
"@types/react-select": "^4.0.15",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
84
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
85
|
-
"@vitejs/plugin-react": "^4.0.3",
|
|
86
|
-
"@ws-ui/vite-plugins": "^1.0.1",
|
|
87
|
-
"autoprefixer": "^10.4.16",
|
|
88
|
-
"cross-env": "^7.0.3",
|
|
89
|
-
"esbuild": "^0.18.20",
|
|
90
|
-
"eslint": "^8.45.0",
|
|
91
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
92
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
93
|
-
"postcss": "^8.4.31",
|
|
94
|
-
"prettier": "^3.3.3",
|
|
95
|
-
"tailwindcss": "^3.3.3",
|
|
96
|
-
"typescript": "^5.0.2",
|
|
97
|
-
"vite": "^5.0.0",
|
|
98
|
-
"vite-plugin-dts": "^3.5.4"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
File without changes
|