From f0f479488ff1922e3f6adfc99dd7c866886df8dd Mon Sep 17 00:00:00 2001 From: Ian Macartney Date: Thu, 16 Nov 2023 02:18:19 +0000 Subject: [PATCH 001/218] Split sequential dev command into predev. dash -> logs for bare repo too --- template-bare/package.json | 5 +++-- template-nextjs-clerk-shadcn/package.json | 4 ++-- template-nextjs-lucia-shadcn/package.json | 4 ++-- template-nextjs-shadcn/package.json | 4 ++-- template-react-vite-clerk-shadcn/package.json | 4 ++-- template-react-vite-shadcn/package.json | 4 ++-- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/template-bare/package.json b/template-bare/package.json index 9e4166c..1d21346 100644 --- a/template-bare/package.json +++ b/template-bare/package.json @@ -3,8 +3,9 @@ "private": true, "version": "0.0.0", "scripts": { - "dev": "convex dev --until-success && convex dashboard && convex dev", - "dash": "convex dashboard", + "dev": "convex dev", + "predev": "convex dev --until-success && convex dashboard", + "logs": "convex logs", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index 99602a6..96e342e 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -3,10 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "npm-run-all dev:init --parallel dev:frontend dev:backend", + "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "next dev", "dev:backend": "convex dev", - "dev:init": "convex dev --until-success && convex dashboard", + "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", "lint": "next lint" diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 0114efe..41545ef 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -3,10 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "npm-run-all dev:init --parallel dev:frontend dev:backend", + "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "next dev", "dev:backend": "convex dev", - "dev:init": "convex dev --until-success && convex dashboard", + "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", "lint": "next lint" diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index fa26fb8..48e099d 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -3,10 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "npm-run-all dev:init --parallel dev:frontend dev:backend", + "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "next dev", "dev:backend": "convex dev", - "dev:init": "convex dev --until-success && convex dashboard", + "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", "lint": "next lint" diff --git a/template-react-vite-clerk-shadcn/package.json b/template-react-vite-clerk-shadcn/package.json index 5450dd5..f9cfb85 100644 --- a/template-react-vite-clerk-shadcn/package.json +++ b/template-react-vite-clerk-shadcn/package.json @@ -4,10 +4,10 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "npm-run-all dev:init --parallel dev:frontend dev:backend", + "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "vite --open", "dev:backend": "convex dev", - "dev:init": "convex dev --until-success && convex dashboard", + "predev": "convex dev --until-success && convex dashboard", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" diff --git a/template-react-vite-shadcn/package.json b/template-react-vite-shadcn/package.json index 07f991c..f849859 100644 --- a/template-react-vite-shadcn/package.json +++ b/template-react-vite-shadcn/package.json @@ -4,10 +4,10 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "npm-run-all dev:init --parallel dev:frontend dev:backend", + "dev": "npm-run-all --parallel dev:frontend dev:backend", "dev:frontend": "vite --open", "dev:backend": "convex dev", - "dev:init": "convex dev --until-success && convex dashboard", + "predev": "convex dev --until-success && convex dashboard", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" From 33b3bafb5cea35fa12319b6503ba36eebd18392f Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 16 Nov 2023 13:28:07 -0800 Subject: [PATCH 002/218] Bump version --- create-convex/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-convex/package.json b/create-convex/package.json index 988fef2..f73e3b0 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.6", + "version": "0.0.7", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From a8d5fe8ed7befb607aec20ba26906a7efd848db8 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 23 Nov 2023 14:22:42 -0800 Subject: [PATCH 003/218] Add typecheck to lint scripts, fix shadcn calendar --- scripts.js | 14 ++++++++++- template-bare/package.json | 2 +- .../components/ui/calendar.tsx | 24 +++++++++---------- template-nextjs-clerk-shadcn/package.json | 2 +- .../components/ui/calendar.tsx | 24 +++++++++---------- template-nextjs-lucia-shadcn/package.json | 2 +- .../components/ui/calendar.tsx | 24 +++++++++---------- template-nextjs-shadcn/package.json | 2 +- template-react-vite-clerk-shadcn/package.json | 2 +- .../src/components/ui/calendar.tsx | 22 ++++++++--------- template-react-vite-shadcn/package.json | 2 +- .../src/components/ui/calendar.tsx | 22 ++++++++--------- 12 files changed, 77 insertions(+), 65 deletions(-) diff --git a/scripts.js b/scripts.js index fa146f3..278a07a 100644 --- a/scripts.js +++ b/scripts.js @@ -10,7 +10,7 @@ const directories = fs let failed = false; if (process.argv.includes("lint")) { - // eslint(); + eslint(); consistency(); } @@ -28,6 +28,18 @@ function eslint() { }); } +function typecheck() { + directories.forEach((dir) => { + try { + console.log(`\n\n=== Running "npx tsc" in directory: ${dir} ===`); + execSync("npx tsc", { cwd: dir, stdio: "inherit" }); + } catch (error) { + console.error(`[ERROR]: Error running "npx tsc" in directory: ${dir}`); + failed = true; + } + }); +} + function consistency() { const reactShadcnDirectories = directories.filter((dir) => dir.startsWith("template-react-vite-") diff --git a/template-bare/package.json b/template-bare/package.json index 1d21346..6464d2b 100644 --- a/template-bare/package.json +++ b/template-bare/package.json @@ -6,7 +6,7 @@ "dev": "convex dev", "predev": "convex dev --until-success && convex dashboard", "logs": "convex logs", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" + "lint": "tsc -p convex && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { "convex": "^1.5.1" diff --git a/template-nextjs-clerk-shadcn/components/ui/calendar.tsx b/template-nextjs-clerk-shadcn/components/ui/calendar.tsx index 6c08e3a..9133bb9 100644 --- a/template-nextjs-clerk-shadcn/components/ui/calendar.tsx +++ b/template-nextjs-clerk-shadcn/components/ui/calendar.tsx @@ -1,13 +1,13 @@ -"use client" +"use client"; -import * as React from "react" -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" -import { DayPicker } from "react-day-picker" +import * as React from "react"; +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; +import { DayPicker } from "react-day-picker"; -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; -export type CalendarProps = React.ComponentProps +export type CalendarProps = React.ComponentProps; function Calendar({ className, @@ -59,13 +59,13 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: () => , + IconRight: () => , }} {...props} /> - ) + ); } -Calendar.displayName = "Calendar" +Calendar.displayName = "Calendar"; -export { Calendar } +export { Calendar }; diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index 96e342e..56d65e8 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -9,7 +9,7 @@ "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "tsc && next lint" }, "dependencies": { "@clerk/clerk-react": "^4.25.2", diff --git a/template-nextjs-lucia-shadcn/components/ui/calendar.tsx b/template-nextjs-lucia-shadcn/components/ui/calendar.tsx index 6c08e3a..9133bb9 100644 --- a/template-nextjs-lucia-shadcn/components/ui/calendar.tsx +++ b/template-nextjs-lucia-shadcn/components/ui/calendar.tsx @@ -1,13 +1,13 @@ -"use client" +"use client"; -import * as React from "react" -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" -import { DayPicker } from "react-day-picker" +import * as React from "react"; +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; +import { DayPicker } from "react-day-picker"; -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; -export type CalendarProps = React.ComponentProps +export type CalendarProps = React.ComponentProps; function Calendar({ className, @@ -59,13 +59,13 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: () => , + IconRight: () => , }} {...props} /> - ) + ); } -Calendar.displayName = "Calendar" +Calendar.displayName = "Calendar"; -export { Calendar } +export { Calendar }; diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 41545ef..3cf2358 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -9,7 +9,7 @@ "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "tsc && next lint" }, "dependencies": { "@convex-dev/convex-lucia-auth": "^0.0.4", diff --git a/template-nextjs-shadcn/components/ui/calendar.tsx b/template-nextjs-shadcn/components/ui/calendar.tsx index 6c08e3a..9133bb9 100644 --- a/template-nextjs-shadcn/components/ui/calendar.tsx +++ b/template-nextjs-shadcn/components/ui/calendar.tsx @@ -1,13 +1,13 @@ -"use client" +"use client"; -import * as React from "react" -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" -import { DayPicker } from "react-day-picker" +import * as React from "react"; +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; +import { DayPicker } from "react-day-picker"; -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; -export type CalendarProps = React.ComponentProps +export type CalendarProps = React.ComponentProps; function Calendar({ className, @@ -59,13 +59,13 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: () => , + IconRight: () => , }} {...props} /> - ) + ); } -Calendar.displayName = "Calendar" +Calendar.displayName = "Calendar"; -export { Calendar } +export { Calendar }; diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index 48e099d..adf77dc 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -9,7 +9,7 @@ "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "tsc && next lint" }, "dependencies": { "@hookform/resolvers": "^3.3.2", diff --git a/template-react-vite-clerk-shadcn/package.json b/template-react-vite-clerk-shadcn/package.json index f9cfb85..16714a8 100644 --- a/template-react-vite-clerk-shadcn/package.json +++ b/template-react-vite-clerk-shadcn/package.json @@ -9,7 +9,7 @@ "dev:backend": "convex dev", "predev": "convex dev --until-success && convex dashboard", "build": "tsc && vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "lint": "tsc && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "dependencies": { diff --git a/template-react-vite-clerk-shadcn/src/components/ui/calendar.tsx b/template-react-vite-clerk-shadcn/src/components/ui/calendar.tsx index 69da01b..5521673 100644 --- a/template-react-vite-clerk-shadcn/src/components/ui/calendar.tsx +++ b/template-react-vite-clerk-shadcn/src/components/ui/calendar.tsx @@ -1,11 +1,11 @@ -import * as React from "react" -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" -import { DayPicker } from "react-day-picker" +import * as React from "react"; +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; +import { DayPicker } from "react-day-picker"; -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; -export type CalendarProps = React.ComponentProps +export type CalendarProps = React.ComponentProps; function Calendar({ className, @@ -57,13 +57,13 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: () => , + IconRight: () => , }} {...props} /> - ) + ); } -Calendar.displayName = "Calendar" +Calendar.displayName = "Calendar"; -export { Calendar } +export { Calendar }; diff --git a/template-react-vite-shadcn/package.json b/template-react-vite-shadcn/package.json index f849859..815033c 100644 --- a/template-react-vite-shadcn/package.json +++ b/template-react-vite-shadcn/package.json @@ -9,7 +9,7 @@ "dev:backend": "convex dev", "predev": "convex dev --until-success && convex dashboard", "build": "tsc && vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "lint": "tsc && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "dependencies": { diff --git a/template-react-vite-shadcn/src/components/ui/calendar.tsx b/template-react-vite-shadcn/src/components/ui/calendar.tsx index 69da01b..5521673 100644 --- a/template-react-vite-shadcn/src/components/ui/calendar.tsx +++ b/template-react-vite-shadcn/src/components/ui/calendar.tsx @@ -1,11 +1,11 @@ -import * as React from "react" -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons" -import { DayPicker } from "react-day-picker" +import * as React from "react"; +import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; +import { DayPicker } from "react-day-picker"; -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" +import { cn } from "@/lib/utils"; +import { buttonVariants } from "@/components/ui/button"; -export type CalendarProps = React.ComponentProps +export type CalendarProps = React.ComponentProps; function Calendar({ className, @@ -57,13 +57,13 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ...props }) => , - IconRight: ({ ...props }) => , + IconLeft: () => , + IconRight: () => , }} {...props} /> - ) + ); } -Calendar.displayName = "Calendar" +Calendar.displayName = "Calendar"; -export { Calendar } +export { Calendar }; From 9621a6518a0ea5e61a3422930c1a974404051ae2 Mon Sep 17 00:00:00 2001 From: Ian Macartney Date: Thu, 30 Nov 2023 23:24:33 -0800 Subject: [PATCH 004/218] ease up on unused variables (#4) --- template-bare/.eslintrc.cjs | 6 ++++++ template-nextjs-clerk-shadcn/.eslintrc.cjs | 6 ++++++ template-nextjs-lucia-shadcn/.eslintrc.cjs | 6 ++++++ template-nextjs-shadcn/.eslintrc.cjs | 6 ++++++ template-react-vite-clerk-shadcn/.eslintrc.cjs | 6 ++++++ template-react-vite-shadcn/.eslintrc.cjs | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/template-bare/.eslintrc.cjs b/template-bare/.eslintrc.cjs index 5c45bcd..637d8b4 100644 --- a/template-bare/.eslintrc.cjs +++ b/template-bare/.eslintrc.cjs @@ -16,6 +16,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", diff --git a/template-nextjs-clerk-shadcn/.eslintrc.cjs b/template-nextjs-clerk-shadcn/.eslintrc.cjs index 0845849..2e88de8 100644 --- a/template-nextjs-clerk-shadcn/.eslintrc.cjs +++ b/template-nextjs-clerk-shadcn/.eslintrc.cjs @@ -19,6 +19,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", diff --git a/template-nextjs-lucia-shadcn/.eslintrc.cjs b/template-nextjs-lucia-shadcn/.eslintrc.cjs index 0845849..2e88de8 100644 --- a/template-nextjs-lucia-shadcn/.eslintrc.cjs +++ b/template-nextjs-lucia-shadcn/.eslintrc.cjs @@ -19,6 +19,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", diff --git a/template-nextjs-shadcn/.eslintrc.cjs b/template-nextjs-shadcn/.eslintrc.cjs index 0845849..2e88de8 100644 --- a/template-nextjs-shadcn/.eslintrc.cjs +++ b/template-nextjs-shadcn/.eslintrc.cjs @@ -19,6 +19,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", diff --git a/template-react-vite-clerk-shadcn/.eslintrc.cjs b/template-react-vite-clerk-shadcn/.eslintrc.cjs index fa490d2..a1fd715 100644 --- a/template-react-vite-clerk-shadcn/.eslintrc.cjs +++ b/template-react-vite-clerk-shadcn/.eslintrc.cjs @@ -30,6 +30,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", diff --git a/template-react-vite-shadcn/.eslintrc.cjs b/template-react-vite-shadcn/.eslintrc.cjs index fa490d2..a1fd715 100644 --- a/template-react-vite-shadcn/.eslintrc.cjs +++ b/template-react-vite-shadcn/.eslintrc.cjs @@ -30,6 +30,12 @@ module.exports = { // TypeScript, and can be removed for stricter // linting down the line. + // Only warn on unused variables, and ignore variables starting with `_` + "@typescript-eslint/no-unused-vars": [ + "warn", + { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, + ], + // Allow escaping the compiler "@typescript-eslint/ban-ts-comment": "error", From 7ebca564c5ee669b13c0b6630d514d90a0c65083 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sat, 2 Dec 2023 06:04:33 -0800 Subject: [PATCH 005/218] Fix numbers truncation, fix lints and tsconfigs --- scripts.js | 20 +++++++------------ template-bare/convex/tsconfig.json | 4 ++-- .../convex/myFunctions.ts | 8 ++++++-- .../convex/tsconfig.json | 6 +++--- .../convex/myFunctions.ts | 10 +++++++--- .../convex/tsconfig.json | 6 +++--- template-nextjs-lucia-shadcn/package.json | 2 +- template-nextjs-shadcn/convex/myFunctions.ts | 8 ++++++-- template-nextjs-shadcn/convex/tsconfig.json | 6 +++--- .../convex/myFunctions.ts | 8 ++++++-- .../convex/tsconfig.json | 3 ++- .../tsconfig.json | 2 +- .../convex/myFunctions.ts | 8 ++++++-- .../convex/tsconfig.json | 2 +- template-react-vite-shadcn/tsconfig.json | 3 ++- 15 files changed, 56 insertions(+), 40 deletions(-) diff --git a/scripts.js b/scripts.js index 278a07a..617120c 100644 --- a/scripts.js +++ b/scripts.js @@ -10,8 +10,8 @@ const directories = fs let failed = false; if (process.argv.includes("lint")) { - eslint(); consistency(); + eslint(); } function eslint() { @@ -28,18 +28,6 @@ function eslint() { }); } -function typecheck() { - directories.forEach((dir) => { - try { - console.log(`\n\n=== Running "npx tsc" in directory: ${dir} ===`); - execSync("npx tsc", { cwd: dir, stdio: "inherit" }); - } catch (error) { - console.error(`[ERROR]: Error running "npx tsc" in directory: ${dir}`); - failed = true; - } - }); -} - function consistency() { const reactShadcnDirectories = directories.filter((dir) => dir.startsWith("template-react-vite-") @@ -55,6 +43,7 @@ function consistency() { ".gitignore", "tailwind.config.js", "postcss.config.js", + "tsconfig.json", ].map((path) => reactShadcnDirectories.map((dir) => `${dir}/${path}`)), [ "components", @@ -62,12 +51,17 @@ function consistency() { ".gitignore", "tailwind.config.js", "postcss.config.js", + "tsconfig.json", ].map((path) => nextShadcnDirectories.map((dir) => `${dir}/${path}`)), [ [].concat( reactShadcnDirectories.map((dir) => `${dir}/src/lib`), nextShadcnDirectories.map((dir) => `${dir}/lib`) ), + [].concat( + reactShadcnDirectories.map((dir) => `${dir}/convex/tsconfig.json`), + nextShadcnDirectories.map((dir) => `${dir}/convex/tsconfig.json`) + ), ] ); diff --git a/template-bare/convex/tsconfig.json b/template-bare/convex/tsconfig.json index d067e20..fb6820b 100644 --- a/template-bare/convex/tsconfig.json +++ b/template-bare/convex/tsconfig.json @@ -7,16 +7,16 @@ /* These settings are not required by Convex and can be modified. */ "allowJs": true, "strict": true, + "skipLibCheck": true, /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", "moduleResolution": "Node", "isolatedModules": true, - "skipLibCheck": true, "noEmit": true }, "include": ["./**/*"], diff --git a/template-nextjs-clerk-shadcn/convex/myFunctions.ts b/template-nextjs-clerk-shadcn/convex/myFunctions.ts index ab86c1b..e81b0b5 100644 --- a/template-nextjs-clerk-shadcn/convex/myFunctions.ts +++ b/template-nextjs-clerk-shadcn/convex/myFunctions.ts @@ -16,10 +16,14 @@ export const listNumbers = query({ handler: async (ctx, args) => { //// Read the database as many times as you need here. //// See https://docs.convex.dev/database/reading-data. - const numbers = await ctx.db.query("numbers").take(args.count); + const numbers = await ctx.db + .query("numbers") + // Ordered by _creationTime, return most recent + .order("desc") + .take(args.count); return { viewer: (await ctx.auth.getUserIdentity())?.name ?? null, - numbers: numbers.map((number) => number.value), + numbers: numbers.toReversed().map((number) => number.value), }; }, }); diff --git a/template-nextjs-clerk-shadcn/convex/tsconfig.json b/template-nextjs-clerk-shadcn/convex/tsconfig.json index 058c461..fb6820b 100644 --- a/template-nextjs-clerk-shadcn/convex/tsconfig.json +++ b/template-nextjs-clerk-shadcn/convex/tsconfig.json @@ -7,17 +7,17 @@ /* These settings are not required by Convex and can be modified. */ "allowJs": true, "strict": true, + "skipLibCheck": true, /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", "moduleResolution": "Node", "isolatedModules": true, - "noEmit": true, - "skipLibCheck": true + "noEmit": true }, "include": ["./**/*"], "exclude": ["./_generated"] diff --git a/template-nextjs-lucia-shadcn/convex/myFunctions.ts b/template-nextjs-lucia-shadcn/convex/myFunctions.ts index 0b64b1d..b044c45 100644 --- a/template-nextjs-lucia-shadcn/convex/myFunctions.ts +++ b/template-nextjs-lucia-shadcn/convex/myFunctions.ts @@ -1,5 +1,5 @@ import { v } from "convex/values"; -import { query, mutation, action } from "./_generated/server"; +import { mutation, action } from "./_generated/server"; import { api } from "./_generated/api"; import { queryWithAuth } from "@convex-dev/convex-lucia-auth"; @@ -17,10 +17,14 @@ export const listNumbers = queryWithAuth({ handler: async (ctx, args) => { //// Read the database as many times as you need here. //// See https://docs.convex.dev/database/reading-data. - const numbers = await ctx.db.query("numbers").take(args.count); + const numbers = await ctx.db + .query("numbers") + // Ordered by _creationTime, return most recent + .order("desc") + .take(args.count); return { viewer: ctx.session?.user.email, - numbers: numbers.map((number) => number.value), + numbers: numbers.toReversed().map((number) => number.value), }; }, }); diff --git a/template-nextjs-lucia-shadcn/convex/tsconfig.json b/template-nextjs-lucia-shadcn/convex/tsconfig.json index 058c461..fb6820b 100644 --- a/template-nextjs-lucia-shadcn/convex/tsconfig.json +++ b/template-nextjs-lucia-shadcn/convex/tsconfig.json @@ -7,17 +7,17 @@ /* These settings are not required by Convex and can be modified. */ "allowJs": true, "strict": true, + "skipLibCheck": true, /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", "moduleResolution": "Node", "isolatedModules": true, - "noEmit": true, - "skipLibCheck": true + "noEmit": true }, "include": ["./**/*"], "exclude": ["./_generated"] diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 3cf2358..7b06a6a 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -9,7 +9,7 @@ "predev": "convex dev --until-success && convex dashboard", "build": "next build", "start": "next start", - "lint": "tsc && next lint" + "lint": "tsc && eslint convex --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && next lint --report-unused-disable-directives error --max-warnings 0" }, "dependencies": { "@convex-dev/convex-lucia-auth": "^0.0.4", diff --git a/template-nextjs-shadcn/convex/myFunctions.ts b/template-nextjs-shadcn/convex/myFunctions.ts index 2a8c438..ad8c5f1 100644 --- a/template-nextjs-shadcn/convex/myFunctions.ts +++ b/template-nextjs-shadcn/convex/myFunctions.ts @@ -16,8 +16,12 @@ export const listNumbers = query({ handler: async (ctx, args) => { //// Read the database as many times as you need here. //// See https://docs.convex.dev/database/reading-data. - const numbers = await ctx.db.query("numbers").take(args.count); - return numbers.map((number) => number.value); + const numbers = await ctx.db + .query("numbers") + // Ordered by _creationTime, return most recent + .order("desc") + .take(args.count); + return numbers.toReversed().map((number) => number.value); }, }); diff --git a/template-nextjs-shadcn/convex/tsconfig.json b/template-nextjs-shadcn/convex/tsconfig.json index 058c461..fb6820b 100644 --- a/template-nextjs-shadcn/convex/tsconfig.json +++ b/template-nextjs-shadcn/convex/tsconfig.json @@ -7,17 +7,17 @@ /* These settings are not required by Convex and can be modified. */ "allowJs": true, "strict": true, + "skipLibCheck": true, /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", "moduleResolution": "Node", "isolatedModules": true, - "noEmit": true, - "skipLibCheck": true + "noEmit": true }, "include": ["./**/*"], "exclude": ["./_generated"] diff --git a/template-react-vite-clerk-shadcn/convex/myFunctions.ts b/template-react-vite-clerk-shadcn/convex/myFunctions.ts index 60fcb18..eab4dc9 100644 --- a/template-react-vite-clerk-shadcn/convex/myFunctions.ts +++ b/template-react-vite-clerk-shadcn/convex/myFunctions.ts @@ -16,10 +16,14 @@ export const listNumbers = query({ handler: async (ctx, args) => { //// Read the database as many times as you need here. //// See https://docs.convex.dev/database/reading-data. - const numbers = await ctx.db.query("numbers").take(args.count); + const numbers = await ctx.db + .query("numbers") + // Ordered by _creationTime, return most recent + .order("desc") + .take(args.count); return { viewer: (await ctx.auth.getUserIdentity())?.name, - numbers: numbers.map((number) => number.value), + numbers: numbers.toReversed().map((number) => number.value), }; }, }); diff --git a/template-react-vite-clerk-shadcn/convex/tsconfig.json b/template-react-vite-clerk-shadcn/convex/tsconfig.json index 9c408ea..fb6820b 100644 --- a/template-react-vite-clerk-shadcn/convex/tsconfig.json +++ b/template-react-vite-clerk-shadcn/convex/tsconfig.json @@ -7,10 +7,11 @@ /* These settings are not required by Convex and can be modified. */ "allowJs": true, "strict": true, + "skipLibCheck": true, /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", diff --git a/template-react-vite-clerk-shadcn/tsconfig.json b/template-react-vite-clerk-shadcn/tsconfig.json index 88ee49c..b5b566c 100644 --- a/template-react-vite-clerk-shadcn/tsconfig.json +++ b/template-react-vite-clerk-shadcn/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM", "DOM.Iterable", "ESNext.Array"], "module": "ESNext", "skipLibCheck": true, diff --git a/template-react-vite-shadcn/convex/myFunctions.ts b/template-react-vite-shadcn/convex/myFunctions.ts index 2a8c438..ad8c5f1 100644 --- a/template-react-vite-shadcn/convex/myFunctions.ts +++ b/template-react-vite-shadcn/convex/myFunctions.ts @@ -16,8 +16,12 @@ export const listNumbers = query({ handler: async (ctx, args) => { //// Read the database as many times as you need here. //// See https://docs.convex.dev/database/reading-data. - const numbers = await ctx.db.query("numbers").take(args.count); - return numbers.map((number) => number.value); + const numbers = await ctx.db + .query("numbers") + // Ordered by _creationTime, return most recent + .order("desc") + .take(args.count); + return numbers.toReversed().map((number) => number.value); }, }); diff --git a/template-react-vite-shadcn/convex/tsconfig.json b/template-react-vite-shadcn/convex/tsconfig.json index d2f6106..fb6820b 100644 --- a/template-react-vite-shadcn/convex/tsconfig.json +++ b/template-react-vite-shadcn/convex/tsconfig.json @@ -11,7 +11,7 @@ /* These compiler options are required by Convex */ "target": "ESNext", - "lib": ["ES2021", "dom"], + "lib": ["ES2021", "dom", "ESNext.Array"], "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", diff --git a/template-react-vite-shadcn/tsconfig.json b/template-react-vite-shadcn/tsconfig.json index 9671c58..b5b566c 100644 --- a/template-react-vite-shadcn/tsconfig.json +++ b/template-react-vite-shadcn/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": ["ES2020", "DOM", "DOM.Iterable", "ESNext.Array"], "module": "ESNext", "skipLibCheck": true, @@ -20,6 +20,7 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, + "types": ["vite/client"], "baseUrl": ".", "paths": { "@/*": ["./src/*"] From ab6e764515d0c8620245da2169974191aa82daa7 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 19 Dec 2023 15:41:26 -0800 Subject: [PATCH 006/218] Fix main content background --- .../(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx | 2 +- .../app/(layouts)/layouts/sticky-sides-flex-content/page.tsx | 2 +- .../(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx | 2 +- .../app/(layouts)/layouts/sticky-sides-flex-content/page.tsx | 2 +- .../(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx | 2 +- .../app/(layouts)/layouts/sticky-sides-flex-content/page.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx index 1142f04..207ea6a 100644 --- a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx +++ b/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx @@ -16,7 +16,7 @@ export default function Layout() {
-
+
Main content
diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx index 547644b..e24e00d 100644 --- a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx +++ b/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx @@ -24,7 +24,7 @@ export default function Layout() {
-
+
Main content
diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx index 1142f04..207ea6a 100644 --- a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx +++ b/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx @@ -16,7 +16,7 @@ export default function Layout() {
-
+
Main content
diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx index 547644b..e24e00d 100644 --- a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx +++ b/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx @@ -24,7 +24,7 @@ export default function Layout() {
-
+
Main content
diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx index 1142f04..207ea6a 100644 --- a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx +++ b/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx @@ -16,7 +16,7 @@ export default function Layout() {
-
+
Main content
diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx index 547644b..e24e00d 100644 --- a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx +++ b/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx @@ -24,7 +24,7 @@ export default function Layout() {
-
+
Main content
From f8e8e06f9840804efb4b30667f59baea3766308c Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 21 Dec 2023 16:05:30 -0800 Subject: [PATCH 007/218] Fix dark mode --- template-nextjs-clerk-shadcn/tailwind.config.js | 1 - template-nextjs-lucia-shadcn/tailwind.config.js | 1 - template-nextjs-shadcn/tailwind.config.js | 1 - template-react-vite-clerk-shadcn/tailwind.config.js | 1 - template-react-vite-shadcn/tailwind.config.js | 1 - 5 files changed, 5 deletions(-) diff --git a/template-nextjs-clerk-shadcn/tailwind.config.js b/template-nextjs-clerk-shadcn/tailwind.config.js index 863273a..0014664 100644 --- a/template-nextjs-clerk-shadcn/tailwind.config.js +++ b/template-nextjs-clerk-shadcn/tailwind.config.js @@ -1,6 +1,5 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - darkMode: ["class"], content: [ "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", diff --git a/template-nextjs-lucia-shadcn/tailwind.config.js b/template-nextjs-lucia-shadcn/tailwind.config.js index 863273a..0014664 100644 --- a/template-nextjs-lucia-shadcn/tailwind.config.js +++ b/template-nextjs-lucia-shadcn/tailwind.config.js @@ -1,6 +1,5 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - darkMode: ["class"], content: [ "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", diff --git a/template-nextjs-shadcn/tailwind.config.js b/template-nextjs-shadcn/tailwind.config.js index 863273a..0014664 100644 --- a/template-nextjs-shadcn/tailwind.config.js +++ b/template-nextjs-shadcn/tailwind.config.js @@ -1,6 +1,5 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - darkMode: ["class"], content: [ "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", diff --git a/template-react-vite-clerk-shadcn/tailwind.config.js b/template-react-vite-clerk-shadcn/tailwind.config.js index e41572f..cd0aa35 100644 --- a/template-react-vite-clerk-shadcn/tailwind.config.js +++ b/template-react-vite-clerk-shadcn/tailwind.config.js @@ -1,6 +1,5 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - darkMode: ["class"], content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], theme: { container: { diff --git a/template-react-vite-shadcn/tailwind.config.js b/template-react-vite-shadcn/tailwind.config.js index e41572f..cd0aa35 100644 --- a/template-react-vite-shadcn/tailwind.config.js +++ b/template-react-vite-shadcn/tailwind.config.js @@ -1,6 +1,5 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - darkMode: ["class"], content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], theme: { container: { From ce929ad2b842b26d567d20c2e4208806acf9b946 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 21 Dec 2023 16:12:54 -0800 Subject: [PATCH 008/218] Simplify nextjs routes --- .../app/(layouts)/layout.tsx | 22 ------------------- .../ConvexClientProvider.tsx | 0 .../app/{(fullstack) => }/layout.tsx | 2 +- template-nextjs-shadcn/app/layouts/layout.tsx | 11 ++++++++++ .../app/{(layouts) => }/layouts/page.tsx | 0 .../sticky-header-footer-below-fold/page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../sticky-header-sticky-footer/page.tsx | 0 .../sticky-sides-flex-content-simple/page.tsx | 0 .../sticky-sides-flex-content/page.tsx | 0 .../app/{(fullstack) => }/page.tsx | 2 +- 14 files changed, 13 insertions(+), 24 deletions(-) delete mode 100644 template-nextjs-shadcn/app/(layouts)/layout.tsx rename template-nextjs-shadcn/app/{(fullstack) => }/ConvexClientProvider.tsx (100%) rename template-nextjs-shadcn/app/{(fullstack) => }/layout.tsx (95%) create mode 100644 template-nextjs-shadcn/app/layouts/layout.tsx rename template-nextjs-shadcn/app/{(layouts) => }/layouts/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-footer-below-fold/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-inside/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-sticky-footer/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-header-sticky-footer/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content-simple/page.tsx (100%) rename template-nextjs-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content/page.tsx (100%) rename template-nextjs-shadcn/app/{(fullstack) => }/page.tsx (95%) diff --git a/template-nextjs-shadcn/app/(layouts)/layout.tsx b/template-nextjs-shadcn/app/(layouts)/layout.tsx deleted file mode 100644 index c370208..0000000 --- a/template-nextjs-shadcn/app/(layouts)/layout.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import "../globals.css"; -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; - -const inter = Inter({ subsets: ["latin"] }); - -export const metadata: Metadata = { - title: "Layout showcase - you can delete me", - description: "You can delete the whole (layouts) directory", -}; - -export default function RootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - - {children} - - ); -} diff --git a/template-nextjs-shadcn/app/(fullstack)/ConvexClientProvider.tsx b/template-nextjs-shadcn/app/ConvexClientProvider.tsx similarity index 100% rename from template-nextjs-shadcn/app/(fullstack)/ConvexClientProvider.tsx rename to template-nextjs-shadcn/app/ConvexClientProvider.tsx diff --git a/template-nextjs-shadcn/app/(fullstack)/layout.tsx b/template-nextjs-shadcn/app/layout.tsx similarity index 95% rename from template-nextjs-shadcn/app/(fullstack)/layout.tsx rename to template-nextjs-shadcn/app/layout.tsx index 13ef877..aa28700 100644 --- a/template-nextjs-shadcn/app/(fullstack)/layout.tsx +++ b/template-nextjs-shadcn/app/layout.tsx @@ -1,4 +1,4 @@ -import "../globals.css"; +import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import ConvexClientProvider from "./ConvexClientProvider"; diff --git a/template-nextjs-shadcn/app/layouts/layout.tsx b/template-nextjs-shadcn/app/layouts/layout.tsx new file mode 100644 index 0000000..901a5ac --- /dev/null +++ b/template-nextjs-shadcn/app/layouts/layout.tsx @@ -0,0 +1,11 @@ +import type { Metadata } from "next"; +import { ReactNode } from "react"; + +export const metadata: Metadata = { + title: "Layout showcase - you can delete me", + description: 'You can delete the whole "layouts" directory', +}; + +export default function LayoutsLayout({ children }: { children: ReactNode }) { + return children; +} diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/page.tsx b/template-nextjs-shadcn/app/layouts/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/page.tsx rename to template-nextjs-shadcn/app/layouts/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx diff --git a/template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx similarity index 100% rename from template-nextjs-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx rename to template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx diff --git a/template-nextjs-shadcn/app/(fullstack)/page.tsx b/template-nextjs-shadcn/app/page.tsx similarity index 95% rename from template-nextjs-shadcn/app/(fullstack)/page.tsx rename to template-nextjs-shadcn/app/page.tsx index 38e402f..bf41547 100644 --- a/template-nextjs-shadcn/app/(fullstack)/page.tsx +++ b/template-nextjs-shadcn/app/page.tsx @@ -38,7 +38,7 @@ export default function Home() { Edit convex/myFunctions.ts to change your backend

- Edit app/(fullstack)/page.tsx to change your frontend + Edit app/page.tsx to change your frontend

Check out{" "} From 4cc092da99d8291f83d33418fa318d1c81277f8a Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 21 Dec 2023 16:17:16 -0800 Subject: [PATCH 009/218] Simplify nextjs routes --- .../app/(layouts)/layout.tsx | 22 ------------------- .../ConvexClientProvider.tsx | 0 .../app/{(fullstack) => }/ErrorBoundary.tsx | 0 .../app/{(fullstack) => }/layout.tsx | 2 +- .../app/layouts/layout.tsx | 11 ++++++++++ .../app}/layouts/page.tsx | 0 .../sticky-header-footer-below-fold/page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../sticky-header-sticky-footer/page.tsx | 0 .../sticky-sides-flex-content-simple/page.tsx | 0 .../sticky-sides-flex-content/page.tsx | 0 .../app/{(fullstack) => }/page.tsx | 0 .../app/(layouts)/layout.tsx | 22 ------------------- .../ConvexClientProvider.tsx | 0 .../app/{(fullstack) => }/layout.tsx | 2 +- .../app/layouts/layout.tsx | 11 ++++++++++ .../app}/layouts/page.tsx | 1 - .../sticky-header-footer-below-fold/page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../page.tsx | 0 .../sticky-header-sticky-footer/page.tsx | 0 .../sticky-sides-flex-content-simple/page.tsx | 0 .../sticky-sides-flex-content/page.tsx | 0 .../app/{(fullstack) => }/page.tsx | 0 29 files changed, 24 insertions(+), 47 deletions(-) delete mode 100644 template-nextjs-clerk-shadcn/app/(layouts)/layout.tsx rename template-nextjs-clerk-shadcn/app/{(fullstack) => }/ConvexClientProvider.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(fullstack) => }/ErrorBoundary.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(fullstack) => }/layout.tsx (95%) create mode 100644 template-nextjs-clerk-shadcn/app/layouts/layout.tsx rename {template-nextjs-lucia-shadcn/app/(layouts) => template-nextjs-clerk-shadcn/app}/layouts/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-footer-below-fold/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-inside/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-sticky-footer/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-header-sticky-footer/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content-simple/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content/page.tsx (100%) rename template-nextjs-clerk-shadcn/app/{(fullstack) => }/page.tsx (100%) delete mode 100644 template-nextjs-lucia-shadcn/app/(layouts)/layout.tsx rename template-nextjs-lucia-shadcn/app/{(fullstack) => }/ConvexClientProvider.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(fullstack) => }/layout.tsx (95%) create mode 100644 template-nextjs-lucia-shadcn/app/layouts/layout.tsx rename {template-nextjs-clerk-shadcn/app/(layouts) => template-nextjs-lucia-shadcn/app}/layouts/page.tsx (99%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-footer-below-fold/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-below-fold/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-footer-inside/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-sidebar-sticky-footer/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-header-sticky-footer/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content-simple/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(layouts) => }/layouts/sticky-sides-flex-content/page.tsx (100%) rename template-nextjs-lucia-shadcn/app/{(fullstack) => }/page.tsx (100%) diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layout.tsx b/template-nextjs-clerk-shadcn/app/(layouts)/layout.tsx deleted file mode 100644 index c370208..0000000 --- a/template-nextjs-clerk-shadcn/app/(layouts)/layout.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import "../globals.css"; -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; - -const inter = Inter({ subsets: ["latin"] }); - -export const metadata: Metadata = { - title: "Layout showcase - you can delete me", - description: "You can delete the whole (layouts) directory", -}; - -export default function RootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - - {children} - - ); -} diff --git a/template-nextjs-clerk-shadcn/app/(fullstack)/ConvexClientProvider.tsx b/template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(fullstack)/ConvexClientProvider.tsx rename to template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx diff --git a/template-nextjs-clerk-shadcn/app/(fullstack)/ErrorBoundary.tsx b/template-nextjs-clerk-shadcn/app/ErrorBoundary.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(fullstack)/ErrorBoundary.tsx rename to template-nextjs-clerk-shadcn/app/ErrorBoundary.tsx diff --git a/template-nextjs-clerk-shadcn/app/(fullstack)/layout.tsx b/template-nextjs-clerk-shadcn/app/layout.tsx similarity index 95% rename from template-nextjs-clerk-shadcn/app/(fullstack)/layout.tsx rename to template-nextjs-clerk-shadcn/app/layout.tsx index 13ef877..aa28700 100644 --- a/template-nextjs-clerk-shadcn/app/(fullstack)/layout.tsx +++ b/template-nextjs-clerk-shadcn/app/layout.tsx @@ -1,4 +1,4 @@ -import "../globals.css"; +import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import ConvexClientProvider from "./ConvexClientProvider"; diff --git a/template-nextjs-clerk-shadcn/app/layouts/layout.tsx b/template-nextjs-clerk-shadcn/app/layouts/layout.tsx new file mode 100644 index 0000000..901a5ac --- /dev/null +++ b/template-nextjs-clerk-shadcn/app/layouts/layout.tsx @@ -0,0 +1,11 @@ +import type { Metadata } from "next"; +import { ReactNode } from "react"; + +export const metadata: Metadata = { + title: "Layout showcase - you can delete me", + description: 'You can delete the whole "layouts" directory', +}; + +export default function LayoutsLayout({ children }: { children: ReactNode }) { + return children; +} diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/sticky-sides-flex-content/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx rename to template-nextjs-clerk-shadcn/app/layouts/sticky-sides-flex-content/page.tsx diff --git a/template-nextjs-clerk-shadcn/app/(fullstack)/page.tsx b/template-nextjs-clerk-shadcn/app/page.tsx similarity index 100% rename from template-nextjs-clerk-shadcn/app/(fullstack)/page.tsx rename to template-nextjs-clerk-shadcn/app/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layout.tsx b/template-nextjs-lucia-shadcn/app/(layouts)/layout.tsx deleted file mode 100644 index c370208..0000000 --- a/template-nextjs-lucia-shadcn/app/(layouts)/layout.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import "../globals.css"; -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; - -const inter = Inter({ subsets: ["latin"] }); - -export const metadata: Metadata = { - title: "Layout showcase - you can delete me", - description: "You can delete the whole (layouts) directory", -}; - -export default function RootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - - {children} - - ); -} diff --git a/template-nextjs-lucia-shadcn/app/(fullstack)/ConvexClientProvider.tsx b/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(fullstack)/ConvexClientProvider.tsx rename to template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx diff --git a/template-nextjs-lucia-shadcn/app/(fullstack)/layout.tsx b/template-nextjs-lucia-shadcn/app/layout.tsx similarity index 95% rename from template-nextjs-lucia-shadcn/app/(fullstack)/layout.tsx rename to template-nextjs-lucia-shadcn/app/layout.tsx index 13ef877..aa28700 100644 --- a/template-nextjs-lucia-shadcn/app/(fullstack)/layout.tsx +++ b/template-nextjs-lucia-shadcn/app/layout.tsx @@ -1,4 +1,4 @@ -import "../globals.css"; +import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; import ConvexClientProvider from "./ConvexClientProvider"; diff --git a/template-nextjs-lucia-shadcn/app/layouts/layout.tsx b/template-nextjs-lucia-shadcn/app/layouts/layout.tsx new file mode 100644 index 0000000..901a5ac --- /dev/null +++ b/template-nextjs-lucia-shadcn/app/layouts/layout.tsx @@ -0,0 +1,11 @@ +import type { Metadata } from "next"; +import { ReactNode } from "react"; + +export const metadata: Metadata = { + title: "Layout showcase - you can delete me", + description: 'You can delete the whole "layouts" directory', +}; + +export default function LayoutsLayout({ children }: { children: ReactNode }) { + return children; +} diff --git a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/page.tsx similarity index 99% rename from template-nextjs-clerk-shadcn/app/(layouts)/layouts/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/page.tsx index a68c7e2..1f41634 100644 --- a/template-nextjs-clerk-shadcn/app/(layouts)/layouts/page.tsx +++ b/template-nextjs-lucia-shadcn/app/layouts/page.tsx @@ -138,7 +138,6 @@ export default function Layouts() {

-

Done with layouts? Simply delete the app/(layouts){" "} directory. diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-footer-below-fold/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-below-fold/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-footer-inside/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sidebar-sticky-footer/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-header-sticky-footer/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content-simple/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/sticky-sides-flex-content/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(layouts)/layouts/sticky-sides-flex-content/page.tsx rename to template-nextjs-lucia-shadcn/app/layouts/sticky-sides-flex-content/page.tsx diff --git a/template-nextjs-lucia-shadcn/app/(fullstack)/page.tsx b/template-nextjs-lucia-shadcn/app/page.tsx similarity index 100% rename from template-nextjs-lucia-shadcn/app/(fullstack)/page.tsx rename to template-nextjs-lucia-shadcn/app/page.tsx From 53fbc28c6fae037a43e20371a24438777a29a4a6 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sat, 13 Jan 2024 11:57:40 -0800 Subject: [PATCH 010/218] Remove unused file --- template-nextjs-clerk-shadcn/convex/init.ts | 25 --------------------- 1 file changed, 25 deletions(-) delete mode 100644 template-nextjs-clerk-shadcn/convex/init.ts diff --git a/template-nextjs-clerk-shadcn/convex/init.ts b/template-nextjs-clerk-shadcn/convex/init.ts deleted file mode 100644 index 2ffa576..0000000 --- a/template-nextjs-clerk-shadcn/convex/init.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { internalMutation } from "./_generated/server"; - -export default internalMutation({ - args: {}, - handler: async () => { - console.log(process.env["CLERK_JWT_ISSUER_DOMAIN"]); - - // ['OPENAI_API_KEY'] - // if (!process.env.OPENAI_API_KEY) { - // const deploymentName = process.env.CONVEX_CLOUD_URL?.slice(8).replace('.convex.cloud', ''); - // throw new Error( - // '\n Missing OPENAI_API_KEY in environment variables.\n\n' + - // ' Get one at https://openai.com/\n\n' + - // ' Paste it on the Convex dashboard:\n' + - // ' https://dashboard.convex.dev/d/' + - // deploymentName + - // '/settings?var=OPENAI_API_KEY', - // ); - // } - }, -}); - -// function checkEnvironmentVariableIsSet(variable: string) { - -// } From ad98a6721baf5db301dba80abaf1af2b60a62cc9 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 14 Jan 2024 17:14:39 -0800 Subject: [PATCH 011/218] Fix the layouts instructions --- template-nextjs-clerk-shadcn/app/layouts/page.tsx | 3 +-- template-nextjs-lucia-shadcn/app/layouts/page.tsx | 3 +-- template-nextjs-shadcn/app/layouts/page.tsx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/template-nextjs-clerk-shadcn/app/layouts/page.tsx b/template-nextjs-clerk-shadcn/app/layouts/page.tsx index 1f41634..8c7226b 100644 --- a/template-nextjs-clerk-shadcn/app/layouts/page.tsx +++ b/template-nextjs-clerk-shadcn/app/layouts/page.tsx @@ -139,8 +139,7 @@ export default function Layouts() {

- Done with layouts? Simply delete the app/(layouts){" "} - directory. + Done with layouts? Simply delete the app/layouts directory.

); diff --git a/template-nextjs-lucia-shadcn/app/layouts/page.tsx b/template-nextjs-lucia-shadcn/app/layouts/page.tsx index 1f41634..8c7226b 100644 --- a/template-nextjs-lucia-shadcn/app/layouts/page.tsx +++ b/template-nextjs-lucia-shadcn/app/layouts/page.tsx @@ -139,8 +139,7 @@ export default function Layouts() {

- Done with layouts? Simply delete the app/(layouts){" "} - directory. + Done with layouts? Simply delete the app/layouts directory.

); diff --git a/template-nextjs-shadcn/app/layouts/page.tsx b/template-nextjs-shadcn/app/layouts/page.tsx index 1f41634..8c7226b 100644 --- a/template-nextjs-shadcn/app/layouts/page.tsx +++ b/template-nextjs-shadcn/app/layouts/page.tsx @@ -139,8 +139,7 @@ export default function Layouts() {

- Done with layouts? Simply delete the app/(layouts){" "} - directory. + Done with layouts? Simply delete the app/layouts directory.

); From ec0ebfbe064dc69b2e692c37298277e343484bb2 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 29 Jan 2024 15:40:04 -0800 Subject: [PATCH 012/218] Upgrade to latest convex version --- template-bare/convex/_generated/api.d.ts | 6 +++--- template-bare/convex/_generated/api.js | 2 +- template-bare/convex/_generated/dataModel.d.ts | 2 +- template-bare/convex/_generated/server.d.ts | 2 +- template-bare/convex/_generated/server.js | 2 +- template-bare/package-lock.json | 8 ++++---- template-bare/package.json | 2 +- .../convex/_generated/api.d.ts | 8 +++----- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-nextjs-clerk-shadcn/package-lock.json | 8 ++++---- template-nextjs-clerk-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 6 +++--- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 15 ++++++++++----- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-nextjs-lucia-shadcn/package-lock.json | 8 ++++---- template-nextjs-lucia-shadcn/package.json | 2 +- template-nextjs-shadcn/convex/_generated/api.d.ts | 6 +++--- template-nextjs-shadcn/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-nextjs-shadcn/package-lock.json | 8 ++++---- template-nextjs-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 6 +++--- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- .../package-lock.json | 8 ++++---- template-react-vite-clerk-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 6 +++--- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-react-vite-shadcn/package-lock.json | 8 ++++---- template-react-vite-shadcn/package.json | 2 +- 42 files changed, 81 insertions(+), 78 deletions(-) diff --git a/template-bare/convex/_generated/api.d.ts b/template-bare/convex/_generated/api.d.ts index 6fefc59..f2b7188 100644 --- a/template-bare/convex/_generated/api.d.ts +++ b/template-bare/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,8 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema"; -import type * as myFunctions from "../myFunctions"; +import type * as _schema from "../_schema.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. diff --git a/template-bare/convex/_generated/api.js b/template-bare/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-bare/convex/_generated/api.js +++ b/template-bare/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/dataModel.d.ts b/template-bare/convex/_generated/dataModel.d.ts index 9df8df1..62d7207 100644 --- a/template-bare/convex/_generated/dataModel.d.ts +++ b/template-bare/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.d.ts b/template-bare/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-bare/convex/_generated/server.d.ts +++ b/template-bare/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.js b/template-bare/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-bare/convex/_generated/server.js +++ b/template-bare/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/package-lock.json b/template-bare/package-lock.json index cc24de8..b6855cd 100644 --- a/template-bare/package-lock.json +++ b/template-bare/package-lock.json @@ -8,7 +8,7 @@ "name": "convex-template", "version": "0.0.0", "dependencies": { - "convex": "^1.5.1" + "convex": "^1.8.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", @@ -835,9 +835,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-bare/package.json b/template-bare/package.json index 6464d2b..124c8cb 100644 --- a/template-bare/package.json +++ b/template-bare/package.json @@ -9,7 +9,7 @@ "lint": "tsc -p convex && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { - "convex": "^1.5.1" + "convex": "^1.8.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts index 068e357..f2b7188 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,9 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema"; -import type * as init from "../init"; -import type * as myFunctions from "../myFunctions"; +import type * as _schema from "../_schema.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. @@ -28,7 +27,6 @@ import type * as myFunctions from "../myFunctions"; */ declare const fullApi: ApiFromModules<{ _schema: typeof _schema; - init: typeof init; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.js b/template-nextjs-clerk-shadcn/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts index 9df8df1..62d7207 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.js b/template-nextjs-clerk-shadcn/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/package-lock.json b/template-nextjs-clerk-shadcn/package-lock.json index 7970790..e3c76a7 100644 --- a/template-nextjs-clerk-shadcn/package-lock.json +++ b/template-nextjs-clerk-shadcn/package-lock.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3604,9 +3604,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index 56d65e8..a60013f 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts index 9446083..bbfe435 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,8 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as auth from "../auth"; -import type * as myFunctions from "../myFunctions"; +import type * as auth from "../auth.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.js b/template-nextjs-lucia-shadcn/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts index 92990c9..30fc9ac 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts @@ -4,15 +4,19 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ -import type { DataModelFromSchemaDefinition } from "convex/server"; -import type { DocumentByName, TableNamesInDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; -import schema from "../schema"; +import schema from "../schema.js"; /** * The names of all of your Convex tables. @@ -42,7 +46,8 @@ export type Doc = DocumentByName< * * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = GenericId; +export type Id = + GenericId; /** * A type describing your Convex data model. diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.js b/template-nextjs-lucia-shadcn/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/package-lock.json b/template-nextjs-lucia-shadcn/package-lock.json index 9cb5758..61643b4 100644 --- a/template-nextjs-lucia-shadcn/package-lock.json +++ b/template-nextjs-lucia-shadcn/package-lock.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3567,9 +3567,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 7b06a6a..23277b4 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-nextjs-shadcn/convex/_generated/api.d.ts b/template-nextjs-shadcn/convex/_generated/api.d.ts index 6fefc59..f2b7188 100644 --- a/template-nextjs-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,8 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema"; -import type * as myFunctions from "../myFunctions"; +import type * as _schema from "../_schema.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. diff --git a/template-nextjs-shadcn/convex/_generated/api.js b/template-nextjs-shadcn/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-nextjs-shadcn/convex/_generated/api.js +++ b/template-nextjs-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts index 9df8df1..62d7207 100644 --- a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.d.ts b/template-nextjs-shadcn/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-nextjs-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.js b/template-nextjs-shadcn/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-nextjs-shadcn/convex/_generated/server.js +++ b/template-nextjs-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/package-lock.json b/template-nextjs-shadcn/package-lock.json index 97bc0d3..9d84cb8 100644 --- a/template-nextjs-shadcn/package-lock.json +++ b/template-nextjs-shadcn/package-lock.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3553,9 +3553,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index adf77dc..3d53c6b 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -48,7 +48,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts index 6fefc59..f2b7188 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,8 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema"; -import type * as myFunctions from "../myFunctions"; +import type * as _schema from "../_schema.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.js b/template-react-vite-clerk-shadcn/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts index 9df8df1..62d7207 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.js b/template-react-vite-clerk-shadcn/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/package-lock.json b/template-react-vite-clerk-shadcn/package-lock.json index c84a05e..8d9f2eb 100644 --- a/template-react-vite-clerk-shadcn/package-lock.json +++ b/template-react-vite-clerk-shadcn/package-lock.json @@ -40,7 +40,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -3331,9 +3331,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-react-vite-clerk-shadcn/package.json b/template-react-vite-clerk-shadcn/package.json index 16714a8..aeb4e2f 100644 --- a/template-react-vite-clerk-shadcn/package.json +++ b/template-react-vite-clerk-shadcn/package.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", diff --git a/template-react-vite-shadcn/convex/_generated/api.d.ts b/template-react-vite-shadcn/convex/_generated/api.d.ts index 6fefc59..f2b7188 100644 --- a/template-react-vite-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ @@ -14,8 +14,8 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema"; -import type * as myFunctions from "../myFunctions"; +import type * as _schema from "../_schema.js"; +import type * as myFunctions from "../myFunctions.js"; /** * A utility for referencing Convex functions in your app's API. diff --git a/template-react-vite-shadcn/convex/_generated/api.js b/template-react-vite-shadcn/convex/_generated/api.js index 95ef25f..e9319bc 100644 --- a/template-react-vite-shadcn/convex/_generated/api.js +++ b/template-react-vite-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts index 9df8df1..62d7207 100644 --- a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.d.ts b/template-react-vite-shadcn/convex/_generated/server.d.ts index c6067d4..57fd064 100644 --- a/template-react-vite-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.js b/template-react-vite-shadcn/convex/_generated/server.js index e9b2314..12ed719 100644 --- a/template-react-vite-shadcn/convex/_generated/server.js +++ b/template-react-vite-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.5.1. + * Generated by convex@1.8.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/package-lock.json b/template-react-vite-shadcn/package-lock.json index 305a690..1856e6c 100644 --- a/template-react-vite-shadcn/package-lock.json +++ b/template-react-vite-shadcn/package-lock.json @@ -39,7 +39,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -3280,9 +3280,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.5.1.tgz", - "integrity": "sha512-nGCYFCkamjiQddQch6QPDbGY0Qu6V7y+ZB3OWcwZdwUSAehfQmY5v/KwA0AsMeSC1zMeuQY/yX+ZtgxMdFQHJg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", + "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-react-vite-shadcn/package.json b/template-react-vite-shadcn/package.json index 815033c..f7c6725 100644 --- a/template-react-vite-shadcn/package.json +++ b/template-react-vite-shadcn/package.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.5.1", + "convex": "^1.8.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", From 5da45f9ffeb935efd5de47d6c0a99464fa497f09 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 2 Feb 2024 15:22:23 -0800 Subject: [PATCH 013/218] Default to having schema --- template-bare/convex/_generated/api.d.ts | 2 -- .../convex/_generated/dataModel.d.ts | 34 ++++++++++--------- .../convex/{_schema.ts => schema.ts} | 4 +-- .../convex/_generated/api.d.ts | 2 -- .../convex/_generated/dataModel.d.ts | 34 ++++++++++--------- .../convex/schema.ts | 4 +-- .../convex/_generated/api.d.ts | 2 -- .../convex/_generated/dataModel.d.ts | 34 ++++++++++--------- .../convex/schema.ts | 4 +-- .../convex/_generated/api.d.ts | 2 -- .../convex/_generated/dataModel.d.ts | 34 ++++++++++--------- .../convex/schema.ts | 4 +-- .../convex/_generated/api.d.ts | 2 -- .../convex/_generated/dataModel.d.ts | 34 ++++++++++--------- .../convex/schema.ts | 4 +-- 15 files changed, 100 insertions(+), 100 deletions(-) rename template-bare/convex/{_schema.ts => schema.ts} (88%) rename template-react-vite-shadcn/convex/_schema.ts => template-nextjs-clerk-shadcn/convex/schema.ts (89%) rename template-nextjs-clerk-shadcn/convex/_schema.ts => template-nextjs-shadcn/convex/schema.ts (89%) rename template-nextjs-shadcn/convex/_schema.ts => template-react-vite-clerk-shadcn/convex/schema.ts (89%) rename template-react-vite-clerk-shadcn/convex/_schema.ts => template-react-vite-shadcn/convex/schema.ts (89%) diff --git a/template-bare/convex/_generated/api.d.ts b/template-bare/convex/_generated/api.d.ts index f2b7188..f58eff2 100644 --- a/template-bare/convex/_generated/api.d.ts +++ b/template-bare/convex/_generated/api.d.ts @@ -14,7 +14,6 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema.js"; import type * as myFunctions from "../myFunctions.js"; /** @@ -26,7 +25,6 @@ import type * as myFunctions from "../myFunctions.js"; * ``` */ declare const fullApi: ApiFromModules<{ - _schema: typeof _schema; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-bare/convex/_generated/dataModel.d.ts b/template-bare/convex/_generated/dataModel.d.ts index 62d7207..30fc9ac 100644 --- a/template-bare/convex/_generated/dataModel.d.ts +++ b/template-bare/convex/_generated/dataModel.d.ts @@ -9,29 +9,29 @@ * @module */ -import { AnyDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; - -/** - * No `schema.ts` file found! - * - * This generated code has permissive types like `Doc = any` because - * Convex doesn't know your schema. If you'd like more type safety, see - * https://docs.convex.dev/using/schemas for instructions on how to add a - * schema file. - * - * After you change a schema, rerun codegen with `npx convex dev`. - */ +import schema from "../schema.js"; /** * The names of all of your Convex tables. */ -export type TableNames = string; +export type TableNames = TableNamesInDataModel; /** * The type of a document stored in Convex. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Doc = any; +export type Doc = DocumentByName< + DataModel, + TableName +>; /** * An identifier for a document in Convex. @@ -43,8 +43,10 @@ export type Doc = any; * * IDs are just strings at runtime, but this type can be used to distinguish them from other * strings when type checking. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = +export type Id = GenericId; /** @@ -56,4 +58,4 @@ export type Id = * This type is used to parameterize methods like `queryGeneric` and * `mutationGeneric` to make them type-safe. */ -export type DataModel = AnyDataModel; +export type DataModel = DataModelFromSchemaDefinition; diff --git a/template-bare/convex/_schema.ts b/template-bare/convex/schema.ts similarity index 88% rename from template-bare/convex/_schema.ts rename to template-bare/convex/schema.ts index 5d56c3b..27c7c21 100644 --- a/template-bare/convex/_schema.ts +++ b/template-bare/convex/schema.ts @@ -1,5 +1,5 @@ -// OPTIONAL: Rename this file to `schema.ts` to declare the shape -// of the data in your database. +// NOTE: You can remove this file. Declaring the shape +// of the database is entirely optional in Convex. // See https://docs.convex.dev/database/schemas. import { defineSchema, defineTable } from "convex/server"; diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts index f2b7188..f58eff2 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts @@ -14,7 +14,6 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema.js"; import type * as myFunctions from "../myFunctions.js"; /** @@ -26,7 +25,6 @@ import type * as myFunctions from "../myFunctions.js"; * ``` */ declare const fullApi: ApiFromModules<{ - _schema: typeof _schema; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts index 62d7207..30fc9ac 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -9,29 +9,29 @@ * @module */ -import { AnyDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; - -/** - * No `schema.ts` file found! - * - * This generated code has permissive types like `Doc = any` because - * Convex doesn't know your schema. If you'd like more type safety, see - * https://docs.convex.dev/using/schemas for instructions on how to add a - * schema file. - * - * After you change a schema, rerun codegen with `npx convex dev`. - */ +import schema from "../schema.js"; /** * The names of all of your Convex tables. */ -export type TableNames = string; +export type TableNames = TableNamesInDataModel; /** * The type of a document stored in Convex. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Doc = any; +export type Doc = DocumentByName< + DataModel, + TableName +>; /** * An identifier for a document in Convex. @@ -43,8 +43,10 @@ export type Doc = any; * * IDs are just strings at runtime, but this type can be used to distinguish them from other * strings when type checking. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = +export type Id = GenericId; /** @@ -56,4 +58,4 @@ export type Id = * This type is used to parameterize methods like `queryGeneric` and * `mutationGeneric` to make them type-safe. */ -export type DataModel = AnyDataModel; +export type DataModel = DataModelFromSchemaDefinition; diff --git a/template-react-vite-shadcn/convex/_schema.ts b/template-nextjs-clerk-shadcn/convex/schema.ts similarity index 89% rename from template-react-vite-shadcn/convex/_schema.ts rename to template-nextjs-clerk-shadcn/convex/schema.ts index a782971..09bbc66 100644 --- a/template-react-vite-shadcn/convex/_schema.ts +++ b/template-nextjs-clerk-shadcn/convex/schema.ts @@ -1,5 +1,5 @@ -// OPTIONAL: Rename this file to `schema.ts` to declare the shape -// of the data in your database. +// NOTE: You can remove this file. Declaring the shape +// of the database is entirely optional in Convex. // See https://docs.convex.dev/database/schemas. import { defineSchema, defineTable } from "convex/server"; diff --git a/template-nextjs-shadcn/convex/_generated/api.d.ts b/template-nextjs-shadcn/convex/_generated/api.d.ts index f2b7188..f58eff2 100644 --- a/template-nextjs-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-shadcn/convex/_generated/api.d.ts @@ -14,7 +14,6 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema.js"; import type * as myFunctions from "../myFunctions.js"; /** @@ -26,7 +25,6 @@ import type * as myFunctions from "../myFunctions.js"; * ``` */ declare const fullApi: ApiFromModules<{ - _schema: typeof _schema; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts index 62d7207..30fc9ac 100644 --- a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts @@ -9,29 +9,29 @@ * @module */ -import { AnyDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; - -/** - * No `schema.ts` file found! - * - * This generated code has permissive types like `Doc = any` because - * Convex doesn't know your schema. If you'd like more type safety, see - * https://docs.convex.dev/using/schemas for instructions on how to add a - * schema file. - * - * After you change a schema, rerun codegen with `npx convex dev`. - */ +import schema from "../schema.js"; /** * The names of all of your Convex tables. */ -export type TableNames = string; +export type TableNames = TableNamesInDataModel; /** * The type of a document stored in Convex. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Doc = any; +export type Doc = DocumentByName< + DataModel, + TableName +>; /** * An identifier for a document in Convex. @@ -43,8 +43,10 @@ export type Doc = any; * * IDs are just strings at runtime, but this type can be used to distinguish them from other * strings when type checking. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = +export type Id = GenericId; /** @@ -56,4 +58,4 @@ export type Id = * This type is used to parameterize methods like `queryGeneric` and * `mutationGeneric` to make them type-safe. */ -export type DataModel = AnyDataModel; +export type DataModel = DataModelFromSchemaDefinition; diff --git a/template-nextjs-clerk-shadcn/convex/_schema.ts b/template-nextjs-shadcn/convex/schema.ts similarity index 89% rename from template-nextjs-clerk-shadcn/convex/_schema.ts rename to template-nextjs-shadcn/convex/schema.ts index a782971..09bbc66 100644 --- a/template-nextjs-clerk-shadcn/convex/_schema.ts +++ b/template-nextjs-shadcn/convex/schema.ts @@ -1,5 +1,5 @@ -// OPTIONAL: Rename this file to `schema.ts` to declare the shape -// of the data in your database. +// NOTE: You can remove this file. Declaring the shape +// of the database is entirely optional in Convex. // See https://docs.convex.dev/database/schemas. import { defineSchema, defineTable } from "convex/server"; diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts index f2b7188..f58eff2 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts @@ -14,7 +14,6 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema.js"; import type * as myFunctions from "../myFunctions.js"; /** @@ -26,7 +25,6 @@ import type * as myFunctions from "../myFunctions.js"; * ``` */ declare const fullApi: ApiFromModules<{ - _schema: typeof _schema; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts index 62d7207..30fc9ac 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -9,29 +9,29 @@ * @module */ -import { AnyDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; - -/** - * No `schema.ts` file found! - * - * This generated code has permissive types like `Doc = any` because - * Convex doesn't know your schema. If you'd like more type safety, see - * https://docs.convex.dev/using/schemas for instructions on how to add a - * schema file. - * - * After you change a schema, rerun codegen with `npx convex dev`. - */ +import schema from "../schema.js"; /** * The names of all of your Convex tables. */ -export type TableNames = string; +export type TableNames = TableNamesInDataModel; /** * The type of a document stored in Convex. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Doc = any; +export type Doc = DocumentByName< + DataModel, + TableName +>; /** * An identifier for a document in Convex. @@ -43,8 +43,10 @@ export type Doc = any; * * IDs are just strings at runtime, but this type can be used to distinguish them from other * strings when type checking. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = +export type Id = GenericId; /** @@ -56,4 +58,4 @@ export type Id = * This type is used to parameterize methods like `queryGeneric` and * `mutationGeneric` to make them type-safe. */ -export type DataModel = AnyDataModel; +export type DataModel = DataModelFromSchemaDefinition; diff --git a/template-nextjs-shadcn/convex/_schema.ts b/template-react-vite-clerk-shadcn/convex/schema.ts similarity index 89% rename from template-nextjs-shadcn/convex/_schema.ts rename to template-react-vite-clerk-shadcn/convex/schema.ts index a782971..09bbc66 100644 --- a/template-nextjs-shadcn/convex/_schema.ts +++ b/template-react-vite-clerk-shadcn/convex/schema.ts @@ -1,5 +1,5 @@ -// OPTIONAL: Rename this file to `schema.ts` to declare the shape -// of the data in your database. +// NOTE: You can remove this file. Declaring the shape +// of the database is entirely optional in Convex. // See https://docs.convex.dev/database/schemas. import { defineSchema, defineTable } from "convex/server"; diff --git a/template-react-vite-shadcn/convex/_generated/api.d.ts b/template-react-vite-shadcn/convex/_generated/api.d.ts index f2b7188..f58eff2 100644 --- a/template-react-vite-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-shadcn/convex/_generated/api.d.ts @@ -14,7 +14,6 @@ import type { FilterApi, FunctionReference, } from "convex/server"; -import type * as _schema from "../_schema.js"; import type * as myFunctions from "../myFunctions.js"; /** @@ -26,7 +25,6 @@ import type * as myFunctions from "../myFunctions.js"; * ``` */ declare const fullApi: ApiFromModules<{ - _schema: typeof _schema; myFunctions: typeof myFunctions; }>; export declare const api: FilterApi< diff --git a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts index 62d7207..30fc9ac 100644 --- a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts @@ -9,29 +9,29 @@ * @module */ -import { AnyDataModel } from "convex/server"; +import type { + DataModelFromSchemaDefinition, + DocumentByName, + TableNamesInDataModel, + SystemTableNames, +} from "convex/server"; import type { GenericId } from "convex/values"; - -/** - * No `schema.ts` file found! - * - * This generated code has permissive types like `Doc = any` because - * Convex doesn't know your schema. If you'd like more type safety, see - * https://docs.convex.dev/using/schemas for instructions on how to add a - * schema file. - * - * After you change a schema, rerun codegen with `npx convex dev`. - */ +import schema from "../schema.js"; /** * The names of all of your Convex tables. */ -export type TableNames = string; +export type TableNames = TableNamesInDataModel; /** * The type of a document stored in Convex. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Doc = any; +export type Doc = DocumentByName< + DataModel, + TableName +>; /** * An identifier for a document in Convex. @@ -43,8 +43,10 @@ export type Doc = any; * * IDs are just strings at runtime, but this type can be used to distinguish them from other * strings when type checking. + * + * @typeParam TableName - A string literal type of the table name (like "users"). */ -export type Id = +export type Id = GenericId; /** @@ -56,4 +58,4 @@ export type Id = * This type is used to parameterize methods like `queryGeneric` and * `mutationGeneric` to make them type-safe. */ -export type DataModel = AnyDataModel; +export type DataModel = DataModelFromSchemaDefinition; diff --git a/template-react-vite-clerk-shadcn/convex/_schema.ts b/template-react-vite-shadcn/convex/schema.ts similarity index 89% rename from template-react-vite-clerk-shadcn/convex/_schema.ts rename to template-react-vite-shadcn/convex/schema.ts index a782971..09bbc66 100644 --- a/template-react-vite-clerk-shadcn/convex/_schema.ts +++ b/template-react-vite-shadcn/convex/schema.ts @@ -1,5 +1,5 @@ -// OPTIONAL: Rename this file to `schema.ts` to declare the shape -// of the data in your database. +// NOTE: You can remove this file. Declaring the shape +// of the database is entirely optional in Convex. // See https://docs.convex.dev/database/schemas. import { defineSchema, defineTable } from "convex/server"; From 272b348075d43f8951d313043de14cb1336c2ab3 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 18 Feb 2024 14:36:12 -0800 Subject: [PATCH 014/218] Fix pointer to app --- template-nextjs-clerk-shadcn/app/page.tsx | 2 +- template-nextjs-lucia-shadcn/app/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template-nextjs-clerk-shadcn/app/page.tsx b/template-nextjs-clerk-shadcn/app/page.tsx index 4485582..536bc6e 100644 --- a/template-nextjs-clerk-shadcn/app/page.tsx +++ b/template-nextjs-clerk-shadcn/app/page.tsx @@ -99,7 +99,7 @@ function SignedInContent() { Edit convex/myFunctions.ts to change your backend

- Edit app/(fullstack)/page.tsx to change your frontend + Edit app/page.tsx to change your frontend

Check out{" "} diff --git a/template-nextjs-lucia-shadcn/app/page.tsx b/template-nextjs-lucia-shadcn/app/page.tsx index 0b91a02..55555d4 100644 --- a/template-nextjs-lucia-shadcn/app/page.tsx +++ b/template-nextjs-lucia-shadcn/app/page.tsx @@ -63,7 +63,7 @@ function SignedIn() { Edit convex/myFunctions.ts to change your backend

- Edit app/(fullstack)/page.tsx to change your frontend + Edit app/page.tsx to change your frontend

Check out{" "} From 1a7b226b603d70bef202cc3c6740d3fe82b847f3 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 27 Feb 2024 19:37:52 -0800 Subject: [PATCH 015/218] Upgrade to 1.10 --- template-bare/convex/_generated/api.d.ts | 2 +- template-bare/convex/_generated/api.js | 2 +- template-bare/convex/_generated/dataModel.d.ts | 2 +- template-bare/convex/_generated/server.d.ts | 2 +- template-bare/convex/_generated/server.js | 2 +- template-bare/package-lock.json | 8 ++++---- template-bare/package.json | 2 +- template-nextjs-clerk-shadcn/convex/_generated/api.d.ts | 2 +- template-nextjs-clerk-shadcn/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- template-nextjs-clerk-shadcn/convex/_generated/server.js | 2 +- template-nextjs-clerk-shadcn/package-lock.json | 8 ++++---- template-nextjs-clerk-shadcn/package.json | 2 +- template-nextjs-lucia-shadcn/convex/_generated/api.d.ts | 2 +- template-nextjs-lucia-shadcn/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- template-nextjs-lucia-shadcn/convex/_generated/server.js | 2 +- template-nextjs-lucia-shadcn/package-lock.json | 8 ++++---- template-nextjs-lucia-shadcn/package.json | 2 +- template-nextjs-shadcn/convex/_generated/api.d.ts | 2 +- template-nextjs-shadcn/convex/_generated/api.js | 2 +- template-nextjs-shadcn/convex/_generated/dataModel.d.ts | 2 +- template-nextjs-shadcn/convex/_generated/server.d.ts | 2 +- template-nextjs-shadcn/convex/_generated/server.js | 2 +- template-nextjs-shadcn/package-lock.json | 8 ++++---- template-nextjs-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 2 +- template-react-vite-clerk-shadcn/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-react-vite-clerk-shadcn/package-lock.json | 8 ++++---- template-react-vite-clerk-shadcn/package.json | 2 +- template-react-vite-shadcn/convex/_generated/api.d.ts | 2 +- template-react-vite-shadcn/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- template-react-vite-shadcn/convex/_generated/server.d.ts | 2 +- template-react-vite-shadcn/convex/_generated/server.js | 2 +- template-react-vite-shadcn/package-lock.json | 8 ++++---- template-react-vite-shadcn/package.json | 2 +- 42 files changed, 60 insertions(+), 60 deletions(-) diff --git a/template-bare/convex/_generated/api.d.ts b/template-bare/convex/_generated/api.d.ts index f58eff2..227ed80 100644 --- a/template-bare/convex/_generated/api.d.ts +++ b/template-bare/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/api.js b/template-bare/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-bare/convex/_generated/api.js +++ b/template-bare/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/dataModel.d.ts b/template-bare/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-bare/convex/_generated/dataModel.d.ts +++ b/template-bare/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.d.ts b/template-bare/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-bare/convex/_generated/server.d.ts +++ b/template-bare/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.js b/template-bare/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-bare/convex/_generated/server.js +++ b/template-bare/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/package-lock.json b/template-bare/package-lock.json index b6855cd..f4c6401 100644 --- a/template-bare/package-lock.json +++ b/template-bare/package-lock.json @@ -8,7 +8,7 @@ "name": "convex-template", "version": "0.0.0", "dependencies": { - "convex": "^1.8.0" + "convex": "^1.10.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", @@ -835,9 +835,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-bare/package.json b/template-bare/package.json index 124c8cb..eda3143 100644 --- a/template-bare/package.json +++ b/template-bare/package.json @@ -9,7 +9,7 @@ "lint": "tsc -p convex && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { - "convex": "^1.8.0" + "convex": "^1.10.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts index f58eff2..227ed80 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.js b/template-nextjs-clerk-shadcn/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.js b/template-nextjs-clerk-shadcn/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/package-lock.json b/template-nextjs-clerk-shadcn/package-lock.json index e3c76a7..5d19299 100644 --- a/template-nextjs-clerk-shadcn/package-lock.json +++ b/template-nextjs-clerk-shadcn/package-lock.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3604,9 +3604,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index a60013f..4b4aa48 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts index bbfe435..b149bdd 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.js b/template-nextjs-lucia-shadcn/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.js b/template-nextjs-lucia-shadcn/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/package-lock.json b/template-nextjs-lucia-shadcn/package-lock.json index 61643b4..5bc0358 100644 --- a/template-nextjs-lucia-shadcn/package-lock.json +++ b/template-nextjs-lucia-shadcn/package-lock.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3567,9 +3567,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 23277b4..2ab4ed9 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-nextjs-shadcn/convex/_generated/api.d.ts b/template-nextjs-shadcn/convex/_generated/api.d.ts index f58eff2..227ed80 100644 --- a/template-nextjs-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/api.js b/template-nextjs-shadcn/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-nextjs-shadcn/convex/_generated/api.js +++ b/template-nextjs-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.d.ts b/template-nextjs-shadcn/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-nextjs-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.js b/template-nextjs-shadcn/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-nextjs-shadcn/convex/_generated/server.js +++ b/template-nextjs-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/package-lock.json b/template-nextjs-shadcn/package-lock.json index 9d84cb8..5fefb74 100644 --- a/template-nextjs-shadcn/package-lock.json +++ b/template-nextjs-shadcn/package-lock.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", @@ -3553,9 +3553,9 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index 3d53c6b..f5df97e 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -48,7 +48,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "13.4.19", diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts index f58eff2..227ed80 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.js b/template-react-vite-clerk-shadcn/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.js b/template-react-vite-clerk-shadcn/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/package-lock.json b/template-react-vite-clerk-shadcn/package-lock.json index 8d9f2eb..85e9c26 100644 --- a/template-react-vite-clerk-shadcn/package-lock.json +++ b/template-react-vite-clerk-shadcn/package-lock.json @@ -40,7 +40,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -3331,9 +3331,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-react-vite-clerk-shadcn/package.json b/template-react-vite-clerk-shadcn/package.json index aeb4e2f..8f46c10 100644 --- a/template-react-vite-clerk-shadcn/package.json +++ b/template-react-vite-clerk-shadcn/package.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", diff --git a/template-react-vite-shadcn/convex/_generated/api.d.ts b/template-react-vite-shadcn/convex/_generated/api.d.ts index f58eff2..227ed80 100644 --- a/template-react-vite-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/api.js b/template-react-vite-shadcn/convex/_generated/api.js index e9319bc..6898878 100644 --- a/template-react-vite-shadcn/convex/_generated/api.js +++ b/template-react-vite-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts index 30fc9ac..267aafc 100644 --- a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.d.ts b/template-react-vite-shadcn/convex/_generated/server.d.ts index 57fd064..e38e64f 100644 --- a/template-react-vite-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.js b/template-react-vite-shadcn/convex/_generated/server.js index 12ed719..31adbda 100644 --- a/template-react-vite-shadcn/convex/_generated/server.js +++ b/template-react-vite-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.8.0. + * Generated by convex@1.10.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/package-lock.json b/template-react-vite-shadcn/package-lock.json index 1856e6c..ae6a824 100644 --- a/template-react-vite-shadcn/package-lock.json +++ b/template-react-vite-shadcn/package-lock.json @@ -39,7 +39,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -3280,9 +3280,9 @@ "dev": true }, "node_modules/convex": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.8.0.tgz", - "integrity": "sha512-3Iis7NL46qGNZ8Ac5/kQ+aulmomUjbIOUGKOoGNF7JQtIrixmPsckt/4QK8YuOp5mLBdGghdSgGCF8C79jfS4Q==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", + "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", diff --git a/template-react-vite-shadcn/package.json b/template-react-vite-shadcn/package.json index f7c6725..501b81b 100644 --- a/template-react-vite-shadcn/package.json +++ b/template-react-vite-shadcn/package.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.8.0", + "convex": "^1.10.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", From 0aac004451ae8f05b5745118c3b0389b882c7b53 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 7 Mar 2024 19:30:19 -0800 Subject: [PATCH 016/218] Add verbose flag for debugging --- create-convex/package.json | 2 +- create-convex/src/index.ts | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/create-convex/package.json b/create-convex/package.json index f73e3b0..28db233 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.7", + "version": "0.0.8", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index ab708fa..ed6c2cf 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -12,6 +12,7 @@ const argv = minimist<{ t?: string; template?: string; "dry-run"?: string; + verbose?: boolean; }>(process.argv.slice(2), { string: ["_"] }); const cwd = process.cwd(); @@ -71,6 +72,7 @@ init().catch((e) => { async function init() { const argTargetDir = formatTargetDir(argv._[0]); const argTemplate = argv.template || argv.t; + const verbose = argv.verbose; let targetDir = argTargetDir || defaultTargetDir; const getProjectName = () => @@ -209,7 +211,13 @@ async function init() { } try { - await degit(repo).clone(root); + const degitInstance = degit(repo, { verbose }); + if (verbose) { + degitInstance.on("info", (info) => { + console.error(info.message); + }); + } + await degitInstance.clone(root); } catch (error) { console.log(red(`✖ Failed to download template from \`${repo}\``)); return; @@ -240,7 +248,8 @@ async function init() { } if (root !== cwd) { console.log( - ` cd ${cdProjectName.includes(" ") ? `"${cdProjectName}"` : cdProjectName + ` cd ${ + cdProjectName.includes(" ") ? `"${cdProjectName}"` : cdProjectName }` ); } From e6ce87c4d6a7d9d5d4efaf5d9c973a3d8df5627d Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sat, 23 Mar 2024 15:39:51 +0100 Subject: [PATCH 017/218] Upgrade Next.js to latest 14 --- .../package-lock.json | 510 +++++++++++++---- template-nextjs-clerk-shadcn/package.json | 4 +- .../package-lock.json | 512 ++++++++++++++---- template-nextjs-lucia-shadcn/package.json | 4 +- template-nextjs-shadcn/package-lock.json | 512 ++++++++++++++---- template-nextjs-shadcn/package.json | 4 +- 6 files changed, 1210 insertions(+), 336 deletions(-) diff --git a/template-nextjs-clerk-shadcn/package-lock.json b/template-nextjs-clerk-shadcn/package-lock.json index 5d19299..6223264 100644 --- a/template-nextjs-clerk-shadcn/package-lock.json +++ b/template-nextjs-clerk-shadcn/package-lock.json @@ -48,9 +48,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", @@ -281,6 +281,47 @@ "version": "1.2.1", "license": "BSD-3-Clause" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "license": "MIT", @@ -320,22 +361,25 @@ } }, "node_modules/@next/env": { - "version": "13.4.19", - "license": "MIT" + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.4.tgz", + "integrity": "sha512-e7X7bbn3Z6DWnDi75UWn+REgAbLEqxI8Tq2pkFOFAMpWAWApz/YCUhtWMWn410h8Q2fYiYL7Yg5OlxMOCfFjJQ==" }, "node_modules/@next/eslint-plugin-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.4.tgz", + "integrity": "sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==", "dependencies": { - "glob": "7.1.7" + "glob": "10.3.10" } }, "node_modules/@next/swc-darwin-arm64": { - "version": "13.4.19", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.4.tgz", + "integrity": "sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -345,9 +389,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz", - "integrity": "sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", + "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", "cpu": [ "x64" ], @@ -360,9 +404,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz", - "integrity": "sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", + "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", "cpu": [ "arm64" ], @@ -375,9 +419,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz", - "integrity": "sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", + "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", "cpu": [ "arm64" ], @@ -390,9 +434,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz", - "integrity": "sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", + "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", "cpu": [ "x64" ], @@ -405,9 +449,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz", - "integrity": "sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", + "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", "cpu": [ "x64" ], @@ -420,9 +464,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz", - "integrity": "sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", + "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", "cpu": [ "arm64" ], @@ -435,9 +479,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz", - "integrity": "sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", + "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", "cpu": [ "ia32" ], @@ -450,9 +494,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz", - "integrity": "sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", + "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", "cpu": [ "x64" ], @@ -493,6 +537,15 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@radix-ui/number": { "version": "1.0.1", "license": "MIT", @@ -2412,8 +2465,9 @@ "license": "MIT" }, "node_modules/@swc/helpers": { - "version": "0.5.1", - "license": "Apache-2.0", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", + "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==", "dependencies": { "tslib": "^2.4.0" } @@ -3228,7 +3282,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001534", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -3242,8 +3298,7 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ], - "license": "CC-BY-4.0" + ] }, "node_modules/chalk": { "version": "4.1.2", @@ -3770,6 +3825,11 @@ "node": ">=6.0.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/electron-to-chromium": { "version": "1.4.520", "license": "ISC" @@ -4008,17 +4068,18 @@ } }, "node_modules/eslint-config-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.4.tgz", + "integrity": "sha512-cihIahbhYAWwXJwZkAaRPpUi5t9aOi/HdfWXOjZeUOqNWXHD8X22kd1KG58Dc3MVaRx3HoR/oMGk2ltcrqDn8g==", "dependencies": { - "@next/eslint-plugin-next": "13.4.19", - "@rushstack/eslint-patch": "^1.1.3", + "@next/eslint-plugin-next": "14.1.4", + "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.31.7", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" }, "peerDependencies": { @@ -4436,6 +4497,21 @@ "is-callable": "^1.1.3" } }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/fraction.js": { "version": "4.3.6", "license": "MIT", @@ -4534,18 +4610,21 @@ } }, "node_modules/glob": { - "version": "7.1.7", - "license": "ISC", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4565,14 +4644,26 @@ "version": "0.4.1", "license": "BSD-2-Clause" }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/globals": { @@ -4884,6 +4975,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-generator-function": { "version": "1.0.10", "license": "MIT", @@ -5075,6 +5174,23 @@ "jabber": "build/bin/index.js" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jiti": { "version": "1.20.0", "license": "MIT", @@ -5294,6 +5410,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/ms": { "version": "2.1.2", "license": "MIT" @@ -5328,34 +5452,34 @@ "license": "MIT" }, "node_modules/next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/next/-/next-14.1.4.tgz", + "integrity": "sha512-1WTaXeSrUwlz/XcnhGTY7+8eiaFvdet5z9u3V2jb+Ek1vFo0VhHKSAIJvDWfQpttWjnyw14kBeq28TPq7bTeEQ==", "dependencies": { - "@next/env": "13.4.19", - "@swc/helpers": "0.5.1", + "@next/env": "14.1.4", + "@swc/helpers": "0.5.2", "busboy": "1.6.0", - "caniuse-lite": "^1.0.30001406", - "postcss": "8.4.14", - "styled-jsx": "5.1.1", - "watchpack": "2.4.0", - "zod": "3.21.4" + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" }, "bin": { "next": "dist/bin/next" }, "engines": { - "node": ">=16.8.0" + "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "13.4.19", - "@next/swc-darwin-x64": "13.4.19", - "@next/swc-linux-arm64-gnu": "13.4.19", - "@next/swc-linux-arm64-musl": "13.4.19", - "@next/swc-linux-x64-gnu": "13.4.19", - "@next/swc-linux-x64-musl": "13.4.19", - "@next/swc-win32-arm64-msvc": "13.4.19", - "@next/swc-win32-ia32-msvc": "13.4.19", - "@next/swc-win32-x64-msvc": "13.4.19" + "@next/swc-darwin-arm64": "14.1.4", + "@next/swc-darwin-x64": "14.1.4", + "@next/swc-linux-arm64-gnu": "14.1.4", + "@next/swc-linux-arm64-musl": "14.1.4", + "@next/swc-linux-x64-gnu": "14.1.4", + "@next/swc-linux-x64-musl": "14.1.4", + "@next/swc-win32-arm64-msvc": "14.1.4", + "@next/swc-win32-ia32-msvc": "14.1.4", + "@next/swc-win32-x64-msvc": "14.1.4" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -5373,7 +5497,9 @@ } }, "node_modules/next/node_modules/postcss": { - "version": "8.4.14", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -5382,11 +5508,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -5394,13 +5523,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/next/node_modules/zod": { - "version": "3.21.4", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -5812,6 +5934,29 @@ "version": "1.0.7", "license": "MIT" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-type": { "version": "4.0.0", "license": "MIT", @@ -6407,6 +6552,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/slash": { "version": "3.0.0", "license": "MIT", @@ -6459,6 +6615,66 @@ "node": ">=10.0.0" } }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/string.prototype.matchall": { "version": "4.0.10", "license": "MIT", @@ -6543,6 +6759,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "license": "MIT", @@ -6619,16 +6847,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/sucrase/node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -6977,17 +7195,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "node_modules/watchpack": { - "version": "2.4.0", - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/webidl-conversions": { "version": "3.0.1", "license": "BSD-2-Clause" @@ -7081,6 +7288,93 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "license": "ISC" diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index 4b4aa48..4fc7172 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -52,9 +52,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", diff --git a/template-nextjs-lucia-shadcn/package-lock.json b/template-nextjs-lucia-shadcn/package-lock.json index 5bc0358..34b7573 100644 --- a/template-nextjs-lucia-shadcn/package-lock.json +++ b/template-nextjs-lucia-shadcn/package-lock.json @@ -48,9 +48,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", @@ -244,6 +244,47 @@ "version": "1.2.1", "license": "BSD-3-Clause" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "license": "MIT", @@ -283,22 +324,25 @@ } }, "node_modules/@next/env": { - "version": "13.4.19", - "license": "MIT" + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.4.tgz", + "integrity": "sha512-e7X7bbn3Z6DWnDi75UWn+REgAbLEqxI8Tq2pkFOFAMpWAWApz/YCUhtWMWn410h8Q2fYiYL7Yg5OlxMOCfFjJQ==" }, "node_modules/@next/eslint-plugin-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.4.tgz", + "integrity": "sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==", "dependencies": { - "glob": "7.1.7" + "glob": "10.3.10" } }, "node_modules/@next/swc-darwin-arm64": { - "version": "13.4.19", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.4.tgz", + "integrity": "sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -308,9 +352,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz", - "integrity": "sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", + "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", "cpu": [ "x64" ], @@ -323,9 +367,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz", - "integrity": "sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", + "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", "cpu": [ "arm64" ], @@ -338,9 +382,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz", - "integrity": "sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", + "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", "cpu": [ "arm64" ], @@ -353,9 +397,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz", - "integrity": "sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", + "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", "cpu": [ "x64" ], @@ -368,9 +412,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz", - "integrity": "sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", + "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", "cpu": [ "x64" ], @@ -383,9 +427,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz", - "integrity": "sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", + "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", "cpu": [ "arm64" ], @@ -398,9 +442,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz", - "integrity": "sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", + "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", "cpu": [ "ia32" ], @@ -413,9 +457,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz", - "integrity": "sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", + "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", "cpu": [ "x64" ], @@ -456,6 +500,15 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@radix-ui/number": { "version": "1.0.1", "license": "MIT", @@ -2375,8 +2428,9 @@ "license": "MIT" }, "node_modules/@swc/helpers": { - "version": "0.5.1", - "license": "Apache-2.0", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", + "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==", "dependencies": { "tslib": "^2.4.0" } @@ -3191,7 +3245,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001534", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -3205,8 +3261,7 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ], - "license": "CC-BY-4.0" + ] }, "node_modules/chalk": { "version": "4.1.2", @@ -3733,6 +3788,11 @@ "node": ">=6.0.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/electron-to-chromium": { "version": "1.4.520", "license": "ISC" @@ -3971,17 +4031,18 @@ } }, "node_modules/eslint-config-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.4.tgz", + "integrity": "sha512-cihIahbhYAWwXJwZkAaRPpUi5t9aOi/HdfWXOjZeUOqNWXHD8X22kd1KG58Dc3MVaRx3HoR/oMGk2ltcrqDn8g==", "dependencies": { - "@next/eslint-plugin-next": "13.4.19", - "@rushstack/eslint-patch": "^1.1.3", + "@next/eslint-plugin-next": "14.1.4", + "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.31.7", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" }, "peerDependencies": { @@ -4399,6 +4460,21 @@ "is-callable": "^1.1.3" } }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/fraction.js": { "version": "4.3.6", "license": "MIT", @@ -4497,18 +4573,21 @@ } }, "node_modules/glob": { - "version": "7.1.7", - "license": "ISC", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4524,18 +4603,26 @@ "node": ">=10.13.0" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "license": "BSD-2-Clause" + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } }, "node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/globals": { @@ -4847,6 +4934,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-generator-function": { "version": "1.0.10", "license": "MIT", @@ -5038,6 +5133,23 @@ "jabber": "build/bin/index.js" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jiti": { "version": "1.20.0", "license": "MIT", @@ -5254,6 +5366,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/ms": { "version": "2.1.2", "license": "MIT" @@ -5288,34 +5408,34 @@ "license": "MIT" }, "node_modules/next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/next/-/next-14.1.4.tgz", + "integrity": "sha512-1WTaXeSrUwlz/XcnhGTY7+8eiaFvdet5z9u3V2jb+Ek1vFo0VhHKSAIJvDWfQpttWjnyw14kBeq28TPq7bTeEQ==", "dependencies": { - "@next/env": "13.4.19", - "@swc/helpers": "0.5.1", + "@next/env": "14.1.4", + "@swc/helpers": "0.5.2", "busboy": "1.6.0", - "caniuse-lite": "^1.0.30001406", - "postcss": "8.4.14", - "styled-jsx": "5.1.1", - "watchpack": "2.4.0", - "zod": "3.21.4" + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" }, "bin": { "next": "dist/bin/next" }, "engines": { - "node": ">=16.8.0" + "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "13.4.19", - "@next/swc-darwin-x64": "13.4.19", - "@next/swc-linux-arm64-gnu": "13.4.19", - "@next/swc-linux-arm64-musl": "13.4.19", - "@next/swc-linux-x64-gnu": "13.4.19", - "@next/swc-linux-x64-musl": "13.4.19", - "@next/swc-win32-arm64-msvc": "13.4.19", - "@next/swc-win32-ia32-msvc": "13.4.19", - "@next/swc-win32-x64-msvc": "13.4.19" + "@next/swc-darwin-arm64": "14.1.4", + "@next/swc-darwin-x64": "14.1.4", + "@next/swc-linux-arm64-gnu": "14.1.4", + "@next/swc-linux-arm64-musl": "14.1.4", + "@next/swc-linux-x64-gnu": "14.1.4", + "@next/swc-linux-x64-musl": "14.1.4", + "@next/swc-win32-arm64-msvc": "14.1.4", + "@next/swc-win32-ia32-msvc": "14.1.4", + "@next/swc-win32-x64-msvc": "14.1.4" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -5333,7 +5453,9 @@ } }, "node_modules/next/node_modules/postcss": { - "version": "8.4.14", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -5342,11 +5464,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -5354,13 +5479,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/next/node_modules/zod": { - "version": "3.21.4", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -5772,6 +5890,29 @@ "version": "1.0.7", "license": "MIT" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-type": { "version": "4.0.0", "license": "MIT", @@ -6367,6 +6508,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/slash": { "version": "3.0.0", "license": "MIT", @@ -6419,6 +6571,66 @@ "node": ">=10.0.0" } }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/string.prototype.matchall": { "version": "4.0.10", "license": "MIT", @@ -6503,6 +6715,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "license": "MIT", @@ -6579,16 +6803,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/sucrase/node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -6918,17 +7132,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "node_modules/watchpack": { - "version": "2.4.0", - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/webidl-conversions": { "version": "3.0.1", "license": "BSD-2-Clause" @@ -7022,6 +7225,93 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "license": "ISC" diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index 2ab4ed9..c4eaa24 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -52,9 +52,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", diff --git a/template-nextjs-shadcn/package-lock.json b/template-nextjs-shadcn/package-lock.json index 5fefb74..69837ca 100644 --- a/template-nextjs-shadcn/package-lock.json +++ b/template-nextjs-shadcn/package-lock.json @@ -47,9 +47,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", @@ -230,6 +230,47 @@ "version": "1.2.1", "license": "BSD-3-Clause" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "license": "MIT", @@ -269,22 +310,25 @@ } }, "node_modules/@next/env": { - "version": "13.4.19", - "license": "MIT" + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.4.tgz", + "integrity": "sha512-e7X7bbn3Z6DWnDi75UWn+REgAbLEqxI8Tq2pkFOFAMpWAWApz/YCUhtWMWn410h8Q2fYiYL7Yg5OlxMOCfFjJQ==" }, "node_modules/@next/eslint-plugin-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.4.tgz", + "integrity": "sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==", "dependencies": { - "glob": "7.1.7" + "glob": "10.3.10" } }, "node_modules/@next/swc-darwin-arm64": { - "version": "13.4.19", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.4.tgz", + "integrity": "sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -294,9 +338,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz", - "integrity": "sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", + "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", "cpu": [ "x64" ], @@ -309,9 +353,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz", - "integrity": "sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", + "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", "cpu": [ "arm64" ], @@ -324,9 +368,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz", - "integrity": "sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", + "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", "cpu": [ "arm64" ], @@ -339,9 +383,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz", - "integrity": "sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", + "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", "cpu": [ "x64" ], @@ -354,9 +398,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz", - "integrity": "sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", + "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", "cpu": [ "x64" ], @@ -369,9 +413,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz", - "integrity": "sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", + "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", "cpu": [ "arm64" ], @@ -384,9 +428,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz", - "integrity": "sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", + "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", "cpu": [ "ia32" ], @@ -399,9 +443,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.4.19", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz", - "integrity": "sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", + "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", "cpu": [ "x64" ], @@ -442,6 +486,15 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@radix-ui/number": { "version": "1.0.1", "license": "MIT", @@ -2361,8 +2414,9 @@ "license": "MIT" }, "node_modules/@swc/helpers": { - "version": "0.5.1", - "license": "Apache-2.0", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", + "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==", "dependencies": { "tslib": "^2.4.0" } @@ -3177,7 +3231,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001534", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -3191,8 +3247,7 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ], - "license": "CC-BY-4.0" + ] }, "node_modules/chalk": { "version": "4.1.2", @@ -3719,6 +3774,11 @@ "node": ">=6.0.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/electron-to-chromium": { "version": "1.4.520", "license": "ISC" @@ -3957,17 +4017,18 @@ } }, "node_modules/eslint-config-next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.4.tgz", + "integrity": "sha512-cihIahbhYAWwXJwZkAaRPpUi5t9aOi/HdfWXOjZeUOqNWXHD8X22kd1KG58Dc3MVaRx3HoR/oMGk2ltcrqDn8g==", "dependencies": { - "@next/eslint-plugin-next": "13.4.19", - "@rushstack/eslint-patch": "^1.1.3", + "@next/eslint-plugin-next": "14.1.4", + "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsx-a11y": "^6.5.1", - "eslint-plugin-react": "^7.31.7", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" }, "peerDependencies": { @@ -4385,6 +4446,21 @@ "is-callable": "^1.1.3" } }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/fraction.js": { "version": "4.3.6", "license": "MIT", @@ -4483,18 +4559,21 @@ } }, "node_modules/glob": { - "version": "7.1.7", - "license": "ISC", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -4510,18 +4589,26 @@ "node": ">=10.13.0" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "license": "BSD-2-Clause" + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } }, "node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/globals": { @@ -4833,6 +4920,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-generator-function": { "version": "1.0.10", "license": "MIT", @@ -5024,6 +5119,23 @@ "jabber": "build/bin/index.js" } }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jiti": { "version": "1.20.0", "license": "MIT", @@ -5235,6 +5347,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/ms": { "version": "2.1.2", "license": "MIT" @@ -5269,34 +5389,34 @@ "license": "MIT" }, "node_modules/next": { - "version": "13.4.19", - "license": "MIT", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/next/-/next-14.1.4.tgz", + "integrity": "sha512-1WTaXeSrUwlz/XcnhGTY7+8eiaFvdet5z9u3V2jb+Ek1vFo0VhHKSAIJvDWfQpttWjnyw14kBeq28TPq7bTeEQ==", "dependencies": { - "@next/env": "13.4.19", - "@swc/helpers": "0.5.1", + "@next/env": "14.1.4", + "@swc/helpers": "0.5.2", "busboy": "1.6.0", - "caniuse-lite": "^1.0.30001406", - "postcss": "8.4.14", - "styled-jsx": "5.1.1", - "watchpack": "2.4.0", - "zod": "3.21.4" + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" }, "bin": { "next": "dist/bin/next" }, "engines": { - "node": ">=16.8.0" + "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "13.4.19", - "@next/swc-darwin-x64": "13.4.19", - "@next/swc-linux-arm64-gnu": "13.4.19", - "@next/swc-linux-arm64-musl": "13.4.19", - "@next/swc-linux-x64-gnu": "13.4.19", - "@next/swc-linux-x64-musl": "13.4.19", - "@next/swc-win32-arm64-msvc": "13.4.19", - "@next/swc-win32-ia32-msvc": "13.4.19", - "@next/swc-win32-x64-msvc": "13.4.19" + "@next/swc-darwin-arm64": "14.1.4", + "@next/swc-darwin-x64": "14.1.4", + "@next/swc-linux-arm64-gnu": "14.1.4", + "@next/swc-linux-arm64-musl": "14.1.4", + "@next/swc-linux-x64-gnu": "14.1.4", + "@next/swc-linux-x64-musl": "14.1.4", + "@next/swc-win32-arm64-msvc": "14.1.4", + "@next/swc-win32-ia32-msvc": "14.1.4", + "@next/swc-win32-x64-msvc": "14.1.4" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -5314,7 +5434,9 @@ } }, "node_modules/next/node_modules/postcss": { - "version": "8.4.14", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "funding": [ { "type": "opencollective", @@ -5323,11 +5445,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -5335,13 +5460,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/next/node_modules/zod": { - "version": "3.21.4", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -5753,6 +5871,29 @@ "version": "1.0.7", "license": "MIT" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-type": { "version": "4.0.0", "license": "MIT", @@ -6348,6 +6489,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/slash": { "version": "3.0.0", "license": "MIT", @@ -6400,6 +6552,66 @@ "node": ">=10.0.0" } }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/string.prototype.matchall": { "version": "4.0.10", "license": "MIT", @@ -6484,6 +6696,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-bom": { "version": "3.0.0", "license": "MIT", @@ -6560,16 +6784,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/sucrase/node_modules/glob/node_modules/minimatch": { - "version": "3.0.8", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -6899,17 +7113,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "node_modules/watchpack": { - "version": "2.4.0", - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/webidl-conversions": { "version": "3.0.1", "license": "BSD-2-Clause" @@ -7003,6 +7206,93 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "license": "ISC" diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index f5df97e..e82d94a 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -51,9 +51,9 @@ "convex": "^1.10.0", "date-fns": "^2.30.0", "eslint": "8.49.0", - "eslint-config-next": "13.4.19", + "eslint-config-next": "^14.1.4", "jabber": "^1.5.3", - "next": "13.4.19", + "next": "^14.1.4", "postcss": "8.4.29", "react": "18.2.0", "react-day-picker": "^8.9.1", From c435bdff731926498f5e9ff5613ed2c5d34bf557 Mon Sep 17 00:00:00 2001 From: Ian Macartney Date: Fri, 26 Apr 2024 07:13:58 -0700 Subject: [PATCH 018/218] readme update --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index eb063a4..d5a0c94 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Check out the `create-convex` command [README](./create-convex/README.md). -# What is Convex? +# 🧑‍🏫 What is Convex? [Convex](https://convex.dev) is a hosted backend platform with a built-in database that lets you write your @@ -15,15 +15,16 @@ built-in database that lets you write your [cache](https://docs.convex.dev/functions/query-functions#caching--reactivity) and [subscribe](https://docs.convex.dev/client/react#reactivity) to data, powering a [realtime `useQuery` hook](https://docs.convex.dev/client/react#fetching-data) in our -[React client](https://docs.convex.dev/client/react). There are also +[React client](https://docs.convex.dev/client/react). There are also clients for [Python](https://docs.convex.dev/client/python), [Rust](https://docs.convex.dev/client/rust), [ReactNative](https://docs.convex.dev/client/react-native), and -[Node](https://docs.convex.dev/client/javascript) clients, as well as a straightforward -[HTTP API](https://github.com/get-convex/convex-js/blob/main/src/browser/http_client.ts#L40). +[Node](https://docs.convex.dev/client/javascript), as well as a straightforward +[HTTP API](https://docs.convex.dev/http-api/). The database supports [NoSQL-style documents](https://docs.convex.dev/database/document-storage) with +[opt-in schema validation](https://docs.convex.dev/database/schemas), [relationships](https://docs.convex.dev/database/document-ids) and [custom indexes](https://docs.convex.dev/database/indexes/) (including on fields in nested objects). @@ -52,8 +53,11 @@ Functions can run in the background via Development is cloud-first, with [hot reloads for server function](https://docs.convex.dev/cli#run-the-convex-dev-server) editing via the -[CLI](https://docs.convex.dev/cli). There is a -[dashbord UI](https://docs.convex.dev/dashboard) to +[CLI](https://docs.convex.dev/cli), +[preview deployments](https://docs.convex.dev/production/hosting/preview-deployments), +[logging and exception reporting integrations](https://docs.convex.dev/production/integrations/), +There is a +[dashboard UI](https://docs.convex.dev/dashboard) to [browse and edit data](https://docs.convex.dev/dashboard/deployments/data), [edit environment variables](https://docs.convex.dev/production/environment-variables), [view logs](https://docs.convex.dev/dashboard/deployments/logs), @@ -62,10 +66,12 @@ Development is cloud-first, with There are built-in features for [reactive pagination](https://docs.convex.dev/database/pagination), [file storage](https://docs.convex.dev/file-storage), -[reactive search](https://docs.convex.dev/text-search), +[reactive text search](https://docs.convex.dev/text-search), +[vector search](https://docs.convex.dev/vector-search), [https endpoints](https://docs.convex.dev/functions/http-actions) (for webhooks), -[streaming import/export](https://docs.convex.dev/database/import-export/), and -[runtime data validation](https://docs.convex.dev/database/schemas#validators) for +[snapshot import/export](https://docs.convex.dev/database/import-export/), +[streaming import/export](https://docs.convex.dev/production/integrations/streaming-import-export), and +[runtime validation](https://docs.convex.dev/database/schemas#validators) for [function arguments](https://docs.convex.dev/functions/args-validation) and [database data](https://docs.convex.dev/database/schemas#schema-validation). From 6310f0acff7e95cb0c940345df6e64f2a3227f24 Mon Sep 17 00:00:00 2001 From: Indrajit Khare Date: Sat, 27 Apr 2024 17:01:52 -0700 Subject: [PATCH 019/218] Update README.md Fix clerk env variable in readme --- template-nextjs-clerk-shadcn/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-nextjs-clerk-shadcn/README.md b/template-nextjs-clerk-shadcn/README.md index e3bb270..1202774 100644 --- a/template-nextjs-clerk-shadcn/README.md +++ b/template-nextjs-clerk-shadcn/README.md @@ -16,6 +16,6 @@ Then: 1. Follow steps 1 to 3 in the [Clerk onboarding guide](https://docs.convex.dev/auth/clerk#get-started) 2. Paste the Issuer URL as `CLERK_JWT_ISSUER_DOMAIN` to your dev deployment environment variable settings on the Convex dashboard (see [docs](https://docs.convex.dev/auth/clerk#configuring-dev-and-prod-instances)) -3. Paste your publishable key as `VITE_CLERK_PUBLISHABLE_KEY=""` to the `.env.local` file in this directory. +3. Paste your publishable key as `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""` to the `.env.local` file in this directory. If you want to sync Clerk user data via webhooks, check out this [example repo](https://github.com/thomasballinger/convex-clerk-users-table/). From 62ce55334216b2e825b039f3456538f945158e14 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 10 May 2024 16:04:09 +0200 Subject: [PATCH 020/218] Dont ignore directories with just .git in them --- create-convex/src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index ed6c2cf..b972ded 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -59,7 +59,7 @@ const AUTH: { name: string; display: string; frameworks?: string[] }[] = [ function authOptions(framework: Framework) { return AUTH.filter( ({ frameworks }) => - frameworks === undefined || frameworks.includes(framework.name) + frameworks === undefined || frameworks.includes(framework.name), ); } @@ -144,7 +144,7 @@ async function init() { throw new Error( red("✖") + " Follow one of the quickstarts at " + - bold("https://docs.convex.dev/quickstarts") + bold("https://docs.convex.dev/quickstarts"), ); } @@ -166,7 +166,7 @@ async function init() { onCancel: () => { throw new Error(red("✖") + " Operation cancelled"); }, - } + }, ); } catch (cancelled: any) { console.log(cancelled.message); @@ -229,7 +229,7 @@ async function init() { }; const pkg = JSON.parse( - fs.readFileSync(path.join(root, `package.json`), "utf-8") + fs.readFileSync(path.join(root, `package.json`), "utf-8"), ); pkg.name = packageName || getProjectName(); @@ -250,7 +250,7 @@ async function init() { console.log( ` cd ${ cdProjectName.includes(" ") ? `"${cdProjectName}"` : cdProjectName - }` + }`, ); } console.log(` npm run dev`); @@ -298,7 +298,7 @@ function copy(src: string, dest: string) { function isValidPackageName(projectName: string) { return /^(?:@[a-z\d\-*~][a-z\d\-*._~]*\/)?[a-z\d\-~][a-z\d\-._~]*$/.test( - projectName + projectName, ); } @@ -322,7 +322,7 @@ function copyDir(srcDir: string, destDir: string) { function isEmpty(path: string) { const files = fs.readdirSync(path); - return files.length === 0 || (files.length === 1 && files[0] === ".git"); + return files.length === 0; } function emptyDir(dir: string) { From 6cee48205b00d124844af353d8d4a5d7512d1835 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 10 May 2024 16:04:18 +0200 Subject: [PATCH 021/218] Bump version --- create-convex/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-convex/package.json b/create-convex/package.json index 28db233..ec3f784 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.8", + "version": "0.0.9", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From a867f79f512b8962c5886790011d22e66183f63d Mon Sep 17 00:00:00 2001 From: Sarah Shader Date: Wed, 15 May 2024 12:49:30 -0400 Subject: [PATCH 022/218] Update to convex 1.12 (#6) --- create-convex/package-lock.json | 2096 ++++++++++++----- template-bare/convex/_generated/api.d.ts | 2 +- template-bare/convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- template-bare/convex/_generated/server.d.ts | 2 +- template-bare/convex/_generated/server.js | 2 +- template-bare/package-lock.json | 342 +-- template-bare/package.json | 2 +- .../convex/_generated/api.d.ts | 2 +- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- .../package-lock.json | 147 +- template-nextjs-clerk-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 2 +- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- .../package-lock.json | 157 +- template-nextjs-lucia-shadcn/package.json | 4 +- .../convex/_generated/api.d.ts | 2 +- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-nextjs-shadcn/package-lock.json | 147 +- template-nextjs-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 2 +- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- .../package-lock.json | 678 +----- template-react-vite-clerk-shadcn/package.json | 2 +- .../convex/_generated/api.d.ts | 2 +- .../convex/_generated/api.js | 2 +- .../convex/_generated/dataModel.d.ts | 2 +- .../convex/_generated/server.d.ts | 2 +- .../convex/_generated/server.js | 2 +- template-react-vite-shadcn/package-lock.json | 678 +----- template-react-vite-shadcn/package.json | 2 +- 43 files changed, 1734 insertions(+), 2585 deletions(-) diff --git a/create-convex/package-lock.json b/create-convex/package-lock.json index 46b37b1..dc1cd90 100644 --- a/create-convex/package-lock.json +++ b/create-convex/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-convex", - "version": "0.0.2", + "version": "0.0.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-convex", - "version": "0.0.2", + "version": "0.0.9", "license": "Apache-2.0", "dependencies": { "degit": "^2.8.4" @@ -30,70 +30,56 @@ } }, "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", + "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.2", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/compat-data": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.20.tgz", - "integrity": "sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz", + "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.0.tgz", - "integrity": "sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.5.tgz", + "integrity": "sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helpers": "^7.23.0", - "@babel/parser": "^7.23.0", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.0", - "@babel/types": "^7.23.0", + "@babel/code-frame": "^7.24.2", + "@babel/generator": "^7.24.5", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-module-transforms": "^7.24.5", + "@babel/helpers": "^7.24.5", + "@babel/parser": "^7.24.5", + "@babel/template": "^7.24.0", + "@babel/traverse": "^7.24.5", + "@babel/types": "^7.24.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -108,15 +94,24 @@ "url": "https://opencollective.com/babel" } }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.5.tgz", + "integrity": "sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==", "dev": true, "dependencies": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.24.5", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { @@ -124,14 +119,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -139,6 +134,15 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", @@ -174,28 +178,28 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", + "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", "dev": true, "dependencies": { - "@babel/types": "^7.22.15" + "@babel/types": "^7.24.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.5.tgz", + "integrity": "sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-module-imports": "^7.24.3", + "@babel/helper-simple-access": "^7.24.5", + "@babel/helper-split-export-declaration": "^7.24.5", + "@babel/helper-validator-identifier": "^7.24.5" }, "engines": { "node": ">=6.9.0" @@ -205,79 +209,80 @@ } }, "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.5.tgz", + "integrity": "sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.5.tgz", + "integrity": "sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", + "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", + "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", - "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", + "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.23.1", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.1.tgz", - "integrity": "sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.5.tgz", + "integrity": "sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==", "dev": true, "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.0", - "@babel/types": "^7.23.0" + "@babel/template": "^7.24.0", + "@babel/traverse": "^7.24.5", + "@babel/types": "^7.24.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz", + "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.5", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -298,9 +303,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", + "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -310,43 +315,43 @@ } }, "node_modules/@babel/standalone": { - "version": "7.23.1", - "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.23.1.tgz", - "integrity": "sha512-a4muOYz1qUaSoybuUKwK90mRG4sf5rBeUbuzpuGLzG32ZDE/Y2YEebHDODFJN+BtyOKi19hrLfq2qbNyKMx0TA==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.24.5.tgz", + "integrity": "sha512-Sl8oN9bGfRlNUA2jzfzoHEZxFBDliBlwi5mPVCAWKSlBNkXXJOHpu7SDOqjF6mRoTa6GNX/1kAWG3Tr+YQ3N7A==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz", + "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.24.0", + "@babel/types": "^7.24.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.0.tgz", - "integrity": "sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.5.tgz", + "integrity": "sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", + "@babel/code-frame": "^7.24.2", + "@babel/generator": "^7.24.5", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", + "@babel/helper-split-export-declaration": "^7.24.5", + "@babel/parser": "^7.24.5", + "@babel/types": "^7.24.5", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -354,23 +359,39 @@ } }, "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.5.tgz", + "integrity": "sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.1", + "@babel/helper-validator-identifier": "^7.24.5", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", + "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/android-arm": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.4.tgz", - "integrity": "sha512-uBIbiYMeSsy2U0XQoOGVVcpIktjLMEKa7ryz2RLr7L/vTnANNEsPVAh4xOv7ondGz6ac1zVb0F8Jx20rQikffQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", + "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", "cpu": [ "arm" ], @@ -384,9 +405,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.4.tgz", - "integrity": "sha512-mRsi2vJsk4Bx/AFsNBqOH2fqedxn5L/moT58xgg51DjX1la64Z3Npicut2VbhvDFO26qjWtPMsVxCd80YTFVeg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", + "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", "cpu": [ "arm64" ], @@ -400,9 +421,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.4.tgz", - "integrity": "sha512-4iPufZ1TMOD3oBlGFqHXBpa3KFT46aLl6Vy7gwed0ZSYgHaZ/mihbYb4t7Z9etjkC9Al3ZYIoOaHrU60gcMy7g==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", + "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", "cpu": [ "x64" ], @@ -416,9 +437,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.4.tgz", - "integrity": "sha512-Lviw8EzxsVQKpbS+rSt6/6zjn9ashUZ7Tbuvc2YENgRl0yZTktGlachZ9KMJUsVjZEGFVu336kl5lBgDN6PmpA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", + "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", "cpu": [ "arm64" ], @@ -432,9 +453,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.4.tgz", - "integrity": "sha512-YHbSFlLgDwglFn0lAO3Zsdrife9jcQXQhgRp77YiTDja23FrC2uwnhXMNkAucthsf+Psr7sTwYEryxz6FPAVqw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", + "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", "cpu": [ "x64" ], @@ -448,9 +469,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.4.tgz", - "integrity": "sha512-vz59ijyrTG22Hshaj620e5yhs2dU1WJy723ofc+KUgxVCM6zxQESmWdMuVmUzxtGqtj5heHyB44PjV/HKsEmuQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", + "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", "cpu": [ "arm64" ], @@ -464,9 +485,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.4.tgz", - "integrity": "sha512-3sRbQ6W5kAiVQRBWREGJNd1YE7OgzS0AmOGjDmX/qZZecq8NFlQsQH0IfXjjmD0XtUYqr64e0EKNFjMUlPL3Cw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", + "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", "cpu": [ "x64" ], @@ -480,9 +501,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.4.tgz", - "integrity": "sha512-z/4ArqOo9EImzTi4b6Vq+pthLnepFzJ92BnofU1jgNlcVb+UqynVFdoXMCFreTK7FdhqAzH0vmdwW5373Hm9pg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", + "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", "cpu": [ "arm" ], @@ -496,9 +517,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.4.tgz", - "integrity": "sha512-ZWmWORaPbsPwmyu7eIEATFlaqm0QGt+joRE9sKcnVUG3oBbr/KYdNE2TnkzdQwX6EDRdg/x8Q4EZQTXoClUqqA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", + "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", "cpu": [ "arm64" ], @@ -512,9 +533,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.4.tgz", - "integrity": "sha512-EGc4vYM7i1GRUIMqRZNCTzJh25MHePYsnQfKDexD8uPTCm9mK56NIL04LUfX2aaJ+C9vyEp2fJ7jbqFEYgO9lQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", + "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", "cpu": [ "ia32" ], @@ -528,9 +549,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.4.tgz", - "integrity": "sha512-WVhIKO26kmm8lPmNrUikxSpXcgd6HDog0cx12BUfA2PkmURHSgx9G6vA19lrlQOMw+UjMZ+l3PpbtzffCxFDRg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", + "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", "cpu": [ "loong64" ], @@ -544,9 +565,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.4.tgz", - "integrity": "sha512-keYY+Hlj5w86hNp5JJPuZNbvW4jql7c1eXdBUHIJGTeN/+0QFutU3GrS+c27L+NTmzi73yhtojHk+lr2+502Mw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", + "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", "cpu": [ "mips64el" ], @@ -560,9 +581,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.4.tgz", - "integrity": "sha512-tQ92n0WMXyEsCH4m32S21fND8VxNiVazUbU4IUGVXQpWiaAxOBvtOtbEt3cXIV3GEBydYsY8pyeRMJx9kn3rvw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", + "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", "cpu": [ "ppc64" ], @@ -576,9 +597,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.4.tgz", - "integrity": "sha512-tRRBey6fG9tqGH6V75xH3lFPpj9E8BH+N+zjSUCnFOX93kEzqS0WdyJHkta/mmJHn7MBaa++9P4ARiU4ykjhig==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", + "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", "cpu": [ "riscv64" ], @@ -592,9 +613,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.4.tgz", - "integrity": "sha512-152aLpQqKZYhThiJ+uAM4PcuLCAOxDsCekIbnGzPKVBRUDlgaaAfaUl5NYkB1hgY6WN4sPkejxKlANgVcGl9Qg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", + "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", "cpu": [ "s390x" ], @@ -608,9 +629,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.4.tgz", - "integrity": "sha512-Mi4aNA3rz1BNFtB7aGadMD0MavmzuuXNTaYL6/uiYIs08U7YMPETpgNn5oue3ICr+inKwItOwSsJDYkrE9ekVg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", + "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", "cpu": [ "x64" ], @@ -624,9 +645,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.4.tgz", - "integrity": "sha512-9+Wxx1i5N/CYo505CTT7T+ix4lVzEdz0uCoYGxM5JDVlP2YdDC1Bdz+Khv6IbqmisT0Si928eAxbmGkcbiuM/A==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", + "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", "cpu": [ "x64" ], @@ -640,9 +661,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.4.tgz", - "integrity": "sha512-MFsHleM5/rWRW9EivFssop+OulYVUoVcqkyOkjiynKBCGBj9Lihl7kh9IzrreDyXa4sNkquei5/DTP4uCk25xw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", + "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", "cpu": [ "x64" ], @@ -656,9 +677,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.4.tgz", - "integrity": "sha512-6Xq8SpK46yLvrGxjp6HftkDwPP49puU4OF0hEL4dTxqCbfx09LyrbUj/D7tmIRMj5D5FCUPksBbxyQhp8tmHzw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", + "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", "cpu": [ "x64" ], @@ -672,9 +693,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.4.tgz", - "integrity": "sha512-PkIl7Jq4mP6ke7QKwyg4fD4Xvn8PXisagV/+HntWoDEdmerB2LTukRZg728Yd1Fj+LuEX75t/hKXE2Ppk8Hh1w==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", + "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", "cpu": [ "arm64" ], @@ -688,9 +709,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.4.tgz", - "integrity": "sha512-ga676Hnvw7/ycdKB53qPusvsKdwrWzEyJ+AtItHGoARszIqvjffTwaaW3b2L6l90i7MO9i+dlAW415INuRhSGg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", + "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", "cpu": [ "ia32" ], @@ -704,9 +725,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.4.tgz", - "integrity": "sha512-HP0GDNla1T3ZL8Ko/SHAS2GgtjOg+VmWnnYLhuTksr++EnduYB0f3Y2LzHsUwb2iQ13JGoY6G3R8h6Du/WG6uA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", + "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", "cpu": [ "x64" ], @@ -720,32 +741,32 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" @@ -758,9 +779,9 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -803,9 +824,9 @@ } }, "node_modules/@rollup/plugin-alias": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.0.0.tgz", - "integrity": "sha512-l9hY5chSCjuFRPsnRm16twWBiSApl2uYFLsepQYwtBuAxNMQ/1dJqADld40P0Jkqm65GRTLy/AC6hnpVebtLsA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.0.tgz", + "integrity": "sha512-lpA3RZ9PdIG7qqhEfv79tBffNaoDuukFDrmhLqg9ifv99u/ehn+lOg30x2zmhf8AQqQUZaMk/B9fZraQ6/acDQ==", "dev": true, "dependencies": { "slash": "^4.0.0" @@ -814,7 +835,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -823,9 +844,9 @@ } }, "node_modules/@rollup/plugin-commonjs": { - "version": "25.0.4", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.4.tgz", - "integrity": "sha512-L92Vz9WUZXDnlQQl3EwbypJR4+DM2EbsO+/KOcEkP4Mc6Ct453EeDB2uH9lgRwj4w5yflgNpq9pHOiY8aoUXBQ==", + "version": "25.0.7", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.7.tgz", + "integrity": "sha512-nEvcR+LRjEjsaSsc4x3XZfCCvZIaSMenZu/OiwOKGN2UhQpAYI7ru7czFvyWbErlpoGjnSX3D5Ch5FcMA3kRWQ==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -833,13 +854,13 @@ "estree-walker": "^2.0.2", "glob": "^8.0.3", "is-reference": "1.2.1", - "magic-string": "^0.27.0" + "magic-string": "^0.30.3" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^2.68.0||^3.0.0" + "rollup": "^2.68.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -847,31 +868,19 @@ } } }, - "node_modules/@rollup/plugin-commonjs/node_modules/magic-string": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", - "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@rollup/plugin-json": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.0.0.tgz", - "integrity": "sha512-i/4C5Jrdr1XUarRhVu27EEwjt4GObltD7c+MkCIpO2QIbojw8MUs+CCTqOphQi3Qtg1FLmYt+l+6YeoIf51J7w==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz", + "integrity": "sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==", "dev": true, "dependencies": { - "@rollup/pluginutils": "^5.0.1" + "@rollup/pluginutils": "^5.1.0" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -880,9 +889,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.1.tgz", - "integrity": "sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==", + "version": "15.2.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.3.tgz", + "integrity": "sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -896,7 +905,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^2.78.0||^3.0.0" + "rollup": "^2.78.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -905,19 +914,19 @@ } }, "node_modules/@rollup/plugin-replace": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz", - "integrity": "sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-5.0.5.tgz", + "integrity": "sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", - "magic-string": "^0.27.0" + "magic-string": "^0.30.3" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -925,22 +934,10 @@ } } }, - "node_modules/@rollup/plugin-replace/node_modules/magic-string": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", - "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@rollup/pluginutils": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.4.tgz", - "integrity": "sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", "dev": true, "dependencies": { "@types/estree": "^1.0.0", @@ -951,7 +948,7 @@ "node": ">=14.0.0" }, "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "peerDependenciesMeta": { "rollup": { @@ -959,43 +956,67 @@ } } }, + "node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@trysound/sax": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", + "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/@types/cross-spawn": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.3.tgz", - "integrity": "sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/degit": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/@types/degit/-/degit-2.8.4.tgz", - "integrity": "sha512-E9ZPeZwh81/gDPVH4XpvcS4ewH/Ub4XJeM5xYAUP0BexGORIyCRYzSivlGOuGbVc4MH3//+z3h4CbrnMZMeUdA==", + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/@types/degit/-/degit-2.8.6.tgz", + "integrity": "sha512-y0M7sqzsnHB6cvAeTCBPrCQNQiZe8U4qdzf8uBVmOWYap5MMTN/gB2iEqrIqFiYcsyvP74GnGD5tgsHttielFw==", "dev": true }, "node_modules/@types/estree": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.2.tgz", - "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", "dev": true }, "node_modules/@types/minimist": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.3.tgz", - "integrity": "sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==", "dev": true }, "node_modules/@types/node": { - "version": "20.7.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.7.1.tgz", - "integrity": "sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==", - "dev": true + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/prompts": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.5.tgz", - "integrity": "sha512-TvrzGMCwARi2qqXcD7VmvMvfMP3F7JRQpeEHECK0oufRNZInoBqzd8v/1zksKFE5XW8OOGto/5FsDT8lnpvGRA==", + "version": "2.4.9", + "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.9.tgz", + "integrity": "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==", "dev": true, "dependencies": { "@types/node": "*", @@ -1009,9 +1030,9 @@ "dev": true }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1032,12 +1053,55 @@ "node": ">=4" } }, + "node_modules/autoprefixer": { + "version": "10.4.19", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", + "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001599", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -1060,9 +1124,9 @@ } }, "node_modules/browserslist": { - "version": "4.22.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.0.tgz", - "integrity": "sha512-v+Jcv64L2LbfTC6OnRcaxtqJNJuQAVhZKSJfR/6hn7lhnChUXl4amwVviqN1k411BB+3rRoKMitELRn1CojeRA==", + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", "dev": true, "funding": [ { @@ -1079,9 +1143,9 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001539", - "electron-to-chromium": "^1.4.530", - "node-releases": "^2.0.13", + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, "bin": { @@ -1103,10 +1167,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/caniuse-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", + "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", + "dev": true, + "dependencies": { + "browserslist": "^4.0.0", + "caniuse-lite": "^1.0.0", + "lodash.memoize": "^4.1.2", + "lodash.uniq": "^4.5.0" + } + }, "node_modules/caniuse-lite": { - "version": "1.0.30001541", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001541.tgz", - "integrity": "sha512-bLOsqxDgTqUBkzxbNlSBt8annkDpQB9NdzdTbO2ooJ+eC/IQcvDspDc058g84ejCelF7vHUx57KIOjEecOHXaw==", + "version": "1.0.30001618", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001618.tgz", + "integrity": "sha512-p407+D1tIkDvsEAPS22lJxLQQaG8OTBEqo0KhzfABGk0TU4juBNDSfH0hyAp/HRyx+M8L17z/ltyhxh27FTfQg==", "dev": true, "funding": [ { @@ -1136,9 +1212,9 @@ } }, "node_modules/citty": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.4.tgz", - "integrity": "sha512-Q3bK1huLxzQrvj7hImJ7Z1vKYJRPQCDnd0EjXfHMidcjecGOMuLrmuQmtWmFkuKLcMThlGh1yCKG8IEc6VeNXQ==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", + "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", "dev": true, "dependencies": { "consola": "^3.2.3" @@ -1159,12 +1235,33 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, + "node_modules/colord": { + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", + "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==", + "dev": true + }, + "node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true }, + "node_modules/confbox": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.7.tgz", + "integrity": "sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==", + "dev": true + }, "node_modules/consola": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz", @@ -1194,6 +1291,180 @@ "node": ">= 8" } }, + "node_modules/css-declaration-sorter": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-7.2.0.tgz", + "integrity": "sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow==", + "dev": true, + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss": "^8.0.9" + } + }, + "node_modules/css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-tree": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", + "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.30", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssnano": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-7.0.1.tgz", + "integrity": "sha512-917Mej/4SdI7b55atsli3sU4MOJ9XDoKgnlCtQtXYj8XUFcM3riTuYHyqBBnnskawW+zWwp0KxJzpEUodlpqUg==", + "dev": true, + "dependencies": { + "cssnano-preset-default": "^7.0.1", + "lilconfig": "^3.1.1" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/cssnano" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/cssnano-preset-default": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-7.0.1.tgz", + "integrity": "sha512-Fumyr+uZMcjYQeuHssAZxn0cKj3cdQc5GcxkBcmEzISGB+UW9CLNlU4tBOJbJGcPukFDlicG32eFbrc8K9V5pw==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "css-declaration-sorter": "^7.2.0", + "cssnano-utils": "^5.0.0", + "postcss-calc": "^10.0.0", + "postcss-colormin": "^7.0.0", + "postcss-convert-values": "^7.0.0", + "postcss-discard-comments": "^7.0.0", + "postcss-discard-duplicates": "^7.0.0", + "postcss-discard-empty": "^7.0.0", + "postcss-discard-overridden": "^7.0.0", + "postcss-merge-longhand": "^7.0.0", + "postcss-merge-rules": "^7.0.0", + "postcss-minify-font-values": "^7.0.0", + "postcss-minify-gradients": "^7.0.0", + "postcss-minify-params": "^7.0.0", + "postcss-minify-selectors": "^7.0.0", + "postcss-normalize-charset": "^7.0.0", + "postcss-normalize-display-values": "^7.0.0", + "postcss-normalize-positions": "^7.0.0", + "postcss-normalize-repeat-style": "^7.0.0", + "postcss-normalize-string": "^7.0.0", + "postcss-normalize-timing-functions": "^7.0.0", + "postcss-normalize-unicode": "^7.0.0", + "postcss-normalize-url": "^7.0.0", + "postcss-normalize-whitespace": "^7.0.0", + "postcss-ordered-values": "^7.0.0", + "postcss-reduce-initial": "^7.0.0", + "postcss-reduce-transforms": "^7.0.0", + "postcss-svgo": "^7.0.0", + "postcss-unique-selectors": "^7.0.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/cssnano-utils": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-5.0.0.tgz", + "integrity": "sha512-Uij0Xdxc24L6SirFr25MlwC2rCFX6scyUmuKpzI+JQ7cyqDEwD42fJ0xfB3yLfOnRDU5LKGgjQ9FA6LYh76GWQ==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/csso": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", + "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", + "dev": true, + "dependencies": { + "css-tree": "~2.2.0" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso/node_modules/css-tree": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", + "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.28", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso/node_modules/mdn-data": { + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", + "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", + "dev": true + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -1221,9 +1492,9 @@ } }, "node_modules/defu": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.2.tgz", - "integrity": "sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ==", + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", + "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", "dev": true }, "node_modules/degit": { @@ -1249,16 +1520,83 @@ "node": ">=8" } }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dev": true, + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, "node_modules/electron-to-chromium": { - "version": "1.4.534", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.534.tgz", - "integrity": "sha512-ikY7wAMtMt3jTnHsHG0YLl4MKJiKz2tgidenGSNgwUX2StBLNZ8VCxflD9tZK/ceTs4j8gDC9+6LQQ6iGkK04g==", + "version": "1.4.769", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.769.tgz", + "integrity": "sha512-bZu7p623NEA2rHTc9K1vykl57ektSPQYFFqQir8BOYf6EKOB+yIsbFB9Kpm7Cgt6tsLr9sRkqfqSZUw7LP1XxQ==", "dev": true }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/esbuild": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.4.tgz", - "integrity": "sha512-x7jL0tbRRpv4QUyuDMjONtWFciygUxWaUM1kMX2zWxI0X2YWOt7MSA0g4UdeSiHM8fcYVzpQhKYOycZwxTdZkA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", + "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", "dev": true, "hasInstallScript": true, "bin": { @@ -1268,34 +1606,35 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.4", - "@esbuild/android-arm64": "0.19.4", - "@esbuild/android-x64": "0.19.4", - "@esbuild/darwin-arm64": "0.19.4", - "@esbuild/darwin-x64": "0.19.4", - "@esbuild/freebsd-arm64": "0.19.4", - "@esbuild/freebsd-x64": "0.19.4", - "@esbuild/linux-arm": "0.19.4", - "@esbuild/linux-arm64": "0.19.4", - "@esbuild/linux-ia32": "0.19.4", - "@esbuild/linux-loong64": "0.19.4", - "@esbuild/linux-mips64el": "0.19.4", - "@esbuild/linux-ppc64": "0.19.4", - "@esbuild/linux-riscv64": "0.19.4", - "@esbuild/linux-s390x": "0.19.4", - "@esbuild/linux-x64": "0.19.4", - "@esbuild/netbsd-x64": "0.19.4", - "@esbuild/openbsd-x64": "0.19.4", - "@esbuild/sunos-x64": "0.19.4", - "@esbuild/win32-arm64": "0.19.4", - "@esbuild/win32-ia32": "0.19.4", - "@esbuild/win32-x64": "0.19.4" + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -1317,9 +1656,9 @@ "dev": true }, "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", @@ -1333,9 +1672,9 @@ } }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -1353,10 +1692,23 @@ "node": ">=8" } }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, "node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dev": true, "dependencies": { "graceful-fs": "^4.2.0", @@ -1388,10 +1740,13 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/gensync": { "version": "1.0.0-beta.2", @@ -1467,18 +1822,6 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -1488,6 +1831,18 @@ "node": ">=4" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/hookable": { "version": "5.5.3", "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz", @@ -1495,9 +1850,9 @@ "dev": true }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { "node": ">= 4" @@ -1535,12 +1890,12 @@ } }, "node_modules/is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1598,9 +1953,9 @@ "dev": true }, "node_modules/jiti": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz", - "integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", "dev": true, "bin": { "jiti": "bin/jiti.js" @@ -1636,12 +1991,6 @@ "node": ">=6" } }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", @@ -1669,6 +2018,30 @@ "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", "dev": true }, + "node_modules/lilconfig": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", + "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -1679,17 +2052,20 @@ } }, "node_modules/magic-string": { - "version": "0.30.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.3.tgz", - "integrity": "sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw==", + "version": "0.30.10", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.10.tgz", + "integrity": "sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" - }, - "engines": { - "node": ">=12" } }, + "node_modules/mdn-data": { + "version": "2.0.30", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", + "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", + "dev": true + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1734,27 +2110,34 @@ } }, "node_modules/mkdist": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/mkdist/-/mkdist-1.3.0.tgz", - "integrity": "sha512-ZQrUvcL7LkRdzMREpDyg9AT18N9Tl5jc2qeKAUeEw0KGsgykbHbuRvysGAzTuGtwuSg0WQyNit5jh/k+Er3JEg==", - "dev": true, - "dependencies": { - "citty": "^0.1.2", - "defu": "^6.1.2", - "esbuild": "^0.18.14", - "fs-extra": "^11.1.1", - "globby": "^13.2.2", - "jiti": "^1.19.1", - "mlly": "^1.4.0", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/mkdist/-/mkdist-1.5.1.tgz", + "integrity": "sha512-lCu1spNiA52o7IaKgZnOjg28nNHwYqUDjBfXePXyUtzD7Xhe6rRTkGTalQ/ALfrZC/SrPw2+A/0qkeJ+fPDZtQ==", + "dev": true, + "dependencies": { + "autoprefixer": "^10.4.19", + "citty": "^0.1.6", + "cssnano": "^7.0.0", + "defu": "^6.1.4", + "esbuild": "^0.20.2", + "fs-extra": "^11.2.0", + "globby": "^14.0.1", + "jiti": "^1.21.0", + "mlly": "^1.6.1", "mri": "^1.2.0", - "pathe": "^1.1.1" + "pathe": "^1.1.2", + "pkg-types": "^1.1.0", + "postcss": "^8.4.38", + "postcss-nested": "^6.0.1", + "semver": "^7.6.0" }, "bin": { "mkdist": "dist/cli.cjs" }, "peerDependencies": { - "sass": "^1.63.6", - "typescript": ">=5.1.6" + "sass": "^1.75.0", + "typescript": ">=5.4.5", + "vue-tsc": "^1.8.27 || ^2.0.14" }, "peerDependenciesMeta": { "sass": { @@ -1762,13 +2145,32 @@ }, "typescript": { "optional": true + }, + "vue-tsc": { + "optional": true } } }, + "node_modules/mkdist/node_modules/@esbuild/aix-ppc64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", + "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/mkdist/node_modules/@esbuild/android-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", - "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", + "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", "cpu": [ "arm" ], @@ -1782,9 +2184,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/android-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", - "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", + "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", "cpu": [ "arm64" ], @@ -1798,9 +2200,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/android-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", - "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", + "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", "cpu": [ "x64" ], @@ -1814,9 +2216,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/darwin-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", - "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", + "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", "cpu": [ "arm64" ], @@ -1830,9 +2232,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/darwin-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", - "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", + "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", "cpu": [ "x64" ], @@ -1846,9 +2248,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", - "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", + "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", "cpu": [ "arm64" ], @@ -1862,9 +2264,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/freebsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", - "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", + "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", "cpu": [ "x64" ], @@ -1878,9 +2280,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", - "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", + "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", "cpu": [ "arm" ], @@ -1894,9 +2296,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", - "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", + "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", "cpu": [ "arm64" ], @@ -1910,9 +2312,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", - "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", + "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", "cpu": [ "ia32" ], @@ -1926,9 +2328,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-loong64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", - "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", + "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", "cpu": [ "loong64" ], @@ -1942,9 +2344,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-mips64el": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", - "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", + "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", "cpu": [ "mips64el" ], @@ -1958,9 +2360,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-ppc64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", - "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", + "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", "cpu": [ "ppc64" ], @@ -1974,9 +2376,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-riscv64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", - "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", + "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", "cpu": [ "riscv64" ], @@ -1990,9 +2392,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-s390x": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", - "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", + "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", "cpu": [ "s390x" ], @@ -2006,9 +2408,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/linux-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", - "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", + "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", "cpu": [ "x64" ], @@ -2022,9 +2424,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/netbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", - "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", + "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", "cpu": [ "x64" ], @@ -2038,9 +2440,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/openbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", - "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", + "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", "cpu": [ "x64" ], @@ -2054,9 +2456,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/sunos-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", - "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", + "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", "cpu": [ "x64" ], @@ -2070,9 +2472,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/win32-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", - "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", + "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", "cpu": [ "arm64" ], @@ -2086,9 +2488,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/win32-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", - "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", + "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", "cpu": [ "ia32" ], @@ -2102,9 +2504,9 @@ } }, "node_modules/mkdist/node_modules/@esbuild/win32-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", - "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", + "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", "cpu": [ "x64" ], @@ -2118,9 +2520,9 @@ } }, "node_modules/mkdist/node_modules/esbuild": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", - "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", + "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", "dev": true, "hasInstallScript": true, "bin": { @@ -2130,40 +2532,85 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.20", - "@esbuild/android-arm64": "0.18.20", - "@esbuild/android-x64": "0.18.20", - "@esbuild/darwin-arm64": "0.18.20", - "@esbuild/darwin-x64": "0.18.20", - "@esbuild/freebsd-arm64": "0.18.20", - "@esbuild/freebsd-x64": "0.18.20", - "@esbuild/linux-arm": "0.18.20", - "@esbuild/linux-arm64": "0.18.20", - "@esbuild/linux-ia32": "0.18.20", - "@esbuild/linux-loong64": "0.18.20", - "@esbuild/linux-mips64el": "0.18.20", - "@esbuild/linux-ppc64": "0.18.20", - "@esbuild/linux-riscv64": "0.18.20", - "@esbuild/linux-s390x": "0.18.20", - "@esbuild/linux-x64": "0.18.20", - "@esbuild/netbsd-x64": "0.18.20", - "@esbuild/openbsd-x64": "0.18.20", - "@esbuild/sunos-x64": "0.18.20", - "@esbuild/win32-arm64": "0.18.20", - "@esbuild/win32-ia32": "0.18.20", - "@esbuild/win32-x64": "0.18.20" + "@esbuild/aix-ppc64": "0.20.2", + "@esbuild/android-arm": "0.20.2", + "@esbuild/android-arm64": "0.20.2", + "@esbuild/android-x64": "0.20.2", + "@esbuild/darwin-arm64": "0.20.2", + "@esbuild/darwin-x64": "0.20.2", + "@esbuild/freebsd-arm64": "0.20.2", + "@esbuild/freebsd-x64": "0.20.2", + "@esbuild/linux-arm": "0.20.2", + "@esbuild/linux-arm64": "0.20.2", + "@esbuild/linux-ia32": "0.20.2", + "@esbuild/linux-loong64": "0.20.2", + "@esbuild/linux-mips64el": "0.20.2", + "@esbuild/linux-ppc64": "0.20.2", + "@esbuild/linux-riscv64": "0.20.2", + "@esbuild/linux-s390x": "0.20.2", + "@esbuild/linux-x64": "0.20.2", + "@esbuild/netbsd-x64": "0.20.2", + "@esbuild/openbsd-x64": "0.20.2", + "@esbuild/sunos-x64": "0.20.2", + "@esbuild/win32-arm64": "0.20.2", + "@esbuild/win32-ia32": "0.20.2", + "@esbuild/win32-x64": "0.20.2" + } + }, + "node_modules/mkdist/node_modules/globby": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.1.tgz", + "integrity": "sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==", + "dev": true, + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mkdist/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mkdist/node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/mlly": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.2.tgz", - "integrity": "sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.0.tgz", + "integrity": "sha512-U9SDaXGEREBYQgfejV97coK0UL1r+qnF2SyO9A3qcI8MzKnsIFKHNVEkrDyNncQTKQQumsasmeq84eNMdBfsNQ==", "dev": true, "dependencies": { - "acorn": "^8.10.0", - "pathe": "^1.1.1", - "pkg-types": "^1.0.3", - "ufo": "^1.3.0" + "acorn": "^8.11.3", + "pathe": "^1.1.2", + "pkg-types": "^1.1.0", + "ufo": "^1.5.3" } }, "node_modules/mri": { @@ -2181,12 +2628,51 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -2221,15 +2707,15 @@ } }, "node_modules/pathe": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz", - "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", + "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", "dev": true }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -2245,16 +2731,489 @@ } }, "node_modules/pkg-types": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.3.tgz", - "integrity": "sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.1.1.tgz", + "integrity": "sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==", + "dev": true, + "dependencies": { + "confbox": "^0.1.7", + "mlly": "^1.7.0", + "pathe": "^1.1.2" + } + }, + "node_modules/postcss": { + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "dev": true, + "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" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-calc": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-10.0.0.tgz", + "integrity": "sha512-OmjhudoNTP0QleZCwl1i6NeBwN+5MZbY5ersLZz69mjJiDVv/p57RjRuKDkHeDWr4T+S97wQfsqRTNoDHB2e3g==", "dev": true, "dependencies": { - "jsonc-parser": "^3.2.0", - "mlly": "^1.2.0", - "pathe": "^1.1.0" + "postcss-selector-parser": "^6.0.16", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12 || ^20.9 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.38" + } + }, + "node_modules/postcss-colormin": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-7.0.0.tgz", + "integrity": "sha512-5CN6fqtsEtEtwf3mFV3B4UaZnlYljPpzmGeDB4yCK067PnAtfLe9uX2aFZaEwxHE7HopG5rUkW8gyHrNAesHEg==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-api": "^3.0.0", + "colord": "^2.9.3", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-convert-values": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-7.0.0.tgz", + "integrity": "sha512-bMuzDgXBbFbByPgj+/r6va8zNuIDUaIIbvAFgdO1t3zdgJZ77BZvu6dfWyd6gHEJnYzmeVr9ayUsAQL3/qLJ0w==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-discard-comments": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-7.0.0.tgz", + "integrity": "sha512-xpSdzRqYmy4YIVmjfGyYXKaI1SRnK6CTr+4Zmvyof8ANwvgfZgGdVtmgAvzh59gJm808mJCWQC9tFN0KF5dEXA==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-discard-duplicates": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-7.0.0.tgz", + "integrity": "sha512-bAnSuBop5LpAIUmmOSsuvtKAAKREB6BBIYStWUTGq8oG5q9fClDMMuY8i4UPI/cEcDx2TN+7PMnXYIId20UVDw==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-discard-empty": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-7.0.0.tgz", + "integrity": "sha512-e+QzoReTZ8IAwhnSdp/++7gBZ/F+nBq9y6PomfwORfP7q9nBpK5AMP64kOt0bA+lShBFbBDcgpJ3X4etHg4lzA==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-discard-overridden": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-7.0.0.tgz", + "integrity": "sha512-GmNAzx88u3k2+sBTZrJSDauR0ccpE24omTQCVmaTTZFz1du6AasspjaUPMJ2ud4RslZpoFKyf+6MSPETLojc6w==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-merge-longhand": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-7.0.0.tgz", + "integrity": "sha512-0X8I4/9+G03X5/5NnrfopG/YEln2XU8heDh7YqBaiq2SeaKIG3n66ShZPjIolmVuLBQ0BEm3yS8o1mlCLHdW7A==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "stylehacks": "^7.0.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-merge-rules": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-7.0.0.tgz", + "integrity": "sha512-Zty3VlOsD6VSjBMu6PiHCVpLegtBT/qtZRVBcSeyEZ6q1iU5qTYT0WtEoLRV+YubZZguS5/ycfP+NRiKfjv6aw==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.16" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-minify-font-values": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-7.0.0.tgz", + "integrity": "sha512-2ckkZtgT0zG8SMc5aoNwtm5234eUx1GGFJKf2b1bSp8UflqaeFzR50lid4PfqVI9NtGqJ2J4Y7fwvnP/u1cQog==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-minify-gradients": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-7.0.0.tgz", + "integrity": "sha512-pdUIIdj/C93ryCHew0UgBnL2DtUS3hfFa5XtERrs4x+hmpMYGhbzo6l/Ir5de41O0GaKVpK1ZbDNXSY6GkXvtg==", + "dev": true, + "dependencies": { + "colord": "^2.9.3", + "cssnano-utils": "^5.0.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" } }, + "node_modules/postcss-minify-params": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-7.0.0.tgz", + "integrity": "sha512-XOJAuX8Q/9GT1sGxlUvaFEe2H9n50bniLZblXXsAT/BwSfFYvzSZeFG7uupwc0KbKpTnflnQ7aMwGzX6JUWliQ==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "cssnano-utils": "^5.0.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-minify-selectors": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-7.0.0.tgz", + "integrity": "sha512-f00CExZhD6lNw2vTZbcnmfxVgaVKzUw6IRsIFX3JTT8GdsoABc1WnhhGwL1i8YPJ3sSWw39fv7XPtvLb+3Uitw==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.16" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-normalize-charset": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-7.0.0.tgz", + "integrity": "sha512-ABisNUXMeZeDNzCQxPxBCkXexvBrUHV+p7/BXOY+ulxkcjUZO0cp8ekGBwvIh2LbCwnWbyMPNJVtBSdyhM2zYQ==", + "dev": true, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-display-values": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-7.0.0.tgz", + "integrity": "sha512-lnFZzNPeDf5uGMPYgGOw7v0BfB45+irSRz9gHQStdkkhiM0gTfvWkWB5BMxpn0OqgOQuZG/mRlZyJxp0EImr2Q==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-positions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-7.0.0.tgz", + "integrity": "sha512-I0yt8wX529UKIGs2y/9Ybs2CelSvItfmvg/DBIjTnoUSrPxSV7Z0yZ8ShSVtKNaV/wAY+m7bgtyVQLhB00A1NQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-repeat-style": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-7.0.0.tgz", + "integrity": "sha512-o3uSGYH+2q30ieM3ppu9GTjSXIzOrRdCUn8UOMGNw7Af61bmurHTWI87hRybrP6xDHvOe5WlAj3XzN6vEO8jLw==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-string": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-7.0.0.tgz", + "integrity": "sha512-w/qzL212DFVOpMy3UGyxrND+Kb0fvCiBBujiaONIihq7VvtC7bswjWgKQU/w4VcRyDD8gpfqUiBQ4DUOwEJ6Qg==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-timing-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-7.0.0.tgz", + "integrity": "sha512-tNgw3YV0LYoRwg43N3lTe3AEWZ66W7Dh7lVEpJbHoKOuHc1sLrzMLMFjP8SNULHaykzsonUEDbKedv8C+7ej6g==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-unicode": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-7.0.0.tgz", + "integrity": "sha512-OnKV52/VFFDAim4n0pdI+JAhsolLBdnCKxE6VV5lW5Q/JeVGFN8UM8ur6/A3EAMLsT1ZRm3fDHh/rBoBQpqi2w==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-url": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-7.0.0.tgz", + "integrity": "sha512-+d7+PpE+jyPX1hDQZYG+NaFD+Nd2ris6r8fPTBAjE8z/U41n/bib3vze8x7rKs5H1uEw5ppe9IojewouHk0klQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-normalize-whitespace": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-7.0.0.tgz", + "integrity": "sha512-37/toN4wwZErqohedXYqWgvcHUGlT8O/m2jVkAfAe9Bd4MzRqlBmXrJRePH0e9Wgnz2X7KymTgTOaaFizQe3AQ==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-ordered-values": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-7.0.0.tgz", + "integrity": "sha512-KROvC63A8UQW1eYDljQe1dtwc1E/M+mMwDT6z7khV/weHYLWTghaLRLunU7x1xw85lWFwVZOAGakxekYvKV+0w==", + "dev": true, + "dependencies": { + "cssnano-utils": "^5.0.0", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-reduce-initial": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-7.0.0.tgz", + "integrity": "sha512-iqGgmBxY9LrblZ0BKLjmrA1mC/cf9A/wYCCqSmD6tMi+xAyVl0+DfixZIHSVDMbCPRPjNmVF0DFGth/IDGelFQ==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-api": "^3.0.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-reduce-transforms": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-7.0.0.tgz", + "integrity": "sha512-pnt1HKKZ07/idH8cpATX/ujMbtOGhUfE+m8gbqwJE05aTaNw8gbo34a2e3if0xc0dlu75sUOiqvwCGY3fzOHew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.16", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", + "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-svgo": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-7.0.0.tgz", + "integrity": "sha512-Xj5DRdvA97yRy3wjbCH2NKXtDUwEnph6EHr5ZXszsBVKCNrKXYBjzAXqav7/Afz5WwJ/1peZoTguCEJIg7ytmA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "svgo": "^3.2.0" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >= 18" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-unique-selectors": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-7.0.0.tgz", + "integrity": "sha512-NYFqcft7vVQMZlQPsMdMPy+qU/zDpy95Malpw4GeA9ZZjM6dVXDshXtDmLc0m4WCD6XeZCJqjTfPT1USsdt+rA==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.16" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, "node_modules/pretty-bytes": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", @@ -2301,9 +3260,9 @@ ] }, "node_modules/resolve": { - "version": "1.22.6", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz", - "integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "dependencies": { "is-core-module": "^2.13.0", @@ -2344,15 +3303,15 @@ } }, "node_modules/rollup-plugin-dts": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-dts/-/rollup-plugin-dts-6.0.2.tgz", - "integrity": "sha512-GYCCy9DyE5csSuUObktJBpjNpW2iLZMabNDIiAqzQWBl7l/WHzjvtAXevf8Lftk8EA920tuxeB/g8dM8MVMR6A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-dts/-/rollup-plugin-dts-6.1.0.tgz", + "integrity": "sha512-ijSCPICkRMDKDLBK9torss07+8dl9UpY9z1N/zTeA1cIqdzMlpkV3MOOC7zukyvQfDyxa1s3Dl2+DeiP/G6DOw==", "dev": true, "dependencies": { - "magic-string": "^0.30.3" + "magic-string": "^0.30.4" }, "engines": { - "node": ">=v16" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/Swatinem" @@ -2361,7 +3320,7 @@ "@babel/code-frame": "^7.22.13" }, "peerDependencies": { - "rollup": "^3.25", + "rollup": "^3.29.4 || ^4", "typescript": "^4.5 || ^5.0" } }, @@ -2389,18 +3348,21 @@ } }, "node_modules/scule": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/scule/-/scule-1.0.0.tgz", - "integrity": "sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/scule/-/scule-1.3.0.tgz", + "integrity": "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==", "dev": true }, "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, "bin": { "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/shebang-command": { @@ -2442,6 +3404,31 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/source-map-js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylehacks": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-7.0.0.tgz", + "integrity": "sha512-47Nw4pQ6QJb4CA6dzF2m9810sjQik4dfk4UwAm5wlwhrW3syzZKF8AR4/cfO3Cr6lsFgAoznQq0Wg57qhjTA2A==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0", + "postcss-selector-parser": "^6.0.16" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -2466,6 +3453,31 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/svgo": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.3.2.tgz", + "integrity": "sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw==", + "dev": true, + "dependencies": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^5.1.0", + "css-tree": "^2.3.1", + "css-what": "^6.1.0", + "csso": "^5.0.5", + "picocolors": "^1.0.0" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/svgo" + } + }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -2488,9 +3500,9 @@ } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "peer": true, "bin": { @@ -2502,9 +3514,9 @@ } }, "node_modules/ufo": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.3.1.tgz", - "integrity": "sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.3.tgz", + "integrity": "sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==", "dev": true }, "node_modules/unbuild": { @@ -2550,37 +3562,55 @@ } } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" } }, "node_modules/untyped": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/untyped/-/untyped-1.4.0.tgz", - "integrity": "sha512-Egkr/s4zcMTEuulcIb7dgURS6QpN7DyqQYdf+jBtiaJvQ+eRsrtWUoX84SbvQWuLkXsOjM+8sJC9u6KoMK/U7Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/untyped/-/untyped-1.4.2.tgz", + "integrity": "sha512-nC5q0DnPEPVURPhfPQLahhSTnemVtPzdx7ofiRxXpOB2SYnb3MfdU3DVGyJdS8Lx+tBWeAePO8BfU/3EgksM7Q==", "dev": true, "dependencies": { - "@babel/core": "^7.22.9", - "@babel/standalone": "^7.22.9", - "@babel/types": "^7.22.5", - "defu": "^6.1.2", - "jiti": "^1.19.1", + "@babel/core": "^7.23.7", + "@babel/standalone": "^7.23.8", + "@babel/types": "^7.23.6", + "defu": "^6.1.4", + "jiti": "^1.21.0", "mri": "^1.2.0", - "scule": "^1.0.0" + "scule": "^1.2.0" }, "bin": { "untyped": "dist/cli.mjs" } }, "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", + "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", "dev": true, "funding": [ { @@ -2597,8 +3627,8 @@ } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -2607,6 +3637,12 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/template-bare/convex/_generated/api.d.ts b/template-bare/convex/_generated/api.d.ts index 227ed80..6b9845e 100644 --- a/template-bare/convex/_generated/api.d.ts +++ b/template-bare/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/api.js b/template-bare/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-bare/convex/_generated/api.js +++ b/template-bare/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/dataModel.d.ts b/template-bare/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-bare/convex/_generated/dataModel.d.ts +++ b/template-bare/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.d.ts b/template-bare/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-bare/convex/_generated/server.d.ts +++ b/template-bare/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/convex/_generated/server.js b/template-bare/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-bare/convex/_generated/server.js +++ b/template-bare/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-bare/package-lock.json b/template-bare/package-lock.json index f4c6401..298d954 100644 --- a/template-bare/package-lock.json +++ b/template-bare/package-lock.json @@ -8,7 +8,7 @@ "name": "convex-template", "version": "0.0.0", "dependencies": { - "convex": "^1.10.0" + "convex": "^1.12.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", @@ -26,51 +26,6 @@ "node": ">=0.10.0" } }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", @@ -86,276 +41,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "cpu": [ - "loong64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "cpu": [ - "mips64el" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "cpu": [ - "ppc64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "cpu": [ - "riscv64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -835,13 +520,14 @@ "dev": true }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -852,7 +538,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -1699,6 +1385,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", diff --git a/template-bare/package.json b/template-bare/package.json index eda3143..1ddcf5b 100644 --- a/template-bare/package.json +++ b/template-bare/package.json @@ -9,7 +9,7 @@ "lint": "tsc -p convex && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { - "convex": "^1.10.0" + "convex": "^1.12.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.0", diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts index 227ed80..6b9845e 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/api.js b/template-nextjs-clerk-shadcn/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/api.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/convex/_generated/server.js b/template-nextjs-clerk-shadcn/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-nextjs-clerk-shadcn/convex/_generated/server.js +++ b/template-nextjs-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-clerk-shadcn/package-lock.json b/template-nextjs-clerk-shadcn/package-lock.json index 6223264..e00a7b9 100644 --- a/template-nextjs-clerk-shadcn/package-lock.json +++ b/template-nextjs-clerk-shadcn/package-lock.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", @@ -388,126 +388,6 @@ "node": ">= 10" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", - "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", - "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", - "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", - "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", - "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", - "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", - "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", - "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -3659,13 +3539,14 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -3676,7 +3557,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -6128,6 +6009,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/prop-types": { "version": "15.8.1", "license": "MIT", diff --git a/template-nextjs-clerk-shadcn/package.json b/template-nextjs-clerk-shadcn/package.json index 4fc7172..d5886b0 100644 --- a/template-nextjs-clerk-shadcn/package.json +++ b/template-nextjs-clerk-shadcn/package.json @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts index b149bdd..0e5b9a5 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/api.js b/template-nextjs-lucia-shadcn/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/api.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/convex/_generated/server.js b/template-nextjs-lucia-shadcn/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-nextjs-lucia-shadcn/convex/_generated/server.js +++ b/template-nextjs-lucia-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-lucia-shadcn/package-lock.json b/template-nextjs-lucia-shadcn/package-lock.json index 34b7573..242147c 100644 --- a/template-nextjs-lucia-shadcn/package-lock.json +++ b/template-nextjs-lucia-shadcn/package-lock.json @@ -8,7 +8,7 @@ "name": "convex-nextjs-template", "version": "0.1.0", "dependencies": { - "@convex-dev/convex-lucia-auth": "^0.0.4", + "@convex-dev/convex-lucia-auth": "^0.0.5", "@hookform/resolvers": "^3.3.2", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-alert-dialog": "^1.0.5", @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", @@ -95,14 +95,14 @@ } }, "node_modules/@convex-dev/convex-lucia-auth": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@convex-dev/convex-lucia-auth/-/convex-lucia-auth-0.0.4.tgz", - "integrity": "sha512-GUKYThhlGmLh7ZMbShLj4QGW9GNEq/Pr4D3+IC8rNnODtWBsnV9i7rCVfEqpyXObzBVD4emWoe/HjSwfs7kErQ==", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@convex-dev/convex-lucia-auth/-/convex-lucia-auth-0.0.5.tgz", + "integrity": "sha512-EFuR5muoJXiI7BDKmGiC2GBMf2OF2BhrCLWEUzk7WECuOwFbMve0+tQ/mqWMWj9dIN18TGsbUveWIsbMCXc9Gw==", "dependencies": { "lucia": "^2.6.0" }, "peerDependencies": { - "convex": "^1.0.2", + "convex": "^1.1.1", "react": "^18.2.0", "react-dom": "^18.2.0" } @@ -351,126 +351,6 @@ "node": ">= 10" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", - "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", - "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", - "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", - "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", - "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", - "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", - "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", - "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -3622,13 +3502,14 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -3639,7 +3520,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -6084,6 +5965,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/prop-types": { "version": "15.8.1", "license": "MIT", diff --git a/template-nextjs-lucia-shadcn/package.json b/template-nextjs-lucia-shadcn/package.json index c4eaa24..41e5291 100644 --- a/template-nextjs-lucia-shadcn/package.json +++ b/template-nextjs-lucia-shadcn/package.json @@ -12,7 +12,7 @@ "lint": "tsc && eslint convex --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && next lint --report-unused-disable-directives error --max-warnings 0" }, "dependencies": { - "@convex-dev/convex-lucia-auth": "^0.0.4", + "@convex-dev/convex-lucia-auth": "^0.0.5", "@hookform/resolvers": "^3.3.2", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-alert-dialog": "^1.0.5", @@ -49,7 +49,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", diff --git a/template-nextjs-shadcn/convex/_generated/api.d.ts b/template-nextjs-shadcn/convex/_generated/api.d.ts index 227ed80..6b9845e 100644 --- a/template-nextjs-shadcn/convex/_generated/api.d.ts +++ b/template-nextjs-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/api.js b/template-nextjs-shadcn/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-nextjs-shadcn/convex/_generated/api.js +++ b/template-nextjs-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-nextjs-shadcn/convex/_generated/dataModel.d.ts +++ b/template-nextjs-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.d.ts b/template-nextjs-shadcn/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-nextjs-shadcn/convex/_generated/server.d.ts +++ b/template-nextjs-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/convex/_generated/server.js b/template-nextjs-shadcn/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-nextjs-shadcn/convex/_generated/server.js +++ b/template-nextjs-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-nextjs-shadcn/package-lock.json b/template-nextjs-shadcn/package-lock.json index 69837ca..0b607d6 100644 --- a/template-nextjs-shadcn/package-lock.json +++ b/template-nextjs-shadcn/package-lock.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", @@ -337,126 +337,6 @@ "node": ">= 10" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz", - "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz", - "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz", - "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz", - "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz", - "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz", - "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz", - "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.1.4", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz", - "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -3608,13 +3488,14 @@ "license": "MIT" }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -3625,7 +3506,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -6065,6 +5946,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/prop-types": { "version": "15.8.1", "license": "MIT", diff --git a/template-nextjs-shadcn/package.json b/template-nextjs-shadcn/package.json index e82d94a..f2c99f4 100644 --- a/template-nextjs-shadcn/package.json +++ b/template-nextjs-shadcn/package.json @@ -48,7 +48,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "eslint": "8.49.0", "eslint-config-next": "^14.1.4", diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts index 227ed80..6b9845e 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/api.js b/template-react-vite-clerk-shadcn/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/api.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/convex/_generated/server.js b/template-react-vite-clerk-shadcn/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-react-vite-clerk-shadcn/convex/_generated/server.js +++ b/template-react-vite-clerk-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-clerk-shadcn/package-lock.json b/template-react-vite-clerk-shadcn/package-lock.json index 85e9c26..1f82a6f 100644 --- a/template-react-vite-clerk-shadcn/package-lock.json +++ b/template-react-vite-clerk-shadcn/package-lock.json @@ -40,7 +40,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -507,51 +507,6 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", @@ -567,276 +522,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "cpu": [ - "loong64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "cpu": [ - "mips64el" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "cpu": [ - "ppc64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "cpu": [ - "riscv64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -3331,13 +3016,14 @@ "dev": true }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -3348,7 +3034,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -5433,6 +5119,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", @@ -6499,54 +6199,6 @@ } } }, - "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", - "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", - "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", - "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/vite/node_modules/@esbuild/darwin-arm64": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", @@ -6563,294 +6215,6 @@ "node": ">=12" } }, - "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", - "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", - "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", - "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", - "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", - "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", - "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", - "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", - "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", - "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", - "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", - "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", - "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", - "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", - "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", - "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", - "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", - "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", - "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/vite/node_modules/esbuild": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", diff --git a/template-react-vite-clerk-shadcn/package.json b/template-react-vite-clerk-shadcn/package.json index 8f46c10..4dca221 100644 --- a/template-react-vite-clerk-shadcn/package.json +++ b/template-react-vite-clerk-shadcn/package.json @@ -45,7 +45,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", diff --git a/template-react-vite-shadcn/convex/_generated/api.d.ts b/template-react-vite-shadcn/convex/_generated/api.d.ts index 227ed80..6b9845e 100644 --- a/template-react-vite-shadcn/convex/_generated/api.d.ts +++ b/template-react-vite-shadcn/convex/_generated/api.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/api.js b/template-react-vite-shadcn/convex/_generated/api.js index 6898878..db3d332 100644 --- a/template-react-vite-shadcn/convex/_generated/api.js +++ b/template-react-vite-shadcn/convex/_generated/api.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts index 267aafc..0f65fea 100644 --- a/template-react-vite-shadcn/convex/_generated/dataModel.d.ts +++ b/template-react-vite-shadcn/convex/_generated/dataModel.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.d.ts b/template-react-vite-shadcn/convex/_generated/server.d.ts index e38e64f..28d65e9 100644 --- a/template-react-vite-shadcn/convex/_generated/server.d.ts +++ b/template-react-vite-shadcn/convex/_generated/server.d.ts @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/convex/_generated/server.js b/template-react-vite-shadcn/convex/_generated/server.js index 31adbda..aa1df0c 100644 --- a/template-react-vite-shadcn/convex/_generated/server.js +++ b/template-react-vite-shadcn/convex/_generated/server.js @@ -4,7 +4,7 @@ * * THIS CODE IS AUTOMATICALLY GENERATED. * - * Generated by convex@1.10.0. + * Generated by convex@1.12.0. * To regenerate, run `npx convex dev`. * @module */ diff --git a/template-react-vite-shadcn/package-lock.json b/template-react-vite-shadcn/package-lock.json index ae6a824..4cd91fd 100644 --- a/template-react-vite-shadcn/package-lock.json +++ b/template-react-vite-shadcn/package-lock.json @@ -39,7 +39,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", @@ -456,51 +456,6 @@ "node": ">=6.9.0" } }, - "node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.17.19", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", @@ -516,276 +471,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", - "cpu": [ - "loong64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", - "cpu": [ - "mips64el" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", - "cpu": [ - "ppc64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", - "cpu": [ - "riscv64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", - "cpu": [ - "s390x" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -3280,13 +2965,14 @@ "dev": true }, "node_modules/convex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/convex/-/convex-1.10.0.tgz", - "integrity": "sha512-dGU3K3z63e4JQSq4AQthgxUADux1/0qfgFBtOsolcPo+ilV2Dp5wfBJYMOvLi7wkmNvJ+b3I90XfLPGfGzQrWw==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/convex/-/convex-1.12.0.tgz", + "integrity": "sha512-N3WAkGEidECAsd7zkUG1tOIJSUZ9PShxiojkDk9Ha6V50A/iKR9D55LWh2zGKA37IgeUMbwvWx8NcDPO2YxaLA==", "dependencies": { "esbuild": "^0.17.5", "jwt-decode": "^3.1.2", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.1", + "prettier": "3.2.5" }, "bin": { "convex": "bin/main.js" @@ -3297,7 +2983,7 @@ }, "peerDependencies": { "@auth0/auth0-react": "^2.0.1", - "@clerk/clerk-react": "^4.12.8", + "@clerk/clerk-react": "^4.12.8 || ^5.0.0", "react": "^17.0.2 || ^18.0.0", "react-dom": "^17.0.2 || ^18.0.0" }, @@ -5369,6 +5055,20 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/punycode": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", @@ -6416,54 +6116,6 @@ } } }, - "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", - "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", - "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", - "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/vite/node_modules/@esbuild/darwin-arm64": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", @@ -6480,294 +6132,6 @@ "node": ">=12" } }, - "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", - "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", - "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", - "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", - "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", - "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", - "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", - "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", - "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", - "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", - "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", - "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", - "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", - "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", - "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", - "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", - "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", - "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", - "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/vite/node_modules/esbuild": { "version": "0.18.20", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", diff --git a/template-react-vite-shadcn/package.json b/template-react-vite-shadcn/package.json index 501b81b..78c7105 100644 --- a/template-react-vite-shadcn/package.json +++ b/template-react-vite-shadcn/package.json @@ -44,7 +44,7 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", - "convex": "^1.10.0", + "convex": "^1.12.0", "date-fns": "^2.30.0", "react": "^18.2.0", "react-day-picker": "^8.9.1", From 7ff1502df58554d4c342223dbf330a957b30e90b Mon Sep 17 00:00:00 2001 From: Nipunn Koorapati Date: Tue, 21 May 2024 10:10:30 -0700 Subject: [PATCH 023/218] Create LICENSE --- LICENSE | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b615b0f --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2024 Convex, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. From 2959c4e99f8e070a82adf0f2d8b9fb8c7459b109 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Thu, 30 May 2024 13:44:24 +0200 Subject: [PATCH 024/218] Fix React template imports --- template-react-vite-shadcn/tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/template-react-vite-shadcn/tsconfig.json b/template-react-vite-shadcn/tsconfig.json index b5b566c..832649d 100644 --- a/template-react-vite-shadcn/tsconfig.json +++ b/template-react-vite-shadcn/tsconfig.json @@ -21,7 +21,6 @@ "noFallthroughCasesInSwitch": true, "types": ["vite/client"], - "baseUrl": ".", "paths": { "@/*": ["./src/*"] } From a5e6be78775dcc9aea1db0883ef92c0782ed86be Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 2 Jun 2024 19:01:10 +0200 Subject: [PATCH 025/218] Change ConvexClientProvider to a named export --- template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx | 6 +----- template-nextjs-clerk-shadcn/app/layout.tsx | 2 +- template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx | 6 +----- template-nextjs-lucia-shadcn/app/layout.tsx | 2 +- template-nextjs-shadcn/app/ConvexClientProvider.tsx | 6 +----- template-nextjs-shadcn/app/layout.tsx | 2 +- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx index 38a1ed5..b699d77 100644 --- a/template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-clerk-shadcn/app/ConvexClientProvider.tsx @@ -8,11 +8,7 @@ import { ErrorBoundary } from "./ErrorBoundary"; const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); -export default function ConvexClientProvider({ - children, -}: { - children: ReactNode; -}) { +export function ConvexClientProvider({ children }: { children: ReactNode }) { return ( diff --git a/template-nextjs-lucia-shadcn/app/layout.tsx b/template-nextjs-lucia-shadcn/app/layout.tsx index aa28700..33540d8 100644 --- a/template-nextjs-lucia-shadcn/app/layout.tsx +++ b/template-nextjs-lucia-shadcn/app/layout.tsx @@ -1,7 +1,7 @@ import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import ConvexClientProvider from "./ConvexClientProvider"; +import { ConvexClientProvider } from "./ConvexClientProvider"; const inter = Inter({ subsets: ["latin"] }); diff --git a/template-nextjs-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-shadcn/app/ConvexClientProvider.tsx index 3c330ea..fdaef72 100644 --- a/template-nextjs-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-shadcn/app/ConvexClientProvider.tsx @@ -4,10 +4,6 @@ import { ConvexProvider, ConvexReactClient } from "convex/react"; const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); -export default function ConvexClientProvider({ - children, -}: { - children: ReactNode; -}) { +export function ConvexClientProvider({ children }: { children: ReactNode }) { return {children}; } diff --git a/template-nextjs-shadcn/app/layout.tsx b/template-nextjs-shadcn/app/layout.tsx index aa28700..33540d8 100644 --- a/template-nextjs-shadcn/app/layout.tsx +++ b/template-nextjs-shadcn/app/layout.tsx @@ -1,7 +1,7 @@ import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import ConvexClientProvider from "./ConvexClientProvider"; +import { ConvexClientProvider } from "./ConvexClientProvider"; const inter = Inter({ subsets: ["latin"] }); From 9e2706167ef4a3652b3abe60953b06677c8ded89 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 2 Jun 2024 19:02:11 +0200 Subject: [PATCH 026/218] Fix react template imports with Clerk --- template-react-vite-clerk-shadcn/tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/template-react-vite-clerk-shadcn/tsconfig.json b/template-react-vite-clerk-shadcn/tsconfig.json index b5b566c..832649d 100644 --- a/template-react-vite-clerk-shadcn/tsconfig.json +++ b/template-react-vite-clerk-shadcn/tsconfig.json @@ -21,7 +21,6 @@ "noFallthroughCasesInSwitch": true, "types": ["vite/client"], - "baseUrl": ".", "paths": { "@/*": ["./src/*"] } From 95fb3ccf86c564f56ab90acbc48157c0c3212af0 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 2 Jun 2024 19:06:46 +0200 Subject: [PATCH 027/218] Sort imports in ConvexClientProvider --- template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx | 6 +++--- template-nextjs-shadcn/app/ConvexClientProvider.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx index 97db5d6..91ea48d 100644 --- a/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx @@ -1,8 +1,8 @@ "use client"; -import { ReactNode } from "react"; -import { ConvexProvider, ConvexReactClient } from "convex/react"; -import { SessionProvider } from "@convex-dev/convex-lucia-auth/react"; import { AfterSSR } from "@/components/helpers/AfterSSR"; +import { SessionProvider } from "@convex-dev/convex-lucia-auth/react"; +import { ConvexProvider, ConvexReactClient } from "convex/react"; +import { ReactNode } from "react"; const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); diff --git a/template-nextjs-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-shadcn/app/ConvexClientProvider.tsx index fdaef72..cced313 100644 --- a/template-nextjs-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-shadcn/app/ConvexClientProvider.tsx @@ -1,6 +1,6 @@ "use client"; -import { ReactNode } from "react"; import { ConvexProvider, ConvexReactClient } from "convex/react"; +import { ReactNode } from "react"; const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); From 69fefddba35820bd3bbab8f77470fbe2e35d2369 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Sun, 2 Jun 2024 19:09:36 +0200 Subject: [PATCH 028/218] Blank line after use client --- template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx | 1 + template-nextjs-shadcn/app/ConvexClientProvider.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx index 91ea48d..b5eb0a3 100644 --- a/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-lucia-shadcn/app/ConvexClientProvider.tsx @@ -1,4 +1,5 @@ "use client"; + import { AfterSSR } from "@/components/helpers/AfterSSR"; import { SessionProvider } from "@convex-dev/convex-lucia-auth/react"; import { ConvexProvider, ConvexReactClient } from "convex/react"; diff --git a/template-nextjs-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-shadcn/app/ConvexClientProvider.tsx index cced313..1803828 100644 --- a/template-nextjs-shadcn/app/ConvexClientProvider.tsx +++ b/template-nextjs-shadcn/app/ConvexClientProvider.tsx @@ -1,4 +1,5 @@ "use client"; + import { ConvexProvider, ConvexReactClient } from "convex/react"; import { ReactNode } from "react"; From cc7804528ed24c07c8d7ea1aeaf3751adeabe856 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 3 Jul 2024 14:25:55 +0200 Subject: [PATCH 029/218] Support Convex Auth --- create-convex/src/index.ts | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index b972ded..e95a530 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -22,14 +22,14 @@ type Framework = { }; const FRAMEWORKS: Framework[] = [ - { - name: "nextjs", - display: "Next.js App Router", - }, { name: "react-vite", display: "React (Vite)", }, + { + name: "nextjs", + display: "Next.js App Router", + }, { name: "bare", display: "none", @@ -41,11 +41,15 @@ const FRAMEWORKS: Framework[] = [ ]; const AUTH: { name: string; display: string; frameworks?: string[] }[] = [ - { - name: "lucia", - display: "Email & Password", - frameworks: ["nextjs"], - }, + ...(process.env.CONVEX_AUTH_TEMPLATE !== undefined + ? [ + { + name: "convexauth", + display: "Convex Auth", + frameworks: ["react-vite"], + }, + ] + : []), { name: "clerk", display: "Clerk (requires Clerk account)", @@ -196,6 +200,8 @@ async function init() { ? givenTemplate.includes("#") ? givenTemplate : givenTemplate + "#main" + : givenTemplate === "react-vite-convexauth-shadcn" + ? `get-convex/template-react-vite-convexauth-shadcn#main` : `get-convex/templates/template-${givenTemplate}#main`; console.log(`\nSetting up...`); From a87afb06a3f4147dba135add25474390b03df393 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 3 Jul 2024 14:26:02 +0200 Subject: [PATCH 030/218] Bump version --- create-convex/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-convex/package.json b/create-convex/package.json index ec3f784..00d2486 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.9", + "version": "0.0.10", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From e64df3f777a3b0f6efb70f5fa7b482ed5dae7c70 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 8 Jul 2024 15:29:15 +0200 Subject: [PATCH 031/218] Enable Convex Auth template --- create-convex/src/index.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index e95a530..bab2700 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -41,15 +41,11 @@ const FRAMEWORKS: Framework[] = [ ]; const AUTH: { name: string; display: string; frameworks?: string[] }[] = [ - ...(process.env.CONVEX_AUTH_TEMPLATE !== undefined - ? [ - { - name: "convexauth", - display: "Convex Auth", - frameworks: ["react-vite"], - }, - ] - : []), + { + name: "convexauth", + display: "Convex Auth", + frameworks: ["react-vite"], + }, { name: "clerk", display: "Clerk (requires Clerk account)", From face538d2142b68d7bb5e19eaba7b527f5f3ab08 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 8 Jul 2024 15:29:41 +0200 Subject: [PATCH 032/218] Bump version --- create-convex/package-lock.json | 4 ++-- create-convex/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/create-convex/package-lock.json b/create-convex/package-lock.json index dc1cd90..431aac1 100644 --- a/create-convex/package-lock.json +++ b/create-convex/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-convex", - "version": "0.0.9", + "version": "0.0.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-convex", - "version": "0.0.9", + "version": "0.0.11", "license": "Apache-2.0", "dependencies": { "degit": "^2.8.4" diff --git a/create-convex/package.json b/create-convex/package.json index 00d2486..f03a54f 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.10", + "version": "0.0.11", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From ffd814ec338d606c86d0540f67504c3a31ff2eac Mon Sep 17 00:00:00 2001 From: Ian Macartney Date: Tue, 16 Jul 2024 03:19:25 -0700 Subject: [PATCH 033/218] update bundler (#8) --- template-bare/convex/tsconfig.json | 2 +- template-nextjs-clerk-shadcn/convex/tsconfig.json | 2 +- template-nextjs-lucia-shadcn/convex/tsconfig.json | 2 +- template-nextjs-shadcn/convex/tsconfig.json | 2 +- template-react-vite-clerk-shadcn/convex/tsconfig.json | 2 +- template-react-vite-shadcn/convex/tsconfig.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/template-bare/convex/tsconfig.json b/template-bare/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-bare/convex/tsconfig.json +++ b/template-bare/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, diff --git a/template-nextjs-clerk-shadcn/convex/tsconfig.json b/template-nextjs-clerk-shadcn/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-nextjs-clerk-shadcn/convex/tsconfig.json +++ b/template-nextjs-clerk-shadcn/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, diff --git a/template-nextjs-lucia-shadcn/convex/tsconfig.json b/template-nextjs-lucia-shadcn/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-nextjs-lucia-shadcn/convex/tsconfig.json +++ b/template-nextjs-lucia-shadcn/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, diff --git a/template-nextjs-shadcn/convex/tsconfig.json b/template-nextjs-shadcn/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-nextjs-shadcn/convex/tsconfig.json +++ b/template-nextjs-shadcn/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, diff --git a/template-react-vite-clerk-shadcn/convex/tsconfig.json b/template-react-vite-clerk-shadcn/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-react-vite-clerk-shadcn/convex/tsconfig.json +++ b/template-react-vite-clerk-shadcn/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, diff --git a/template-react-vite-shadcn/convex/tsconfig.json b/template-react-vite-shadcn/convex/tsconfig.json index fb6820b..d3d31bf 100644 --- a/template-react-vite-shadcn/convex/tsconfig.json +++ b/template-react-vite-shadcn/convex/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "isolatedModules": true, "noEmit": true }, From 7881d3f0548136516b4085b89d73077aa3cfb6fc Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 15:23:06 +0200 Subject: [PATCH 034/218] Add contributing doc --- create-convex/CONTRIBUTING.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 create-convex/CONTRIBUTING.md diff --git a/create-convex/CONTRIBUTING.md b/create-convex/CONTRIBUTING.md new file mode 100644 index 0000000..32547f9 --- /dev/null +++ b/create-convex/CONTRIBUTING.md @@ -0,0 +1,34 @@ +# Build CLI + +```sh +cd create-convex +npm run build +``` + +# Test CLI + +```sh +node /create-convex/dist/index.mjs +``` + +with arguments: + +```sh +node /create-convex/dist/index.mjs -t react-vite-shadcn +``` + +**Note:** With `npm create` `--` is required: + +```sh +npm create convex -- -t react-vite-shadcn +``` + +# Publish CLI + +For patch, adapt this as needed: + +```sh +cd create-convex +npm version patch +npm publish +``` From 3978a59193f52fc352fa61d921dad1c994e38a6c Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 15:23:20 +0200 Subject: [PATCH 035/218] Use new template for NextJS --- create-convex/src/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index bab2700..e5bacc6 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -192,12 +192,14 @@ async function init() { : (auth !== "none" ? "-" + auth : "") + "-shadcn") : argTemplate!; + const SEPARATE_REPOS = ["react-vite-convexauth-shadcn", "nextjs-shadcn"]; + const template = givenTemplate.includes("/") ? givenTemplate.includes("#") ? givenTemplate : givenTemplate + "#main" - : givenTemplate === "react-vite-convexauth-shadcn" - ? `get-convex/template-react-vite-convexauth-shadcn#main` + : SEPARATE_REPOS.includes(givenTemplate) + ? `get-convex/template-${givenTemplate}#main` : `get-convex/templates/template-${givenTemplate}#main`; console.log(`\nSetting up...`); From 1ba1a04fb9e52eb651b1fb3b001cb11b3fc6578d Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 15:26:17 +0200 Subject: [PATCH 036/218] 0.0.12 --- create-convex/package-lock.json | 4 ++-- create-convex/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/create-convex/package-lock.json b/create-convex/package-lock.json index 431aac1..71fcf5a 100644 --- a/create-convex/package-lock.json +++ b/create-convex/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-convex", - "version": "0.0.11", + "version": "0.0.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-convex", - "version": "0.0.11", + "version": "0.0.12", "license": "Apache-2.0", "dependencies": { "degit": "^2.8.4" diff --git a/create-convex/package.json b/create-convex/package.json index f03a54f..39c71c1 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.11", + "version": "0.0.12", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From 3b10d825b28ff096d599e5f23989d19fa39d0766 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 15:27:39 +0200 Subject: [PATCH 037/218] Fix contr --- create-convex/CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create-convex/CONTRIBUTING.md b/create-convex/CONTRIBUTING.md index 32547f9..e076631 100644 --- a/create-convex/CONTRIBUTING.md +++ b/create-convex/CONTRIBUTING.md @@ -30,5 +30,7 @@ For patch, adapt this as needed: ```sh cd create-convex npm version patch +git commit -a -m +git tag v npm publish ``` From 72d6c7c3f6dc408f087b6c9b253d1c42d4df275d Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 17:14:15 +0200 Subject: [PATCH 038/218] New Vite template --- create-convex/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/create-convex/src/index.ts b/create-convex/src/index.ts index e5bacc6..305d2a2 100755 --- a/create-convex/src/index.ts +++ b/create-convex/src/index.ts @@ -192,7 +192,11 @@ async function init() { : (auth !== "none" ? "-" + auth : "") + "-shadcn") : argTemplate!; - const SEPARATE_REPOS = ["react-vite-convexauth-shadcn", "nextjs-shadcn"]; + const SEPARATE_REPOS = [ + "react-vite-convexauth-shadcn", + "nextjs-shadcn", + "react-vite-shadcn", + ]; const template = givenTemplate.includes("/") ? givenTemplate.includes("#") From 6e3c39af6015c5c68f5581a23458253654273d04 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 16 Jul 2024 17:14:27 +0200 Subject: [PATCH 039/218] 0.0.13 --- create-convex/package-lock.json | 4 ++-- create-convex/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/create-convex/package-lock.json b/create-convex/package-lock.json index 71fcf5a..fcf33e4 100644 --- a/create-convex/package-lock.json +++ b/create-convex/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-convex", - "version": "0.0.12", + "version": "0.0.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-convex", - "version": "0.0.12", + "version": "0.0.13", "license": "Apache-2.0", "dependencies": { "degit": "^2.8.4" diff --git a/create-convex/package.json b/create-convex/package.json index 39c71c1..c9793eb 100644 --- a/create-convex/package.json +++ b/create-convex/package.json @@ -1,6 +1,6 @@ { "name": "create-convex", - "version": "0.0.12", + "version": "0.0.13", "type": "module", "license": "Apache-2.0", "author": "Convex, Inc. ", From 8927957656f20ff31cbe4a5b157d7099af876f2c Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Wed, 7 Aug 2024 17:02:06 +0200 Subject: [PATCH 040/218] Remove old nextjs template --- template-nextjs-shadcn/.eslintrc.cjs | 46 - template-nextjs-shadcn/.gitignore | 35 - template-nextjs-shadcn/README.md | 13 - .../app/ConvexClientProvider.tsx | 10 - template-nextjs-shadcn/app/globals.css | 78 - template-nextjs-shadcn/app/layout.tsx | 25 - template-nextjs-shadcn/app/layouts/layout.tsx | 11 - template-nextjs-shadcn/app/layouts/page.tsx | 146 - .../sticky-header-footer-below-fold/page.tsx | 19 - .../page.tsx | 42 - .../page.tsx | 26 - .../page.tsx | 28 - .../page.tsx | 28 - .../sticky-header-sticky-footer/page.tsx | 20 - .../sticky-sides-flex-content-simple/page.tsx | 29 - .../sticky-sides-flex-content/page.tsx | 37 - template-nextjs-shadcn/app/page.tsx | 57 - template-nextjs-shadcn/components.json | 16 - .../components/helpers/AfterSSR.tsx | 12 - .../components/helpers/FakeParagraphs.tsx | 21 - .../components/helpers/FakeWordList.tsx | 27 - .../components/layout/footer.tsx | 3 - .../components/layout/paragraph.tsx | 3 - .../layout/responsive-sidebar-button.tsx | 38 - .../components/layout/sticky-footer.tsx | 6 - .../components/layout/sticky-header.tsx | 6 - .../components/layout/sticky-sidebar.tsx | 13 - .../components/typography/code.tsx | 6 - .../components/typography/link.tsx | 23 - .../components/ui/accordion.tsx | 60 - .../components/ui/alert-dialog.tsx | 141 - .../components/ui/alert.tsx | 59 - .../components/ui/aspect-ratio.tsx | 7 - .../components/ui/avatar.tsx | 50 - .../components/ui/badge.tsx | 36 - .../components/ui/button.tsx | 57 - .../components/ui/calendar.tsx | 71 - template-nextjs-shadcn/components/ui/card.tsx | 76 - .../components/ui/checkbox.tsx | 30 - .../components/ui/collapsible.tsx | 11 - .../components/ui/command.tsx | 155 - .../components/ui/context-menu.tsx | 204 - .../components/ui/dialog.tsx | 122 - .../components/ui/dropdown-menu.tsx | 205 - template-nextjs-shadcn/components/ui/form.tsx | 176 - .../components/ui/hover-card.tsx | 29 - .../components/ui/input.tsx | 25 - .../components/ui/label.tsx | 26 - .../components/ui/menubar.tsx | 240 - .../components/ui/navigation-menu.tsx | 128 - .../components/ui/popover.tsx | 31 - .../components/ui/progress.tsx | 28 - .../components/ui/radio-group.tsx | 44 - .../components/ui/scroll-area.tsx | 53 - .../components/ui/select.tsx | 120 - .../components/ui/separator.tsx | 31 - .../components/ui/sheet.tsx | 140 - .../components/ui/skeleton.tsx | 15 - .../components/ui/slider.tsx | 28 - .../components/ui/switch.tsx | 29 - .../components/ui/table.tsx | 117 - template-nextjs-shadcn/components/ui/tabs.tsx | 55 - .../components/ui/textarea.tsx | 24 - .../components/ui/toast.tsx | 127 - .../components/ui/toaster.tsx | 35 - .../components/ui/toggle.tsx | 45 - .../components/ui/tooltip.tsx | 30 - .../components/ui/use-toast.ts | 192 - .../convex/_generated/api.d.ts | 37 - .../convex/_generated/api.js | 23 - .../convex/_generated/dataModel.d.ts | 61 - .../convex/_generated/server.d.ts | 143 - .../convex/_generated/server.js | 90 - template-nextjs-shadcn/convex/myFunctions.ts | 75 - template-nextjs-shadcn/convex/schema.ts | 30 - template-nextjs-shadcn/convex/tsconfig.json | 24 - template-nextjs-shadcn/lib/utils.tsx | 29 - template-nextjs-shadcn/next.config.js | 4 - template-nextjs-shadcn/package-lock.json | 7225 ----------------- template-nextjs-shadcn/package.json | 72 - template-nextjs-shadcn/postcss.config.js | 6 - template-nextjs-shadcn/tailwind.config.js | 74 - template-nextjs-shadcn/tsconfig.json | 27 - 83 files changed, 11796 deletions(-) delete mode 100644 template-nextjs-shadcn/.eslintrc.cjs delete mode 100644 template-nextjs-shadcn/.gitignore delete mode 100644 template-nextjs-shadcn/README.md delete mode 100644 template-nextjs-shadcn/app/ConvexClientProvider.tsx delete mode 100644 template-nextjs-shadcn/app/globals.css delete mode 100644 template-nextjs-shadcn/app/layout.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/layout.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx delete mode 100644 template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx delete mode 100644 template-nextjs-shadcn/app/page.tsx delete mode 100644 template-nextjs-shadcn/components.json delete mode 100644 template-nextjs-shadcn/components/helpers/AfterSSR.tsx delete mode 100644 template-nextjs-shadcn/components/helpers/FakeParagraphs.tsx delete mode 100644 template-nextjs-shadcn/components/helpers/FakeWordList.tsx delete mode 100644 template-nextjs-shadcn/components/layout/footer.tsx delete mode 100644 template-nextjs-shadcn/components/layout/paragraph.tsx delete mode 100644 template-nextjs-shadcn/components/layout/responsive-sidebar-button.tsx delete mode 100644 template-nextjs-shadcn/components/layout/sticky-footer.tsx delete mode 100644 template-nextjs-shadcn/components/layout/sticky-header.tsx delete mode 100644 template-nextjs-shadcn/components/layout/sticky-sidebar.tsx delete mode 100644 template-nextjs-shadcn/components/typography/code.tsx delete mode 100644 template-nextjs-shadcn/components/typography/link.tsx delete mode 100644 template-nextjs-shadcn/components/ui/accordion.tsx delete mode 100644 template-nextjs-shadcn/components/ui/alert-dialog.tsx delete mode 100644 template-nextjs-shadcn/components/ui/alert.tsx delete mode 100644 template-nextjs-shadcn/components/ui/aspect-ratio.tsx delete mode 100644 template-nextjs-shadcn/components/ui/avatar.tsx delete mode 100644 template-nextjs-shadcn/components/ui/badge.tsx delete mode 100644 template-nextjs-shadcn/components/ui/button.tsx delete mode 100644 template-nextjs-shadcn/components/ui/calendar.tsx delete mode 100644 template-nextjs-shadcn/components/ui/card.tsx delete mode 100644 template-nextjs-shadcn/components/ui/checkbox.tsx delete mode 100644 template-nextjs-shadcn/components/ui/collapsible.tsx delete mode 100644 template-nextjs-shadcn/components/ui/command.tsx delete mode 100644 template-nextjs-shadcn/components/ui/context-menu.tsx delete mode 100644 template-nextjs-shadcn/components/ui/dialog.tsx delete mode 100644 template-nextjs-shadcn/components/ui/dropdown-menu.tsx delete mode 100644 template-nextjs-shadcn/components/ui/form.tsx delete mode 100644 template-nextjs-shadcn/components/ui/hover-card.tsx delete mode 100644 template-nextjs-shadcn/components/ui/input.tsx delete mode 100644 template-nextjs-shadcn/components/ui/label.tsx delete mode 100644 template-nextjs-shadcn/components/ui/menubar.tsx delete mode 100644 template-nextjs-shadcn/components/ui/navigation-menu.tsx delete mode 100644 template-nextjs-shadcn/components/ui/popover.tsx delete mode 100644 template-nextjs-shadcn/components/ui/progress.tsx delete mode 100644 template-nextjs-shadcn/components/ui/radio-group.tsx delete mode 100644 template-nextjs-shadcn/components/ui/scroll-area.tsx delete mode 100644 template-nextjs-shadcn/components/ui/select.tsx delete mode 100644 template-nextjs-shadcn/components/ui/separator.tsx delete mode 100644 template-nextjs-shadcn/components/ui/sheet.tsx delete mode 100644 template-nextjs-shadcn/components/ui/skeleton.tsx delete mode 100644 template-nextjs-shadcn/components/ui/slider.tsx delete mode 100644 template-nextjs-shadcn/components/ui/switch.tsx delete mode 100644 template-nextjs-shadcn/components/ui/table.tsx delete mode 100644 template-nextjs-shadcn/components/ui/tabs.tsx delete mode 100644 template-nextjs-shadcn/components/ui/textarea.tsx delete mode 100644 template-nextjs-shadcn/components/ui/toast.tsx delete mode 100644 template-nextjs-shadcn/components/ui/toaster.tsx delete mode 100644 template-nextjs-shadcn/components/ui/toggle.tsx delete mode 100644 template-nextjs-shadcn/components/ui/tooltip.tsx delete mode 100644 template-nextjs-shadcn/components/ui/use-toast.ts delete mode 100644 template-nextjs-shadcn/convex/_generated/api.d.ts delete mode 100644 template-nextjs-shadcn/convex/_generated/api.js delete mode 100644 template-nextjs-shadcn/convex/_generated/dataModel.d.ts delete mode 100644 template-nextjs-shadcn/convex/_generated/server.d.ts delete mode 100644 template-nextjs-shadcn/convex/_generated/server.js delete mode 100644 template-nextjs-shadcn/convex/myFunctions.ts delete mode 100644 template-nextjs-shadcn/convex/schema.ts delete mode 100644 template-nextjs-shadcn/convex/tsconfig.json delete mode 100644 template-nextjs-shadcn/lib/utils.tsx delete mode 100644 template-nextjs-shadcn/next.config.js delete mode 100644 template-nextjs-shadcn/package-lock.json delete mode 100644 template-nextjs-shadcn/package.json delete mode 100644 template-nextjs-shadcn/postcss.config.js delete mode 100644 template-nextjs-shadcn/tailwind.config.js delete mode 100644 template-nextjs-shadcn/tsconfig.json diff --git a/template-nextjs-shadcn/.eslintrc.cjs b/template-nextjs-shadcn/.eslintrc.cjs deleted file mode 100644 index 2e88de8..0000000 --- a/template-nextjs-shadcn/.eslintrc.cjs +++ /dev/null @@ -1,46 +0,0 @@ -module.exports = { - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "next/core-web-vitals", - ], - ignorePatterns: [ - ".eslintrc.cjs", - "convex/_generated", - // There are currently ESLint errors in shadcn/ui - "components/ui", - ], - parserOptions: { - project: true, - tsconfigRootDir: __dirname, - }, - rules: { - // All of these overrides ease getting into - // TypeScript, and can be removed for stricter - // linting down the line. - - // Only warn on unused variables, and ignore variables starting with `_` - "@typescript-eslint/no-unused-vars": [ - "warn", - { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }, - ], - - // Allow escaping the compiler - "@typescript-eslint/ban-ts-comment": "error", - - // Allow explicit `any`s - "@typescript-eslint/no-explicit-any": "off", - - // START: Allow implicit `any`s - "@typescript-eslint/no-unsafe-argument": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/no-unsafe-return": "off", - // END: Allow implicit `any`s - - // Allow async functions without await - // for consistency (esp. Convex `handler`s) - "@typescript-eslint/require-await": "off", - }, -}; diff --git a/template-nextjs-shadcn/.gitignore b/template-nextjs-shadcn/.gitignore deleted file mode 100644 index 8f322f0..0000000 --- a/template-nextjs-shadcn/.gitignore +++ /dev/null @@ -1,35 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts diff --git a/template-nextjs-shadcn/README.md b/template-nextjs-shadcn/README.md deleted file mode 100644 index 0754c57..0000000 --- a/template-nextjs-shadcn/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Convex + TypeScript + Next.js + Tailwind + shadcn/ui - -This template provides a minimal setup to get Convex working with [Next.js](https://nextjs.org/). - -Start by editing `convex/myFunctions.ts` and interact with your Next.js app. - -See Convex docs at https://docs.convex.dev/home - -## Setting up - -``` -npm create convex@latest -t nextjs-shadcn -``` diff --git a/template-nextjs-shadcn/app/ConvexClientProvider.tsx b/template-nextjs-shadcn/app/ConvexClientProvider.tsx deleted file mode 100644 index 1803828..0000000 --- a/template-nextjs-shadcn/app/ConvexClientProvider.tsx +++ /dev/null @@ -1,10 +0,0 @@ -"use client"; - -import { ConvexProvider, ConvexReactClient } from "convex/react"; -import { ReactNode } from "react"; - -const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); - -export function ConvexClientProvider({ children }: { children: ReactNode }) { - return {children}; -} diff --git a/template-nextjs-shadcn/app/globals.css b/template-nextjs-shadcn/app/globals.css deleted file mode 100644 index ff246f2..0000000 --- a/template-nextjs-shadcn/app/globals.css +++ /dev/null @@ -1,78 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -@layer base { - :root { - --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; - - --popover: 0 0% 100%; - --popover-foreground: 240 10% 3.9%; - - --primary: 240 5.9% 10%; - --primary-foreground: 0 0% 98%; - - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - - --destructive: 0 84.2% 60.2%; - --destructive-foreground: 0 0% 98%; - - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - --ring: 240 10% 3.9%; - - --radius: 0.5rem; - } - - @media (prefers-color-scheme: dark) { - :root { - --background: 240 10% 3.9%; - --foreground: 0 0% 98%; - - --card: 240 10% 3.9%; - --card-foreground: 0 0% 98%; - - --popover: 240 10% 3.9%; - --popover-foreground: 0 0% 98%; - - --primary: 0 0% 98%; - --primary-foreground: 240 5.9% 10%; - - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - - --muted: 240 3.7% 15.9%; - --muted-foreground: 240 5% 64.9%; - - --accent: 240 3.7% 15.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - --ring: 240 4.9% 83.9%; - } - } -} - -@layer base { - * { - @apply border-border; - } - body { - @apply bg-background text-foreground min-h-full; - } -} diff --git a/template-nextjs-shadcn/app/layout.tsx b/template-nextjs-shadcn/app/layout.tsx deleted file mode 100644 index 33540d8..0000000 --- a/template-nextjs-shadcn/app/layout.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import "./globals.css"; -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; -import { ConvexClientProvider } from "./ConvexClientProvider"; - -const inter = Inter({ subsets: ["latin"] }); - -export const metadata: Metadata = { - title: "My App Title", - description: "My app description", -}; - -export default function RootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - - - {children} - - - ); -} diff --git a/template-nextjs-shadcn/app/layouts/layout.tsx b/template-nextjs-shadcn/app/layouts/layout.tsx deleted file mode 100644 index 901a5ac..0000000 --- a/template-nextjs-shadcn/app/layouts/layout.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import type { Metadata } from "next"; -import { ReactNode } from "react"; - -export const metadata: Metadata = { - title: "Layout showcase - you can delete me", - description: 'You can delete the whole "layouts" directory', -}; - -export default function LayoutsLayout({ children }: { children: ReactNode }) { - return children; -} diff --git a/template-nextjs-shadcn/app/layouts/page.tsx b/template-nextjs-shadcn/app/layouts/page.tsx deleted file mode 100644 index 8c7226b..0000000 --- a/template-nextjs-shadcn/app/layouts/page.tsx +++ /dev/null @@ -1,146 +0,0 @@ -import { Code } from "@/components/typography/code"; -import { Link } from "@/components/typography/link"; - -export default function Layouts() { - return ( -

- - Sticky header, sticky footer -
-
-
-
-
-
-
- - - - Sticky header, footer below fold -
-
-
-
-
-
-
- - - - Sticky header, sticky sidebar, footer below fold -
-
-
-
-
-
-
-
-
-
- - - - Sticky header, sticky sidebar, footer inside & below fold -
-
-
-
-
-
-
-
-
-
-
-
-
- - - - Sticky header, sticky sidebar, sticky footer -
-
-
-
-
-
-
-
-
-
- - - - Sticky header & sidebar & footer, full-screen content -
-
-
-
-
-
-
-
-
-
-
-
- - - - Sticky header & sidebar & footer, full-screen content (simple) -
-
-
-
-
-
-
-
-
-
-
-
- - - - Sticky header & sidebar, footer below fold, responsive -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -

- Done with layouts? Simply delete the app/layouts directory. -

-
- ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx deleted file mode 100644 index 20a64a5..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-footer-below-fold/page.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { Footer } from "@/components/layout/footer"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyHeader } from "@/components/layout/sticky-header"; - -export default function Layout() { - return ( - <> - Sticky header - {/* For Footer to appear below the fold, the subtrahend - inside calc() must be the same height as the header */} -
- Main content - -
-
Footer below fold
- - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx deleted file mode 100644 index 0e39154..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold-responsive/page.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Footer } from "@/components/layout/footer"; -import { Paragraph } from "@/components/layout/paragraph"; -import { ResponsiveSidebarButton } from "@/components/layout/responsive-sidebar-button"; -import { StickyHeader } from "@/components/layout/sticky-header"; -import { StickySidebar } from "@/components/layout/sticky-sidebar"; -import { ScrollArea } from "@/components/ui/scroll-area"; - -// You control the responsive page layout breakpoint, in this example -// we use `sm:` (640px). -export default function Layout() { - const sidebar = ( - <> -
Sticky sidebar
- - Last - - ); - return ( - <> - - Sticky header - -
- {sidebar} -
-
-
-
- - {sidebar} - -
- Main content - -
-
-
Footer below fold
- - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx deleted file mode 100644 index 6c46a81..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-below-fold/page.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Footer } from "@/components/layout/footer"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyHeader } from "@/components/layout/sticky-header"; -import { StickySidebar } from "@/components/layout/sticky-sidebar"; - -export default function Layout() { - return ( - <> - Sticky header - {/* Remove `container` if you want full-page width layout */} -
- -
Sticky sidebar
- -
-
- Main content - -
-
-
Footer below fold
- - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx deleted file mode 100644 index cf4bd8a..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-footer-inside/page.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Footer } from "@/components/layout/footer"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyHeader } from "@/components/layout/sticky-header"; -import { StickySidebar } from "@/components/layout/sticky-sidebar"; - -export default function Layout() { - return ( - <> - Sticky header - {/* Remove `container` if you want full-page width layout */} -
- -
Sticky sidebar
- -
-
-
- Main content - -
-
Footer below fold inside the main column
-
-
- - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx deleted file mode 100644 index 56a0013..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-sidebar-sticky-footer/page.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyFooter } from "@/components/layout/sticky-footer"; -import { StickyHeader } from "@/components/layout/sticky-header"; -import { StickySidebar } from "@/components/layout/sticky-sidebar"; - -export default function Layout() { - return ( - <> - Sticky header - {/* For Footer to appear at the bottom, and the page - to not have unnecessary scrollbar, the subtrahend - inside calc() must be the same height as the header + footer */} -
- -
Sticky sidebar
- -
-
- Main content - -
-
- Sticky footer - - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx deleted file mode 100644 index 4813e0b..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-header-sticky-footer/page.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyFooter } from "@/components/layout/sticky-footer"; -import { StickyHeader } from "@/components/layout/sticky-header"; - -export default function Layout() { - return ( - <> - Sticky header - {/* For Footer to appear at the bottom, and the page - to not have unnecessary scrollbar, the subtrahend - inside calc() must be the same height as the header + footer */} -
- Main content - -
- Sticky footer - - ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx deleted file mode 100644 index 207ea6a..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content-simple/page.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Paragraph } from "@/components/layout/paragraph"; - -// This is a simpler implementation of the -// `sticky-sides-flex-content` layout, -// in case you don't need to switch to another layout dynamically. -export default function Layout() { - return ( -
-
Sticky header
-
- -
-
-
- Main content - -
-
-
-
-
Sticky footer
-
- ); -} diff --git a/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx b/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx deleted file mode 100644 index e24e00d..0000000 --- a/template-nextjs-shadcn/app/layouts/sticky-sides-flex-content/page.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { FakeParagraphs } from "@/components/helpers/FakeParagraphs"; -import { FakeWordList } from "@/components/helpers/FakeWordList"; -import { Paragraph } from "@/components/layout/paragraph"; -import { StickyFooter } from "@/components/layout/sticky-footer"; -import { StickyHeader } from "@/components/layout/sticky-header"; -import { StickySidebar } from "@/components/layout/sticky-sidebar"; - -// This layout extends `sticky-header-sidebar-sticky-footer`, -// in case you need to switch between it and this one dynamically. -// -// If you don't, you can use the simpler -// `stick-sides-flex-content-simple` layout. -export default function Layout() { - return ( - <> - Sticky header - {/* For Footer to appear at the bottom, and the page - to not have unnecessary scrollbar, the subtrahend - inside calc() must be the same height as the header + footer */} -
- -
Sticky sidebar
- -
-
-
-
- Main content - -
-
-
-
- Sticky footer - - ); -} diff --git a/template-nextjs-shadcn/app/page.tsx b/template-nextjs-shadcn/app/page.tsx deleted file mode 100644 index bf41547..0000000 --- a/template-nextjs-shadcn/app/page.tsx +++ /dev/null @@ -1,57 +0,0 @@ -"use client"; - -import { Button } from "@/components/ui/button"; -import { useMutation, useQuery } from "convex/react"; -import { api } from "@/convex/_generated/api"; -import { Code } from "@/components/typography/code"; -import { Link } from "@/components/typography/link"; - -export default function Home() { - const numbers = useQuery(api.myFunctions.listNumbers, { count: 10 }); - const addNumber = useMutation(api.myFunctions.addNumber); - - return ( -
-

- Convex + Next.js -

-

- Click the button and open this page in another window - this data is - persisted in the Convex cloud database! -

-

- -

-

- Numbers:{" "} - {numbers?.length === 0 - ? "Click the button!" - : numbers?.join(", ") ?? "..."} -

-

- Edit convex/myFunctions.ts to change your backend -

-

- Edit app/page.tsx to change your frontend -

-

- Check out{" "} - - Convex docs - -

-

- To build a full page layout copy one of the included{" "} - - layouts - -

-
- ); -} diff --git a/template-nextjs-shadcn/components.json b/template-nextjs-shadcn/components.json deleted file mode 100644 index 7681c2f..0000000 --- a/template-nextjs-shadcn/components.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$schema": "https://ui.shadcn.com/schema.json", - "style": "new-york", - "rsc": true, - "tsx": true, - "tailwind": { - "config": "tailwind.config.js", - "css": "app/globals.css", - "baseColor": "slate", - "cssVariables": true - }, - "aliases": { - "components": "@/components", - "utils": "@/lib/utils" - } -} \ No newline at end of file diff --git a/template-nextjs-shadcn/components/helpers/AfterSSR.tsx b/template-nextjs-shadcn/components/helpers/AfterSSR.tsx deleted file mode 100644 index 51832da..0000000 --- a/template-nextjs-shadcn/components/helpers/AfterSSR.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { useEffect, useState, ReactNode } from "react"; - -export function AfterSSR({ children }: { children: ReactNode }) { - const [show, setShow] = useState(false); - useEffect(() => { - setShow(true); - }, []); - if (!show) { - return null; - } - return children; -} diff --git a/template-nextjs-shadcn/components/helpers/FakeParagraphs.tsx b/template-nextjs-shadcn/components/helpers/FakeParagraphs.tsx deleted file mode 100644 index d68292c..0000000 --- a/template-nextjs-shadcn/components/helpers/FakeParagraphs.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { memo } from "react"; -import { Paragraph } from "../layout/paragraph"; -import Jabber from "jabber"; - -const jabber = new Jabber(); - -export const FakeParagraphs = memo(function FakeParagraphs({ - count, - words, -}: { - count: number; - words: number; -}) { - return ( - <> - {[...Array(count)].map((_, i) => ( - {jabber.createParagraph(words)} - ))} - - ); -}); diff --git a/template-nextjs-shadcn/components/helpers/FakeWordList.tsx b/template-nextjs-shadcn/components/helpers/FakeWordList.tsx deleted file mode 100644 index 6d2d02a..0000000 --- a/template-nextjs-shadcn/components/helpers/FakeWordList.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { memo } from "react"; -import Jabber from "jabber"; - -const jabber = new Jabber(); - -export const FakeWordList = memo(function FakeWordList({ - count, - length, - capitalize, -}: { - count: number; - length: [number, number]; - capitalize?: boolean; -}) { - return ( - <> - {[...Array(count)].map((_, i) => ( -
- {jabber.createWord( - length[0] + Math.floor(Math.random() * (length[1] - length[0])), - capitalize - )} -
- ))} - - ); -}); diff --git a/template-nextjs-shadcn/components/layout/footer.tsx b/template-nextjs-shadcn/components/layout/footer.tsx deleted file mode 100644 index 724de60..0000000 --- a/template-nextjs-shadcn/components/layout/footer.tsx +++ /dev/null @@ -1,3 +0,0 @@ -import { se } from "@/lib/utils"; - -export const Footer = se("footer", "border-t"); diff --git a/template-nextjs-shadcn/components/layout/paragraph.tsx b/template-nextjs-shadcn/components/layout/paragraph.tsx deleted file mode 100644 index 5b5d8cd..0000000 --- a/template-nextjs-shadcn/components/layout/paragraph.tsx +++ /dev/null @@ -1,3 +0,0 @@ -import { se } from "@/lib/utils"; - -export const Paragraph = se("p", "leading-7 [&:not(:first-child)]:mt-6"); diff --git a/template-nextjs-shadcn/components/layout/responsive-sidebar-button.tsx b/template-nextjs-shadcn/components/layout/responsive-sidebar-button.tsx deleted file mode 100644 index 2467495..0000000 --- a/template-nextjs-shadcn/components/layout/responsive-sidebar-button.tsx +++ /dev/null @@ -1,38 +0,0 @@ -"use client"; - -import { Button, ButtonProps } from "@/components/ui/button"; -import { fr } from "@/lib/utils"; -import { Cross2Icon, HamburgerMenuIcon } from "@radix-ui/react-icons"; -import { Slot } from "@radix-ui/react-slot"; -import { useState } from "react"; -import { RemoveScroll } from "react-remove-scroll"; - -// Pass the sidebar displayed when the button is clicked as children -export const ResponsiveSidebarButton = fr( - function ResponsiveSidebarButton({ children, ...props }, ref) { - const [showSidebar, setShowSidebar] = useState(false); - - return ( - <> - - {showSidebar ? ( - - {children} - - ) : null} - - ); - } -); diff --git a/template-nextjs-shadcn/components/layout/sticky-footer.tsx b/template-nextjs-shadcn/components/layout/sticky-footer.tsx deleted file mode 100644 index 44ace6c..0000000 --- a/template-nextjs-shadcn/components/layout/sticky-footer.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { se } from "@/lib/utils"; - -export const StickyFooter = se( - "footer", - "sticky bottom-0 z-50 w-full border-t bg-background/80 backdrop-blur" -); diff --git a/template-nextjs-shadcn/components/layout/sticky-header.tsx b/template-nextjs-shadcn/components/layout/sticky-header.tsx deleted file mode 100644 index 0d9d27e..0000000 --- a/template-nextjs-shadcn/components/layout/sticky-header.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { se } from "@/lib/utils"; - -export const StickyHeader = se( - "header", - "sticky top-0 z-50 w-full border-b bg-background/80 backdrop-blur" -); diff --git a/template-nextjs-shadcn/components/layout/sticky-sidebar.tsx b/template-nextjs-shadcn/components/layout/sticky-sidebar.tsx deleted file mode 100644 index 097b8be..0000000 --- a/template-nextjs-shadcn/components/layout/sticky-sidebar.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { cn, fr } from "@/lib/utils"; -import { ScrollArea } from "@/components/ui/scroll-area"; - -export const StickySidebar = fr(function StickySidebar( - { className, children, ...props }, - ref -) { - return ( - - ); -}); diff --git a/template-nextjs-shadcn/components/typography/code.tsx b/template-nextjs-shadcn/components/typography/code.tsx deleted file mode 100644 index b13dd50..0000000 --- a/template-nextjs-shadcn/components/typography/code.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { se } from "@/lib/utils"; - -export const Code = se( - "code", - "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold" -); diff --git a/template-nextjs-shadcn/components/typography/link.tsx b/template-nextjs-shadcn/components/typography/link.tsx deleted file mode 100644 index 05b9deb..0000000 --- a/template-nextjs-shadcn/components/typography/link.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import { cn, fr } from "@/lib/utils"; -import NextLink, { LinkProps } from "next/link"; - -export const Link = fr< - HTMLAnchorElement, - Omit, keyof LinkProps> & - LinkProps & { - children?: React.ReactNode; - } & React.RefAttributes ->(function Link({ className, children, ...props }, ref) { - return ( - - {children} - - ); -}); diff --git a/template-nextjs-shadcn/components/ui/accordion.tsx b/template-nextjs-shadcn/components/ui/accordion.tsx deleted file mode 100644 index 66f095a..0000000 --- a/template-nextjs-shadcn/components/ui/accordion.tsx +++ /dev/null @@ -1,60 +0,0 @@ -"use client" - -import * as React from "react" -import * as AccordionPrimitive from "@radix-ui/react-accordion" -import { ChevronDownIcon } from "@radix-ui/react-icons" - -import { cn } from "@/lib/utils" - -const Accordion = AccordionPrimitive.Root - -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AccordionItem.displayName = "AccordionItem" - -const AccordionTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - svg]:rotate-180", - className - )} - {...props} - > - {children} - - - -)) -AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName - -const AccordionContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -
{children}
-
-)) -AccordionContent.displayName = AccordionPrimitive.Content.displayName - -export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } diff --git a/template-nextjs-shadcn/components/ui/alert-dialog.tsx b/template-nextjs-shadcn/components/ui/alert-dialog.tsx deleted file mode 100644 index 82cf04d..0000000 --- a/template-nextjs-shadcn/components/ui/alert-dialog.tsx +++ /dev/null @@ -1,141 +0,0 @@ -"use client" - -import * as React from "react" -import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" - -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" - -const AlertDialog = AlertDialogPrimitive.Root - -const AlertDialogTrigger = AlertDialogPrimitive.Trigger - -const AlertDialogPortal = AlertDialogPrimitive.Portal - -const AlertDialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName - -const AlertDialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - -)) -AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName - -const AlertDialogHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogHeader.displayName = "AlertDialogHeader" - -const AlertDialogFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogFooter.displayName = "AlertDialogFooter" - -const AlertDialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName - -const AlertDialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogDescription.displayName = - AlertDialogPrimitive.Description.displayName - -const AlertDialogAction = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName - -const AlertDialogCancel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName - -export { - AlertDialog, - AlertDialogPortal, - AlertDialogOverlay, - AlertDialogTrigger, - AlertDialogContent, - AlertDialogHeader, - AlertDialogFooter, - AlertDialogTitle, - AlertDialogDescription, - AlertDialogAction, - AlertDialogCancel, -} diff --git a/template-nextjs-shadcn/components/ui/alert.tsx b/template-nextjs-shadcn/components/ui/alert.tsx deleted file mode 100644 index 5afd41d..0000000 --- a/template-nextjs-shadcn/components/ui/alert.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const alertVariants = cva( - "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7", - { - variants: { - variant: { - default: "bg-background text-foreground", - destructive: - "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive", - }, - }, - defaultVariants: { - variant: "default", - }, - } -) - -const Alert = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes & VariantProps ->(({ className, variant, ...props }, ref) => ( -
-)) -Alert.displayName = "Alert" - -const AlertTitle = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertTitle.displayName = "AlertTitle" - -const AlertDescription = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -AlertDescription.displayName = "AlertDescription" - -export { Alert, AlertTitle, AlertDescription } diff --git a/template-nextjs-shadcn/components/ui/aspect-ratio.tsx b/template-nextjs-shadcn/components/ui/aspect-ratio.tsx deleted file mode 100644 index d6a5226..0000000 --- a/template-nextjs-shadcn/components/ui/aspect-ratio.tsx +++ /dev/null @@ -1,7 +0,0 @@ -"use client" - -import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" - -const AspectRatio = AspectRatioPrimitive.Root - -export { AspectRatio } diff --git a/template-nextjs-shadcn/components/ui/avatar.tsx b/template-nextjs-shadcn/components/ui/avatar.tsx deleted file mode 100644 index 51e507b..0000000 --- a/template-nextjs-shadcn/components/ui/avatar.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client" - -import * as React from "react" -import * as AvatarPrimitive from "@radix-ui/react-avatar" - -import { cn } from "@/lib/utils" - -const Avatar = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -Avatar.displayName = AvatarPrimitive.Root.displayName - -const AvatarImage = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AvatarImage.displayName = AvatarPrimitive.Image.displayName - -const AvatarFallback = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName - -export { Avatar, AvatarImage, AvatarFallback } diff --git a/template-nextjs-shadcn/components/ui/badge.tsx b/template-nextjs-shadcn/components/ui/badge.tsx deleted file mode 100644 index e87d62b..0000000 --- a/template-nextjs-shadcn/components/ui/badge.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const badgeVariants = cva( - "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", - { - variants: { - variant: { - default: - "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80", - secondary: - "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", - destructive: - "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", - outline: "text-foreground", - }, - }, - defaultVariants: { - variant: "default", - }, - } -) - -export interface BadgeProps - extends React.HTMLAttributes, - VariantProps {} - -function Badge({ className, variant, ...props }: BadgeProps) { - return ( -
- ) -} - -export { Badge, badgeVariants } diff --git a/template-nextjs-shadcn/components/ui/button.tsx b/template-nextjs-shadcn/components/ui/button.tsx deleted file mode 100644 index 85d20f2..0000000 --- a/template-nextjs-shadcn/components/ui/button.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import * as React from "react" -import { Slot } from "@radix-ui/react-slot" -import { cva, type VariantProps } from "class-variance-authority" - -import { cn } from "@/lib/utils" - -const buttonVariants = cva( - "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", - { - variants: { - variant: { - default: - "bg-primary text-primary-foreground shadow hover:bg-primary/90", - destructive: - "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90", - outline: - "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground", - secondary: - "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", - link: "text-primary underline-offset-4 hover:underline", - }, - size: { - default: "h-9 px-4 py-2", - sm: "h-8 rounded-md px-3 text-xs", - lg: "h-10 rounded-md px-8", - icon: "h-9 w-9", - }, - }, - defaultVariants: { - variant: "default", - size: "default", - }, - } -) - -export interface ButtonProps - extends React.ButtonHTMLAttributes, - VariantProps { - asChild?: boolean -} - -const Button = React.forwardRef( - ({ className, variant, size, asChild = false, ...props }, ref) => { - const Comp = asChild ? Slot : "button" - return ( - - ) - } -) -Button.displayName = "Button" - -export { Button, buttonVariants } diff --git a/template-nextjs-shadcn/components/ui/calendar.tsx b/template-nextjs-shadcn/components/ui/calendar.tsx deleted file mode 100644 index 9133bb9..0000000 --- a/template-nextjs-shadcn/components/ui/calendar.tsx +++ /dev/null @@ -1,71 +0,0 @@ -"use client"; - -import * as React from "react"; -import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons"; -import { DayPicker } from "react-day-picker"; - -import { cn } from "@/lib/utils"; -import { buttonVariants } from "@/components/ui/button"; - -export type CalendarProps = React.ComponentProps; - -function Calendar({ - className, - classNames, - showOutsideDays = true, - ...props -}: CalendarProps) { - return ( - .day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" - : "[&:has([aria-selected])]:rounded-md" - ), - day: cn( - buttonVariants({ variant: "ghost" }), - "h-8 w-8 p-0 font-normal aria-selected:opacity-100" - ), - day_range_start: "day-range-start", - day_range_end: "day-range-end", - day_selected: - "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground", - day_today: "bg-accent text-accent-foreground", - day_outside: "text-muted-foreground opacity-50", - day_disabled: "text-muted-foreground opacity-50", - day_range_middle: - "aria-selected:bg-accent aria-selected:text-accent-foreground", - day_hidden: "invisible", - ...classNames, - }} - components={{ - IconLeft: () => , - IconRight: () => , - }} - {...props} - /> - ); -} -Calendar.displayName = "Calendar"; - -export { Calendar }; diff --git a/template-nextjs-shadcn/components/ui/card.tsx b/template-nextjs-shadcn/components/ui/card.tsx deleted file mode 100644 index 77e9fb7..0000000 --- a/template-nextjs-shadcn/components/ui/card.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import * as React from "react" - -import { cn } from "@/lib/utils" - -const Card = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -Card.displayName = "Card" - -const CardHeader = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -CardHeader.displayName = "CardHeader" - -const CardTitle = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -

-)) -CardTitle.displayName = "CardTitle" - -const CardDescription = React.forwardRef< - HTMLParagraphElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -

-)) -CardDescription.displayName = "CardDescription" - -const CardContent = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -

-)) -CardContent.displayName = "CardContent" - -const CardFooter = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => ( -
-)) -CardFooter.displayName = "CardFooter" - -export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } diff --git a/template-nextjs-shadcn/components/ui/checkbox.tsx b/template-nextjs-shadcn/components/ui/checkbox.tsx deleted file mode 100644 index 7d2b3c3..0000000 --- a/template-nextjs-shadcn/components/ui/checkbox.tsx +++ /dev/null @@ -1,30 +0,0 @@ -"use client" - -import * as React from "react" -import * as CheckboxPrimitive from "@radix-ui/react-checkbox" -import { CheckIcon } from "@radix-ui/react-icons" - -import { cn } from "@/lib/utils" - -const Checkbox = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - - -)) -Checkbox.displayName = CheckboxPrimitive.Root.displayName - -export { Checkbox } diff --git a/template-nextjs-shadcn/components/ui/collapsible.tsx b/template-nextjs-shadcn/components/ui/collapsible.tsx deleted file mode 100644 index 9fa4894..0000000 --- a/template-nextjs-shadcn/components/ui/collapsible.tsx +++ /dev/null @@ -1,11 +0,0 @@ -"use client" - -import * as CollapsiblePrimitive from "@radix-ui/react-collapsible" - -const Collapsible = CollapsiblePrimitive.Root - -const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger - -const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent - -export { Collapsible, CollapsibleTrigger, CollapsibleContent } diff --git a/template-nextjs-shadcn/components/ui/command.tsx b/template-nextjs-shadcn/components/ui/command.tsx deleted file mode 100644 index 6f4a5eb..0000000 --- a/template-nextjs-shadcn/components/ui/command.tsx +++ /dev/null @@ -1,155 +0,0 @@ -"use client" - -import * as React from "react" -import { DialogProps } from "@radix-ui/react-dialog" -import { MagnifyingGlassIcon } from "@radix-ui/react-icons" -import { Command as CommandPrimitive } from "cmdk" - -import { cn } from "@/lib/utils" -import { Dialog, DialogContent } from "@/components/ui/dialog" - -const Command = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -Command.displayName = CommandPrimitive.displayName - -interface CommandDialogProps extends DialogProps {} - -const CommandDialog = ({ children, ...props }: CommandDialogProps) => { - return ( - - - - {children} - - - - ) -} - -const CommandInput = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( -
- - -
-)) - -CommandInput.displayName = CommandPrimitive.Input.displayName - -const CommandList = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) - -CommandList.displayName = CommandPrimitive.List.displayName - -const CommandEmpty = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->((props, ref) => ( - -)) - -CommandEmpty.displayName = CommandPrimitive.Empty.displayName - -const CommandGroup = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) - -CommandGroup.displayName = CommandPrimitive.Group.displayName - -const CommandSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -CommandSeparator.displayName = CommandPrimitive.Separator.displayName - -const CommandItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) - -CommandItem.displayName = CommandPrimitive.Item.displayName - -const CommandShortcut = ({ - className, - ...props -}: React.HTMLAttributes) => { - return ( - - ) -} -CommandShortcut.displayName = "CommandShortcut" - -export { - Command, - CommandDialog, - CommandInput, - CommandList, - CommandEmpty, - CommandGroup, - CommandItem, - CommandShortcut, - CommandSeparator, -} diff --git a/template-nextjs-shadcn/components/ui/context-menu.tsx b/template-nextjs-shadcn/components/ui/context-menu.tsx deleted file mode 100644 index 654810a..0000000 --- a/template-nextjs-shadcn/components/ui/context-menu.tsx +++ /dev/null @@ -1,204 +0,0 @@ -"use client" - -import * as React from "react" -import * as ContextMenuPrimitive from "@radix-ui/react-context-menu" -import { - CheckIcon, - ChevronRightIcon, - DotFilledIcon, -} from "@radix-ui/react-icons" - -import { cn } from "@/lib/utils" - -const ContextMenu = ContextMenuPrimitive.Root - -const ContextMenuTrigger = ContextMenuPrimitive.Trigger - -const ContextMenuGroup = ContextMenuPrimitive.Group - -const ContextMenuPortal = ContextMenuPrimitive.Portal - -const ContextMenuSub = ContextMenuPrimitive.Sub - -const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup - -const ContextMenuSubTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, children, ...props }, ref) => ( - - {children} - - -)) -ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName - -const ContextMenuSubContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName - -const ContextMenuContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - -)) -ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName - -const ContextMenuItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, ...props }, ref) => ( - -)) -ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName - -const ContextMenuCheckboxItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, checked, ...props }, ref) => ( - - - - - - - {children} - -)) -ContextMenuCheckboxItem.displayName = - ContextMenuPrimitive.CheckboxItem.displayName - -const ContextMenuRadioItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - - - - {children} - -)) -ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName - -const ContextMenuLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, ...props }, ref) => ( - -)) -ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName - -const ContextMenuSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName - -const ContextMenuShortcut = ({ - className, - ...props -}: React.HTMLAttributes) => { - return ( - - ) -} -ContextMenuShortcut.displayName = "ContextMenuShortcut" - -export { - ContextMenu, - ContextMenuTrigger, - ContextMenuContent, - ContextMenuItem, - ContextMenuCheckboxItem, - ContextMenuRadioItem, - ContextMenuLabel, - ContextMenuSeparator, - ContextMenuShortcut, - ContextMenuGroup, - ContextMenuPortal, - ContextMenuSub, - ContextMenuSubContent, - ContextMenuSubTrigger, - ContextMenuRadioGroup, -} diff --git a/template-nextjs-shadcn/components/ui/dialog.tsx b/template-nextjs-shadcn/components/ui/dialog.tsx deleted file mode 100644 index 5e7c095..0000000 --- a/template-nextjs-shadcn/components/ui/dialog.tsx +++ /dev/null @@ -1,122 +0,0 @@ -"use client" - -import * as React from "react" -import * as DialogPrimitive from "@radix-ui/react-dialog" -import { Cross2Icon } from "@radix-ui/react-icons" - -import { cn } from "@/lib/utils" - -const Dialog = DialogPrimitive.Root - -const DialogTrigger = DialogPrimitive.Trigger - -const DialogPortal = DialogPrimitive.Portal - -const DialogClose = DialogPrimitive.Close - -const DialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -DialogOverlay.displayName = DialogPrimitive.Overlay.displayName - -const DialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - {children} - - - Close - - - -)) -DialogContent.displayName = DialogPrimitive.Content.displayName - -const DialogHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -DialogHeader.displayName = "DialogHeader" - -const DialogFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -DialogFooter.displayName = "DialogFooter" - -const DialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -DialogTitle.displayName = DialogPrimitive.Title.displayName - -const DialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -DialogDescription.displayName = DialogPrimitive.Description.displayName - -export { - Dialog, - DialogPortal, - DialogOverlay, - DialogTrigger, - DialogClose, - DialogContent, - DialogHeader, - DialogFooter, - DialogTitle, - DialogDescription, -} diff --git a/template-nextjs-shadcn/components/ui/dropdown-menu.tsx b/template-nextjs-shadcn/components/ui/dropdown-menu.tsx deleted file mode 100644 index 242b07a..0000000 --- a/template-nextjs-shadcn/components/ui/dropdown-menu.tsx +++ /dev/null @@ -1,205 +0,0 @@ -"use client" - -import * as React from "react" -import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" -import { - CheckIcon, - ChevronRightIcon, - DotFilledIcon, -} from "@radix-ui/react-icons" - -import { cn } from "@/lib/utils" - -const DropdownMenu = DropdownMenuPrimitive.Root - -const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger - -const DropdownMenuGroup = DropdownMenuPrimitive.Group - -const DropdownMenuPortal = DropdownMenuPrimitive.Portal - -const DropdownMenuSub = DropdownMenuPrimitive.Sub - -const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup - -const DropdownMenuSubTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, children, ...props }, ref) => ( - - {children} - - -)) -DropdownMenuSubTrigger.displayName = - DropdownMenuPrimitive.SubTrigger.displayName - -const DropdownMenuSubContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -DropdownMenuSubContent.displayName = - DropdownMenuPrimitive.SubContent.displayName - -const DropdownMenuContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, sideOffset = 4, ...props }, ref) => ( - - - -)) -DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName - -const DropdownMenuItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, ...props }, ref) => ( - -)) -DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName - -const DropdownMenuCheckboxItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, checked, ...props }, ref) => ( - - - - - - - {children} - -)) -DropdownMenuCheckboxItem.displayName = - DropdownMenuPrimitive.CheckboxItem.displayName - -const DropdownMenuRadioItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - - - - {children} - -)) -DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName - -const DropdownMenuLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean - } ->(({ className, inset, ...props }, ref) => ( - -)) -DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName - -const DropdownMenuSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName - -const DropdownMenuShortcut = ({ - className, - ...props -}: React.HTMLAttributes) => { - return ( - - ) -} -DropdownMenuShortcut.displayName = "DropdownMenuShortcut" - -export { - DropdownMenu, - DropdownMenuTrigger, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuCheckboxItem, - DropdownMenuRadioItem, - DropdownMenuLabel, - DropdownMenuSeparator, - DropdownMenuShortcut, - DropdownMenuGroup, - DropdownMenuPortal, - DropdownMenuSub, - DropdownMenuSubContent, - DropdownMenuSubTrigger, - DropdownMenuRadioGroup, -} diff --git a/template-nextjs-shadcn/components/ui/form.tsx b/template-nextjs-shadcn/components/ui/form.tsx deleted file mode 100644 index f6afdaf..0000000 --- a/template-nextjs-shadcn/components/ui/form.tsx +++ /dev/null @@ -1,176 +0,0 @@ -import * as React from "react" -import * as LabelPrimitive from "@radix-ui/react-label" -import { Slot } from "@radix-ui/react-slot" -import { - Controller, - ControllerProps, - FieldPath, - FieldValues, - FormProvider, - useFormContext, -} from "react-hook-form" - -import { cn } from "@/lib/utils" -import { Label } from "@/components/ui/label" - -const Form = FormProvider - -type FormFieldContextValue< - TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath -> = { - name: TName -} - -const FormFieldContext = React.createContext( - {} as FormFieldContextValue -) - -const FormField = < - TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath ->({ - ...props -}: ControllerProps) => { - return ( - - - - ) -} - -const useFormField = () => { - const fieldContext = React.useContext(FormFieldContext) - const itemContext = React.useContext(FormItemContext) - const { getFieldState, formState } = useFormContext() - - const fieldState = getFieldState(fieldContext.name, formState) - - if (!fieldContext) { - throw new Error("useFormField should be used within ") - } - - const { id } = itemContext - - return { - id, - name: fieldContext.name, - formItemId: `${id}-form-item`, - formDescriptionId: `${id}-form-item-description`, - formMessageId: `${id}-form-item-message`, - ...fieldState, - } -} - -type FormItemContextValue = { - id: string -} - -const FormItemContext = React.createContext( - {} as FormItemContextValue -) - -const FormItem = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes ->(({ className, ...props }, ref) => { - const id = React.useId() - - return ( - -
- - ) -}) -FormItem.displayName = "FormItem" - -const FormLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => { - const { error, formItemId } = useFormField() - - return ( -