Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jun 19, 2024
1 parent bb8e2e9 commit 04b03c0
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 25 deletions.
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minato",
"version": "3.4.0",
"version": "3.4.3",
"description": "Type Driven Database Framework",
"type": "module",
"main": "lib/index.cjs",
Expand Down Expand Up @@ -62,7 +62,7 @@
}
},
"peerDependencies": {
"cordis": "^3.16.2"
"cordis": "^3.17.3"
},
"dependencies": {
"cosmokit": "^1.6.2"
Expand Down
5 changes: 3 additions & 2 deletions packages/core/src/driver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Awaitable, Dict, mapValues, remove } from 'cosmokit'
import { Awaitable, defineProperty, Dict, mapValues, remove } from 'cosmokit'
import { Context, Logger, Service } from 'cordis'
import { Eval, Update } from './eval.ts'
import { Direction, Modifier, Selection } from './selection.ts'
Expand Down Expand Up @@ -76,7 +76,8 @@ export abstract class Driver<T = any, C extends Context = Context> {
await this.start()
ctx.model.drivers.push(this)
ctx.model.refresh()
const database = Object.create(ctx.model)
const database = Object.create(ctx.model) // FIXME use original model
defineProperty(database, 'ctx', ctx)
database._driver = this
database[Service.tracker] = {
associate: 'database',
Expand Down
4 changes: 2 additions & 2 deletions packages/memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"memory"
],
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"devDependencies": {
"@minatojs/tests": "^2.4.0"
"@minatojs/tests": "^2.4.1"
},
"dependencies": {
"cosmokit": "^1.6.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/mongo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"mongodb"
],
"devDependencies": {
"@minatojs/tests": "^2.4.0"
"@minatojs/tests": "^2.4.1"
},
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"dependencies": {
"cosmokit": "^1.6.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/mysql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-mysql",
"version": "3.4.0",
"version": "3.4.1",
"description": "MySQL Driver for Minato",
"type": "module",
"main": "lib/index.cjs",
Expand Down Expand Up @@ -37,14 +37,14 @@
"mysql"
],
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"devDependencies": {
"@minatojs/tests": "^2.4.0",
"@minatojs/tests": "^2.4.1",
"@types/mysql": "^2.15.26"
},
"dependencies": {
"@minatojs/sql-utils": "^5.4.0",
"@minatojs/sql-utils": "^5.4.1",
"@vlasky/mysql": "^2.18.6",
"cosmokit": "^1.6.2"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-postgres",
"version": "2.4.0",
"version": "2.4.1",
"description": "PostgreSQL Driver for Minato",
"type": "module",
"main": "lib/index.cjs",
Expand Down Expand Up @@ -42,13 +42,13 @@
"postgresql"
],
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"devDependencies": {
"@minatojs/tests": "^2.4.0"
"@minatojs/tests": "^2.4.1"
},
"dependencies": {
"@minatojs/sql-utils": "^5.4.0",
"@minatojs/sql-utils": "^5.4.1",
"cosmokit": "^1.6.2",
"postgres": "^3.4.4"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/sql-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/sql-utils",
"version": "5.4.0",
"version": "5.4.1",
"description": "SQL Utilities for Minato",
"type": "module",
"main": "lib/index.cjs",
Expand Down Expand Up @@ -41,7 +41,7 @@
"builder"
],
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"dependencies": {
"cosmokit": "^1.6.2"
Expand Down
8 changes: 4 additions & 4 deletions packages/sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-sqlite",
"version": "4.4.0",
"version": "4.4.1",
"description": "SQLite Driver for Minato",
"type": "module",
"main": "lib/index.cjs",
Expand Down Expand Up @@ -37,13 +37,13 @@
"sqlite"
],
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"devDependencies": {
"@minatojs/tests": "^2.4.0"
"@minatojs/tests": "^2.4.1"
},
"dependencies": {
"@minatojs/sql-utils": "^5.4.0",
"@minatojs/sql-utils": "^5.4.1",
"@minatojs/sql.js": "^3.1.0",
"cosmokit": "^1.6.2"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/tests",
"version": "2.4.0",
"version": "2.4.1",
"description": "Test Cases for Minato",
"type": "module",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"peerDependencies": {
"minato": "^3.4.0"
"minato": "^3.4.3"
},
"dependencies": {
"chai": "^4.4.1",
Expand Down

0 comments on commit 04b03c0

Please sign in to comment.