postgres-schema-migrations 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/validate.js +0 -0
- package/package.json +5 -5
package/bin/validate.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postgres-schema-migrations",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Database migrations for PostgreSQL",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "
|
|
7
|
-
"types": "
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
|
-
"pg-validate-migrations": "./
|
|
9
|
+
"pg-validate-migrations": "./bin/validate.js"
|
|
10
10
|
},
|
|
11
11
|
"authors": [
|
|
12
12
|
"Thom Wright",
|
|
@@ -70,6 +70,6 @@
|
|
|
70
70
|
"test-unit": "ava --config ava.config.unit.cjs",
|
|
71
71
|
"test": "pnpm run test-unit && npm run lint && pnpm run test-integration",
|
|
72
72
|
"preversion": "pnpm test",
|
|
73
|
-
"build": "rm -rf ./dist && rsync -a --exclude='*.ts' --exclude='__tests__' --exclude='__unit__' --prune-empty-dirs src/ dist/ && tsc --project tsconfig-build.json &&
|
|
73
|
+
"build": "rm -rf ./dist && rsync -a --exclude='*.ts' --exclude='__tests__' --exclude='__unit__' --prune-empty-dirs src/ dist/ && tsc --project tsconfig-build.json && node -e \"const p=require('./package.json'); p.main='index.js'; p.types='index.d.ts'; p.bin={'pg-validate-migrations':'./bin/validate.js'}; require('fs').writeFileSync('./dist/package.json', JSON.stringify(p, null, 2));\""
|
|
74
74
|
}
|
|
75
75
|
}
|