@eslinted/defaults 17.2.4 → 17.2.5

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,9 +1,9 @@
1
1
  {
2
- "$pkg": "2411.4.2",
2
+ "$pkg": "2411.5.0",
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "17.2.4",
6
+ "version": "17.2.5",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -33,9 +33,10 @@
33
33
  "postbuild:ts": "npm run --if-present stage && ts-add-js-extension --showprogress=false --dir=dist",
34
34
  "postbuild": "npm run lint || exit 0",
35
35
  "lint": "eslint --cache --fix",
36
- "pretest": "npm run build",
36
+ "pretest": "npm run --ignore-scripts build",
37
37
  "test": "npm run --if-present test:suite",
38
38
  "test:suite": "tsc -b tests && ts-add-js-extension --showprogress=false --dir=dist && mocha",
39
+ "posttest": "npm run postbuild",
39
40
  "prestart": "npm run build",
40
41
  "start": "npm run start:ts",
41
42
  "start:ts": "node .",
package/src/tsconfig.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
- "extends": "../tsconfig.json",
2
+ "extends": "../tsconfig-base.json",
3
3
  "include": [
4
4
  "../typings/**/*",
5
5
  "**/*",
6
6
  ],
7
+ "references": [
8
+ {
9
+ "path": "../typings",
10
+ },
11
+ ],
7
12
  "compilerOptions": {
8
- "rootDir": ".",
9
13
  "outDir": "../dist",
14
+ "composite": true,
10
15
  },
11
16
  }
@@ -1,17 +1,18 @@
1
1
  {
2
- "extends": "../tsconfig.json",
2
+ "extends": "../tsconfig-base.json",
3
3
  "include": [
4
- "../src/**/*",
5
4
  "../typings/**/*",
6
5
  "**/*",
7
6
  ],
8
7
  "references": [
9
8
  {
10
- "path": "../src/tsconfig.json",
9
+ "path": "../src",
10
+ },
11
+ {
12
+ "path": "../typings",
11
13
  },
12
14
  ],
13
15
  "compilerOptions": {
14
- "rootDir": ".",
15
16
  "outDir": "../dist/tests",
16
17
  },
17
18
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "display": "tsc@509.4.0",
2
+ "display": "tsc@509.5.0",
3
3
  "$help": "https://aka.ms/tsconfig/#quick-nav-Top%20Level",
4
4
  "compilerOptions": {
5
5
  "allowUnreachableCode": false,
@@ -17,11 +17,27 @@
17
17
  "module": "esnext",
18
18
  "moduleResolution": "bundler",
19
19
  "rewriteRelativeImportExtensions": true,
20
+ "rootDirs": [
21
+ "src",
22
+ "typings",
23
+ "./",
24
+ ],
25
+ "types": [
26
+ "mocha",
27
+ "chai",
28
+ /* {CONFIGURE} */
29
+ ],
30
+ "declaration": true,
20
31
  "declarationMap": true,
21
32
  "noEmitOnError": true,
22
33
  "removeComments": true,
23
34
  "sourceMap": true,
35
+ // "verbatimModuleSyntax": true,
36
+ "lib": [
37
+ "esnext",
38
+ /* {CONFIGURE} */
39
+ ],
24
40
  "target": "esnext",
25
- "composite": true,
41
+ // "skipLibCheck": true,
26
42
  },
27
43
  }
@@ -1,6 +1,7 @@
1
1
  {
2
- "extends": "../tsconfig.json",
3
- "include": [
4
- "**/*",
5
- ],
2
+ "extends": "../tsconfig-base.json",
3
+ "compilerOptions": {
4
+ "composite": true,
5
+ "tsBuildInfoFile": "../dist/types.tsbuildinfo",
6
+ },
6
7
  }
package/tsconfig.json DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "files": [],
3
- "extends": "./tsconfig-base.json",
4
- "references": [
5
- {
6
- "path": "src/tsconfig.json",
7
- },
8
- {
9
- "path": "tests/tsconfig.json",
10
- },
11
- {
12
- "path": "typings/tsconfig.json",
13
- },
14
- ],
15
- "compilerOptions": {
16
- "types": [
17
- "mocha",
18
- "chai",
19
- /* {CONFIGURE} */
20
- ],
21
- // "declaration": true,
22
- // "sourceMap": false,
23
- // "verbatimModuleSyntax": true,
24
- "lib": [
25
- "esnext",
26
- /* {CONFIGURE} */
27
- ],
28
- // "composite": false,
29
- // "skipLibCheck": true,
30
- },
31
- }