Skip to content

Commit 4f8d93c

Browse files
committed
Deduping more code in rush-stack-compiler
1 parent 8e54110 commit 4f8d93c

File tree

32 files changed

+35
-639
lines changed

32 files changed

+35
-639
lines changed

stack/rush-stack-compiler-2.4/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "lib/index.d.ts"
5+
"entry": "lib/shared/index.d.ts"
66
}

stack/rush-stack-compiler-2.4/includes/tsconfig-base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
"compilerOptions": {
55
"outDir": "../../../../lib",
6+
"rootDirs": ["../../../../src/"],
67

78
"forceConsistentCasingInFileNames": true,
89
"jsx": "react",

stack/rush-stack-compiler-2.4/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"scripts": {
1616
"build": "gulp --clean"
1717
},
18-
"main": "lib/index.js",
19-
"types": "lib/index.d.ts",
18+
"main": "lib/shared/index.js",
19+
"types": "lib/shared/index.d.ts",
2020
"dependencies": {
2121
"@microsoft/api-extractor": "6.1.6",
2222
"@microsoft/node-core-library": "3.6.0",

stack/rush-stack-compiler-2.4/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
"extends": "./node_modules/@microsoft/rush-stack-compiler/includes/tsconfig-node.json",
33

44
"compilerOptions": {
5-
"outDir": "lib"
6-
},
7-
"include": [
8-
"src/**/*.ts",
9-
"src/**/*.tsx"
10-
],
11-
"exclude": [
12-
"node_modules",
13-
"lib"
14-
]
5+
"rootDir": "src"
6+
}
157
}

stack/rush-stack-compiler-2.7/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "lib/index.d.ts"
5+
"entry": "lib/shared/index.d.ts"
66
}

stack/rush-stack-compiler-2.7/includes/tsconfig-base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
"compilerOptions": {
55
"outDir": "../../../../lib",
6+
"rootDirs": ["../../../../src/"],
67

78
"forceConsistentCasingInFileNames": true,
89
"jsx": "react",

stack/rush-stack-compiler-2.7/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"scripts": {
1616
"build": "gulp --clean"
1717
},
18-
"main": "lib/index.js",
19-
"types": "lib/index.d.ts",
18+
"main": "lib/shared/index.js",
19+
"types": "lib/shared/index.d.ts",
2020
"dependencies": {
2121
"@microsoft/api-extractor": "6.1.6",
2222
"@microsoft/node-core-library": "3.6.0",

stack/rush-stack-compiler-2.7/src/index.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

stack/rush-stack-compiler-2.7/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
"extends": "./node_modules/@microsoft/rush-stack-compiler/includes/tsconfig-node.json",
33

44
"compilerOptions": {
5-
"outDir": "lib"
6-
},
7-
"include": [
8-
"src/**/*.ts",
9-
"src/**/*.tsx"
10-
],
11-
"exclude": [
12-
"node_modules",
13-
"lib"
14-
]
5+
"rootDir": "src"
6+
}
157
}

stack/rush-stack-compiler-2.9/config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"enabled": true,
33
"apiReviewFolder": "../../common/reviews/api",
44
"apiJsonFolder": "./temp",
5-
"entry": "lib/index.d.ts"
5+
"entry": "lib/shared/index.d.ts"
66
}

0 commit comments

Comments
 (0)