Template
Update dependencies and fix what the new lint rules caught
Every package moves to its newest in-major version, plus React 19.3, @convex-dev/auth 0.0.96 and next-plausible 4. The backend declares @auth/core and generates sign-in codes without oslo, which @convex-dev/auth no longer pulls in. The UseSend patch now actually removes the crypto import Convex refuses to bundle. The stricter react-hooks and typescript-eslint rules flagged the carousel, chart, image crop and mobile hook, which now pass.
This commit is contained in:
1 parent
a4d4355886
commit
1af6b43b1a
19 files changed
+799
-1328
No files matched your search
+19
@@ -21,6 +21,17 @@ import {
|
||||
} from "convex/server";
|
||||
import type { DataModel } from "./dataModel.js";
|
||||
|
||||
/**
|
||||
* Typesafe environment variables.
|
||||
*
|
||||
* This includes platform-provided env vars and any variables declared in
|
||||
* `convex.config.ts`.
|
||||
*/
|
||||
type Env = {
|
||||
readonly CONVEX_CLOUD_URL: string;
|
||||
readonly CONVEX_SITE_URL: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Define a query in this Convex app's public API.
|
||||
*
|
||||
@@ -95,6 +106,14 @@ export declare const internalAction: ActionBuilder<DataModel, "internal">;
|
||||
*/
|
||||
export declare const httpAction: HttpActionBuilder;
|
||||
|
||||
/**
|
||||
* Typesafe environment variables.
|
||||
*
|
||||
* This includes platform-provided env vars and any variables declared in
|
||||
* `convex.config.ts`.
|
||||
*/
|
||||
export declare const env: Env;
|
||||
|
||||
/**
|
||||
* A set of services for use within Convex query functions.
|
||||
*
|
||||
|
||||
@@ -91,3 +91,11 @@ export const internalAction = internalActionGeneric;
|
||||
* @returns The wrapped function. Import this function from `convex/http.js` and route it to hook it up.
|
||||
*/
|
||||
export const httpAction = httpActionGeneric;
|
||||
|
||||
/**
|
||||
* Typesafe environment variables.
|
||||
*
|
||||
* This includes platform-provided env vars and any variables declared in
|
||||
* `convex.config.ts`.
|
||||
*/
|
||||
export const env = process.env;
|
||||
Reference in new issue
Block a user