Skip to content

Conversation

@francisdaigle
Copy link
Contributor

TS_NODE_FILES set true so as to load include on startup.

#354

Checklist

@climba03003
Copy link
Member

I do not know if it is a good practice to enable this behavior by default. But it seems that if we use fastify-autoload with typescript, it can resolve a lot of problem.
WDYT @fastify/typescript

@climba03003 climba03003 requested a review from a team May 2, 2021 13:31
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@francisdaigle
Copy link
Contributor Author

Apologies -- not a cross-platform solution.

May I update this PR @mcollina?

@climba03003
Copy link
Member

Apologies -- not a cross-platform solution.

May I update this PR @mcollina?

You can update it any time before it merge and re-request for review.

@francisdaigle francisdaigle requested a review from mcollina May 4, 2021 05:18
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

You need to add cross-env to the devDependencies in the generated package.json.

@francisdaigle francisdaigle requested a review from mcollina May 4, 2021 17:30
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina
Copy link
Member

mcollina commented May 6, 2021

Can you please rebase it on top of master?

TS_NODE_FILES set "true" so as to load tsconfig "include" on startup.
@francisdaigle francisdaigle force-pushed the feature/modify-test-environment branch from 215a9ff to 6a9ea99 Compare May 6, 2021 18:03
@francisdaigle francisdaigle requested a review from mcollina May 6, 2021 18:04
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit fb4b0aa into fastify:master May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants