Initial Commit
This commit is contained in:
117
packages/persistence/database/migration/package.json
Normal file
117
packages/persistence/database/migration/package.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"name": "@suaveplan/migration",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Database-agnostic migration runner with ledger tracking, dry-run, checksums, lock adapters, and OTel instrumentation",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./errors/migration-error": {
|
||||
"import": {
|
||||
"types": "./dist/errors/migration-error.d.ts",
|
||||
"default": "./dist/errors/migration-error.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/errors/migration-error.d.ts",
|
||||
"default": "./dist/errors/migration-error.js"
|
||||
}
|
||||
},
|
||||
"./planner/migration-planner": {
|
||||
"import": {
|
||||
"types": "./dist/planner/migration-planner/migration-planner.d.ts",
|
||||
"default": "./dist/planner/migration-planner/migration-planner.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/planner/migration-planner/migration-planner.d.ts",
|
||||
"default": "./dist/planner/migration-planner/migration-planner.js"
|
||||
}
|
||||
},
|
||||
"./runner/migration-runner": {
|
||||
"import": {
|
||||
"types": "./dist/runner/migration-runner/migration-runner.d.ts",
|
||||
"default": "./dist/runner/migration-runner/migration-runner.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/runner/migration-runner/migration-runner.d.ts",
|
||||
"default": "./dist/runner/migration-runner/migration-runner.js"
|
||||
}
|
||||
},
|
||||
"./store/memory-store": {
|
||||
"import": {
|
||||
"types": "./dist/store/memory-store/memory-store.d.ts",
|
||||
"default": "./dist/store/memory-store/memory-store.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/store/memory-store/memory-store.d.ts",
|
||||
"default": "./dist/store/memory-store/memory-store.js"
|
||||
}
|
||||
},
|
||||
"./store/database-store": {
|
||||
"import": {
|
||||
"types": "./dist/store/database-store/database-store.d.ts",
|
||||
"default": "./dist/store/database-store/database-store.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/store/database-store/database-store.d.ts",
|
||||
"default": "./dist/store/database-store/database-store.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/db": "workspace:^",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"@suaveplan/logger": "workspace:^",
|
||||
"@suaveplan/events": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms",
|
||||
"@opentelemetry/api": "catalog:observability"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"mitata": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user