pgpm 0.2.11 → 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.
@@ -1,10 +1,10 @@
1
- import chalk from 'chalk';
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(chalk.green(`Name: ${pkg.name}`));
7
- console.log(chalk.blue(`Version: ${pkg.version}`));
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.11",
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": "SEE LICENSE IN 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": "^11.0.2",
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.17.0",
49
- "@launchql/env": "^2.5.3",
50
- "@launchql/logger": "^1.1.8",
51
- "@launchql/templatizer": "^2.5.3",
52
- "@launchql/types": "^2.8.3",
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.4",
55
+ "pg-cache": "^1.4.5",
58
56
  "pg-env": "^1.1.5",
59
- "shelljs": "^0.9.2"
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": "4850ef84ce134d1bb43dc9132619a59257bd1157"
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 chalk_1 = __importDefault(require("chalk"));
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(chalk_1.default.green(`Name: ${pkg.name}`));
15
- console.log(chalk_1.default.blue(`Version: ${pkg.version}`));
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]