Skip to content
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

Adding esbuild bundler to the pipeline #3616

Merged
merged 4 commits into from Jan 13, 2022
Merged

Conversation

jhonrocha
Copy link
Contributor

@jhonrocha jhonrocha commented Jan 12, 2022

This PR fixes #3377: It includes esbuild tests to the package pipeline.

Checklist

@github-actions github-actions bot added the test Issue or pr related to our testing infrastructure. label Jan 12, 2022
@jhonrocha jhonrocha changed the title WIP: Adding esbuild bundler to the pipeline [WIP]: Adding esbuild bundler to the pipeline Jan 12, 2022
@github-actions github-actions bot removed the test Issue or pr related to our testing infrastructure. label Jan 12, 2022
Copy link
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nitpicks


test('Bundled package should work', t => {
t.plan(1)
fastifySuccess.ready((err) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the inject to test if the route was registered with success

@@ -0,0 +1,14 @@
const fp = require('fastify-plugin')
const fastify = require('../../../../')({
logger: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logger in this case is not necessary.

@RafaelGSS RafaelGSS added the test Issue or pr related to our testing infrastructure. label Jan 12, 2022
@github-actions github-actions bot removed the test Issue or pr related to our testing infrastructure. label Jan 12, 2022
Copy link
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jhonrocha jhonrocha changed the title [WIP]: Adding esbuild bundler to the pipeline Adding esbuild bundler to the pipeline Jan 12, 2022
@Eomm Eomm added the test Issue or pr related to our testing infrastructure. label Jan 13, 2022
@Eomm Eomm merged commit 93fe532 into fastify:main Jan 13, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
test Issue or pr related to our testing infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Add esbuild in package pipeline
3 participants