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

refactor(frontend): rename .es6 to .js #5463

Merged
merged 1 commit into from
Feb 3, 2025
Merged

refactor(frontend): rename .es6 to .js #5463

merged 1 commit into from
Feb 3, 2025

Conversation

Akuukis
Copy link
Contributor

@Akuukis Akuukis commented Jan 30, 2025

💭 Notes

Rename files with non-standard *.es6 extension to standard *.js extension, so that upcoming tools like Biome can find all javascript files.

All package.json scripts runs successfully, as well the website renders.

👀 Preview steps

Nothing in particular, the whole frontend should work as before.

@Akuukis Akuukis removed the request for review from bufke January 30, 2025 17:43
@Akuukis Akuukis added the refactor Internal code clanup label Jan 30, 2025
Copy link
Member

@magicznyleszek magicznyleszek left a comment

Choose a reason for hiding this comment

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

Looks good, everything works

@Akuukis Akuukis merged commit 27235d5 into main Feb 3, 2025
7 checks passed
@Akuukis Akuukis deleted the kalvis/es6-to-js branch February 3, 2025 19:00
p2edwards added a commit that referenced this pull request Feb 3, 2025
p2edwards added a commit that referenced this pull request Feb 3, 2025
Fix broken build from merging #5453 and #5463 to main in rapid sequence.

- #5453 converted some .es6 files to .ts
- #5463 renamed ALL .es6 files to .js
- Since #5453 was merged first, #5463's merge commit introduced duplicate .js files for the .es6 files that were already converted to .ts
- CI would catch this if it had been run again on #5463 again before merging that.

xref: https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/npm.20build.20failing.20on.20main.2002.2F03.2F25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Front end refactor Internal code clanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants