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

Convert this module into a runtime package #2

Closed
wpscholar opened this issue Aug 16, 2023 · 0 comments · Fixed by #12
Closed

Convert this module into a runtime package #2

wpscholar opened this issue Aug 16, 2023 · 0 comments · Fixed by #12
Assignees

Comments

@wpscholar
Copy link
Member

wpscholar commented Aug 16, 2023

The following is required to convert the module into a normal package:

  • Remove the code from the bootstrap file that handles the module registration on the plugins_loaded hook. Instead, just initialize the Runtime class directly.
  • Rename the repository from wp-module-runtime to wp-runtime.
  • Update the composer.json file package name (see https://github.com/newfold-labs/wp-module-runtime/blob/trunk/composer.json#L2).
  • Update any other references to the old repository or Composer package name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants