Skip to content

Commit

Permalink
Fix peer dependencies (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Jun 23, 2023
1 parent b923e03 commit 0f885b7
Show file tree
Hide file tree
Showing 29 changed files with 558 additions and 33 deletions.
6 changes: 6 additions & 0 deletions .auri/$0qvh9c97.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/oauth" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$945kiuxl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-sqlite" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$eu3zsvzv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-test" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$k8wlffvn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-mongoose" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$ohd3ckw7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-mysql" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$p6qin1m5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-postgresql" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$rdj5jmi6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-prisma" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 6 additions & 0 deletions .auri/$yqsedgg4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
package: "@lucia-auth/adapter-session-redis" # package name
type: "patch" # "major", "minor", "patch"
---

Update peer dependency
6 changes: 3 additions & 3 deletions packages/adapter-mongoose/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0`

- Export adapter as named exports (`mongoose()`)
- Export adapter as named exports (`mongoose()`)

- Update adapter params
- Update adapter params

## 2.0.0

Expand Down Expand Up @@ -116,4 +116,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.1","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","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.1",
"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 @@ -34,4 +34,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.2","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","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.2",
"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 @@ -20,4 +20,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.1","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","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.1",
"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"
}
}
6 changes: 3 additions & 3 deletions packages/adapter-prisma/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0`

- Export adapter as named exports (`prisma()`)
- Export adapter as named exports (`prisma()`)

- Update adapter params
- Update adapter params

## 2.0.0

Expand Down Expand Up @@ -114,4 +114,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.1","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"},"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.1",
"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"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-session-redis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0`

- `redis()` expects az single Redis instance instead of 2
- `redis()` expects az single Redis instance instead of 2

## 1.0.0

Expand Down Expand Up @@ -54,4 +54,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
Loading

0 comments on commit 0f885b7

Please sign in to comment.