Skip to content

Commit

Permalink
Merge pull request #121 from gandlafbtc/v2.0.3
Browse files Browse the repository at this point in the history
v2.0.3
  • Loading branch information
gandlafbtc authored Feb 4, 2025
2 parents c969387 + 4d3b28e commit 1804659
Show file tree
Hide file tree
Showing 344 changed files with 11,150 additions and 11,255 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: install frontend dependencies
run: |
npm i -g pnpm
pnpm install
pnpm install
# change this to npm, pnpm or bun depending on which one you use.

- uses: tauri-apps/tauri-action@v0
Expand All @@ -62,4 +62,4 @@ jobs:
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}
args: ${{ matrix.args }}
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
src-tauri/target
src-tauri/gen
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
6 changes: 1 addition & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"recommendations": [
"svelte.svelte-vscode",
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer"
]
"recommendations": ["svelte.svelte-vscode", "tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"svelte.enable-ts-plugin": true
"svelte.enable-ts-plugin": true
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ This app is in early development and most likely buggy. It does handle real sats

# Nutstash wallet

A multi platform cashu wallet
A multi platform cashu wallet
149 changes: 76 additions & 73 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,78 @@
{
"name": "nutstash",
"version": "2.0.2",
"description": "",
"type": "module",
"scripts": {
"dev": "vite dev",
"dev:host": "vite dev --host",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"tauri": "tauri",
"test": "vitest",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
"license": "MIT",
"dependencies": {
"@tauri-apps/api": "^2.1.0",
"@tauri-apps/plugin-barcode-scanner": "~2",
"@tauri-apps/plugin-nfc": "~2",
"@tauri-apps/plugin-shell": "^2.0.1"
},
"devDependencies": {
"@cashu/cashu-ts": "2.0.0-rc3",
"@cashu/crypto": "^0.3.4",
"@gandlaf21/bc-ur": "^1.1.12",
"@gandlaf21/bolt11-decode": "^3.1.1",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^1.5.0",
"@nostr-dev-kit/ndk": "^2.10.6",
"@number-flow/svelte": "^0.1.2",
"@scure/bip32": "^1.5.0",
"@scure/bip39": "^1.4.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"@tauri-apps/cli": "^2.1.0",
"autoprefixer": "^10.4.20",
"bech32": "^2.0.0",
"bits-ui": "1.0.0-next.71",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"embla-carousel-svelte": "^8.3.1",
"formsnap": "2.0.0-next.0",
"idb": "^8.0.0",
"jsdom": "^25.0.1",
"lucide-svelte": "^0.453.0",
"mode-watcher": "^0.4.1",
"nostr-tools": "^2.10.1",
"qr-scanner": "^1.4.2",
"qrcanvas": "^3.1.2",
"runed": "^0.15.3",
"svelte": "^5.1.13",
"svelte-check": "^4.0.6",
"svelte-file-dropzone": "^2.0.9",
"svelte-sonner": "^0.3.28",
"svelte-spa-router": "^4.0.1",
"sveltekit-superforms": "^2.20.0",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vaul-svelte": "1.0.0-next.1",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"zod": "^3.23.8"
}
"name": "nutstash",
"version": "2.0.3",
"description": "",
"type": "module",
"scripts": {
"dev": "vite dev --force",
"dev:host": "vite dev --host",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"tauri": "tauri",
"test": "vitest",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
"license": "MIT",
"dependencies": {
"@tauri-apps/api": "^2.1.0",
"@tauri-apps/plugin-barcode-scanner": "~2",
"@tauri-apps/plugin-nfc": "~2",
"@tauri-apps/plugin-shell": "^2.0.1"
},
"devDependencies": {
"@cashu/cashu-ts": "2.1.0",
"@cashu/crypto": "^0.3.4",
"@gandlaf21/bc-ur": "^1.1.12",
"@gandlaf21/bolt11-decode": "^3.1.1",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^1.5.0",
"@nostr-dev-kit/ndk": "^2.10.6",
"@number-flow/svelte": "^0.1.2",
"@scure/bip32": "^1.5.0",
"@scure/bip39": "^1.4.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"@tauri-apps/cli": "^2.1.0",
"autoprefixer": "^10.4.20",
"bech32": "^2.0.0",
"bits-ui": "1.0.0-next.71",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"embla-carousel-svelte": "^8.3.1",
"formsnap": "2.0.0-next.0",
"idb": "^8.0.0",
"jsdom": "^25.0.1",
"lucide-svelte": "^0.453.0",
"mode-watcher": "^0.4.1",
"nostr-tools": "^2.10.1",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.11",
"qr-scanner": "^1.4.2",
"qrcanvas": "^3.1.2",
"runed": "^0.15.3",
"svelte": "^5.1.13",
"svelte-check": "^4.0.6",
"svelte-file-dropzone": "^2.0.9",
"svelte-sonner": "^0.3.28",
"svelte-spa-router": "^4.0.1",
"sveltekit-superforms": "^2.20.0",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vaul-svelte": "1.0.0-next.1",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"zod": "^3.23.8"
}
}
98 changes: 93 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};
6 changes: 3 additions & 3 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "nutstash"
version = "2.0.2"
description = "A Tauri App"
authors = ["you"]
version = "2.0.3"
description = "Cashu ecash wallet"
authors = ["gandlaf21"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
13 changes: 5 additions & 8 deletions src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:default",
"shell:allow-open"
]
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": ["core:default", "shell:allow-open"]
}
Loading

0 comments on commit 1804659

Please sign in to comment.