Now we either lock all or none of the migrations to run, to make sure they are not out of order when multiple instances of Emigrate run concurrently.
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "@emigrate/mysql",
|
|
"version": "0.3.2",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"description": "A MySQL plugin for Emigrate. Uses a MySQL database for storing migration history. Can load and generate .sql migration files.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.js",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!dist/*.tsbuildinfo",
|
|
"!dist/**/*.test.js",
|
|
"!dist/tests/*"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --pretty",
|
|
"build:watch": "tsc --pretty --watch",
|
|
"lint": "xo --cwd=../.. $(pwd)",
|
|
"test-disabled": "glob -c \"node --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"",
|
|
"test:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\""
|
|
},
|
|
"keywords": [
|
|
"emigrate",
|
|
"emigrate-storage",
|
|
"emigrate-loader",
|
|
"emigrate-plugin",
|
|
"emigrate-generator",
|
|
"migrations",
|
|
"mysql"
|
|
],
|
|
"author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)",
|
|
"homepage": "https://github.com/aboviq/emigrate/tree/main/packages/mysql#readme",
|
|
"repository": "https://github.com/aboviq/emigrate/tree/main/packages/mysql",
|
|
"bugs": "https://github.com/aboviq/emigrate/issues",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@emigrate/plugin-tools": "workspace:*",
|
|
"@emigrate/types": "workspace:*",
|
|
"mysql2": "3.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@emigrate/tsconfig": "workspace:*",
|
|
"@types/bun": "1.1.2",
|
|
"bun-types": "1.1.8"
|
|
},
|
|
"volta": {
|
|
"extends": "../../package.json"
|
|
}
|
|
}
|