Skip to content

Commit

Permalink
Update pkg versions (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav authored Jan 27, 2025
1 parent cbe3334 commit 8de5387
Show file tree
Hide file tree
Showing 18 changed files with 61 additions and 29 deletions.
14 changes: 14 additions & 0 deletions edgedb/ai/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
import {
GelMessage,
GelSystemMessage,
GelUserMessage,
GelAssistantMessage,
GelToolMessage,
} from "@gel/ai";

export * from "@gel/ai";

export type EdgeDBSystemMessage = GelSystemMessage;
export type EdgeDBUserMessage = GelUserMessage;
export type EdgeDBAssistantMessage = GelAssistantMessage;
export type EdgeDBToolMessage = GelToolMessage;
export type EdgeDBMessage = GelMessage;
10 changes: 10 additions & 0 deletions edgedb/auth-core/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
import { GelAuthError } from "@gel/auth-core";

export * from "@gel/auth-core";

export const EdgeDBAuthError = GelAuthError;

Object.defineProperty(EdgeDBAuthError.prototype, "type", {
get() {
return "_EdgeDBAuth";
},
});
4 changes: 2 additions & 2 deletions edgedb/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edgedb/create",
"version": "0.1.0",
"version": "0.3.0",
"description": "This package has been renamed to @gel/create. Please update your dependencies.",
"author": "Gel <[email protected]>",
"type": "module",
Expand All @@ -25,7 +25,7 @@
"prepare": "npm run clean && npm run build"
},
"dependencies": {
"@gel/create": "0.1.0"
"@gel/create": "0.3.0"
},
"devDependencies": {
"typescript": "^5.5.2"
Expand Down
6 changes: 6 additions & 0 deletions edgedb/edgedb/index.browser.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
import { GelError } from "gel/dist/index.shared.js";

export * from "gel/dist/index.browser.js";

export const EdgeDBError = GelError;

Object.defineProperty(EdgeDBError, "name", { value: "EdgeDBError" });
6 changes: 6 additions & 0 deletions edgedb/edgedb/index.node.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
import { GelError } from "gel/dist/index.shared.js";

export * from "gel/dist/index.node.js";

export const EdgeDBError = GelError;

Object.defineProperty(EdgeDBError, "name", { value: "EdgeDBError" });
4 changes: 2 additions & 2 deletions edgedb/edgedb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edgedb",
"version": "1.6.0",
"version": "2.0.0",
"description": "This package has been renamed to gel. Please update your dependencies.",
"author": "Gel <[email protected]>",
"repository": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"build:cjs": "tsc -p tsconfig.json"
},
"dependencies": {
"gel": "2.0.0"
"gel": "^2.0.0"
},
"devDependencies": {
"typescript": "^5.5.2"
Expand Down
2 changes: 1 addition & 1 deletion edgedb/generate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "rm -rf dist && tsc && chmod +x dist/cli.js"
},
"dependencies": {
"@gel/generate": "0.6.0"
"@gel/generate": "1.0.0"
},
"devDependencies": {
"typescript": "^5.5.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/ai",
"description": "Helper library for the Gel AI extension",
"version": "0.1.0-alpha.2",
"version": "0.1.0",
"author": "Gel <[email protected]>",
"type": "module",
"repository": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"@repo/tsconfig": "*"
},
"peerDependencies": {
"gel": "^1.5.0"
"gel": "^2.0.0"
},
"dependencies": {
"eventsource-parser": "^1.1.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/auth-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/auth-core",
"description": "Core helper library for the Gel Auth extension",
"version": "0.2.1",
"version": "0.3.0",
"author": "Gel <[email protected]>",
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,7 +43,7 @@
"@repo/tsconfig": "*"
},
"peerDependencies": {
"gel": "^1.3.6"
"gel": "^2.0.0"
},
"dependencies": {
"jwt-decode": "^4.0.0"
Expand Down
2 changes: 0 additions & 2 deletions packages/auth-core/readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# @gel/auth-core: Core helper library for the Gel Auth extension

> Warning: This library is still in an alpha state, and so, bugs are likely and the api's should be considered unstable and may change in future releases.
This library contains some low-level utilities to help working with the Gel auth extension; namely resolving the api endpoint urls from an gel `Client` object, providing wrappers around those api's to help handle the various auth flows (including handling PKCE), and adding typesafety.

It is recommended to instead use the separate helper libraries created to make integration with popular frameworks as easy as possible. Currently supported frameworks:
Expand Down
6 changes: 3 additions & 3 deletions packages/auth-express/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/auth-express",
"description": "Helper library to integrate the Gel Auth extension with Express",
"version": "0.2.2",
"version": "0.3.0",
"type": "module",
"author": "Gel <[email protected]>",
"repository": {
Expand Down Expand Up @@ -42,10 +42,10 @@
},
"peerDependencies": {
"cookie-parser": "^1.4.6",
"gel": "^1.3.6",
"gel": "^2.0.0",
"express": "^4.18.2"
},
"dependencies": {
"@gel/auth-core": "^0.2.1"
"@gel/auth-core": "^0.3.0"
}
}
6 changes: 3 additions & 3 deletions packages/auth-nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/auth-nextjs",
"description": "Helper library to integrate the Gel Auth extension with Next.js",
"version": "0.3.2",
"version": "0.4.0",
"author": "Gel <[email protected]>",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,12 +34,12 @@
"typescript": "^5.5.2"
},
"peerDependencies": {
"gel": "^1.3.6",
"gel": "^2.0.0",
"next": ">=13.5.6 <16.0.0",
"react": "^18.2.0 || ^19.0"
},
"dependencies": {
"@gel/auth-core": "0.2.1"
"@gel/auth-core": "0.3.0"
},
"overrides": {
"@types/react": "npm:types-react@rc"
Expand Down
2 changes: 0 additions & 2 deletions packages/auth-nextjs/readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# @gel/auth-nextjs: Helper library to integrate the Gel Auth extension with Next.js

> Warning: This library is still in an alpha state, and so, bugs are likely and the api's should be considered unstable and may change in future releases.
### Setup

**Prerequisites**:
Expand Down
6 changes: 3 additions & 3 deletions packages/auth-remix/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/auth-remix",
"description": "Helper library to integrate the Gel Auth extension with Remix",
"version": "0.2.2",
"version": "0.3.0",
"author": "Gel <[email protected]>",
"type": "module",
"repository": {
Expand All @@ -27,10 +27,10 @@
"typescript": "^5.5.2"
},
"peerDependencies": {
"gel": "^1.3.6"
"gel": "^2.0.0"
},
"dependencies": {
"@gel/auth-core": "^0.2.1",
"@gel/auth-core": "^0.3.0",
"@remix-run/server-runtime": "^2.9.2",
"cookie": "^0.6.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/auth-sveltekit/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gel/auth-sveltekit",
"description": "Helper library to integrate the Gel Auth extension with Sveltekit.",
"version": "0.2.3",
"version": "0.3.0",
"author": "Gel <[email protected]>",
"type": "module",
"repository": {
Expand Down Expand Up @@ -30,10 +30,10 @@
"vite": "^5.2.12"
},
"peerDependencies": {
"gel": "^1.3.6"
"gel": "^2.0.0"
},
"dependencies": {
"@gel/auth-core": "^0.2.1"
"@gel/auth-core": "^0.3.0"
},
"exports": {
"./*": "./dist/*.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gel/create",
"version": "0.2.2",
"version": "0.3.0",
"type": "module",
"description": "Create a new Gel-based project",
"homepage": "https://geldata.com/docs",
Expand Down
4 changes: 2 additions & 2 deletions packages/generate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gel/generate",
"version": "0.5.6",
"version": "0.6.0",
"description": "Gel code generators for TS/JavaScript",
"homepage": "https://geldata.com/docs",
"author": "Gel <[email protected]>",
Expand All @@ -18,7 +18,7 @@
],
"bin": "dist/cli.js",
"peerDependencies": {
"gel": "^1.5.10"
"gel": "^2.0.0"
},
"devDependencies": {
"@repo/tsconfig": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/vercel-ai-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"peerDependencies": {
"zod": "^3.0.0",
"gel": "^1.5.0"
"gel": "^2.0.0"
},
"engines": {
"node": ">=18"
Expand Down

0 comments on commit 8de5387

Please sign in to comment.