Written by:
LearnPack has evolved. Now you can publish your packages in the cloud, so use can access them from anywhere, in any device. During this guide you'll learn how to publish your own LearnPack packages and start sharing them with your friends, colleagues, students and the whole world.
Open your LearnPack package in your preferred environment, Gitpod, Codespaces or locally.
Check that you have the latest version of LearnPack installed by running learnpack --version
in your terminal. All versions above the 4.0.17 are supported. If you don't have the latest version, you can update LearnPack by running npm i -g @learnpack/learnpack
.
Check the learn.json
file to ensure that the editor.version
has a version equal or higher than 4.3.0. This will ensure that your package is compatible with the latest LearnPack editor, including the new features and improvements such as Login with GitHub, Session Management and new Dark Mode.
Run learnpack publish
in your terminal.
Follow the instructions in the terminal to publish your package.
Done! Your package is now published and you can share it with anyone.