-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update to latest nx and use project references first approach #10361
Open
JamesHenry
wants to merge
15
commits into
main
Choose a base branch
from
updated-ts-setup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,812
−718
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8d9acfc
chore: update to latest nx and use project references first approach
JamesHenry 870fb62
chore: fix integration-tests setup
leosvelperez 897a3f7
chore: set resolveJsonModule for typescript-estree tests
leosvelperez f210b44
chore: remove rule-schema-to-typescript-types from unit tests in ci
leosvelperez 2497437
chore: misc fixes
leosvelperez 0055ff2
chore: work around SourceCode.prototype not being detected in languag…
JoshuaKGoldberg 131cfc3
chore: more specific SourceCode.prototype name
JoshuaKGoldberg 7f16dad
chore: indeed, use linting for those TSConfig options
JoshuaKGoldberg ce3fc11
Merge branch 'main'
JoshuaKGoldberg 2ca9546
Progress: add some typings/ files, remove unnecessary ESLint plugin t…
JoshuaKGoldberg 9881b98
Finish adding ignores to knip.ts
JoshuaKGoldberg 9f5f5ea
Merge branch 'main' into updated-ts-setup
JoshuaKGoldberg ef1f76f
chore: re-run yarn
JoshuaKGoldberg b32ed67
chore: fix packages/ast-spec/package.json tsestree listing
JoshuaKGoldberg a425794
fix: website NodeJS types
JoshuaKGoldberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# see comment in the file | ||
packages/ast-spec/tests/util/parsers/typescript-estree-import.ts | ||
packages/integration-tests/fixtures/**/* |
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
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
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
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 | ||||
---|---|---|---|---|---|---|
@@ -1,12 +1,19 @@ | ||||||
{ | ||||||
"extends": "../../tsconfig.base.json", | ||||||
"compilerOptions": { | ||||||
"composite": true, | ||||||
"jsx": "preserve", | ||||||
"outDir": "./dist", | ||||||
"rootDir": "./src", | ||||||
"resolveJsonModule": true | ||||||
"baseUrl": ".", | ||||||
"rootDir": "src", | ||||||
"outDir": "dist", | ||||||
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo", | ||||||
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
could possibly reduce some boilerplate by putting this: "outDir": "${configDir}/dist",
"tsBuildInfoFile": "${configDir}/dist/tsconfig.build.tsbuildinfo", into
|
||||||
"emitDeclarationOnly": false, | ||||||
"types": ["node"] | ||||||
}, | ||||||
"include": ["src", "typings"], | ||||||
"exclude": ["**/fixtures/**"] | ||||||
"include": ["src/**/*.ts"], | ||||||
"exclude": [ | ||||||
"jest.config.js", | ||||||
"src/**/*.spec.ts", | ||||||
"src/**/*.test.ts", | ||||||
"**/fixtures/**" | ||||||
], | ||||||
"references": [] | ||||||
} |
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 |
---|---|---|
@@ -1,10 +1,13 @@ | ||
{ | ||
"extends": "./tsconfig.build.json", | ||
"compilerOptions": { | ||
"composite": false, | ||
"rootDir": "." | ||
}, | ||
"include": ["src", "typings", "tests", "tools", "**/fixtures/**/config.ts"], | ||
"exclude": ["**/fixtures/**/fixture.ts", "**/fixtures/**/fixture.tsx"], | ||
"references": [{ "path": "../typescript-estree/tsconfig.build.json" }] | ||
"extends": "../../tsconfig.base.json", | ||
"files": [], | ||
"include": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.spec.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,24 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "../../dist/out-tsc/packages/ast-spec", | ||
"module": "NodeNext", | ||
"types": ["jest", "node"] | ||
}, | ||
"include": [ | ||
"jest.config.js", | ||
"src/**/*.test.ts", | ||
"src/**/*.spec.ts", | ||
"src/**/*.d.ts", | ||
"tests", | ||
"typings" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../typescript-estree/tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.build.json" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect a lot of the seemingly unnecessary includes in this file are due to webpro-nl/knip#873. Once that's resolved & released, if they're still there, we should file an issue over on Knip.