@eclipse-glsp/ts-config 1.1.0-next.fe535db.107 → 2.0.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 CHANGED
@@ -14,7 +14,7 @@ yarn add --dev @eclipse-glsp/ts-config
14
14
 
15
15
  ```json
16
16
  {
17
- "extends": "@eclipse-glsp/ts-config/tsconfig.json",
17
+ "extends": "@eclipse-glsp/ts-config",
18
18
  "compilerOptions": {
19
19
  "rootDir": "src",
20
20
  "outDir": "lib"
@@ -22,6 +22,10 @@ yarn add --dev @eclipse-glsp/ts-config
22
22
  }
23
23
  ```
24
24
 
25
+ In addition, a custom configuration for projects that use `mocha` is available:
26
+
27
+ - `@eclipse-glsp/ts-config/mocha`
28
+
25
29
  ## More information
26
30
 
27
31
  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/).
package/mocha.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ "types": ["node", "mocha", "reflect-metadata"]
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/ts-config",
3
- "version": "1.1.0-next.fe535db.107+fe535db",
3
+ "version": "2.0.0",
4
4
  "description": "Shared Typescript configuration for GLSP projects",
5
- "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
6
5
  "keywords": [
7
6
  "eclipse",
7
+ "glsp",
8
8
  "tsconfig"
9
9
  ],
10
- "author": {
11
- "name": "Eclipse GLSP"
12
- },
13
10
  "homepage": "https://www.eclipse.org/glsp/",
11
+ "bugs": "https://github.com/eclipse-glsp/glsp/issues",
14
12
  "repository": {
15
13
  "type": "git",
16
14
  "url": "https://github.com/eclipse-glsp/glsp.git"
17
15
  },
18
- "bugs": "https://github.com/eclipse-glsp/glsp/issues",
16
+ "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
17
+ "author": {
18
+ "name": "Eclipse GLSP"
19
+ },
19
20
  "contributors": [
20
21
  {
21
22
  "name": "Eclipse GLSP Project",
@@ -23,15 +24,16 @@
23
24
  "url": "https://projects.eclipse.org/projects/ecd.glsp"
24
25
  }
25
26
  ],
26
- "peerDependencies": {
27
- "typescript": ">=4.5.5"
28
- },
27
+ "main": "./tsconfig.json",
29
28
  "files": [
30
- "tsconfig.json"
29
+ "tsconfig.json",
30
+ "mocha.json"
31
31
  ],
32
+ "peerDependencies": {
33
+ "typescript": ">=4.9.x"
34
+ },
32
35
  "publishConfig": {
33
36
  "access": "public"
34
37
  },
35
- "main": "tsconfig.json",
36
- "gitHead": "fe535dbf865fafa4fa024d5874d76a115d6bb069"
38
+ "gitHead": "de11704de0f39591d2a991c3956df4e0ce88d451"
37
39
  }
package/tsconfig.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
2
3
  "compilerOptions": {
3
4
  "skipLibCheck": true,
4
5
  "declaration": true,
@@ -18,12 +19,12 @@
18
19
  "emitDecoratorMetadata": true,
19
20
  "downlevelIteration": true,
20
21
  "resolveJsonModule": true,
21
- "module": "commonjs",
22
- "moduleResolution": "node",
22
+ "module": "CommonJS",
23
+ "moduleResolution": "Node",
23
24
  "target": "ES2017",
24
25
  "jsx": "react",
25
26
  "lib": ["ES2017", "dom"],
26
27
  "sourceMap": true,
27
- "types": ["node", "mocha", "reflect-metadata"]
28
+ "types": ["node", "reflect-metadata"]
28
29
  }
29
30
  }