Skip to content

Commit 5493821

Browse files
authored
Merge pull request #13 from ackzell/#6-adding-persistence
* Manual snapshots can be created * Automatic snapshots every 10 minutes are created * Restoring snapshots * With backing up files right before restoring them * Diff between current editor vs snaphot * Panel that displays all snapshots in a timeline * It shows which snapshots are manual, automatic (timed vs restore backup) closes #6
2 parents 78d3aa8 + d6d9652 commit 5493821

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+3239
-310
lines changed

eslint.config.ts

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,35 +47,7 @@ export default antfu({
4747
'vue/custom-event-name-casing': ['error', 'kebab-case'],
4848
'node/prefer-global/process': ['warn'],
4949
'no-console': ['warn'],
50-
51-
'perfectionist/sort-imports': [
52-
'error',
53-
{
54-
type: 'line-length',
55-
order: 'desc',
56-
groups: [
57-
'side-effect', // CSS imports first
58-
'builtin',
59-
'external',
60-
'internal-type',
61-
'internal',
62-
['parent-type', 'sibling-type', 'index-type'],
63-
['parent', 'sibling', 'index'],
64-
'object',
65-
'unknown',
66-
],
67-
},
68-
],
69-
70-
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
71-
72-
'style/object-curly-newline': ['error', {
73-
ImportDeclaration: {
74-
multiline: true,
75-
minProperties: 3,
76-
},
77-
78-
}],
50+
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
7951
},
8052
}, {
8153
files: ['**/*.vue'],

package.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
},
1010
"scripts": {
1111
"dev": "vite",
12-
"build": "run-p type-check \"build-only {@}\" -- && npm run build-server",
12+
"build": "run-p type-check \"build-only {@}\" -- && node scripts/minify-workers-post-build.js && npm run build-server && node scripts/compress-assets.js",
1313
"preview": "vite preview",
1414
"build-only": "vite build",
1515
"type-check": "vue-tsc --build",
1616
"lint": "eslint",
1717
"lint:fix": "eslint --fix",
1818
"format": "prettier --write src/",
19-
"install-in-amoxtli-vue": "cp -r dist/ ../amoxtli-vue/src/templates/yehyecoa",
19+
"install-in-amoxtli-vue": "rm -rf ../amoxtli-vue/src/templates/yehyecoa && cp -r dist/ ../amoxtli-vue/src/templates/yehyecoa",
2020
"bi": "npm run build && npm run install-in-amoxtli-vue",
2121
"build-server": "cp server.js dist/server.js",
2222
"serve": "node dist/server.js"
@@ -25,15 +25,16 @@
2525
"@iconify-json/carbon": "^1.2.13",
2626
"@iconify-json/mynaui": "^1.2.16",
2727
"@unocss/reset": "^66.4.2",
28-
"@vue/repl": "^4.6.3",
29-
"@vueuse/core": "^13.6.0",
28+
"@vue/repl": "^4.7.0",
3029
"class-variance-authority": "^0.7.1",
3130
"clsx": "^2.1.1",
31+
"dexie": "^4.2.0",
3232
"lucide-vue-next": "^0.541.0",
33-
"reka-ui": "^2.4.1",
33+
"pinia": "^3.0.3",
3434
"tailwind-merge": "^3.3.1",
3535
"tailwindcss": "^4.1.12",
3636
"tw-animate-css": "^1.3.7",
37+
"v-code-diff": "^1.13.1",
3738
"vaul-vue": "^0.4.1",
3839
"vue": "^3.5.18"
3940
},
@@ -45,17 +46,31 @@
4546
"@vue/eslint-config-prettier": "^10.2.0",
4647
"@vue/eslint-config-typescript": "^14.6.0",
4748
"@vue/tsconfig": "^0.7.0",
49+
"@vueuse/components": "^13.8.0",
50+
"@vueuse/core": "^13.6.0",
51+
"@vueuse/rxjs": "^13.7.0",
4852
"eslint": "^9.31.0",
4953
"eslint-plugin-vue": "~10.3.0",
5054
"floating-vue": "^5.2.2",
55+
"glob": "^11.0.3",
5156
"jiti": "^2.4.2",
57+
"motion-v": "^1.7.1",
5258
"npm-run-all2": "^8.0.4",
5359
"prettier": "3.6.2",
60+
"reka-ui": "^2.5.0",
61+
"rxjs": "^7.8.2",
62+
"terser": "^5.43.1",
5463
"typescript": "~5.8.0",
5564
"unocss": "^66.4.2",
56-
"unocss-preset-shadcn": "^0.5.0",
65+
"unocss-preset-animations": "^1.2.1",
66+
"unocss-preset-shadcn": "^1.0.1",
5767
"vite": "^7.0.6",
5868
"vite-plugin-vue-devtools": "^8.0.0",
5969
"vue-tsc": "^3.0.4"
70+
},
71+
"pnpm": {
72+
"onlyBuiltDependencies": [
73+
"v-code-diff"
74+
]
6075
}
6176
}

0 commit comments

Comments
 (0)