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

Improve configurations #14

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Improve configurations #14

merged 1 commit into from
Apr 18, 2024

Conversation

Frago9876543210
Copy link

  • use 2 spaces in yaml
  • update github actions
  • separete require and require-dev

"phpstan/phpstan": "^1.10.0",
"pocketmine/pocketmine-mp": "5.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't really matter tbh. We don't use composer for installing runtime deps anyway.

Copy link
Author

@Frago9876543210 Frago9876543210 Apr 14, 2024

Choose a reason for hiding this comment

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

The problem is that when you try to depend on another plugin (virion), it may be using some other version of the required dependencies. For example, ExamplePlugin requires PM 5.0.0, and its dependency requires PM 5.8.1.

Honestly speaking, in this case we need to move all the packages to the required-dev.

Copy link
Member

Choose a reason for hiding this comment

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

Alright, that does make sense.

@dktapps dktapps merged commit d03617c into pmmp:stable Apr 18, 2024
3 checks passed
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