View Code? Open in Web Editor
NEW
A tauri app with svelte and github workflows
JavaScript 20.35%
Rust 62.98%
Svelte 10.39%
HTML 4.61%
TypeScript 1.68%
tauri-svelte's Introduction
- Tauri
- GitHub action for cross-platform builds
- Svelte
- Vite
- TypeScript
svelte-preprocess
with Sass installed by default
- Hot module replacement
- ESLint
- Prettier
- Install Node.js
- Install Rust
- Follow the Tauri setup guide
- Run
npm install
- Find and replace the text
tauri-svelte-template
and Tauri Svelte Template
.
npm run dev
: Start app in dev mode
npm run build
: Build
npm run lint
: Lint
npm run format
: Format
- Update
CHANGELOG.md
- Bump the version number in
src-tauri/Cargo.toml
- Run
cargo check
to update Cargo.lock
- Create a git tag in the format
v#.#.#
- Add release notes to the generated GitHub release and publish it
Release new version with changeset
- Run
npx changeset
to add a changeset
- Run
npx changeset version
to bump version (and change CHANGELOG.md)
- Set the same version to
src-tauri/Cargo.toml
- Run
cargo check
in src-tauri
to update Cargo.lock
- Run
npx changeset publish
to add github tag
- Push everything in a new PR - when merging this PR, release pipeline will be triggered (by the tag)
tauri-svelte's People
Contributors
Stargazers
Watchers