diff --git a/.vscode/settings.json b/.vscode/settings.json index 68149a1d..9dcf4855 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -35,5 +35,8 @@ "/**", "**/node_modules/**" ] - } + }, + "typescript.tsdk": "structures-frontend-next/node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true, + "volar.useWorkspaceTsdk": true } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d083b4dc..fb59377c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -162,7 +162,7 @@ { "label": "Frontend: Install Dependencies", "type": "shell", - "command": "pnpm install", + "command": "./pnpmw install --reporter=append-only", "options": { "cwd": "${workspaceFolder}/structures-frontend-next" }, @@ -180,7 +180,7 @@ { "label": "Frontend: Dev Server", "type": "shell", - "command": "pnpm dev", + "command": "./pnpmw dev", "options": { "cwd": "${workspaceFolder}/structures-frontend-next" }, diff --git a/structures-frontend-next/components.d.ts b/structures-frontend-next/components.d.ts index 517f770b..d2c685b5 100644 --- a/structures-frontend-next/components.d.ts +++ b/structures-frontend-next/components.d.ts @@ -55,7 +55,7 @@ declare module 'vue' { StructureItemModal: typeof import('./src/components/modals/StructureItemModal.vue')['default'] StructureNode: typeof import('./src/components/structures/flow-components/StructureNode.vue')['default'] StructureSettings: typeof import('./src/components/structures/sidebar-dashboard/StructureSettings.vue')['default'] - StructureSidebarDashboard: typeof import('./src/components/structures/StructureSidebarDashboard.vue')['default'] + StructureSidebarDashboard: typeof import('./src/components/structures/sidebar-dashboard/StructureSidebarDashboard.vue')['default'] StructuresList: typeof import('./src/components/StructuresList.vue')['default'] Tab: typeof import('primevue/tab')['default'] TabList: typeof import('primevue/tablist')['default'] @@ -65,7 +65,6 @@ declare module 'vue' { Tag: typeof import('primevue/tag')['default'] Textarea: typeof import('primevue/textarea')['default'] Toast: typeof import('primevue/toast')['default'] - ToggleButton: typeof import('primevue/togglebutton')['default'] Toolbar: typeof import('primevue/toolbar')['default'] UnionNode: typeof import('./src/components/nodes/UnionNode.vue')['default'] } diff --git a/structures-frontend-next/package.json b/structures-frontend-next/package.json index 771d115f..0abd8963 100644 --- a/structures-frontend-next/package.json +++ b/structures-frontend-next/package.json @@ -6,15 +6,18 @@ "dev": "vite", "build": "vue-tsc -b && vite build", "build:kind": "vue-tsc -b && vite build --mode kind", - "preview": "vite preview" + "preview": "vite preview", + "deps:install": "./pnpmw install --reporter=append-only", + "pnpm:build": "./pnpmw run build", + "pnpm:dev": "./pnpmw run dev" }, "dependencies": { "@headlessui/vue": "^1.7.23", "@heroicons/vue": "^2.2.0", + "@mdi/js": "^7.4.47", "@mindignited/continuum-client": "^2.14.0", "@mindignited/continuum-idl": "^2.0.3", "@mindignited/structures-api": "^3.5.0-beta.17", - "@mdi/js": "^7.4.47", "@primeuix/themes": "^1.2.1", "@vue-flow/background": "^1.3.2", "@vue-flow/controls": "^1.1.2", diff --git a/structures-frontend-next/src/components/ApplicationSidebar.vue b/structures-frontend-next/src/components/ApplicationSidebar.vue index b537a9eb..f0a27f4f 100644 --- a/structures-frontend-next/src/components/ApplicationSidebar.vue +++ b/structures-frontend-next/src/components/ApplicationSidebar.vue @@ -1,11 +1,12 @@ -