Skip to content

Commit

Permalink
CI: Release (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucythecat authored Jun 24, 2023
1 parent 8d06b34 commit fead905
Show file tree
Hide file tree
Showing 25 changed files with 454 additions and 58 deletions.
6 changes: 0 additions & 6 deletions .auri/$1j735d60.md

This file was deleted.

6 changes: 0 additions & 6 deletions .auri/$40a7umh0.md

This file was deleted.

7 changes: 0 additions & 7 deletions .auri/$6ayq7wdu.md

This file was deleted.

6 changes: 0 additions & 6 deletions .auri/$as1qhsh5.md

This file was deleted.

7 changes: 0 additions & 7 deletions .auri/$ujp0p7w7.md

This file was deleted.

6 changes: 0 additions & 6 deletions .auri/$yf495wr1.md

This file was deleted.

2 changes: 1 addition & 1 deletion documentation-v2/content/main/start-here/migrate-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,4 @@ const { githubUser, githubTokens } = await githubAuth.validateCallback(code);

### Removed `LuciaOAuthRequestError`

`LuciaOAuthRequestError` is replaced with [`OAuthRequestError`](/reference/oauth/interfaces#oauthrequesterror).
`LuciaOAuthRequestError` is replaced with [`OAuthRequestError`](/reference/oauth/interfaces#oauthrequesterror).
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export const load = async (event) => {
const authRequest = auth.handleRequest(event);
const { user, session } = await authRequest.validateUser();
};

```

#### Examples
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-mongoose/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@

## 0.1.2

- Update peer dependency
- Update peer dependency
50 changes: 49 additions & 1 deletion packages/adapter-mongoose/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,49 @@
{"name":"@lucia-auth/adapter-mongoose","version":"3.0.0-beta.2","description":"Mongoose (MongoDB) adapter for Lucia","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","type":"module","files":["/dist/","CHANGELOG.md"],"scripts":{"build":"shx rm -rf ./dist/* && tsc","test":"tsx test/index.ts","auri.build":"pnpm build"},"keywords":["lucia","lucia","auth","authentication","adapter","mongodb","mongo","mongoose"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/lucia","directory":"packages/adapter-mongoose"},"author":"pilcrowonpaper","license":"MIT","exports":{".":"./dist/index.js"},"peerDependencies":{"lucia":"2.0.0-beta.2","mongoose":"6.x - 7.x"},"devDependencies":{"@lucia-auth/adapter-test":"latest","dotenv":"^16.0.3","tsx":"^3.12.6","mongoose":"^6.6.1","lucia":"latest"}}
{
"name": "@lucia-auth/adapter-mongoose",
"version": "3.0.0-beta.2",
"description": "Mongoose (MongoDB) adapter for Lucia",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"files": [
"/dist/",
"CHANGELOG.md"
],
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"test": "tsx test/index.ts",
"auri.build": "pnpm build"
},
"keywords": [
"lucia",
"lucia",
"auth",
"authentication",
"adapter",
"mongodb",
"mongo",
"mongoose"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/lucia",
"directory": "packages/adapter-mongoose"
},
"author": "pilcrowonpaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"peerDependencies": {
"lucia": "2.0.0-beta.2",
"mongoose": "6.x - 7.x"
},
"devDependencies": {
"@lucia-auth/adapter-test": "latest",
"dotenv": "^16.0.3",
"tsx": "^3.12.6",
"mongoose": "^6.6.1",
"lucia": "latest"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-mysql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

### Minor changes

- [#562](https://github.com/pilcrowOnPaper/lucia/pull/562) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add PlanetScale serverless adapter
- [#562](https://github.com/pilcrowOnPaper/lucia/pull/562) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add PlanetScale serverless adapter
63 changes: 62 additions & 1 deletion packages/adapter-mysql/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,62 @@
{"name":"@lucia-auth/adapter-mysql","version":"2.0.0-beta.3","description":"MySQL adapter for Lucia","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","type":"module","files":["/dist/","CHANGELOG.md"],"scripts":{"build":"shx rm -rf ./dist/* && tsc","test.mysql2":"tsx test/mysql2/index.ts","test.planetscale":"tsx test/planetscale/index.ts","test-setup.planetscale":"tsx test/planetscale/setup.ts","test-setup.mysql2":"tsx test/mysql2/setup.ts","auri.build":"pnpm build"},"keywords":["lucia","auth","mysql2","mysql","planetscale","authentication","adapter","sql"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/lucia","directory":"packages/adapter-mysql"},"author":"pilcrowonpaper","license":"MIT","exports":{".":"./dist/index.js"},"peerDependencies":{"lucia":"2.0.0-beta.2","mysql2":"^3.0.0","@planetscale/database":"^1.0.0"},"peerDependenciesMeta":{"mysql2":{"optional":true},"@planetscale/database":{"optional":true}},"devDependencies":{"@lucia-auth/adapter-test":"latest","@planetscale/database":"^1.7.0","dotenv":"^16.0.3","lucia":"latest","mysql2":"^3.2.3","tsx":"^3.12.6"}}
{
"name": "@lucia-auth/adapter-mysql",
"version": "2.0.0-beta.3",
"description": "MySQL adapter for Lucia",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"files": [
"/dist/",
"CHANGELOG.md"
],
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"test.mysql2": "tsx test/mysql2/index.ts",
"test.planetscale": "tsx test/planetscale/index.ts",
"test-setup.planetscale": "tsx test/planetscale/setup.ts",
"test-setup.mysql2": "tsx test/mysql2/setup.ts",
"auri.build": "pnpm build"
},
"keywords": [
"lucia",
"auth",
"mysql2",
"mysql",
"planetscale",
"authentication",
"adapter",
"sql"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/lucia",
"directory": "packages/adapter-mysql"
},
"author": "pilcrowonpaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"peerDependencies": {
"lucia": "2.0.0-beta.2",
"mysql2": "^3.0.0",
"@planetscale/database": "^1.0.0"
},
"peerDependenciesMeta": {
"mysql2": {
"optional": true
},
"@planetscale/database": {
"optional": true
}
},
"devDependencies": {
"@lucia-auth/adapter-test": "latest",
"@planetscale/database": "^1.7.0",
"dotenv": "^16.0.3",
"lucia": "latest",
"mysql2": "^3.2.3",
"tsx": "^3.12.6"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-postgresql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

### Patch changes

- [#626](https://github.com/pilcrowOnPaper/lucia/pull/626) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Clean up adapter internals and remove rogue `console.log()`
- [#626](https://github.com/pilcrowOnPaper/lucia/pull/626) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Clean up adapter internals and remove rogue `console.log()`
61 changes: 60 additions & 1 deletion packages/adapter-postgresql/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,60 @@
{"name":"@lucia-auth/adapter-postgresql","version":"2.0.0-beta.2","description":"PostgreSQL adapter for Lucia","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","type":"module","files":["/dist/","CHANGELOG.md"],"scripts":{"build":"shx rm -rf ./dist/* && tsc","test.pg":"tsx test/pg/index.ts","test-setup.pg":"tsx test/pg/setup.ts","auri.build":"pnpm build"},"keywords":["lucia","lucia","auth","pg","postgresql","authentication","adapter","sql","kysely","drizzle"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/lucia","directory":"packages/adapter-postgresql"},"author":"pilcrowonpaper","license":"MIT","exports":{".":"./dist/index.js"},"peerDependencies":{"lucia":"2.0.0-beta.2","pg":"^8.0.0"},"peerDependenciesMeta":{"pg":{"optional":true}},"devDependencies":{"@lucia-auth/adapter-test":"latest","@types/pg":"^8.6.5","dotenv":"^16.0.3","lucia":"latest","tsx":"^3.12.6"},"dependencies":{"pg":"^8.8.0"}}
{
"name": "@lucia-auth/adapter-postgresql",
"version": "2.0.0-beta.2",
"description": "PostgreSQL adapter for Lucia",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"files": [
"/dist/",
"CHANGELOG.md"
],
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"test.pg": "tsx test/pg/index.ts",
"test-setup.pg": "tsx test/pg/setup.ts",
"auri.build": "pnpm build"
},
"keywords": [
"lucia",
"lucia",
"auth",
"pg",
"postgresql",
"authentication",
"adapter",
"sql",
"kysely",
"drizzle"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/lucia",
"directory": "packages/adapter-postgresql"
},
"author": "pilcrowonpaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"peerDependencies": {
"lucia": "2.0.0-beta.2",
"pg": "^8.0.0"
},
"peerDependenciesMeta": {
"pg": {
"optional": true
}
},
"devDependencies": {
"@lucia-auth/adapter-test": "latest",
"@types/pg": "^8.6.5",
"dotenv": "^16.0.3",
"lucia": "latest",
"tsx": "^3.12.6"
},
"dependencies": {
"pg": "^8.8.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-prisma/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@

## 0.1.2

- Update peer dependency
- Update peer dependency
54 changes: 53 additions & 1 deletion packages/adapter-prisma/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
{"name":"@lucia-auth/adapter-prisma","version":"3.0.0-beta.2","description":"Prisma adapter for Lucia","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","type":"module","files":["/dist/","CHANGELOG.md"],"scripts":{"build":"shx rm -rf ./dist/* && tsc","test":"tsx test/index.ts","test-setup":"prisma db push","auri.build":"pnpm build"},"keywords":["lucia","prisma","lucia","auth","postgres","mysql","sqlite","authentication","adapter","sql","postgresql"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/lucia","directory":"packages/adapter-prisma"},"author":"pilcrowonpaper","license":"MIT","exports":{".":"./dist/index.js"},"peerDependencies":{"@prisma/client":"^4.2.0","lucia":"2.0.0-beta.2"},"devDependencies":{"lucia":"latest","@lucia-auth/adapter-test":"latest","@prisma/client":"^4.9.0","prisma":"^4.9.0","tsx":"^3.12.6"}}
{
"name": "@lucia-auth/adapter-prisma",
"version": "3.0.0-beta.2",
"description": "Prisma adapter for Lucia",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"files": [
"/dist/",
"CHANGELOG.md"
],
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"test": "tsx test/index.ts",
"test-setup": "prisma db push",
"auri.build": "pnpm build"
},
"keywords": [
"lucia",
"prisma",
"lucia",
"auth",
"postgres",
"mysql",
"sqlite",
"authentication",
"adapter",
"sql",
"postgresql"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/lucia",
"directory": "packages/adapter-prisma"
},
"author": "pilcrowonpaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"peerDependencies": {
"@prisma/client": "^4.2.0",
"lucia": "2.0.0-beta.2"
},
"devDependencies": {
"lucia": "latest",
"@lucia-auth/adapter-test": "latest",
"@prisma/client": "^4.9.0",
"prisma": "^4.9.0",
"tsx": "^3.12.6"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-session-redis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@

### Patch changes

- [#381](https://github.com/pilcrowOnPaper/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json
- [#381](https://github.com/pilcrowOnPaper/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json
49 changes: 48 additions & 1 deletion packages/adapter-session-redis/package.json
Original file line number Diff line number Diff line change
@@ -1 +1,48 @@
{"name":"@lucia-auth/adapter-session-redis","version":"2.0.0-beta.2","description":"Redis session adapter for Lucia","main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","type":"module","files":["/dist/","CHANGELOG.md"],"scripts":{"build":"shx rm -rf ./dist/* && tsc","test":"tsx test/index.ts","auri.build":"pnpm build"},"keywords":["lucia","lucia","auth","authentication","adapter","redis","session"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/lucia","directory":"packages/adapter-session-redis"},"author":"pilcrowonpaper","license":"MIT","exports":{".":"./dist/index.js"},"peerDependencies":{"lucia":"2.0.0-beta.2","redis":"^4.0.0"},"devDependencies":{"@lucia-auth/adapter-test":"latest","dotenv":"^16.0.3","redis":"^4.3.1","tsx":"^3.12.6","lucia":"latest"}}
{
"name": "@lucia-auth/adapter-session-redis",
"version": "2.0.0-beta.2",
"description": "Redis session adapter for Lucia",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"files": [
"/dist/",
"CHANGELOG.md"
],
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"test": "tsx test/index.ts",
"auri.build": "pnpm build"
},
"keywords": [
"lucia",
"lucia",
"auth",
"authentication",
"adapter",
"redis",
"session"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/lucia",
"directory": "packages/adapter-session-redis"
},
"author": "pilcrowonpaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"peerDependencies": {
"lucia": "2.0.0-beta.2",
"redis": "^4.0.0"
},
"devDependencies": {
"@lucia-auth/adapter-test": "latest",
"dotenv": "^16.0.3",
"redis": "^4.3.1",
"tsx": "^3.12.6",
"lucia": "latest"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@

### Minor changes

- [#563](https://github.com/pilcrowOnPaper/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `d1` adapter for Cloudflare D1
- [#563](https://github.com/pilcrowOnPaper/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `d1` adapter for Cloudflare D1
Loading

1 comment on commit fead905

@vercel
Copy link

@vercel vercel bot commented on fead905 Jun 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.