Skip to content

Commit

Permalink
feat: read mind maps and structure them
Browse files Browse the repository at this point in the history
  • Loading branch information
davidenke committed Oct 23, 2024
1 parent fec9b06 commit a0b98a4
Show file tree
Hide file tree
Showing 27 changed files with 736 additions and 778 deletions.
16 changes: 2 additions & 14 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,11 @@ export default eslintTs.config(
// import sorting
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'prettier/prettier': [
'error',
{},
{
usePrettierrc: true,
},
],
'prettier/prettier': ['error', {}, { usePrettierrc: true }],

// unused imports
'@typescript-eslint/no-unused-vars': 'off',
'unused-imports/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'unused-imports/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'unused-imports/no-unused-imports': 'error',
},
},
Expand Down
35 changes: 6 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri App</title>
<script type="module" src="/src/main.ts" defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Xmind live protocol</title>
<link rel="stylesheet" href="src/index.css" />
<script type="module" src="/src/index.ts" defer></script>
</head>

<body>
<div class="container">
<h1>Welcome to Tauri!</h1>

<div class="row">
<a href="https://vitejs.dev" target="_blank">
<img src="/src/assets/vite.svg" class="logo vite" alt="Vite logo" />
</a>
<a href="https://tauri.app" target="_blank">
<img src="/src/assets/tauri.svg" class="logo tauri" alt="Tauri logo" />
</a>
<a href="https://www.typescriptlang.org/docs" target="_blank">
<img src="/src/assets/typescript.svg" class="logo typescript" alt="typescript logo" />
</a>
</div>

<p>Click on the Tauri logo to learn more about the framework</p>

<form class="row" id="greet-form">
<input id="greet-input" placeholder="Enter a name..." />
<button type="submit">Greet</button>
</form>

<p id="greet-msg"></p>
</div>
<xlp-root></xlp-root>
</body>
</html>
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,33 @@
"type": "module",
"scripts": {
"lint": "eslint -c eslint.config.js src/**/*.ts",
"check": "tsc --noEmit",
"test": "vitest",
"dev": "vite dev",
"build": "vite build"
"dev": "tauri dev",
"build": "tauri build"
},
"": "",
"keywords": [],
"author": {
"email": "[email protected]",
"name": "David Enke"
},
"dependencies": {
"@nsea/xmind-handler": "0.0.5",
"@fontsource-variable/inter-tight": "5.1.0",
"@fontsource-variable/material-symbols-outlined": "5.1.0",
"@tauri-apps/api": "2.0.2",
"@tauri-apps/plugin-fs": "2.0.0",
"@tauri-apps/plugin-shell": "2.0.0",
"chalk": "5.3.0",
"xmind": "2.2.33"
"jszip": "3.10.1",
"lit": "3.2.1",
"marked": "14.1.2",
"xmind-model": "1.1.12"
},
"devDependencies": {
"@esbuild-plugins/node-modules-polyfill": "0.2.2",
"@eslint/js": "9.11.1",
"@eslint/json": "0.4.1",
"@tauri-apps/cli": "2.0.2",
"@types/eslint__eslintrc": "2.1.2",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.13",
"@types/node": "20.16.10",
"@typescript-eslint/eslint-plugin": "8.2.0",
"@typescript-eslint/parser": "8.2.0",
Expand All @@ -41,7 +43,6 @@
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-unused-imports": "4.1.3",
"prettier": "3.3.3",
"tsx": "4.19.1",
"typescript": "5.5.4",
"typescript-eslint": "8.8.0",
"vite": "5.4.8",
Expand Down
Loading

0 comments on commit a0b98a4

Please sign in to comment.