Skip to content

Commit 6db352c

Browse files
committed
Refactor: Switch from JavaScript to TypeScript
1 parent 051de82 commit 6db352c

File tree

21 files changed

+507
-157
lines changed

21 files changed

+507
-157
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ node_modules
2121
/site/config/.license
2222
.lock
2323
.dev
24+
dist
2425

2526
# Frontend
2627
/public/assets/
27-
/public/dist/
2828

2929
# Temporary files, Accounts,
3030
# Cache and Sessions

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,28 @@
44
"version": "4.0.3",
55
"description": "LTD",
66
"license": "MIT",
7-
"main": "src/app.js",
7+
"main": "src/main.js",
88
"scripts": {
99
"vite": "vite",
1010
"dev": "shx touch src/.lock && concurrently \"npm:server\" \"npm:vite\" \"npm:open\"",
1111
"open": "npx open-cli http://localhost:8888/panel/ -- 'google chrome' && npx open-cli http://localhost:8888/ -- 'google chrome'",
12-
"server": "php -S localhost:8888 -t public server.php",
12+
"server": "php -S localhost:8888 -t dist server.php",
1313
"build": "shx rm -f src/.lock && vite build",
1414
"preview": "npm run build && npm run server",
1515
"release": "release-it"
1616
},
1717
"devDependencies": {
1818
"@prettier/plugin-php": "^0.24.0",
19+
"@types/node": "^24.3.3",
20+
"@vitejs/plugin-vue": "^6.0.1",
1921
"concurrently": "^9.2.1",
2022
"open-cli": "^8.0.0",
2123
"release-it": "^19.0.4",
2224
"sass": "^1.92.1",
2325
"shx": "^0.4.0",
26+
"typescript": "^5.9.2",
2427
"vite": "^7.1.5",
28+
"vite-plugin-checker": "^0.10.3",
2529
"vite-plugin-kirby": "^5.6.1"
2630
},
2731
"packageManager": "pnpm@10.16.0+sha512.8066e7b034217b700a9a4dbb3a005061d641ba130a89915213a10b3ca4919c19c037bec8066afdc559b89635fdb806b16ea673f2468fbb28aabfa13c53e3f769"

0 commit comments

Comments
 (0)