Opinionated Qwik template for new component packages.
- Go to or create the package folder.
- Get the template files:
npx degit github:joaopalmeiro/template-qwik-packageor
npx degit github:joaopalmeiro/template-qwik-package --force- Search for
template-qwik-packageand replace it with the package name. - Search for
Opinionated Qwik template for new component packages./Opinionated [Qwik](https://qwik.dev/) template for new component packages.and replace it with the (short) package description. - Search for
João Palmeiroand replace it with the author's name. - Install fnm (if necessary).
- Run the first two commands in the
Developmentsection to install Node.js and the development dependencies. - Open the NOTES.md file and install the package-specific dependencies according to the first command in the Commands section.
- Update the
Source codelink at the top to the package repository link. - Change
GitHubin theDeploymentsection toGitLaborCodeberg(if necessary) and update the link to the corresponding Tags page. - Delete the
Template Referencessection from the NOTES.md file. - Delete the
Getting Startedsection.
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --versionnpm installnpm run formatnpm run lintnpm run devnpm run buildnpm pack --dry-runnpm version patchnpm version minornpm version major- Update the version in the
Licenseslink at the top. - Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitHub.
npm loginnpm publish- Check npm.