update deps and fix some import paths

This commit is contained in:
Paul Miller
2023-04-10 10:49:11 -05:00
parent d9c351b2e2
commit 2121743e9c
8 changed files with 273 additions and 325 deletions

View File

@@ -13,7 +13,7 @@
"@typescript-eslint/parser": "^5.57.1",
"autoprefixer": "^10.4.14",
"esbuild": "^0.14.54",
"eslint": "^8.37.0",
"eslint": "^8.38.0",
"postcss": "^8.4.21",
"solid-start-node": "^0.2.26",
"tailwindcss": "^3.3.1",
@@ -26,17 +26,17 @@
"dependencies": {
"@kobalte/core": "^0.8.2",
"@motionone/solid": "^10.16.0",
"@mutinywallet/node-manager": "^0.2.2",
"@mutinywallet/node-manager": "^0.2.3",
"@nostr-dev-kit/ndk": "^0.0.13",
"@solidjs/meta": "^0.28.4",
"@solidjs/router": "^0.8.2",
"class-variance-authority": "^0.4.0",
"nostr-tools": "^1.8.2",
"nostr-tools": "^1.8.3",
"qr-scanner": "^1.4.2",
"solid-js": "^1.7.2",
"solid-js": "^1.7.3",
"solid-qr-code": "^0.0.8",
"solid-start": "^0.2.26",
"undici": "^5.21.0"
"undici": "^5.21.2"
},
"engines": {
"node": ">=16.8"

546
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@ import { Motion, Presence } from "@motionone/solid";
import { MutinyBalance } from "@mutinywallet/node-manager";
import { createResource, Show, Suspense } from "solid-js";
import { ButtonLink } from "./Button";
import { ButtonLink } from "~/components/Button";
import { useMegaStore } from "~/state/megaStore";
function prettyPrintAmount(n?: number | bigint): string {

View File

@@ -1,20 +0,0 @@
.increment {
font-family: inherit;
font-size: inherit;
padding: 1em 2em;
color: #335d92;
background-color: rgba(68, 107, 158, 0.1);
border-radius: 2em;
border: 2px solid rgba(68, 107, 158, 0);
outline: none;
width: 200px;
font-variant-numeric: tabular-nums;
}
.increment:focus {
border: 2px solid #335d92;
}
.increment:active {
background-color: rgba(68, 107, 158, 0.2);
}

View File

@@ -1,12 +0,0 @@
import { createSignal } from "solid-js";
import { Button } from "./Button";
import "./Counter.css";
export default function Counter() {
const [count, setCount] = createSignal(0);
return (
<Button onClick={() => setCount(count() + 1)}>
Clicks: {count()}
</Button>
);
}

View File

@@ -1,7 +1,7 @@
import { QRCodeSVG } from "solid-qr-code";
import Card from "./Card";
import Card from "~/components/Card";
import { As, Dialog } from "@kobalte/core";
import { Button } from "./Button";
import { Button } from "~/components/Button";
import { useMegaStore } from "~/state/megaStore";
import { Show, createResource } from "solid-js";
import { getExistingSettings } from "~/logic/nodeManagerSetup";

View File

@@ -1,7 +1,7 @@
import { Component, For } from "solid-js";
import { Event, nip19 } from "nostr-tools"
import Linkify from "../Linkify";
import Linkify from "~/components/Linkify";
type NostrEvent = {
"content": string, "created_at": number, id?: string

View File

@@ -13,7 +13,7 @@ import {
Title,
} from "solid-start";
import "./root.css";
import { Provider as MegaStoreProvider } from "./state/megaStore";
import { Provider as MegaStoreProvider } from "~/state/megaStore";
export default function Root() {
return (