Skip to content

feat: add support for typescript and esm generation (#577)#585

Merged
mcollina merged 2 commits intofastify:masterfrom
S-Abhishek:add-typescript-esm-support
May 3, 2023
Merged

feat: add support for typescript and esm generation (#577)#585
mcollina merged 2 commits intofastify:masterfrom
S-Abhishek:add-typescript-esm-support

Conversation

@S-Abhishek
Copy link
Copy Markdown
Contributor

@S-Abhishek S-Abhishek commented Jan 26, 2023

This PR adds support to generate Typescript ESM template.

(The implementation is currently work in progress. I will inform the thread once it's ready for a review.)

Checklist

@S-Abhishek S-Abhishek force-pushed the add-typescript-esm-support branch from 5299eb1 to c10c71d Compare January 29, 2023 02:55
@S-Abhishek
Copy link
Copy Markdown
Contributor Author

Hey,

Apologies for delaying this PR, couldn't find time to do it. I can now pick this up and try and complete this within 1-2 weeks based on my free time.

Thanks!

@S-Abhishek S-Abhishek force-pushed the add-typescript-esm-support branch from c10c71d to f472ee3 Compare March 12, 2023 06:25
@mcollina
Copy link
Copy Markdown
Member

Good work!

@S-Abhishek S-Abhishek force-pushed the add-typescript-esm-support branch from f472ee3 to d6c9217 Compare March 18, 2023 05:18
@S-Abhishek S-Abhishek force-pushed the add-typescript-esm-support branch from d6c9217 to 0c853ae Compare March 25, 2023 06:20
@S-Abhishek S-Abhishek marked this pull request as ready for review April 2, 2023 03:26
@S-Abhishek S-Abhishek changed the title [WIP] feat: add support for typescript and esm generation (#577) feat: add support for typescript and esm generation (#577) Apr 3, 2023
@S-Abhishek
Copy link
Copy Markdown
Contributor Author

Hey team, does anyone have bandwidth to review this?

Copy link
Copy Markdown
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 requested a review from Eomm May 2, 2023 20:21
@mcollina mcollina merged commit f111b25 into fastify:master May 3, 2023
@mcollina
Copy link
Copy Markdown
Member

mcollina commented May 3, 2023

Thanks!

renovate bot referenced this pull request in specfy/specfy Aug 13, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fastify-cli](https://togithub.com/fastify/fastify-cli) | [`5.7.1` ->
`5.8.0`](https://renovatebot.com/diffs/npm/fastify-cli/5.7.1/5.8.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify-cli/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify-cli/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify-cli/5.7.1/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify-cli/5.7.1/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify-cli (fastify-cli)</summary>

###
[`v5.8.0`](https://togithub.com/fastify/fastify-cli/releases/tag/v5.8.0)

[Compare
Source](https://togithub.com/fastify/fastify-cli/compare/v5.7.1...v5.8.0)

##### What's Changed

- fix: Correct wrong instructions for typescript ejecting by
[@&#8203;anyonecancode](https://togithub.com/anyonecancode) in
[https://github.com/fastify/fastify-cli/pull/589](https://togithub.com/fastify/fastify-cli/pull/589)
- Improve the Typescript template. by
[@&#8203;meotimdihia](https://togithub.com/meotimdihia) in
[https://github.com/fastify/fastify-cli/pull/592](https://togithub.com/fastify/fastify-cli/pull/592)
- chore(.gitignore): add bun lockfile by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-cli/pull/594](https://togithub.com/fastify/fastify-cli/pull/594)
- feat: add support for typescript and esm generation
([#&#8203;577](https://togithub.com/fastify/fastify-cli/issues/577)) by
[@&#8203;S-Abhishek](https://togithub.com/S-Abhishek) in
[https://github.com/fastify/fastify-cli/pull/585](https://togithub.com/fastify/fastify-cli/pull/585)
- fix: use dot notation by [@&#8203;is2ei](https://togithub.com/is2ei)
in
[https://github.com/fastify/fastify-cli/pull/634](https://togithub.com/fastify/fastify-cli/pull/634)
- Fix failing tests with cross-env by
[@&#8203;bcomnes](https://togithub.com/bcomnes) in
[https://github.com/fastify/fastify-cli/pull/639](https://togithub.com/fastify/fastify-cli/pull/639)
- print-routes options and print-plugins by
[@&#8203;bcomnes](https://togithub.com/bcomnes) in
[https://github.com/fastify/fastify-cli/pull/637](https://togithub.com/fastify/fastify-cli/pull/637)
- chore(deps): bump pino-pretty from 9.4.1 to 10.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-cli/pull/645](https://togithub.com/fastify/fastify-cli/pull/645)
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 18.17.0 to
20.4.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-cli/pull/646](https://togithub.com/fastify/fastify-cli/pull/646)
- fix error on undefined plugin by
[@&#8203;dancastillo](https://togithub.com/dancastillo) in
[https://github.com/fastify/fastify-cli/pull/649](https://togithub.com/fastify/fastify-cli/pull/649)

##### New Contributors

- [@&#8203;anyonecancode](https://togithub.com/anyonecancode) made their
first contribution in
[https://github.com/fastify/fastify-cli/pull/589](https://togithub.com/fastify/fastify-cli/pull/589)
- [@&#8203;S-Abhishek](https://togithub.com/S-Abhishek) made their first
contribution in
[https://github.com/fastify/fastify-cli/pull/585](https://togithub.com/fastify/fastify-cli/pull/585)
- [@&#8203;is2ei](https://togithub.com/is2ei) made their first
contribution in
[https://github.com/fastify/fastify-cli/pull/634](https://togithub.com/fastify/fastify-cli/pull/634)
- [@&#8203;dancastillo](https://togithub.com/dancastillo) made their
first contribution in
[https://github.com/fastify/fastify-cli/pull/649](https://togithub.com/fastify/fastify-cli/pull/649)

**Full Changelog**:
fastify/fastify-cli@v5.7.1...v5.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 4pm on friday,before 9am on
monday,every weekend" in timezone Europe/Paris, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/specfy/specfy).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40MC4zIiwidXBkYXRlZEluVmVyIjoiMzYuNDAuMyIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants