pgpm 0.2.9 → 0.2.12
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/README.md +5 -2
- package/esm/utils/display.js +3 -3
- package/package.json +13 -14
- package/utils/display.js +3 -3
package/README.md
CHANGED
|
@@ -353,9 +353,12 @@ Master the workflow for adding, organizing, and managing database changes with p
|
|
|
353
353
|
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
354
354
|
|
|
355
355
|
5. ⚡ [Supabase Testing](https://launchql.com/learn/supabase)
|
|
356
|
-
TypeScript-
|
|
356
|
+
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
357
357
|
|
|
358
|
-
6.
|
|
358
|
+
6. 💧 [Drizzle ORM Testing](https://launchql.com/learn/drizzle-testing)
|
|
359
|
+
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
360
|
+
|
|
361
|
+
7. 🔧 [Troubleshooting](https://launchql.com/learn/troubleshooting)
|
|
359
362
|
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
360
363
|
|
|
361
364
|
## Related LaunchQL Tooling
|
package/esm/utils/display.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import yanse from 'yanse';
|
|
2
2
|
import { readAndParsePackageJson } from '../package';
|
|
3
3
|
// Function to display the version information
|
|
4
4
|
export function displayVersion() {
|
|
5
5
|
const pkg = readAndParsePackageJson();
|
|
6
|
-
console.log(
|
|
7
|
-
console.log(
|
|
6
|
+
console.log(yanse.green(`Name: ${pkg.name}`));
|
|
7
|
+
console.log(yanse.blue(`Version: ${pkg.version}`));
|
|
8
8
|
}
|
|
9
9
|
export const usageText = `
|
|
10
10
|
Usage: pgpm <command> [options]
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgpm",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "PostgreSQL Package Manager - Database migration and package management CLI",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
9
|
"homepage": "https://github.com/launchql/launchql",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public",
|
|
13
13
|
"directory": "dist"
|
|
@@ -34,29 +34,28 @@
|
|
|
34
34
|
"test:watch": "jest --watch"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/glob": "^8.1.0",
|
|
38
37
|
"@types/js-yaml": "^4.0.9",
|
|
39
38
|
"@types/minimist": "^1.2.5",
|
|
40
39
|
"@types/node": "^20.12.7",
|
|
41
40
|
"@types/pg": "^8.15.2",
|
|
42
41
|
"@types/shelljs": "^0.8.16",
|
|
43
|
-
"glob": "^
|
|
42
|
+
"glob": "^13.0.0",
|
|
44
43
|
"pg": "^8.16.0",
|
|
45
44
|
"ts-node": "^10.9.2"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|
|
48
|
-
"@launchql/core": "^2.
|
|
49
|
-
"@launchql/env": "^2.5.
|
|
50
|
-
"@launchql/logger": "^1.1.
|
|
51
|
-
"@launchql/templatizer": "^2.5.
|
|
52
|
-
"@launchql/types": "^2.8.
|
|
53
|
-
"chalk": "^4.1.0",
|
|
47
|
+
"@launchql/core": "^2.17.1",
|
|
48
|
+
"@launchql/env": "^2.5.4",
|
|
49
|
+
"@launchql/logger": "^1.1.9",
|
|
50
|
+
"@launchql/templatizer": "^2.5.4",
|
|
51
|
+
"@launchql/types": "^2.8.4",
|
|
54
52
|
"inquirerer": "^2.0.8",
|
|
55
53
|
"js-yaml": "^4.1.0",
|
|
56
54
|
"minimist": "^1.2.8",
|
|
57
|
-
"pg-cache": "^1.4.
|
|
58
|
-
"pg-env": "^1.1.
|
|
59
|
-
"shelljs": "^0.
|
|
55
|
+
"pg-cache": "^1.4.5",
|
|
56
|
+
"pg-env": "^1.1.5",
|
|
57
|
+
"shelljs": "^0.10.0",
|
|
58
|
+
"yanse": "^0.1.1"
|
|
60
59
|
},
|
|
61
60
|
"keywords": [
|
|
62
61
|
"cli",
|
|
@@ -70,5 +69,5 @@
|
|
|
70
69
|
"pg",
|
|
71
70
|
"pgsql"
|
|
72
71
|
],
|
|
73
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "4cd832ebee39d7be9375340e8e3283692d15b464"
|
|
74
73
|
}
|
package/utils/display.js
CHANGED
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.usageText = void 0;
|
|
7
7
|
exports.displayVersion = displayVersion;
|
|
8
8
|
exports.displayUsage = displayUsage;
|
|
9
|
-
const
|
|
9
|
+
const yanse_1 = __importDefault(require("yanse"));
|
|
10
10
|
const package_1 = require("../package");
|
|
11
11
|
// Function to display the version information
|
|
12
12
|
function displayVersion() {
|
|
13
13
|
const pkg = (0, package_1.readAndParsePackageJson)();
|
|
14
|
-
console.log(
|
|
15
|
-
console.log(
|
|
14
|
+
console.log(yanse_1.default.green(`Name: ${pkg.name}`));
|
|
15
|
+
console.log(yanse_1.default.blue(`Version: ${pkg.version}`));
|
|
16
16
|
}
|
|
17
17
|
exports.usageText = `
|
|
18
18
|
Usage: pgpm <command> [options]
|