Opinionated Qwik template for new component packages.
- Go to or create the package folder.
- Get the template files:
npx degit github:joaopalmeiro/template-qwik-package
or
npx degit github:joaopalmeiro/template-qwik-package --force
- Search for
template-qwik-package
and 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 Palmeiro
and replace it with the author's name. - Install fnm (if necessary).
- Run the first two commands in the
Development
section 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 code
link at the top to the package repository link. - Change
GitHub
in theDeployment
section toGitLab
orCodeberg
(if necessary) and update the link to the corresponding Tags page. - Delete the
Template References
section from the NOTES.md file. - Delete the
Getting Started
section.
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --version
npm install
npm run format
npm run lint
npm run dev
npm run build
npm pack --dry-run
npm version patch
npm version minor
npm version major
- Update the version in the
Licenses
link at the top. - Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitHub.
npm login
npm publish
- Check npm.