@eclipse-glsp/config 0.9.0-next.f02032cc → 0.9.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/README.md +9 -7
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# Eclipse GLSP - Shared configuration [](https://ci.eclipse.org/glsp/job/eclipse-glsp/job/glsp-client/job/master) [](https://ci.eclipse.org/glsp/job/deploy-npm-glsp-config/)
|
|
2
2
|
|
|
3
|
-
Common shared configuration for Eclipse GLSP components that are implemented with Typescript.
|
|
3
|
+
Common shared configuration for Eclipse GLSP components that are implemented with Typescript.
|
|
4
|
+
Provides a meta package that export common configuration objects for:
|
|
4
5
|
|
|
5
6
|
- [Typescript](https://www.typescriptlang.org/) (`tsconfig.json`)
|
|
6
7
|
- [ESLint](https://eslint.org/) (`.eslintrc`)
|
|
7
|
-
- [Prettier](https://prettier.io/) (`.
|
|
8
|
+
- [Prettier](https://prettier.io/) (`.prettierrc`).
|
|
8
9
|
|
|
9
10
|
The package is available via npm and are used by all GLSP components implemented with Typescript. ESLint and prettier are included as direct dependencies.
|
|
10
11
|
|
|
@@ -17,7 +18,7 @@ The package is available via npm and are used by all GLSP components implemented
|
|
|
17
18
|
## Install
|
|
18
19
|
|
|
19
20
|
```bash
|
|
20
|
-
|
|
21
|
+
yarn add --dev @eclipse-glsp/config
|
|
21
22
|
```
|
|
22
23
|
|
|
23
24
|
## Usage
|
|
@@ -26,7 +27,7 @@ $ yarn add --dev @eclipse-glsp/config
|
|
|
26
27
|
|
|
27
28
|
**Create a `tsconfig.json`**:
|
|
28
29
|
|
|
29
|
-
```
|
|
30
|
+
```json
|
|
30
31
|
{
|
|
31
32
|
"extends": "@eclipse-glsp/ts-config/tsconfig.json",
|
|
32
33
|
"compilerOptions": {
|
|
@@ -55,7 +56,7 @@ module.exports = {
|
|
|
55
56
|
|
|
56
57
|
**Add to the `package.json`**:
|
|
57
58
|
|
|
58
|
-
```
|
|
59
|
+
```json
|
|
59
60
|
{
|
|
60
61
|
// ...
|
|
61
62
|
"prettier": "@eclipse-glsp/prettier-config"
|
|
@@ -64,10 +65,11 @@ module.exports = {
|
|
|
64
65
|
|
|
65
66
|
**Or add a `.prettierrc.json` to the workspace root**:
|
|
66
67
|
|
|
67
|
-
```
|
|
68
|
+
```json
|
|
68
69
|
"@eclipse-glsp/prettier-config"
|
|
69
70
|
```
|
|
70
71
|
|
|
71
72
|
## More information
|
|
72
73
|
|
|
73
|
-
For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
|
|
74
|
+
For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
|
|
75
|
+
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/config",
|
|
3
|
-
"version": "0.9.0
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Wrapper package that provides Typescript, ESLint and prettier configurations for GLSP projects",
|
|
5
5
|
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
|
|
6
6
|
"keywords": [
|
|
@@ -27,12 +27,13 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@eclipse-glsp/eslint-config": "0.9.0
|
|
31
|
-
"@eclipse-glsp/prettier-config": "0.9.0
|
|
32
|
-
"@eclipse-glsp/ts-config": "0.9.0
|
|
30
|
+
"@eclipse-glsp/eslint-config": "0.9.0",
|
|
31
|
+
"@eclipse-glsp/prettier-config": "0.9.0",
|
|
32
|
+
"@eclipse-glsp/ts-config": "0.9.0",
|
|
33
33
|
"prettier": "^2.4.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "^3.9.2"
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"gitHead": "b1394ad8c3328a22eb1335d9bd85728a69951a72"
|
|
38
39
|
}
|