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

fix: use js file extensions when javascript option is selected for init #25

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

innerdvations
Copy link
Collaborator

@innerdvations innerdvations commented Jul 22, 2024

What does it do?

Uses .js extensions for javascript server files

Why is it needed?

.ts extensions were being used by mistake

How to test it?

Runningstrapi-plugin init and responding with "N" to the "Typescript?" question should generate all .js files instead of .ts for the server files

It should then build properly

Related issue(s)/PR(s)

#23

DX-1494

Copy link

changeset-bot bot commented Jul 22, 2024

🦋 Changeset detected

Latest commit: 8a3eb71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@strapi/sdk-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@innerdvations innerdvations added the pr: fix Bug fix label Jul 22, 2024
@innerdvations innerdvations self-assigned this Jul 22, 2024
@innerdvations innerdvations requested a review from Bassel17 July 22, 2024 13:43
Copy link
Contributor

@jhoward1994 jhoward1994 left a comment

Choose a reason for hiding this comment

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

Works for me 👍🏻

@innerdvations innerdvations merged commit 6f9c20b into main Jul 23, 2024
1 check passed
@innerdvations innerdvations deleted the fix/js-filenames branch July 23, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants