From 7d8c8baf2b7b7be955c128bba491564c371759ae Mon Sep 17 00:00:00 2001 From: Moritz Fuller Date: Thu, 7 Aug 2025 17:38:18 +0200 Subject: [PATCH 1/2] migrate project to plain js --- motoko/nft-creator/frontend/index.html | 21 +- motoko/nft-creator/frontend/package.json | 5 +- motoko/nft-creator/frontend/src/App.jsx | 98 ++ motoko/nft-creator/frontend/src/App.tsx | 85 - .../{AuthButton.tsx => AuthButton.jsx} | 0 ...ollectionClaim.tsx => CollectionClaim.jsx} | 0 .../components/{MintNFT.tsx => MintNFT.jsx} | 3 + .../components/{NFTCard.tsx => NFTCard.jsx} | 17 +- .../{OwnedNFTs.tsx => OwnedNFTs.jsx} | 0 .../frontend/src/contexts/ToastContext.jsx | 97 ++ .../frontend/src/contexts/ToastContext.tsx | 94 -- .../src/hooks/{useActor.ts => useActor.js} | 13 +- .../hooks/{useQueries.tsx => useQueries.js} | 32 +- motoko/nft-creator/frontend/src/index.css | 107 +- .../frontend/src/{main.tsx => main.jsx} | 2 +- motoko/nft-creator/frontend/src/types.ts | 3 - motoko/nft-creator/frontend/src/vite-env.d.ts | 1 - motoko/nft-creator/frontend/tsconfig.json | 25 - motoko/nft-creator/package-lock.json | 1489 +++++++++++++++++ motoko/nft-creator/tsconfig.json | 11 - 20 files changed, 1776 insertions(+), 327 deletions(-) create mode 100644 motoko/nft-creator/frontend/src/App.jsx delete mode 100644 motoko/nft-creator/frontend/src/App.tsx rename motoko/nft-creator/frontend/src/components/{AuthButton.tsx => AuthButton.jsx} (100%) rename motoko/nft-creator/frontend/src/components/{CollectionClaim.tsx => CollectionClaim.jsx} (100%) rename motoko/nft-creator/frontend/src/components/{MintNFT.tsx => MintNFT.jsx} (95%) rename motoko/nft-creator/frontend/src/components/{NFTCard.tsx => NFTCard.jsx} (94%) rename motoko/nft-creator/frontend/src/components/{OwnedNFTs.tsx => OwnedNFTs.jsx} (100%) create mode 100644 motoko/nft-creator/frontend/src/contexts/ToastContext.jsx delete mode 100644 motoko/nft-creator/frontend/src/contexts/ToastContext.tsx rename motoko/nft-creator/frontend/src/hooks/{useActor.ts => useActor.js} (83%) rename motoko/nft-creator/frontend/src/hooks/{useQueries.tsx => useQueries.js} (86%) rename motoko/nft-creator/frontend/src/{main.tsx => main.jsx} (94%) delete mode 100644 motoko/nft-creator/frontend/src/types.ts delete mode 100644 motoko/nft-creator/frontend/src/vite-env.d.ts delete mode 100644 motoko/nft-creator/frontend/tsconfig.json create mode 100644 motoko/nft-creator/package-lock.json delete mode 100644 motoko/nft-creator/tsconfig.json diff --git a/motoko/nft-creator/frontend/index.html b/motoko/nft-creator/frontend/index.html index fdc5768c2..87dd1c536 100644 --- a/motoko/nft-creator/frontend/index.html +++ b/motoko/nft-creator/frontend/index.html @@ -1,11 +1,14 @@ - - - - NFT Collection Management Application - - -
- - + + + + + NFT Collection Management Application + + + +
+ + + \ No newline at end of file diff --git a/motoko/nft-creator/frontend/package.json b/motoko/nft-creator/frontend/package.json index 8228c9844..1650f5ad5 100644 --- a/motoko/nft-creator/frontend/package.json +++ b/motoko/nft-creator/frontend/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "vite", "prebuild": "npm i --include=dev && dfx generate", - "build": "tsc && vite build" + "build": "vite build" }, "dependencies": { "@dfinity/agent": "^3.0.0", @@ -21,12 +21,9 @@ "tailwindcss": "^4.1.11" }, "devDependencies": { - "@types/react": "^19.1.9", - "@types/react-dom": "^19.1.7", "@vitejs/plugin-react": "^4.7.0", "dotenv": "^17.2.1", "sass": "^1.89.2", - "typescript": "^5.8.3", "vite": "^7.0.6", "vite-plugin-environment": "^1.1.3" } diff --git a/motoko/nft-creator/frontend/src/App.jsx b/motoko/nft-creator/frontend/src/App.jsx new file mode 100644 index 000000000..64cf2cdbf --- /dev/null +++ b/motoko/nft-creator/frontend/src/App.jsx @@ -0,0 +1,98 @@ +import { useInternetIdentity } from "ic-use-internet-identity"; +import { CollectionClaim } from "./components/CollectionClaim"; +import { MintNFT } from "./components/MintNFT"; +import { OwnedNFTs } from "./components/OwnedNFTs"; +import { AuthButton } from "./components/AuthButton"; +import { Heart } from "lucide-react"; + +function App() { + const { identity, isInitializing } = useInternetIdentity(); + + if (isInitializing) { + return ( +
+
+
+ ); + } + + return ( +
+
+ {/* Header */} +
+

+ NFT Collection Manager +

+
+ +
+
+ + {identity ? ( +
+ {/* Collection Management */} +
+

+ Collection Management +

+ +
+ + {/* Minting Section */} +
+

+ Mint NFT +

+ +
+ + {/* Owned NFTs */} +
+

+ Your NFTs +

+ +
+
+ ) : ( +
+
+

+ Welcome to NFT Collection Manager +

+

+ Please authenticate with Internet Identity to + manage your NFT collection. +

+
+ +
+
+
+ )} + + {/* Footer */} + +
+
+ ); +} + +export default App; diff --git a/motoko/nft-creator/frontend/src/App.tsx b/motoko/nft-creator/frontend/src/App.tsx deleted file mode 100644 index cb0ac73b5..000000000 --- a/motoko/nft-creator/frontend/src/App.tsx +++ /dev/null @@ -1,85 +0,0 @@ -import { useInternetIdentity } from 'ic-use-internet-identity'; -import { CollectionClaim } from './components/CollectionClaim'; -import { MintNFT } from './components/MintNFT'; -import { OwnedNFTs } from './components/OwnedNFTs'; -import { AuthButton } from './components/AuthButton'; -import { Heart } from 'lucide-react'; - -function App() { - const { identity, isInitializing } = useInternetIdentity(); - - if (isInitializing) { - return ( -
-
-
- ); - } - - return ( -
-
- {/* Header */} -
-

- NFT Collection Manager -

-
- -
-
- - {identity ? ( -
- {/* Collection Management */} -
-

Collection Management

- -
- - {/* Minting Section */} -
-

Mint NFT

- -
- - {/* Owned NFTs */} -
-

Your NFTs

- -
-
- ) : ( -
-
-

Welcome to NFT Collection Manager

-

- Please authenticate with Internet Identity to manage your NFT collection. -

-
- -
-
-
- )} - - {/* Footer */} - -
-
- ); -} - -export default App; diff --git a/motoko/nft-creator/frontend/src/components/AuthButton.tsx b/motoko/nft-creator/frontend/src/components/AuthButton.jsx similarity index 100% rename from motoko/nft-creator/frontend/src/components/AuthButton.tsx rename to motoko/nft-creator/frontend/src/components/AuthButton.jsx diff --git a/motoko/nft-creator/frontend/src/components/CollectionClaim.tsx b/motoko/nft-creator/frontend/src/components/CollectionClaim.jsx similarity index 100% rename from motoko/nft-creator/frontend/src/components/CollectionClaim.tsx rename to motoko/nft-creator/frontend/src/components/CollectionClaim.jsx diff --git a/motoko/nft-creator/frontend/src/components/MintNFT.tsx b/motoko/nft-creator/frontend/src/components/MintNFT.jsx similarity index 95% rename from motoko/nft-creator/frontend/src/components/MintNFT.tsx rename to motoko/nft-creator/frontend/src/components/MintNFT.jsx index 27f9885cc..a2ee766b8 100644 --- a/motoko/nft-creator/frontend/src/components/MintNFT.tsx +++ b/motoko/nft-creator/frontend/src/components/MintNFT.jsx @@ -3,12 +3,14 @@ import { useCollectionOwner, useMintNFT } from "../hooks/useQueries"; import { useInternetIdentity } from "ic-use-internet-identity"; import { Principal } from "@dfinity/principal"; import { Sparkles } from "lucide-react"; +import { useToast } from "../contexts/ToastContext"; export function MintNFT() { const { identity } = useInternetIdentity(); const { data: collectionOwner, isLoading: isLoadingOwner } = useCollectionOwner(); const { mutate: mintNFT, isPending: isMinting } = useMintNFT(); + const { addError } = useToast(); const [recipient, setRecipient] = useState(""); @@ -56,6 +58,7 @@ export function MintNFT() { setRecipient(""); } catch (error) { console.error("Invalid principal:", error); + addError("Invalid principal: " + (error?.message || error)); } }; diff --git a/motoko/nft-creator/frontend/src/components/NFTCard.tsx b/motoko/nft-creator/frontend/src/components/NFTCard.jsx similarity index 94% rename from motoko/nft-creator/frontend/src/components/NFTCard.tsx rename to motoko/nft-creator/frontend/src/components/NFTCard.jsx index b2741012e..c3f19d5fa 100644 --- a/motoko/nft-creator/frontend/src/components/NFTCard.tsx +++ b/motoko/nft-creator/frontend/src/components/NFTCard.jsx @@ -2,24 +2,16 @@ import { useState } from "react"; import { useTransferNFT } from "../hooks/useQueries"; import { Principal } from "@dfinity/principal"; import { Send, Image as ImageIcon } from "lucide-react"; -import type { Metadata } from "../types"; +import { useToast } from "../contexts/ToastContext"; -interface NFTData { - tokenId: bigint; - metadata: Metadata; -} - -interface NFTCardProps { - nft: NFTData; -} - -export function NFTCard({ nft }: NFTCardProps) { +export function NFTCard({ nft }) { const [recipient, setRecipient] = useState(""); const [imageError, setImageError] = useState(false); const { mutate: transferNFT, isPending: isTransferring } = useTransferNFT(); + const { addError } = useToast(); // Helper function to get metadata value by key - const getMetadataValue = (key: string): string => { + const getMetadataValue = (key) => { const entry = nft.metadata[0]?.find(([k]) => k === key); if (entry && entry[1] && "Text" in entry[1]) { return entry[1].Text; @@ -39,6 +31,7 @@ export function NFTCard({ nft }: NFTCardProps) { setRecipient(""); } catch (error) { console.error("Invalid principal:", error); + addError("Invalid principal: " + (error?.message || error)); } }; diff --git a/motoko/nft-creator/frontend/src/components/OwnedNFTs.tsx b/motoko/nft-creator/frontend/src/components/OwnedNFTs.jsx similarity index 100% rename from motoko/nft-creator/frontend/src/components/OwnedNFTs.tsx rename to motoko/nft-creator/frontend/src/components/OwnedNFTs.jsx diff --git a/motoko/nft-creator/frontend/src/contexts/ToastContext.jsx b/motoko/nft-creator/frontend/src/contexts/ToastContext.jsx new file mode 100644 index 000000000..5c1accb81 --- /dev/null +++ b/motoko/nft-creator/frontend/src/contexts/ToastContext.jsx @@ -0,0 +1,97 @@ +import { createContext, useContext, useState, useCallback } from "react"; +import { X } from "lucide-react"; + +const ToastContext = createContext(undefined); + +export function useToast() { + const context = useContext(ToastContext); + if (!context) { + throw new Error("useToast must be used within a ToastProvider"); + } + return context; +} + +export function ToastProvider({ children }) { + const [toasts, setToasts] = useState([]); + + const addToast = useCallback((message, type) => { + const id = Date.now().toString(); + const newToast = { id, message, type }; + + setToasts((prev) => [newToast, ...prev]); // Latest first + + // Auto remove after 5 seconds + setTimeout(() => { + removeToast(id); + }, 5000); + }, []); + + const removeToast = useCallback((id) => { + setToasts((prev) => prev.filter((toast) => toast.id !== id)); + }, []); + + const addError = useCallback( + (message) => addToast(message, "error"), + [addToast] + ); + const addSuccess = useCallback( + (message) => addToast(message, "success"), + [addToast] + ); + const addInfo = useCallback( + (message) => addToast(message, "info"), + [addToast] + ); + + return ( + + {children} + + + ); +} + +function ToastContainer({ toasts, onRemove }) { + return ( +
+ {toasts.map((toast, index) => ( +
0 ? "opacity-80" : "opacity-100"} + ${toast.type === "error" ? "bg-red-600 text-white" : ""} + ${toast.type === "success" ? "bg-green-600 text-white" : ""} + ${toast.type === "info" ? "bg-blue-600 text-white" : ""} + animate-slide-in + `} + style={{ + transform: `translateY(${index * -8}px)`, + zIndex: 50 - index, + }} + > +
+ {toast.message} +
+ +
+ ))} +
+ ); +} diff --git a/motoko/nft-creator/frontend/src/contexts/ToastContext.tsx b/motoko/nft-creator/frontend/src/contexts/ToastContext.tsx deleted file mode 100644 index 2d3df4074..000000000 --- a/motoko/nft-creator/frontend/src/contexts/ToastContext.tsx +++ /dev/null @@ -1,94 +0,0 @@ -import React, { createContext, useContext, useState, useCallback } from 'react'; -import { X } from 'lucide-react'; - -interface Toast { - id: string; - message: string; - type: 'error' | 'success' | 'info'; -} - -interface ToastContextType { - toasts: Toast[]; - addToast: (message: string, type: Toast['type']) => void; - removeToast: (id: string) => void; - addError: (message: string) => void; - addSuccess: (message: string) => void; - addInfo: (message: string) => void; -} - -const ToastContext = createContext(undefined); - -export function useToast() { - const context = useContext(ToastContext); - if (!context) { - throw new Error('useToast must be used within a ToastProvider'); - } - return context; -} - -export function ToastProvider({ children }: { children: React.ReactNode }) { - const [toasts, setToasts] = useState([]); - - const addToast = useCallback((message: string, type: Toast['type']) => { - const id = Date.now().toString(); - const newToast = { id, message, type }; - - setToasts(prev => [newToast, ...prev]); // Latest first - - // Auto remove after 5 seconds - setTimeout(() => { - removeToast(id); - }, 5000); - }, []); - - const removeToast = useCallback((id: string) => { - setToasts(prev => prev.filter(toast => toast.id !== id)); - }, []); - - const addError = useCallback((message: string) => addToast(message, 'error'), [addToast]); - const addSuccess = useCallback((message: string) => addToast(message, 'success'), [addToast]); - const addInfo = useCallback((message: string) => addToast(message, 'info'), [addToast]); - - return ( - - {children} - - - ); -} - -function ToastContainer({ toasts, onRemove }: { toasts: Toast[]; onRemove: (id: string) => void }) { - return ( -
- {toasts.map((toast, index) => ( -
0 ? 'opacity-80' : 'opacity-100'} - ${toast.type === 'error' ? 'bg-red-600 text-white' : ''} - ${toast.type === 'success' ? 'bg-green-600 text-white' : ''} - ${toast.type === 'info' ? 'bg-blue-600 text-white' : ''} - animate-slide-in - `} - style={{ - transform: `translateY(${index * -8}px)`, - zIndex: 50 - index, - }} - > -
- {toast.message} -
- -
- ))} -
- ); -} diff --git a/motoko/nft-creator/frontend/src/hooks/useActor.ts b/motoko/nft-creator/frontend/src/hooks/useActor.js similarity index 83% rename from motoko/nft-creator/frontend/src/hooks/useActor.ts rename to motoko/nft-creator/frontend/src/hooks/useActor.js index 64c6a6ac7..61d4b40d6 100644 --- a/motoko/nft-creator/frontend/src/hooks/useActor.ts +++ b/motoko/nft-creator/frontend/src/hooks/useActor.js @@ -1,9 +1,5 @@ import { useInternetIdentity } from "ic-use-internet-identity"; -import { - createActor, - canisterId, -} from "declarations/backend"; -import { type _SERVICE as backendInterface } from "declarations/backend/backend.did"; +import { createActor, canisterId } from "declarations/backend"; import { useQuery, useQueryClient } from "@tanstack/react-query"; import { useEffect } from "react"; @@ -12,8 +8,11 @@ export function useActor() { const { identity } = useInternetIdentity(); const queryClient = useQueryClient(); - const actorQuery = useQuery({ - queryKey: [ACTOR_QUERY_KEY, identity?.getPrincipal().toString() || "anonymous"], + const actorQuery = useQuery({ + queryKey: [ + ACTOR_QUERY_KEY, + identity?.getPrincipal().toString() || "anonymous", + ], queryFn: async () => { if (!canisterId) { throw new Error("Canister ID not available"); diff --git a/motoko/nft-creator/frontend/src/hooks/useQueries.tsx b/motoko/nft-creator/frontend/src/hooks/useQueries.js similarity index 86% rename from motoko/nft-creator/frontend/src/hooks/useQueries.tsx rename to motoko/nft-creator/frontend/src/hooks/useQueries.js index c51f6af6d..b73e6010d 100644 --- a/motoko/nft-creator/frontend/src/hooks/useQueries.tsx +++ b/motoko/nft-creator/frontend/src/hooks/useQueries.js @@ -2,10 +2,6 @@ import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { useInternetIdentity } from "ic-use-internet-identity"; import { useActor } from "./useActor"; import { useToast } from "../contexts/ToastContext"; -import type { - Account, - TransferArg, -} from "declarations/backend/backend.did"; // Collection Status export function useCollectionStatus() { @@ -51,7 +47,7 @@ export function useClaimCollection() { queryClient.invalidateQueries({ queryKey: ["collectionOwner"] }); addSuccess("Collection claimed successfully!"); }, - onError: (error: Error) => { + onError: (error) => { addError(`Failed to claim collection: ${error.message}`); }, }); @@ -64,7 +60,7 @@ export function useMintNFT() { const { addError, addSuccess } = useToast(); return useMutation({ - mutationFn: async ({ to }: { to: Account }) => { + mutationFn: async ({ to }) => { if (!actor) throw new Error("Actor not available"); const result = await actor.mint(to); if ("err" in result) { @@ -76,7 +72,7 @@ export function useMintNFT() { queryClient.invalidateQueries({ queryKey: ["ownedNFTs"] }); addSuccess("NFT minted successfully!"); }, - onError: (error: Error) => { + onError: (error) => { addError(`Failed to mint NFT: ${error.message}`); }, }); @@ -102,12 +98,10 @@ export function useOwnedNFTs() { const metadataArray = await actor.icrc7_token_metadata(tokenIds); // Map token IDs to their corresponding metadata (same order) - const nftsWithMetadata = tokenIds.map( - (tokenId: bigint, index: number) => ({ - tokenId, - metadata: metadataArray[index] || [], - }) - ); + const nftsWithMetadata = tokenIds.map((tokenId, index) => ({ + tokenId, + metadata: metadataArray[index] || [], + })); return nftsWithMetadata; }, @@ -122,16 +116,10 @@ export function useTransferNFT() { const { addError, addSuccess } = useToast(); return useMutation({ - mutationFn: async ({ - tokenId, - to, - }: { - tokenId: bigint; - to: Account; - }) => { + mutationFn: async ({ tokenId, to }) => { if (!actor) throw new Error("Actor not available"); - const transferArg: TransferArg = { + const transferArg = { token_id: tokenId, to, memo: [], @@ -159,7 +147,7 @@ export function useTransferNFT() { queryClient.invalidateQueries({ queryKey: ["ownedNFTs"] }); addSuccess("NFT transferred successfully!"); }, - onError: (error: Error) => { + onError: (error) => { addError(`Failed to transfer NFT: ${error.message}`); }, }); diff --git a/motoko/nft-creator/frontend/src/index.css b/motoko/nft-creator/frontend/src/index.css index 457474738..bb111446b 100644 --- a/motoko/nft-creator/frontend/src/index.css +++ b/motoko/nft-creator/frontend/src/index.css @@ -1,102 +1,103 @@ @import "tailwindcss"; @layer base { - * { - box-sizing: border-box; - } - - html { - font-family: system-ui, sans-serif; - } - - body { - margin: 0; - padding: 0; - background-color: #111827; - color: #ffffff; - /* Prevent horizontal scroll on mobile */ - overflow-x: hidden; - } + * { + box-sizing: border-box; + } + + html { + font-family: system-ui, sans-serif; + } + + body { + margin: 0; + padding: 0; + background-color: #111827; + color: #ffffff; + /* Prevent horizontal scroll on mobile */ + overflow-x: hidden; + } } @layer components { - .container { - max-width: 1200px; - } + .container { + max-width: 1200px; + } } /* Custom scrollbar */ ::-webkit-scrollbar { - width: 8px; + width: 8px; } ::-webkit-scrollbar-track { - background: #374151; + background: #374151; } ::-webkit-scrollbar-thumb { - background: #6b7280; - border-radius: 4px; + background: #6b7280; + border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { - background: #9ca3af; + background: #9ca3af; } /* Loading animation */ @keyframes spin { - to { - transform: rotate(360deg); - } + to { + transform: rotate(360deg); + } } .animate-spin { - animation: spin 1s linear infinite; + animation: spin 1s linear infinite; } /* Focus styles */ input:focus, textarea:focus, button:focus { - outline: none; + outline: none; } /* Smooth transitions */ * { - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; + transition-property: color, background-color, border-color, + text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; } /* Toast animations */ @keyframes slide-in { - from { - transform: translateX(-100%); - opacity: 0; - } - to { - transform: translateX(0); - opacity: 1; - } + from { + transform: translateX(-100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } } .animate-slide-in { - animation: slide-in 0.3s ease-out; + animation: slide-in 0.3s ease-out; } /* Mobile-specific utilities */ @layer utilities { - .line-clamp-2 { - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - } - - /* Ensure buttons are touch-friendly on mobile */ - @media (max-width: 640px) { - button { - min-height: 44px; /* Apple's recommended minimum touch target */ + .line-clamp-2 { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + } + + /* Ensure buttons are touch-friendly on mobile */ + @media (max-width: 640px) { + button { + min-height: 44px; /* Apple's recommended minimum touch target */ + } } - } } diff --git a/motoko/nft-creator/frontend/src/main.tsx b/motoko/nft-creator/frontend/src/main.jsx similarity index 94% rename from motoko/nft-creator/frontend/src/main.tsx rename to motoko/nft-creator/frontend/src/main.jsx index 58d85106b..dd3aa4c84 100644 --- a/motoko/nft-creator/frontend/src/main.tsx +++ b/motoko/nft-creator/frontend/src/main.jsx @@ -24,7 +24,7 @@ const queryClient = new QueryClient({ }, }); -ReactDOM.createRoot(document.getElementById("root")!).render( +ReactDOM.createRoot(document.getElementById("root")).render( diff --git a/motoko/nft-creator/frontend/src/types.ts b/motoko/nft-creator/frontend/src/types.ts deleted file mode 100644 index 934dcddbc..000000000 --- a/motoko/nft-creator/frontend/src/types.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Value__1 } from "declarations/backend/backend.did"; - -export type Metadata = [] | [Array<[string, Value__1]>]; diff --git a/motoko/nft-creator/frontend/src/vite-env.d.ts b/motoko/nft-creator/frontend/src/vite-env.d.ts deleted file mode 100644 index 11f02fe2a..000000000 --- a/motoko/nft-creator/frontend/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/motoko/nft-creator/frontend/tsconfig.json b/motoko/nft-creator/frontend/tsconfig.json deleted file mode 100644 index 17dc2b5cb..000000000 --- a/motoko/nft-creator/frontend/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], - "allowJs": false, - "skipLibCheck": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "module": "ESNext", - "moduleResolution": "Node", - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "react-jsx", - "types": ["vite/client"], - "paths": { - "declarations/*": ["../src/declarations/*"] - } - }, - "include": ["src"], - "exclude": ["node_modules", "dist", "build", "*.config.js"] -} diff --git a/motoko/nft-creator/package-lock.json b/motoko/nft-creator/package-lock.json new file mode 100644 index 000000000..6494013b9 --- /dev/null +++ b/motoko/nft-creator/package-lock.json @@ -0,0 +1,1489 @@ +{ + "name": "motoko-icp-ninja-template", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "motoko-icp-ninja-template", + "workspaces": [ + "frontend" + ], + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "frontend": { + "version": "0.0.0", + "dependencies": { + "@dfinity/agent": "^3.0.0", + "@dfinity/candid": "^3.0.0", + "@dfinity/principal": "^3.0.0", + "@tailwindcss/vite": "^4.1.11", + "@tanstack/react-query": "^5.83.0", + "ic-use-internet-identity": "^0.3.2", + "lucide-react": "^0.535.0", + "react": "^19.1.1", + "react-dom": "^19.1.1", + "tailwindcss": "^4.1.11" + }, + "devDependencies": { + "@vitejs/plugin-react": "^4.7.0", + "dotenv": "^17.2.1", + "sass": "^1.89.2", + "vite": "^7.0.6", + "vite-plugin-environment": "^1.1.3" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.27.3", + "@babel/helpers": "^7.27.6", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.0", + "@babel/types": "^7.28.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.0", + "@babel/types": "^7.28.0", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.27.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.27.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.28.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.0" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.27.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.27.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.28.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.0", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.0", + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.0", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.28.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@dfinity/agent": { + "version": "3.1.0", + "license": "Apache-2.0", + "dependencies": { + "@dfinity/cbor": "^0.2.2", + "@noble/curves": "^1.9.2" + }, + "peerDependencies": { + "@dfinity/candid": "3.1.0", + "@dfinity/principal": "3.1.0", + "@noble/hashes": "^1.8.0" + } + }, + "node_modules/@dfinity/auth-client": { + "version": "3.1.0", + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "idb": "^7.0.2" + }, + "peerDependencies": { + "@dfinity/agent": "3.1.0", + "@dfinity/identity": "3.1.0", + "@dfinity/principal": "3.1.0" + } + }, + "node_modules/@dfinity/candid": { + "version": "3.1.0", + "license": "Apache-2.0", + "peerDependencies": { + "@dfinity/principal": "3.1.0" + } + }, + "node_modules/@dfinity/cbor": { + "version": "0.2.2", + "license": "Apache-2.0" + }, + "node_modules/@dfinity/identity": { + "version": "3.1.0", + "license": "Apache-2.0", + "peer": true, + "peerDependencies": { + "@dfinity/agent": "3.1.0", + "@dfinity/candid": "3.1.0", + "@dfinity/principal": "3.1.0", + "@noble/curves": "^1.9.2", + "@noble/hashes": "^1.8.0" + } + }, + "node_modules/@dfinity/principal": { + "version": "3.1.0", + "license": "Apache-2.0", + "dependencies": { + "@noble/hashes": "^1.8.0" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.8", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.12", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.4", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.29", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@noble/curves": { + "version": "1.9.6", + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.8.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.8.0", + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-beta.27", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.46.2", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@tailwindcss/node": { + "version": "4.1.11", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.3.0", + "enhanced-resolve": "^5.18.1", + "jiti": "^2.4.2", + "lightningcss": "1.30.1", + "magic-string": "^0.30.17", + "source-map-js": "^1.2.1", + "tailwindcss": "4.1.11" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.1.11", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.4", + "tar": "^7.4.3" + }, + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.1.11", + "@tailwindcss/oxide-darwin-arm64": "4.1.11", + "@tailwindcss/oxide-darwin-x64": "4.1.11", + "@tailwindcss/oxide-freebsd-x64": "4.1.11", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.11", + "@tailwindcss/oxide-linux-arm64-gnu": "4.1.11", + "@tailwindcss/oxide-linux-arm64-musl": "4.1.11", + "@tailwindcss/oxide-linux-x64-gnu": "4.1.11", + "@tailwindcss/oxide-linux-x64-musl": "4.1.11", + "@tailwindcss/oxide-wasm32-wasi": "4.1.11", + "@tailwindcss/oxide-win32-arm64-msvc": "4.1.11", + "@tailwindcss/oxide-win32-x64-msvc": "4.1.11" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.1.11", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tailwindcss/oxide/node_modules/detect-libc": { + "version": "2.0.4", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/@tailwindcss/vite": { + "version": "4.1.11", + "license": "MIT", + "dependencies": { + "@tailwindcss/node": "4.1.11", + "@tailwindcss/oxide": "4.1.11", + "tailwindcss": "4.1.11" + }, + "peerDependencies": { + "vite": "^5.2.0 || ^6 || ^7" + } + }, + "node_modules/@tanstack/query-core": { + "version": "5.83.0", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "5.83.0", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "5.83.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^18 || ^19" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "license": "MIT" + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.28.0", + "@babel/plugin-transform-react-jsx-self": "^7.27.1", + "@babel/plugin-transform-react-jsx-source": "^7.27.1", + "@rolldown/pluginutils": "1.0.0-beta.27", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.17.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + } + }, + "node_modules/@xstate/store": { + "version": "2.6.2", + "license": "MIT", + "peerDependencies": { + "react": "^18.2.0 || ^19.0.0-0", + "solid-js": "^1.7.6" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "solid-js": { + "optional": true + } + } + }, + "node_modules/braces": { + "version": "3.0.3", + "license": "MIT", + "optional": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.25.1", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001726", + "electron-to-chromium": "^1.5.173", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001731", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chokidar": { + "version": "4.0.3", + "devOptional": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "license": "Apache-2.0", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/dotenv": { + "version": "17.2.1", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.192", + "dev": true, + "license": "ISC" + }, + "node_modules/enhanced-resolve": { + "version": "5.18.2", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/esbuild": { + "version": "0.25.8", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.8", + "@esbuild/android-arm": "0.25.8", + "@esbuild/android-arm64": "0.25.8", + "@esbuild/android-x64": "0.25.8", + "@esbuild/darwin-arm64": "0.25.8", + "@esbuild/darwin-x64": "0.25.8", + "@esbuild/freebsd-arm64": "0.25.8", + "@esbuild/freebsd-x64": "0.25.8", + "@esbuild/linux-arm": "0.25.8", + "@esbuild/linux-arm64": "0.25.8", + "@esbuild/linux-ia32": "0.25.8", + "@esbuild/linux-loong64": "0.25.8", + "@esbuild/linux-mips64el": "0.25.8", + "@esbuild/linux-ppc64": "0.25.8", + "@esbuild/linux-riscv64": "0.25.8", + "@esbuild/linux-s390x": "0.25.8", + "@esbuild/linux-x64": "0.25.8", + "@esbuild/netbsd-arm64": "0.25.8", + "@esbuild/netbsd-x64": "0.25.8", + "@esbuild/openbsd-arm64": "0.25.8", + "@esbuild/openbsd-x64": "0.25.8", + "@esbuild/openharmony-arm64": "0.25.8", + "@esbuild/sunos-x64": "0.25.8", + "@esbuild/win32-arm64": "0.25.8", + "@esbuild/win32-ia32": "0.25.8", + "@esbuild/win32-x64": "0.25.8" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "license": "MIT", + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/frontend": { + "resolved": "frontend", + "link": true + }, + "node_modules/fsevents": { + "version": "2.3.3", + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "license": "ISC" + }, + "node_modules/ic-use-internet-identity": { + "version": "0.3.2", + "license": "MIT", + "dependencies": { + "@xstate/store": "^2.6.2" + }, + "peerDependencies": { + "@dfinity/agent": ">=2.4.1", + "@dfinity/auth-client": ">=2.4.1", + "@dfinity/candid": ">=2.4.1", + "@dfinity/identity": ">=2.4.1", + "@dfinity/principal": ">=2.4.1", + "react": ">=18.0.0" + } + }, + "node_modules/idb": { + "version": "7.1.1", + "license": "ISC", + "peer": true + }, + "node_modules/immutable": { + "version": "5.1.3", + "devOptional": true, + "license": "MIT" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "license": "MIT", + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/jiti": { + "version": "2.5.1", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json5": { + "version": "2.2.3", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/lightningcss": { + "version": "1.30.1", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-darwin-arm64": "1.30.1", + "lightningcss-darwin-x64": "1.30.1", + "lightningcss-freebsd-x64": "1.30.1", + "lightningcss-linux-arm-gnueabihf": "1.30.1", + "lightningcss-linux-arm64-gnu": "1.30.1", + "lightningcss-linux-arm64-musl": "1.30.1", + "lightningcss-linux-x64-gnu": "1.30.1", + "lightningcss-linux-x64-musl": "1.30.1", + "lightningcss-win32-arm64-msvc": "1.30.1", + "lightningcss-win32-x64-msvc": "1.30.1" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.30.1", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss/node_modules/detect-libc": { + "version": "2.0.4", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/lucide-react": { + "version": "0.535.0", + "license": "ISC", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/magic-string": { + "version": "0.30.17", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "license": "MIT", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.0.2", + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "license": "MIT", + "optional": true + }, + "node_modules/node-releases": { + "version": "2.0.19", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/react": { + "version": "19.1.1", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.1.1", + "license": "MIT", + "dependencies": { + "scheduler": "^0.26.0" + }, + "peerDependencies": { + "react": "^19.1.1" + } + }, + "node_modules/react-refresh": { + "version": "0.17.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/readdirp": { + "version": "4.1.2", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/rollup": { + "version": "4.46.2", + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.46.2", + "@rollup/rollup-android-arm64": "4.46.2", + "@rollup/rollup-darwin-arm64": "4.46.2", + "@rollup/rollup-darwin-x64": "4.46.2", + "@rollup/rollup-freebsd-arm64": "4.46.2", + "@rollup/rollup-freebsd-x64": "4.46.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.46.2", + "@rollup/rollup-linux-arm-musleabihf": "4.46.2", + "@rollup/rollup-linux-arm64-gnu": "4.46.2", + "@rollup/rollup-linux-arm64-musl": "4.46.2", + "@rollup/rollup-linux-loongarch64-gnu": "4.46.2", + "@rollup/rollup-linux-ppc64-gnu": "4.46.2", + "@rollup/rollup-linux-riscv64-gnu": "4.46.2", + "@rollup/rollup-linux-riscv64-musl": "4.46.2", + "@rollup/rollup-linux-s390x-gnu": "4.46.2", + "@rollup/rollup-linux-x64-gnu": "4.46.2", + "@rollup/rollup-linux-x64-musl": "4.46.2", + "@rollup/rollup-win32-arm64-msvc": "4.46.2", + "@rollup/rollup-win32-ia32-msvc": "4.46.2", + "@rollup/rollup-win32-x64-msvc": "4.46.2", + "fsevents": "~2.3.2" + } + }, + "node_modules/sass": { + "version": "1.89.2", + "devOptional": true, + "license": "MIT", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/scheduler": { + "version": "0.26.0", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tailwindcss": { + "version": "4.1.11", + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.2.2", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/tar": { + "version": "7.4.3", + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "5.0.0", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.14", + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.6", + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "license": "MIT", + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/vite": { + "version": "7.0.6", + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.6", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.40.0", + "tinyglobby": "^0.2.14" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite-plugin-environment": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "peerDependencies": { + "vite": ">= 2.7" + } + }, + "node_modules/vite/node_modules/fdir": { + "version": "6.4.6", + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/picomatch": { + "version": "4.0.3", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + } + } +} diff --git a/motoko/nft-creator/tsconfig.json b/motoko/nft-creator/tsconfig.json deleted file mode 100644 index f4629166d..000000000 --- a/motoko/nft-creator/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "strict": true, - "target": "ES2020", - "experimentalDecorators": true, - "strictPropertyInitialization": false, - "moduleResolution": "node", - "allowJs": true, - "outDir": "HACK_BECAUSE_OF_ALLOW_JS" - } -} From d0d590ade2bd1608ac8178b133a25dbe851ba065 Mon Sep 17 00:00:00 2001 From: Moritz Fuller Date: Thu, 7 Aug 2025 17:50:06 +0200 Subject: [PATCH 2/2] remove package lock --- motoko/nft-creator/package-lock.json | 1489 -------------------------- 1 file changed, 1489 deletions(-) delete mode 100644 motoko/nft-creator/package-lock.json diff --git a/motoko/nft-creator/package-lock.json b/motoko/nft-creator/package-lock.json deleted file mode 100644 index 6494013b9..000000000 --- a/motoko/nft-creator/package-lock.json +++ /dev/null @@ -1,1489 +0,0 @@ -{ - "name": "motoko-icp-ninja-template", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "motoko-icp-ninja-template", - "workspaces": [ - "frontend" - ], - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "frontend": { - "version": "0.0.0", - "dependencies": { - "@dfinity/agent": "^3.0.0", - "@dfinity/candid": "^3.0.0", - "@dfinity/principal": "^3.0.0", - "@tailwindcss/vite": "^4.1.11", - "@tanstack/react-query": "^5.83.0", - "ic-use-internet-identity": "^0.3.2", - "lucide-react": "^0.535.0", - "react": "^19.1.1", - "react-dom": "^19.1.1", - "tailwindcss": "^4.1.11" - }, - "devDependencies": { - "@vitejs/plugin-react": "^4.7.0", - "dotenv": "^17.2.1", - "sass": "^1.89.2", - "vite": "^7.0.6", - "vite-plugin-environment": "^1.1.3" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "license": "Apache-2.0", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.0", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-module-transforms": "^7.27.3", - "@babel/helpers": "^7.27.6", - "@babel/parser": "^7.28.0", - "@babel/template": "^7.27.2", - "@babel/traverse": "^7.28.0", - "@babel/types": "^7.28.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.28.0", - "@babel/types": "^7.28.0", - "@jridgewell/gen-mapping": "^0.3.12", - "@jridgewell/trace-mapping": "^0.3.28", - "jsesc": "^3.0.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-validator-option": "^7.27.1", - "browserslist": "^4.24.0", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-globals": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.27.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.28.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.28.0" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-self": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-source": { - "version": "7.27.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.27.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.28.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.0", - "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.0", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.0", - "debug": "^4.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.28.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@dfinity/agent": { - "version": "3.1.0", - "license": "Apache-2.0", - "dependencies": { - "@dfinity/cbor": "^0.2.2", - "@noble/curves": "^1.9.2" - }, - "peerDependencies": { - "@dfinity/candid": "3.1.0", - "@dfinity/principal": "3.1.0", - "@noble/hashes": "^1.8.0" - } - }, - "node_modules/@dfinity/auth-client": { - "version": "3.1.0", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "idb": "^7.0.2" - }, - "peerDependencies": { - "@dfinity/agent": "3.1.0", - "@dfinity/identity": "3.1.0", - "@dfinity/principal": "3.1.0" - } - }, - "node_modules/@dfinity/candid": { - "version": "3.1.0", - "license": "Apache-2.0", - "peerDependencies": { - "@dfinity/principal": "3.1.0" - } - }, - "node_modules/@dfinity/cbor": { - "version": "0.2.2", - "license": "Apache-2.0" - }, - "node_modules/@dfinity/identity": { - "version": "3.1.0", - "license": "Apache-2.0", - "peer": true, - "peerDependencies": { - "@dfinity/agent": "3.1.0", - "@dfinity/candid": "3.1.0", - "@dfinity/principal": "3.1.0", - "@noble/curves": "^1.9.2", - "@noble/hashes": "^1.8.0" - } - }, - "node_modules/@dfinity/principal": { - "version": "3.1.0", - "license": "Apache-2.0", - "dependencies": { - "@noble/hashes": "^1.8.0" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.8", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@isaacs/fs-minipass": { - "version": "4.0.1", - "license": "ISC", - "dependencies": { - "minipass": "^7.0.4" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.12", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.4", - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.29", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@noble/curves": { - "version": "1.9.6", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.8.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.8.0", - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@parcel/watcher": { - "version": "2.5.1", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "node-addon-api": "^7.0.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "@parcel/watcher-android-arm64": "2.5.1", - "@parcel/watcher-darwin-arm64": "2.5.1", - "@parcel/watcher-darwin-x64": "2.5.1", - "@parcel/watcher-freebsd-x64": "2.5.1", - "@parcel/watcher-linux-arm-glibc": "2.5.1", - "@parcel/watcher-linux-arm-musl": "2.5.1", - "@parcel/watcher-linux-arm64-glibc": "2.5.1", - "@parcel/watcher-linux-arm64-musl": "2.5.1", - "@parcel/watcher-linux-x64-glibc": "2.5.1", - "@parcel/watcher-linux-x64-musl": "2.5.1", - "@parcel/watcher-win32-arm64": "2.5.1", - "@parcel/watcher-win32-ia32": "2.5.1", - "@parcel/watcher-win32-x64": "2.5.1" - } - }, - "node_modules/@parcel/watcher-darwin-arm64": { - "version": "2.5.1", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@rolldown/pluginutils": { - "version": "1.0.0-beta.27", - "dev": true, - "license": "MIT" - }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.46.2", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@tailwindcss/node": { - "version": "4.1.11", - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.3.0", - "enhanced-resolve": "^5.18.1", - "jiti": "^2.4.2", - "lightningcss": "1.30.1", - "magic-string": "^0.30.17", - "source-map-js": "^1.2.1", - "tailwindcss": "4.1.11" - } - }, - "node_modules/@tailwindcss/oxide": { - "version": "4.1.11", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "detect-libc": "^2.0.4", - "tar": "^7.4.3" - }, - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.1.11", - "@tailwindcss/oxide-darwin-arm64": "4.1.11", - "@tailwindcss/oxide-darwin-x64": "4.1.11", - "@tailwindcss/oxide-freebsd-x64": "4.1.11", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.11", - "@tailwindcss/oxide-linux-arm64-gnu": "4.1.11", - "@tailwindcss/oxide-linux-arm64-musl": "4.1.11", - "@tailwindcss/oxide-linux-x64-gnu": "4.1.11", - "@tailwindcss/oxide-linux-x64-musl": "4.1.11", - "@tailwindcss/oxide-wasm32-wasi": "4.1.11", - "@tailwindcss/oxide-win32-arm64-msvc": "4.1.11", - "@tailwindcss/oxide-win32-x64-msvc": "4.1.11" - } - }, - "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.1.11", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@tailwindcss/oxide/node_modules/detect-libc": { - "version": "2.0.4", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/@tailwindcss/vite": { - "version": "4.1.11", - "license": "MIT", - "dependencies": { - "@tailwindcss/node": "4.1.11", - "@tailwindcss/oxide": "4.1.11", - "tailwindcss": "4.1.11" - }, - "peerDependencies": { - "vite": "^5.2.0 || ^6 || ^7" - } - }, - "node_modules/@tanstack/query-core": { - "version": "5.83.0", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, - "node_modules/@tanstack/react-query": { - "version": "5.83.0", - "license": "MIT", - "dependencies": { - "@tanstack/query-core": "5.83.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "react": "^18 || ^19" - } - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.27.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "license": "MIT" - }, - "node_modules/@vitejs/plugin-react": { - "version": "4.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.28.0", - "@babel/plugin-transform-react-jsx-self": "^7.27.1", - "@babel/plugin-transform-react-jsx-source": "^7.27.1", - "@rolldown/pluginutils": "1.0.0-beta.27", - "@types/babel__core": "^7.20.5", - "react-refresh": "^0.17.0" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "peerDependencies": { - "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" - } - }, - "node_modules/@xstate/store": { - "version": "2.6.2", - "license": "MIT", - "peerDependencies": { - "react": "^18.2.0 || ^19.0.0-0", - "solid-js": "^1.7.6" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "solid-js": { - "optional": true - } - } - }, - "node_modules/braces": { - "version": "3.0.3", - "license": "MIT", - "optional": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.25.1", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "caniuse-lite": "^1.0.30001726", - "electron-to-chromium": "^1.5.173", - "node-releases": "^2.0.19", - "update-browserslist-db": "^1.1.3" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001731", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/chokidar": { - "version": "4.0.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/chownr": { - "version": "3.0.0", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/debug": { - "version": "4.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "license": "Apache-2.0", - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/dotenv": { - "version": "17.2.1", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.5.192", - "dev": true, - "license": "ISC" - }, - "node_modules/enhanced-resolve": { - "version": "5.18.2", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/esbuild": { - "version": "0.25.8", - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.8", - "@esbuild/android-arm": "0.25.8", - "@esbuild/android-arm64": "0.25.8", - "@esbuild/android-x64": "0.25.8", - "@esbuild/darwin-arm64": "0.25.8", - "@esbuild/darwin-x64": "0.25.8", - "@esbuild/freebsd-arm64": "0.25.8", - "@esbuild/freebsd-x64": "0.25.8", - "@esbuild/linux-arm": "0.25.8", - "@esbuild/linux-arm64": "0.25.8", - "@esbuild/linux-ia32": "0.25.8", - "@esbuild/linux-loong64": "0.25.8", - "@esbuild/linux-mips64el": "0.25.8", - "@esbuild/linux-ppc64": "0.25.8", - "@esbuild/linux-riscv64": "0.25.8", - "@esbuild/linux-s390x": "0.25.8", - "@esbuild/linux-x64": "0.25.8", - "@esbuild/netbsd-arm64": "0.25.8", - "@esbuild/netbsd-x64": "0.25.8", - "@esbuild/openbsd-arm64": "0.25.8", - "@esbuild/openbsd-x64": "0.25.8", - "@esbuild/openharmony-arm64": "0.25.8", - "@esbuild/sunos-x64": "0.25.8", - "@esbuild/win32-arm64": "0.25.8", - "@esbuild/win32-ia32": "0.25.8", - "@esbuild/win32-x64": "0.25.8" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "license": "MIT", - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/frontend": { - "resolved": "frontend", - "link": true - }, - "node_modules/fsevents": { - "version": "2.3.3", - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "license": "ISC" - }, - "node_modules/ic-use-internet-identity": { - "version": "0.3.2", - "license": "MIT", - "dependencies": { - "@xstate/store": "^2.6.2" - }, - "peerDependencies": { - "@dfinity/agent": ">=2.4.1", - "@dfinity/auth-client": ">=2.4.1", - "@dfinity/candid": ">=2.4.1", - "@dfinity/identity": ">=2.4.1", - "@dfinity/principal": ">=2.4.1", - "react": ">=18.0.0" - } - }, - "node_modules/idb": { - "version": "7.1.1", - "license": "ISC", - "peer": true - }, - "node_modules/immutable": { - "version": "5.1.3", - "devOptional": true, - "license": "MIT" - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "license": "MIT", - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/jiti": { - "version": "2.5.1", - "license": "MIT", - "bin": { - "jiti": "lib/jiti-cli.mjs" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/jsesc": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/json5": { - "version": "2.2.3", - "dev": true, - "license": "MIT", - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/lightningcss": { - "version": "1.30.1", - "license": "MPL-2.0", - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-darwin-arm64": "1.30.1", - "lightningcss-darwin-x64": "1.30.1", - "lightningcss-freebsd-x64": "1.30.1", - "lightningcss-linux-arm-gnueabihf": "1.30.1", - "lightningcss-linux-arm64-gnu": "1.30.1", - "lightningcss-linux-arm64-musl": "1.30.1", - "lightningcss-linux-x64-gnu": "1.30.1", - "lightningcss-linux-x64-musl": "1.30.1", - "lightningcss-win32-arm64-msvc": "1.30.1", - "lightningcss-win32-x64-msvc": "1.30.1" - } - }, - "node_modules/lightningcss-darwin-arm64": { - "version": "1.30.1", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss/node_modules/detect-libc": { - "version": "2.0.4", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/lucide-react": { - "version": "0.535.0", - "license": "ISC", - "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, - "node_modules/magic-string": { - "version": "0.30.17", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "license": "MIT", - "optional": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/minipass": { - "version": "7.1.2", - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minizlib": { - "version": "3.0.2", - "license": "MIT", - "dependencies": { - "minipass": "^7.1.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/mkdirp": { - "version": "3.0.1", - "license": "MIT", - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/nanoid": { - "version": "3.3.11", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/node-addon-api": { - "version": "7.1.1", - "license": "MIT", - "optional": true - }, - "node_modules/node-releases": { - "version": "2.0.19", - "dev": true, - "license": "MIT" - }, - "node_modules/picocolors": { - "version": "1.1.1", - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "license": "MIT", - "optional": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/postcss": { - "version": "8.5.6", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.11", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/react": { - "version": "19.1.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-dom": { - "version": "19.1.1", - "license": "MIT", - "dependencies": { - "scheduler": "^0.26.0" - }, - "peerDependencies": { - "react": "^19.1.1" - } - }, - "node_modules/react-refresh": { - "version": "0.17.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/readdirp": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">= 14.18.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/rollup": { - "version": "4.46.2", - "license": "MIT", - "dependencies": { - "@types/estree": "1.0.8" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.46.2", - "@rollup/rollup-android-arm64": "4.46.2", - "@rollup/rollup-darwin-arm64": "4.46.2", - "@rollup/rollup-darwin-x64": "4.46.2", - "@rollup/rollup-freebsd-arm64": "4.46.2", - "@rollup/rollup-freebsd-x64": "4.46.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.46.2", - "@rollup/rollup-linux-arm-musleabihf": "4.46.2", - "@rollup/rollup-linux-arm64-gnu": "4.46.2", - "@rollup/rollup-linux-arm64-musl": "4.46.2", - "@rollup/rollup-linux-loongarch64-gnu": "4.46.2", - "@rollup/rollup-linux-ppc64-gnu": "4.46.2", - "@rollup/rollup-linux-riscv64-gnu": "4.46.2", - "@rollup/rollup-linux-riscv64-musl": "4.46.2", - "@rollup/rollup-linux-s390x-gnu": "4.46.2", - "@rollup/rollup-linux-x64-gnu": "4.46.2", - "@rollup/rollup-linux-x64-musl": "4.46.2", - "@rollup/rollup-win32-arm64-msvc": "4.46.2", - "@rollup/rollup-win32-ia32-msvc": "4.46.2", - "@rollup/rollup-win32-x64-msvc": "4.46.2", - "fsevents": "~2.3.2" - } - }, - "node_modules/sass": { - "version": "1.89.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "chokidar": "^4.0.0", - "immutable": "^5.0.2", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "optionalDependencies": { - "@parcel/watcher": "^2.4.1" - } - }, - "node_modules/scheduler": { - "version": "0.26.0", - "license": "MIT" - }, - "node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/tailwindcss": { - "version": "4.1.11", - "license": "MIT" - }, - "node_modules/tapable": { - "version": "2.2.2", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/tar": { - "version": "7.4.3", - "license": "ISC", - "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.0.1", - "mkdirp": "^3.0.1", - "yallist": "^5.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "5.0.0", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/tinyglobby": { - "version": "0.2.14", - "license": "MIT", - "dependencies": { - "fdir": "^6.4.4", - "picomatch": "^4.0.2" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.6", - "license": "MIT", - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.3", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "license": "MIT", - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.1.3", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/vite": { - "version": "7.0.6", - "license": "MIT", - "dependencies": { - "esbuild": "^0.25.0", - "fdir": "^6.4.6", - "picomatch": "^4.0.3", - "postcss": "^8.5.6", - "rollup": "^4.40.0", - "tinyglobby": "^0.2.14" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^20.19.0 || >=22.12.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^20.19.0 || >=22.12.0", - "jiti": ">=1.21.0", - "less": "^4.0.0", - "lightningcss": "^1.21.0", - "sass": "^1.70.0", - "sass-embedded": "^1.70.0", - "stylus": ">=0.54.8", - "sugarss": "^5.0.0", - "terser": "^5.16.0", - "tsx": "^4.8.1", - "yaml": "^2.4.2" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "jiti": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - }, - "tsx": { - "optional": true - }, - "yaml": { - "optional": true - } - } - }, - "node_modules/vite-plugin-environment": { - "version": "1.1.3", - "dev": true, - "license": "MIT", - "peerDependencies": { - "vite": ">= 2.7" - } - }, - "node_modules/vite/node_modules/fdir": { - "version": "6.4.6", - "license": "MIT", - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/vite/node_modules/picomatch": { - "version": "4.0.3", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "dev": true, - "license": "ISC" - } - } -}