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

Use type=module in package.json #1535

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Use type=module in package.json #1535

merged 1 commit into from
Nov 28, 2023

Conversation

arturocuya
Copy link
Contributor

Changes

  • Add "type": "module" to the package.json file to facilitate the use of import statements in future scripts
  • Rename scripts/ropm-hook.js to scripts/ropm-hook.cjs to keep using require imports for that file only. Also updated the ropm npm script in package.json to reflect the file name change.

to allow for import statements in future scripts
@arturocuya arturocuya requested a review from a team as a code owner November 26, 2023 17:00
@cewert
Copy link
Member

cewert commented Nov 26, 2023

Hi @arturocuya thanks for the PR! 👋

I know you were talking about setting up RTA before, does RTA need these changes or whats the motivation behind the changes?

@arturocuya
Copy link
Contributor Author

I know you were talking about setting up RTA before, does RTA need these changes or whats the motivation behind the changes?

Yes, these changes will make my life easier when implementing UI tests with roku-test-automation. See #1538

@cewert cewert added the dev-improvement This improves the dev experience in some way. label Nov 28, 2023
@cewert cewert merged commit 1062d2b into jellyfin:unstable Nov 28, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-improvement This improves the dev experience in some way.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants