-
-
Notifications
You must be signed in to change notification settings - Fork 26.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
verifyNoTypeScript false positives #5947
Comments
Hmmm, interesting problem, @holloway. One option is to improve the |
@mrmckeb Yes, I think filtering Perhaps another approach might be to have a config option but that might go against the ethos of CRA. Anyway, that could look like,
|
I actually think that long-term, we might need to have some kind of config, but understand why this isn't in place now. We'll keep that in mind while planning for the future. Did you want to create a PR for this @holloway and assign to me? Otherwise, I could try to look at creating a PR this weekend. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Is this a bug report?
Yes (I think)
However I am just looking for clarification about how to structure projects with CRA. Should I use
yarn link
instead of symlinks?Which terms did you search for in User Guide?
"sym" "symlink" "symbolic"
Steps to Reproduce
./src/anything
to a directory outside the CRA project directory calledanything
.anything
with its ownpackage.json
that depends onbig-integer
.big-integer
is distributed on NPM with TypeScript files which will be present atanything/node_modules/big-integer/BigInteger.d.ts
.yarn build
and CRA tells me that my project has TypeScript in it and refuses to build.Expected Behavior
That CRA build wouldn't look in
node_modules
from symlinked directories.Unfortunately
globby
doesn't seem to have an option to ignore symlinks.Actual Behavior
We detected TypeScript in your project (src/anything/node_modules/big-integer/BigInteger.d.ts) and created a tsconfig.json file for you.
and the build fails because it's not TypeScript
The text was updated successfully, but these errors were encountered: