Upgrade to Svelte 5 and Vite 6!!!

This commit is contained in:
Scott Idem
2024-12-02 16:16:18 -05:00
parent aeeb08ab36
commit 1f6793927b
5 changed files with 1332 additions and 317 deletions

View File

@@ -83,6 +83,14 @@ npm install --save-dev svelte-highlight typescript-svelte-plugin
npm install flowbite flowbite-svelte tailwind-merge @popperjs/core
```
## Tiptap Editor
```bash
npm install shadcn-svelte
npm install lucide-svelte
npm install mode-watcher
npx shadcn-svelte add dropdown-menu button tooltip input popover separator
```
More packages related to the Tiptap editor
```bash
npm install @tiptap/extension-link @tiptap/extension-bullet-list @tiptap/extension-history @tiptap/extension-typography @tiptap/extension-underline

1625
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"@sveltejs/adapter-node": "^5.0.0",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/eslint": "^9.0.0",
@@ -41,7 +41,7 @@
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"sass-embedded": "^1.81.0",
"svelte": "^4.2.0",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"svelte-highlight": "^7.7.0",
"svelte-idle": "^3.0.1",
@@ -49,7 +49,7 @@
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"typescript-svelte-plugin": "^0.3.43",
"vite": "^5.0.0",
"vite": "^6.0.0",
"vite-plugin-tailwind-purgecss": "^0.3.3",
"vitest": "^2.1.0"
},

View File

@@ -137,7 +137,11 @@ onMount(() => {
<!-- <td data-obj_type={primary_obj_li_type} data-obj_prop_name={obj_prop_name}>{obj_prop_value}</td> -->
{/each}
{:else}
-- Not Set --
<!-- This should never happen -->
<td class="fs_smaller" colspan="100"
>
-- Not Set --
</td>
{/if}
</tr>

View File

@@ -23,8 +23,8 @@ let novi_api_key_for_idaa = 'CmNdWgdPmgluBWjiTd8xsUCk5mio8F1O9DYAh0pVDcg=';
let novi_current_user_obj = null;
let novi_current_user_email = null;
let idaa_osit_site_key = 'restricted-access';
let idaa_ae_api_root_url = 'https://dev-idaa.oneskyit.com/idaa/archives';
let idaa_osit_site_key = '8VTOJ0X5hvT6JdiTJsGEzQ';
let idaa_ae_api_root_url = 'https://sk-idaa.oneskyit.com/idaa/archives';
let idaa_ae_params = new URLSearchParams(document.location.search);
let idaa_ae_slct_archive_id = idaa_ae_params.get('archive_id');