codemirror-languageserver 1.12.1 → 1.14.0

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/package.json CHANGED
@@ -1,46 +1,55 @@
1
1
  {
2
- "name": "codemirror-languageserver",
3
- "version": "1.12.1",
4
- "description": "Language Server Plugin for CodeMirror 6",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "prepare": "rollup -c rollup.config.js"
8
- },
9
- "author": {
10
- "name": "Mahmud Ridwan",
11
- "email": "m@hjr265.me",
12
- "url": "https://hjr265.me"
13
- },
14
- "homepage": "https://github.com/FurqanSoftware/codemirror-languageserver",
15
- "bugs": {
16
- "url": "https://github.com/FurqanSoftware/codemirror-languageserver/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/FurqanSoftware/codemirror-languageserver.git"
21
- },
22
- "license": "BSD-3-Clause",
23
- "devDependencies": {
24
- "@babel/core": "^7.18.6",
25
- "@babel/preset-env": "^7.18.6",
26
- "@rollup/plugin-babel": "^5.3.1",
27
- "prettier": "^2.2.1",
28
- "rollup": "^2.75.7",
29
- "rollup-plugin-ts": "^3.0.2",
30
- "tslint": "^5.20.1",
31
- "typescript": "^4.7.4"
32
- },
33
- "dependencies": {
34
- "@codemirror/autocomplete": "^6.18.4",
35
- "@codemirror/lint": "^6.8.4",
36
- "@codemirror/state": "^6.5.1",
37
- "@codemirror/view": "^6.36.2",
38
- "@open-rpc/client-js": "^1.8.1",
39
- "marked": "^15.0.6",
40
- "vscode-languageserver-protocol": "^3.17.5"
41
- },
42
- "prettier": {
43
- "tabWidth": 4,
44
- "singleQuote": true
45
- }
2
+ "name": "codemirror-languageserver",
3
+ "version": "1.14.0",
4
+ "description": "Language Server Plugin for CodeMirror 6",
5
+ "main": "dist/index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "prepare": "rollup -c rollup.config.js"
9
+ },
10
+ "author": {
11
+ "name": "Mahmud Ridwan",
12
+ "email": "m@hjr265.me",
13
+ "url": "https://hjr265.me"
14
+ },
15
+ "homepage": "https://github.com/FurqanSoftware/codemirror-languageserver",
16
+ "bugs": {
17
+ "url": "https://github.com/FurqanSoftware/codemirror-languageserver/issues"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/FurqanSoftware/codemirror-languageserver.git"
22
+ },
23
+ "license": "BSD-3-Clause",
24
+ "devDependencies": {
25
+ "@babel/core": "^7.28.0",
26
+ "@babel/preset-env": "^7.28.0",
27
+ "@codemirror/commands": "^6.8.1",
28
+ "@codemirror/lang-cpp": "^6.0.3",
29
+ "@codemirror/search": "^6.5.11",
30
+ "@rollup/plugin-babel": "^6.0.4",
31
+ "@rollup/plugin-commonjs": "^28.0.6",
32
+ "@rollup/plugin-node-resolve": "^16.0.1",
33
+ "@rollup/plugin-typescript": "^12.1.4",
34
+ "prettier": "^3.6.2",
35
+ "rollup": "^4.46.2",
36
+ "rollup-plugin-node-polyfills": "^0.2.1",
37
+ "rollup-plugin-serve": "^3.0.0",
38
+ "tslib": "^2.8.1",
39
+ "tslint": "^6.1.3",
40
+ "typescript": "^5.9.2"
41
+ },
42
+ "dependencies": {
43
+ "@codemirror/autocomplete": "^6.18.6",
44
+ "@codemirror/lint": "^6.8.5",
45
+ "@codemirror/state": "^6.5.2",
46
+ "@codemirror/view": "^6.38.1",
47
+ "@open-rpc/client-js": "^1.8.1",
48
+ "marked": "^16.1.2",
49
+ "vscode-languageserver-protocol": "^3.17.5"
50
+ },
51
+ "prettier": {
52
+ "tabWidth": 4,
53
+ "singleQuote": true
54
+ }
46
55
  }
@@ -0,0 +1,30 @@
1
+ import babel from '@rollup/plugin-babel';
2
+ import typescript from '@rollup/plugin-typescript';
3
+ import serve from 'rollup-plugin-serve';
4
+ import { nodeResolve } from '@rollup/plugin-node-resolve';
5
+ import commonjs from '@rollup/plugin-commonjs';
6
+ import nodePolyfills from 'rollup-plugin-node-polyfills';
7
+
8
+ export default {
9
+ input: 'demo/demo.js',
10
+ output: {
11
+ dir: 'demo/dist',
12
+ format: 'es',
13
+ intro: 'const global = window;',
14
+ },
15
+ plugins: [
16
+ typescript({
17
+ declaration: false,
18
+ }),
19
+ babel({
20
+ babelHelpers: 'bundled',
21
+ }),
22
+ nodeResolve({
23
+ browser: true,
24
+ preferBuiltins: true,
25
+ }),
26
+ commonjs(),
27
+ nodePolyfills(),
28
+ serve('./demo'),
29
+ ],
30
+ };