-
Notifications
You must be signed in to change notification settings - Fork 12
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
Removed test folder from the package #59
Conversation
To test the change
|
53cc569
to
caa29a6
Compare
There was a strange issue when building with bazel the lib wdio-vscode-service which has a dependency on @fastify/send. It breaks on the path with non-ASCII char U+2603 ☃ node_modules/@fastify/send/test/fixtures/snow ☃/index.html
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.
Please see fastify/skeleton#42 (comment)
I think a better way to fix this is to have that directory dynamically created in the tmp folder. |
Maybe it is better to report this upstream as this could be a source of error anyway. |
I do not see copy-paste from |
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 think this should be addressed upstream first.
@Uzlopak, do you mean at https://github.com/fastify/fastify/blob/main/.npmignore ? |
The test failure is not relevant to the change at
|
No. This is an issue with bazel and wdio-vscode-service. So report this issue to bazel. |
I'd say that it needs to be addressed in both places. It needs to be reported to Bazel, but we also shouldn't be breaking our users either. |
@Uzlopak I got your point. I also contacted bazel before. But my point is:
|
anyway. this PR should create the folder when testing and not ignore it in npmignore as @mcollina mentioned. |
Is there any reason why this lib should have |
Yes, we like to ship them with the npm packages. |
but why? is there any purpose for that? |
You can read all about it here |
There was a strange issue when building with bazel the lib wdio-vscode-service which has a dependency on @fastify/send. It breaks on the path with non-ASCII char U+2603 ☃ node_modules/@fastify/send/test/fixtures/snow ☃/index.html
A workaround for this:
rm -rf node_modules/@fastify/send/test
inpostinstall
scriptChecklist
npm run test
andnpm run benchmark
and the Code of conduct