Skip to content

Commit

Permalink
Ignore devDependencies when generating tsconfig.json (#16659)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored Jul 31, 2024
1 parent 4c50687 commit dba45d3
Show file tree
Hide file tree
Showing 164 changed files with 1,082 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-core"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-core"
}
]
}
2 changes: 1 addition & 1 deletion eslint/babel-eslint-parser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-core"
}
]
}
2 changes: 1 addition & 1 deletion packages/babel-cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-core"
}
]
}
17 changes: 17 additions & 0 deletions packages/babel-code-frame/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-code-frame/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-highlight"
}
]
}
13 changes: 13 additions & 0 deletions packages/babel-compat-data/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-compat-data/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": []
}
38 changes: 38 additions & 0 deletions packages/babel-core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-core/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-code-frame"
},
{
"path": "../../packages/babel-generator"
},
{
"path": "../../packages/babel-helper-compilation-targets"
},
{
"path": "../../packages/babel-helpers"
},
{
"path": "../../packages/babel-parser"
},
{
"path": "../../packages/babel-template"
},
{
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-types"
}
]
}
17 changes: 17 additions & 0 deletions packages/babel-generator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-generator/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-types"
}
]
}
2 changes: 1 addition & 1 deletion packages/babel-helper-annotate-as-pure/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-types"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-types"
}
]
}
7 changes: 5 additions & 2 deletions packages/babel-helper-builder-react-jsx/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-helper-annotate-as-pure"
},
{
"path": "../../packages/babel-helper-annotate-as-pure"
"path": "../../packages/babel-types"
},
{
"path": "../../packages/babel-core"
}
]
}
17 changes: 17 additions & 0 deletions packages/babel-helper-check-duplicate-nodes/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-check-duplicate-nodes/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-types"
}
]
}
20 changes: 20 additions & 0 deletions packages/babel-helper-compilation-targets/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-compilation-targets/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-compat-data"
},
{
"path": "../../packages/babel-helper-validator-option"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
},
{
"path": "../../packages/babel-helper-annotate-as-pure"
},
Expand All @@ -27,6 +24,12 @@
},
{
"path": "../../packages/babel-helper-skip-transparent-expression-wrappers"
},
{
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-core"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-helper-annotate-as-pure"
},
{
"path": "../../packages/babel-helper-annotate-as-pure"
"path": "../../packages/babel-core"
}
]
}
17 changes: 17 additions & 0 deletions packages/babel-helper-fixtures/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-fixtures/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-core"
}
]
}
8 changes: 7 additions & 1 deletion packages/babel-helper-import-to-platform-api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-helper-compilation-targets"
},
{
"path": "../../packages/babel-helper-module-imports"
},
{
"path": "../../packages/babel-core"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-types"
}
]
}
20 changes: 20 additions & 0 deletions packages/babel-helper-module-imports/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-module-imports/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-types"
}
]
}
29 changes: 29 additions & 0 deletions packages/babel-helper-module-transforms/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-module-transforms/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-helper-module-imports"
},
{
"path": "../../packages/babel-helper-simple-access"
},
{
"path": "../../packages/babel-helper-validator-identifier"
},
{
"path": "../../packages/babel-traverse"
},
{
"path": "../../packages/babel-core"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
"path": "../../packages/babel-types"
}
]
}
17 changes: 17 additions & 0 deletions packages/babel-helper-plugin-test-runner/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-helper-plugin-test-runner/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-helper-transform-fixture-test-runner"
}
]
}
Loading

0 comments on commit dba45d3

Please sign in to comment.