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

Development: Move repository from yarn to npm #56

Merged
merged 8 commits into from
Oct 20, 2023

Conversation

matthiaslehnertum
Copy link
Collaborator

@matthiaslehnertum matthiaslehnertum commented Oct 10, 2023

As as well per Stephan's request, this PR updates all of Apollon Standlone's dependencies to a recent version, replaces yarn by npm as a package manager and replaces tslint with eslint.

At the moment, a lot of the eslint default rules are disabled to have eslint behave the same way as tslint behaved before. In the future, we should sequentially reenable these rules and fix the issues detected. To not make this PR unnecessarily large, I decided to not do this in the current PR.

Motivation and Context

A lot of Apollon Standlone's dependencies, especially tslint, were outdated.

Steps for Testing

The most sensible test for this change would be to test if running and building the application behaves as expected.

@matthiaslehnertum matthiaslehnertum changed the title Move repository from yarn to npm Development: Move repository from yarn to npm Oct 12, 2023
Copy link
Contributor

@loreanvictor loreanvictor left a comment

Choose a reason for hiding this comment

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

@matthiaslehnertum I could not find any linting rules that are enforced atm. Is linting completely off?

README.md Outdated Show resolved Hide resolved
@matthiaslehnertum
Copy link
Collaborator Author

@loreanvictor Could you have another look? I changed the README and ensure quote enforcements. :)

@krusche
Copy link
Member

krusche commented Oct 19, 2023

Can we merge this PR?

Copy link
Contributor

@AlexanderG2207 AlexanderG2207 left a comment

Choose a reason for hiding this comment

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

I tested locally on MacOS and had issues building the project due to the canvas module. (Error message below)

After installing the necessary binaries for MacOS with brew (Node-Canvas), building and starting worked fine.

Therefore, I would think about adding the Node-Canvas link to the readme to inform future developers about installing the binaries.

Screenshot 2023-10-19 at 11 18 36

Copy link
Contributor

@AlexanderG2207 AlexanderG2207 left a comment

Choose a reason for hiding this comment

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

Thanks for updating the readme 👍

@matthiaslehnertum matthiaslehnertum merged commit 5b92616 into main Oct 20, 2023
1 check failed
@matthiaslehnertum matthiaslehnertum deleted the feature/yarn-to-npm branch October 20, 2023 08:02
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.

4 participants