Skip to content

Commit dba45d3

Browse files
Ignore devDependencies when generating tsconfig.json (#16659)
1 parent 4c50687 commit dba45d3

164 files changed

Lines changed: 1082 additions & 96 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

codemods/babel-plugin-codemod-object-assign-to-object-spread/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-core"
1515
}
1616
]
1717
}

codemods/babel-plugin-codemod-optional-catch-binding/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-core"
1515
}
1616
]
1717
}

eslint/babel-eslint-parser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-core"
1515
}
1616
]
1717
}

packages/babel-cli/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-core"
1515
}
1616
]
1717
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* This file is automatically generated by scripts/generators/tsconfig.js */
2+
{
3+
"extends": [
4+
"../../tsconfig.base.json",
5+
"../../tsconfig.paths.json"
6+
],
7+
"include": [
8+
"../../packages/babel-code-frame/src/**/*.ts",
9+
"../../lib/globals.d.ts",
10+
"../../scripts/repo-utils/*.d.ts"
11+
],
12+
"references": [
13+
{
14+
"path": "../../packages/babel-highlight"
15+
}
16+
]
17+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* This file is automatically generated by scripts/generators/tsconfig.js */
2+
{
3+
"extends": [
4+
"../../tsconfig.base.json",
5+
"../../tsconfig.paths.json"
6+
],
7+
"include": [
8+
"../../packages/babel-compat-data/src/**/*.ts",
9+
"../../lib/globals.d.ts",
10+
"../../scripts/repo-utils/*.d.ts"
11+
],
12+
"references": []
13+
}

packages/babel-core/tsconfig.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/* This file is automatically generated by scripts/generators/tsconfig.js */
2+
{
3+
"extends": [
4+
"../../tsconfig.base.json",
5+
"../../tsconfig.paths.json"
6+
],
7+
"include": [
8+
"../../packages/babel-core/src/**/*.ts",
9+
"../../lib/globals.d.ts",
10+
"../../scripts/repo-utils/*.d.ts"
11+
],
12+
"references": [
13+
{
14+
"path": "../../packages/babel-code-frame"
15+
},
16+
{
17+
"path": "../../packages/babel-generator"
18+
},
19+
{
20+
"path": "../../packages/babel-helper-compilation-targets"
21+
},
22+
{
23+
"path": "../../packages/babel-helpers"
24+
},
25+
{
26+
"path": "../../packages/babel-parser"
27+
},
28+
{
29+
"path": "../../packages/babel-template"
30+
},
31+
{
32+
"path": "../../packages/babel-traverse"
33+
},
34+
{
35+
"path": "../../packages/babel-types"
36+
}
37+
]
38+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* This file is automatically generated by scripts/generators/tsconfig.js */
2+
{
3+
"extends": [
4+
"../../tsconfig.base.json",
5+
"../../tsconfig.paths.json"
6+
],
7+
"include": [
8+
"../../packages/babel-generator/src/**/*.ts",
9+
"../../lib/globals.d.ts",
10+
"../../scripts/repo-utils/*.d.ts"
11+
],
12+
"references": [
13+
{
14+
"path": "../../packages/babel-types"
15+
}
16+
]
17+
}

packages/babel-helper-annotate-as-pure/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-types"
1515
}
1616
]
1717
}

packages/babel-helper-builder-binary-assignment-operator-visitor/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
],
1212
"references": [
1313
{
14-
"path": "../../packages/babel-helper-plugin-utils"
14+
"path": "../../packages/babel-traverse"
15+
},
16+
{
17+
"path": "../../packages/babel-types"
1518
}
1619
]
1720
}

0 commit comments

Comments
 (0)