-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add internal property '_isRootFile_' for each cache to prevent i…
…nto deadlock with cache
- Loading branch information
1 parent
404d909
commit 0d1c791
Showing
26 changed files
with
287 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
packages/tsconfck/tests/fixtures/parse/solution/referenced-extends-original/src/foo.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function foo() { | ||
return 'foo'; | ||
} |
8 changes: 8 additions & 0 deletions
8
.../tsconfck/tests/fixtures/parse/solution/referenced-extends-original/src/tsconfig.src.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"include": ["./foo.ts"], | ||
"extends": "../tsconfig", | ||
"compilerOptions": { | ||
"composite": true, | ||
"strict": true | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...ages/tsconfck/tests/fixtures/parse/solution/referenced-extends-original/tests/foo.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { foo } from '../src/foo'; | ||
import * as assert from 'assert'; | ||
|
||
function test() { | ||
const actual = foo(); | ||
const expected = 'foo'; | ||
assert.strictEqual(actual, expected); | ||
} | ||
test(); |
8 changes: 8 additions & 0 deletions
8
...confck/tests/fixtures/parse/solution/referenced-extends-original/tests/tsconfig.test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"include": ["./*.test.ts"], | ||
"extends": "../tsconfig", | ||
"compilerOptions": { | ||
"composite": true, | ||
"strict": false | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/tsconfck/tests/fixtures/parse/solution/referenced-extends-original/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"references": [ | ||
{"path": "./src/tsconfig.src.json"}, | ||
{"path": "./tests/tsconfig.test.json"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...s/tsconfck/tests/snapshots/parse/solution/jsconfig/jsconfig.base.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/tsconfck/tests/snapshots/parse/solution/jsconfig/jsconfig.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"files": [], | ||
"include": [], | ||
"references": [ | ||
{ | ||
"path": "./jsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./jsconfig.test.json" | ||
} | ||
], | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"maxNodeModuleJsDepth": 2, | ||
"allowSyntheticDefaultImports": true, | ||
"skipLibCheck": true, | ||
"noEmit": true | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...es/tsconfck/tests/snapshots/parse/solution/jsconfig/jsconfig.src.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "./jsconfig.base", | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"exclude": [ | ||
"src/**/*.spec.js" | ||
], | ||
"compilerOptions": { | ||
"strict": true, | ||
"allowJs": true, | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...s/tsconfck/tests/snapshots/parse/solution/jsconfig/jsconfig.test.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": "./jsconfig.base", | ||
"include": [ | ||
"src/**/*.spec.js" | ||
], | ||
"compilerOptions": { | ||
"strict": false, | ||
"allowJs": true, | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...ages/tsconfck/tests/snapshots/parse/solution/mixed/tsconfig.base.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
packages/tsconfck/tests/snapshots/parse/solution/mixed/tsconfig.src.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "./tsconfig.base", | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"exclude": [ | ||
"src/**/*.spec.ts" | ||
], | ||
"compilerOptions": { | ||
"strict": true, | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ages/tsconfck/tests/snapshots/parse/solution/mixed/tsconfig.test.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "./tsconfig.base", | ||
"include": [ | ||
"src/**/*.spec.ts" | ||
], | ||
"compilerOptions": { | ||
"strict": false, | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...e/solution/referenced-extends-original/src/foo.ts.tsconfig.parse-native.ignore-files.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
], | ||
"files": [], | ||
"include": [] | ||
} |
10 changes: 10 additions & 0 deletions
10
...napshots/parse/solution/referenced-extends-original/src/foo.ts.tsconfig.parse-native.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...tests/snapshots/parse/solution/referenced-extends-original/src/foo.ts.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...hots/parse/solution/referenced-extends-original/src/tsconfig.src.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"include": [ | ||
"./foo.ts" | ||
], | ||
"extends": "../tsconfig", | ||
"compilerOptions": { | ||
"composite": true, | ||
"strict": true | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ion/referenced-extends-original/tests/foo.test.ts.tsconfig.parse-native.ignore-files.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
], | ||
"files": [], | ||
"include": [] | ||
} |
10 changes: 10 additions & 0 deletions
10
...s/parse/solution/referenced-extends-original/tests/foo.test.ts.tsconfig.parse-native.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...napshots/parse/solution/referenced-extends-original/tests/foo.test.ts.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...s/parse/solution/referenced-extends-original/tests/tsconfig.test.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"include": [ | ||
"./*.test.ts" | ||
], | ||
"extends": "../tsconfig", | ||
"compilerOptions": { | ||
"composite": true, | ||
"strict": false | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ests/snapshots/parse/solution/referenced-extends-original/tsconfig.json.parse-native.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...onfck/tests/snapshots/parse/solution/referenced-extends-original/tsconfig.json.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"references": [ | ||
{ | ||
"path": "./src/tsconfig.src.json" | ||
}, | ||
{ | ||
"path": "./tests/tsconfig.test.json" | ||
} | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
...ges/tsconfck/tests/snapshots/parse/solution/simple/tsconfig.base.json.tsconfig.parse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"composite": true, | ||
"strictNullChecks": true | ||
} | ||
} |