Install the dependencies:
pnpm installBuild the library:
pnpm run buildBuild for the web
pnpm run build:demoBuild the library in watch mode:
pnpm run devRun 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- Demo/documentation sitetsconfig.rstest.json- Testing
Performance note: exclude patterns should include nested directories and hidden files for optimal type-checking performance: https://github.com/microsoft/TypeScript/wiki/Performance#misconfigured-include-and-exclude
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 - 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.