@eclipse-glsp/config 1.1.0-RC06 → 1.1.0-next.00e351e.134
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 +7 -3
- package/package.json +14 -16
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Provides a meta package that export common configuration objects for:
|
|
|
9
9
|
|
|
10
10
|
The package is available via npm and is used by all GLSP components implemented with Typescript.
|
|
11
11
|
ESLint and prettier are included as direct dependencies.
|
|
12
|
-
In addition, common GLSP dev dependencies like lerna
|
|
12
|
+
In addition, common GLSP dev dependencies like `lerna`, `typescript`, `rimraf`, etc. are included.
|
|
13
13
|
|
|
14
14
|
## Components
|
|
15
15
|
|
|
@@ -31,7 +31,7 @@ yarn add --dev @eclipse-glsp/config
|
|
|
31
31
|
|
|
32
32
|
```json
|
|
33
33
|
{
|
|
34
|
-
"extends": "@eclipse-glsp/ts-config
|
|
34
|
+
"extends": "@eclipse-glsp/ts-config",
|
|
35
35
|
"compilerOptions": {
|
|
36
36
|
"rootDir": "src",
|
|
37
37
|
"outDir": "lib"
|
|
@@ -39,6 +39,10 @@ yarn add --dev @eclipse-glsp/config
|
|
|
39
39
|
}
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
In addition, a custom configuration for projects that use `mocha` is available:
|
|
43
|
+
|
|
44
|
+
- `@eclipse-glsp/ts-config/mocha`
|
|
45
|
+
|
|
42
46
|
### ESLint
|
|
43
47
|
|
|
44
48
|
**Create a `.eslintrc.js`**:
|
|
@@ -65,7 +69,7 @@ module.exports = {
|
|
|
65
69
|
}
|
|
66
70
|
```
|
|
67
71
|
|
|
68
|
-
**Or add a `.prettierrc
|
|
72
|
+
**Or add a `.prettierrc` file to the workspace root**:
|
|
69
73
|
|
|
70
74
|
```json
|
|
71
75
|
"@eclipse-glsp/prettier-config"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/config",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-next.00e351e.134+00e351e",
|
|
4
4
|
"description": "Meta package that provides Typescript, eslint and prettier configurations and common dev dependencies for GLSP projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -24,27 +24,25 @@
|
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@eclipse-glsp/eslint-config": "
|
|
28
|
-
"@eclipse-glsp/prettier-config": "
|
|
29
|
-
"@eclipse-glsp/ts-config": "
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
31
|
-
"@typescript-eslint/parser": "^5.
|
|
32
|
-
"eslint": "^8.
|
|
33
|
-
"eslint-config-prettier": "^8.
|
|
27
|
+
"@eclipse-glsp/eslint-config": "1.1.0-next.00e351e.134+00e351e",
|
|
28
|
+
"@eclipse-glsp/prettier-config": "1.1.0-next.00e351e.134+00e351e",
|
|
29
|
+
"@eclipse-glsp/ts-config": "1.1.0-next.00e351e.134+00e351e",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
31
|
+
"@typescript-eslint/parser": "^5.59.7",
|
|
32
|
+
"eslint": "^8.41.0",
|
|
33
|
+
"eslint-config-prettier": "^8.8.0",
|
|
34
34
|
"eslint-plugin-chai-friendly": "^0.7.2",
|
|
35
|
-
"eslint-plugin-deprecation": "^1.
|
|
35
|
+
"eslint-plugin-deprecation": "^1.4.1",
|
|
36
36
|
"eslint-plugin-header": "^3.1.1",
|
|
37
|
-
"eslint-plugin-import": "^2.
|
|
37
|
+
"eslint-plugin-import": "^2.27.5",
|
|
38
38
|
"eslint-plugin-no-null": "^1.0.2",
|
|
39
|
-
"lerna": "^6.
|
|
40
|
-
"
|
|
41
|
-
"prettier": "^2.8.0",
|
|
39
|
+
"lerna": "^6.6.2",
|
|
40
|
+
"prettier": "^2.8.8",
|
|
42
41
|
"reflect-metadata": "^0.1.13",
|
|
43
|
-
"rimraf": "^
|
|
44
|
-
"typescript": "^4.9.3"
|
|
42
|
+
"rimraf": "^5.0.1"
|
|
45
43
|
},
|
|
46
44
|
"publishConfig": {
|
|
47
45
|
"access": "public"
|
|
48
46
|
},
|
|
49
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "00e351eeee20fb71452f1c2a99aa0d697b651451"
|
|
50
48
|
}
|