diff --git a/package-lock.json b/package-lock.json index 1fc2a24..2703200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,8 @@ }, "devDependencies": { "@armco/types": "^0.0.20", - "@types/node": "^24.10.0" + "@types/node": "^24.10.0", + "typescript": "^5.9.3" }, "peerDependencies": { "@armco/types": "^0.0.18", @@ -43,6 +44,20 @@ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", "license": "MIT" }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/undici-types": { "version": "7.16.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", diff --git a/package.json b/package.json index 9d24518..084751f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,8 @@ "homepage": "https://github.com/ReStruct-Corporate-Advantage/configs#readme", "devDependencies": { "@armco/types": "^0.0.20", - "@types/node": "^24.10.0" + "@types/node": "^24.10.0", + "typescript": "^5.9.3" }, "dependencies": { "@types/uuid": "^10.0.0" diff --git a/src/navigator.ts b/src/navigator.ts deleted file mode 100644 index 506bfbf..0000000 --- a/src/navigator.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { v4 as uuid } from "uuid" -import { AppNavigatorDataType } from "@armco/types" - -const navigator: Array = [ - { - label: "Playgrounds", - icon: "tb.TbSoccerField", - color: "cornflowerblue", - id: uuid(), - url: "/playground", - items: [ - { - label: "Components", - icon: "cg/CgComponents", - description: [ - "Stuffle's opinionated component library.", - "Save effort by including this component library to your project.", - "Also exists as npm package", - ], - url: "/components", - }, - { - label: "Icon Viewer", - icon: "gr/GrOverview", - url: "/icon", - }, - { - label: "Armory", - icon: "io5/IoLogoWebComponent", - url: "/", - }, - ], - }, - { - label: "Assets", - icon: "fa/FaBuromobelexperte", - color: "darkcyan", - id: uuid(), - url: "/assets", - items: [ - { - label: "Icons", - icon: "fa/FaIcons", - url: "/icons", - }, - { - label: "Fonts", - icon: "bi/BiFontFamily", - url: "/fonts", - }, - ], - }, - { - label: "Tools & Services", - icon: "fc/FcServices", - id: uuid(), - url: "/tools-and-services", - items: [ - { - label: "IAM", - icon: "fi.FiUsers", - url: "/config", - }, - { - label: "Analytics", - icon: "io/IoMdAnalytics", - url: "/config", - }, - { - label: "Confitron", - icon: "fc.FcDataConfiguration", - url: "/config", - }, - { - label: "Tasker", - icon: "ri.RiPlayList2Fill", - url: "/tasks", - }, - { - label: "Png to Svg", - icon: "si/SiConvertio", - }, - { - label: "Svg to Png", - icon: "si/SiConvertio", - }, - ], - }, -] - -export default navigator