Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit af83db8

Browse files
committed
Fix .d.ts path generation issue
1 parent dd53389 commit af83db8

File tree

10 files changed

+54
-17
lines changed

10 files changed

+54
-17
lines changed

build/tsconfig.common.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
"module": "commonjs",
44
"target": "es5",
55
"lib": ["es2015", "dom"],
6-
"baseUrl": "../",
7-
"paths": {
8-
"@fluentui/docs": ["docs"],
9-
"@fluentui/e2e": ["e2e"],
10-
"@fluentui/internal-tooling": ["build"],
11-
"@fluentui/perf": ["perf"],
12-
"@fluentui/*": ["packages/*/src"]
13-
},
146
"types": ["node", "jest"],
157
"typeRoots": ["../types", "../node_modules/@types"],
168
"jsx": "react",

packages/accessibility/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"extends": "../../build/tsconfig.common",
33
"compilerOptions": {
44
"composite": true,
5-
"outDir": "dist/dts"
5+
"outDir": "dist/dts",
6+
"baseUrl": ".",
7+
"paths": {
8+
// For tests
9+
"@fluentui/accessibility": ["./src"]
10+
}
611
},
712
"include": ["src", "test"]
813
}

packages/react-bindings/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"noImplicitThis": true,
88
"noImplicitAny": true,
99
"noUnusedParameters": true,
10-
"strictNullChecks": true
10+
"strictNullChecks": true,
11+
"baseUrl": ".",
12+
"paths": {
13+
// For tests
14+
"@fluentui/react-bindings": ["./src"]
15+
}
1116
},
1217
"include": ["src", "test"],
1318
"references": [

packages/react-component-event-listener/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"noImplicitThis": true,
88
"noImplicitAny": true,
99
"noUnusedParameters": true,
10-
"strictNullChecks": true
10+
"strictNullChecks": true,
11+
"baseUrl": ".",
12+
"paths": {
13+
// For tests
14+
"@fluentui/react-component-event-listener": ["./src"]
15+
}
1116
},
1217
"include": ["src", "test"],
1318
"references": []

packages/react-component-nesting-registry/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"noImplicitThis": true,
88
"noImplicitAny": true,
99
"noUnusedParameters": true,
10-
"strictNullChecks": true
10+
"strictNullChecks": true,
11+
"baseUrl": ".",
12+
"paths": {
13+
// For tests
14+
"@fluentui/react-component-nesting-registry": ["./src"]
15+
}
1116
},
1217
"include": ["src", "test"],
1318
"references": []

packages/react-component-ref/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"noImplicitThis": true,
88
"noImplicitAny": true,
99
"noUnusedParameters": true,
10-
"strictNullChecks": true
10+
"strictNullChecks": true,
11+
"baseUrl": ".",
12+
"paths": {
13+
// For tests
14+
"@fluentui/react-component-ref": ["./src"]
15+
}
1116
},
1217
"include": ["src", "test"],
1318
"references": []

packages/react-proptypes/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"extends": "../../build/tsconfig.common",
33
"compilerOptions": {
44
"composite": true,
5-
"outDir": "dist/dts"
5+
"outDir": "dist/dts",
6+
"baseUrl": ".",
7+
"paths": {
8+
// For tests
9+
"@fluentui/react-proptypes": ["./src"]
10+
}
611
},
712
"include": ["src", "test"],
813
"references": []

packages/react-theming/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"compilerOptions": {
44
"composite": true,
55
"rootDir": "src",
6-
"outDir": "lib"
6+
"outDir": "lib",
7+
"baseUrl": ".",
8+
"paths": {
9+
// For tests
10+
"@fluentui/react-theming": ["./src"]
11+
}
712
},
813
"include": ["src"]
914
}

packages/react/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"extends": "../../build/tsconfig.common",
33
"compilerOptions": {
44
"composite": true,
5-
"outDir": "dist/dts"
5+
"outDir": "dist/dts",
6+
"baseUrl": ".",
7+
"paths": {
8+
// For tests
9+
"@fluentui/react": ["./src"]
10+
}
611
},
712
"include": ["src", "test"],
813
"references": [

packages/styles/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"extends": "../../build/tsconfig.common",
33
"compilerOptions": {
44
"composite": true,
5-
"outDir": "dist/dts"
5+
"outDir": "dist/dts",
6+
"baseUrl": ".",
7+
"paths": {
8+
// For tests
9+
"@fluentui/styles": ["./src"]
10+
}
611
},
712
"include": ["src", "test"],
813
"references": []

0 commit comments

Comments
 (0)