From 87015d4c5152c5bf4384aa59801c518d01529a44 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Tue, 15 Oct 2024 21:15:41 -0400 Subject: [PATCH] Add Env, DevTools --- .vscode/tasks.json | 7 +++++++ app/templates/content/scripts_site.html.twig | 1 + env.d.ts | 1 + package-lock.json | 20 ++++++++++---------- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 33ffb7cd0..7b520f952 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -115,6 +115,13 @@ "options": {}, "command": "npm run vite:build", "problemMatcher": [] + }, + { + "label": "vue devtools", + "type": "shell", + "options": {}, + "command": "vue-devtools", + "problemMatcher": [] } ] } \ No newline at end of file diff --git a/app/templates/content/scripts_site.html.twig b/app/templates/content/scripts_site.html.twig index 3ddff7caf..8c0e812c9 100644 --- a/app/templates/content/scripts_site.html.twig +++ b/app/templates/content/scripts_site.html.twig @@ -3,4 +3,5 @@ {% block scripts_site %} {# {{ encore_entry_script_tags('app') }} #} {{ vite_js('main.ts') }} + {% endblock %} \ No newline at end of file diff --git a/env.d.ts b/env.d.ts index 24ff947f4..5b3e655df 100644 --- a/env.d.ts +++ b/env.d.ts @@ -1,4 +1,5 @@ /// +/// /** * This is required for webpack to correctly import vue file when using TypeScript. */ diff --git a/package-lock.json b/package-lock.json index 55c577949..8958b73e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3558,7 +3558,7 @@ }, "node_modules/@userfrosting/sprinkle-account": { "version": "6.0.0", - "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-account.git#970be8adc66ecdb0ffa63a55242406e0452139ac", + "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-account.git#ae175c097df3398a258e30ba35dff6ba713fc576", "license": "MIT", "funding": { "url": "https://opencollective.com/userfrosting" @@ -3574,7 +3574,7 @@ }, "node_modules/@userfrosting/sprinkle-admin": { "version": "6.0.0-dev", - "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-admin.git#c59e10f61b47b387344c5f0bb6fdb1f03666eef6", + "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-admin.git#262c6c98fd22b396401b32cecdddc4d92e7ed844", "license": "MIT", "dependencies": { "moment": "^2.30.1" @@ -3594,7 +3594,7 @@ }, "node_modules/@userfrosting/sprinkle-core": { "version": "6.0.0", - "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-core.git#2cde2c35e0b01c03a419716ac6928c578e58c43b", + "resolved": "git+ssh://git@github.com/userfrosting/sprinkle-core.git#1d56d9ff88aeba9885b96d8a561d6051879e0278", "license": "MIT", "dependencies": { "dot-prop": "^9.0.0" @@ -3611,7 +3611,7 @@ }, "node_modules/@userfrosting/theme-pink-cupcake": { "version": "0.2.16", - "resolved": "git+ssh://git@github.com/userfrosting/theme-pink-cupcake.git#e2a0de3a1a307b57fa4522870e52ddbae0b21f77", + "resolved": "git+ssh://git@github.com/userfrosting/theme-pink-cupcake.git#7eb9f33d04af1327dfbaa7f0a75a7658c964b66c", "license": "MIT", "dependencies": { "@fontsource/montserrat": "^5.0.8", @@ -5694,9 +5694,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.36", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.36.tgz", - "integrity": "sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==", + "version": "1.5.38", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.38.tgz", + "integrity": "sha512-VbeVexmZ1IFh+5EfrYz1I0HTzHVIlJa112UEWhciPyeOcKJGeTv6N8WnG4wsQB81DGCaVEGhpSb6o6a8WYFXXg==", "dev": true, "license": "ISC" }, @@ -11650,9 +11650,9 @@ } }, "node_modules/vite": { - "version": "5.4.8", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", - "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", + "version": "5.4.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.9.tgz", + "integrity": "sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==", "dev": true, "license": "MIT", "dependencies": {