We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
Use Docker, VSCODE as your IDE with and devcontainer extension installed.
The decontainer will setup the development environment for you. It will install all the necessary tools and dependencies (recommanded plugins, lighthouse server aka lhci preconfigured w/ bdd embed, etc).
Two versions of the devcontainer are available:
silicon/devcontainer.json
for Apple silicon M* processors — linux/amd64intel/devcontainer.json
for Intel processors (NOT TESTED)
After you launched the devcontainer, you NEED to run the following commands to finish the setup of the development server:
sh /workspace/.devcontainer/commons/updateContentCommand/updateContentCommand.sh
lighthouse-plugin-ecoindex/
folder contains the plugin codeexamples-developpement-test/
folder contains the developpements to test the plugin forlhci
,lighthouse
andnpx lighthouse-plugin-ecoindex
commandsexamples/
folder contains the examples of the plugin forlhci
,lighthouse
andnpx lighthouse-plugin-ecoindex
commands, for the documentationdocs
folder contains the documentation of the plugin
Don't forget to sync the
examples-developpement-test/
folder with theexamples/
folder before pushing your changes and to update the documentation in thedocs
folder. If you change the devcontainer, don't forget to sync your updates to thesilicon
andintel
folders.