Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 80

[*.{js,jsx,ts,tsx,json,md,yml,svelte}]
indent_size = 4

[*.md]
trim_trailing_whitespace = false
27 changes: 27 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"recommendations": [
"biomejs.biome",
"svelte.svelte-vscode",
"naumovs.color-highlight",
"fill-labs.dependi",
"ms-azuretools.vscode-docker",
"docker.docker",
"EditorConfig.EditorConfig",
"tamasfe.even-better-toml",
"ctcuff.font-preview",
"github.vscode-github-actions",
"GitHub.copilot",
"GitHub.copilot-chat",
"kisstkondoros.vscode-gutter-preview",
"oderwat.indent-rainbow",
"inlang.vs-code-extension",
"Vercel.turbo-vsc",
"vitest.explorer",
"ms-playwright.playwright",
"tomoki1207.pdf",
"streetsidesoftware.code-spell-checker",
"1YiB.rust-bundle",
"bradlc.vscode-tailwindcss",
"tauri-apps.tauri-vscode"
]
}
34 changes: 29 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
{
"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
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
}
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
}
},
"[svelte]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"
}
}
}
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"]
}
}
}
}
22 changes: 22 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"formatter": {
"useEditorconfig": true
},
"overrides": [
{
"include": ["*.svelte", "*.astro", "*.vue"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
],
"organizeImports": {
"enabled": true
}
}
19 changes: 5 additions & 14 deletions infrastructure/eid-wallet/biome.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"overrides": [
{
"include": ["*.svelte", "*.astro", "*.vue"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["../../biome.json"],
"organizeImports": {
"include": ["src/**/*.ts", "src/**/*.svelte"]
}
}
129 changes: 66 additions & 63 deletions infrastructure/eid-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,68 @@
{
"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": {
"@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-barcode-scanner": "^2.2.0",
"@tauri-apps/plugin-biometric": "^2.2.0",
"@tauri-apps/plugin-opener": "^2",
"@tauri-apps/plugin-store": "^2.2.0",
"clsx": "^2.1.1",
"flag-icons": "^7.3.2",
"tailwind-merge": "^3.0.2"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@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"
}
}
Loading
Loading