Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"eslint.workingDirectories": [
{
"mode": "auto"
}
]
"svelte.enable-ts-plugin": true,
"rust-analyzer.linkedProjects": [
"infrastructure/eid-wallet/src-tauri/Cargo.toml"
],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
}
9 changes: 9 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"lsp": {
"rust-analyzer": {
"initialization_options": {
"linkedProjects": ["infrastructure/eid-wallet/src-tauri/Cargo.toml"]
}
}
}
}
128 changes: 65 additions & 63 deletions infrastructure/eid-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,67 @@
{
"name": "eid-wallet",
"version": "0.1.0",
"description": "",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && npx @biomejs/biome check ./src",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "npx @biomejs/biome format --write ./src",
"check-format": "npx @biomejs/biome format ./src",
"lint": "npx @biomejs/biome lint --write ./src",
"check-lint": "npx @biomejs/biome lint ./src",
"tauri": "tauri",
"storybook": "svelte-kit sync && storybook dev -p 6006",
"build-storybook": "storybook build"
},
"license": "MIT",
"dependencies": {
"@biomejs/biome": "^1.9.4",
"@hugeicons/core-free-icons": "^1.0.13",
"@hugeicons/svelte": "^1.0.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-opener": "^2",
"clsx": "^2.1.1",
"flag-icons": "^7.3.2",
"tailwind-merge": "^3.0.2"
},
"devDependencies": {
"@chromatic-com/storybook": "^3",
"@storybook/addon-essentials": "^8.6.7",
"@storybook/addon-interactions": "^8.6.7",
"@storybook/blocks": "^8.6.7",
"@storybook/experimental-addon-test": "^8.6.7",
"@storybook/svelte": "^8.6.7",
"@storybook/sveltekit": "^8.6.7",
"@storybook/test": "^8.6.7",
"@storybook/testing-library": "^0.2.2",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.0.14",
"@tauri-apps/cli": "^2",
"@types/node": "^22.13.10",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-v8": "^3.0.9",
"autoprefixer": "^10.4.21",
"cupertino-pane": "^1.4.22",
"playwright": "^1.51.1",
"postcss": "^8.5.3",
"storybook": "^8.6.7",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"svelte-gestures": "^5.1.3",
"tailwindcss": "^4.0.14",
"typescript": "~5.6.2",
"vite": "^6.0.3",
"vitest": "^3.0.9"
}
"name": "eid-wallet",
"version": "0.1.0",
"description": "",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && npx @biomejs/biome check ./src",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "npx @biomejs/biome format --write ./src",
"check-format": "npx @biomejs/biome format ./src",
"lint": "npx @biomejs/biome lint --write ./src",
"check-lint": "npx @biomejs/biome lint ./src",
"tauri": "tauri",
"storybook": "svelte-kit sync && storybook dev -p 6006",
"build-storybook": "storybook build"
},
"license": "MIT",
"dependencies": {
"@biomejs/biome": "^1.9.4",
"@hugeicons/core-free-icons": "^1.0.13",
"@hugeicons/svelte": "^1.0.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-opener": "^2",
"@tauri-apps/plugin-biometric": "^2.2.0",
"@tauri-apps/plugin-store": "^2.2.0",
"clsx": "^2.1.1",
"flag-icons": "^7.3.2",
"tailwind-merge": "^3.0.2"
},
"devDependencies": {
"@chromatic-com/storybook": "^3",
"@storybook/addon-essentials": "^8.6.7",
"@storybook/addon-interactions": "^8.6.7",
"@storybook/blocks": "^8.6.7",
"@storybook/experimental-addon-test": "^8.6.7",
"@storybook/svelte": "^8.6.7",
"@storybook/sveltekit": "^8.6.7",
"@storybook/test": "^8.6.7",
"@storybook/testing-library": "^0.2.2",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.0.14",
"@tauri-apps/cli": "^2",
"@types/node": "^22.13.10",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-v8": "^3.0.9",
"autoprefixer": "^10.4.21",
"cupertino-pane": "^1.4.22",
"playwright": "^1.51.1",
"postcss": "^8.5.3",
"storybook": "^8.6.7",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"svelte-gestures": "^5.1.3",
"tailwindcss": "^4.0.14",
"typescript": "~5.6.2",
"vite": "^6.0.3",
"vitest": "^3.0.9"
}
}
87 changes: 87 additions & 0 deletions infrastructure/eid-wallet/src-tauri/Cargo.lock

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

9 changes: 9 additions & 0 deletions infrastructure/eid-wallet/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@ tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri-plugin-store = "2.2.0"


argon2 = { version = "0.5.3" }
rand_core = { version = "0.6", features = ["std"] }
thiserror = { version = "2.0.11" }

[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
tauri-plugin-biometric = "2.2.0"

This file was deleted.

13 changes: 13 additions & 0 deletions infrastructure/eid-wallet/src-tauri/capabilities/mobile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "../gen/schemas/mobile-schema.json",
"identifier": "mobile-capability",
"description": "Capability for the main window on mobile",
"windows": ["main"],
"permissions": [
"core:default",
"opener:default",
"store:default",
"biometric:default"
],
"platforms": ["iOS", "android"]
}
3 changes: 3 additions & 0 deletions infrastructure/eid-wallet/src-tauri/gen/apple/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
xcuserdata/
build/
Externals/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading