Install the dependencies:
pnpm installBuild the library:
pnpm run buildBuild for the web demo.
pnpm run build:demoBuidl for the documentation site.
pnpm run build:docsBuild the library in watch mode:
pnpm run devBuild the documentation in watch mode:
pnpm run dev:docsRun tests:
pnpm run testRun tests in watch mode:
pnpm run test:watchRun build analysis. (Rsdoctor)
pnpm run analyzeSeparate tsconfig files for different purposes:
tsconfig.node.json- Bundlertsconfig.rslib.json- Library bundlingtsconfig.rsbuild.json- Demotsconfig.rspress.json- documentation sitetsconfig.rstest.json- Testing
Use rstack hooks: https://rstack.rs/guide/cli/hooks
This template has "private": true in package.json as a default safety measure.
Before publishing to npm:
- Change
"private": false - Ensure your package name is unique and correct
- Review your
package.jsonmetadata (description, keywords, repository, etc.)
This prevents accidental npm publishes during development.
When using this template, follow the checklist to update your info properly.
- Change the author name in LICENSE
- Update package name and metadata in
package.json - Change
umdNameinrstack.config.ts - When outputting a documentation site, if the package name in
rstack.config.tsdiffers from the repository name, modify thebasevalue indefine.docas needed. (By default, the base path is the package name with the@namespace removed.) - Set
"private": false(currentlytrueas a safety measure) - Review and adapt
AGENTS.mdfor your project conventions - Clean up the READMEs
- Publish your project.
©2026 by Logue. Licensed under the MIT License.