pgpm 0.2.11 → 0.2.13

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 CHANGED
@@ -338,6 +338,8 @@ Most commands support these global options:
338
338
  - `--version, -v` - Show version information
339
339
  - `--cwd <dir>` - Set working directory
340
340
 
341
+ ---
342
+
341
343
  ## Education and Tutorials
342
344
 
343
345
  1. 🚀 [Quickstart: Getting Up and Running](https://launchql.com/learn/quickstart)
@@ -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.13",
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"
@@ -23,40 +23,39 @@
23
23
  "url": "https://github.com/launchql/launchql/issues"
24
24
  },
25
25
  "scripts": {
26
- "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
27
- "clean": "rimraf dist/**",
26
+ "clean": "makage clean",
28
27
  "prepack": "npm run build",
29
- "build": "npm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; npm run copy",
30
- "build:dev": "npm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
28
+ "build": "makage build",
29
+ "build:dev": "makage build --dev",
31
30
  "dev": "ts-node ./src/index.ts",
32
31
  "lint": "eslint . --fix",
33
32
  "test": "jest",
34
33
  "test:watch": "jest --watch"
35
34
  },
36
35
  "devDependencies": {
37
- "@types/glob": "^8.1.0",
38
36
  "@types/js-yaml": "^4.0.9",
39
37
  "@types/minimist": "^1.2.5",
40
38
  "@types/node": "^20.12.7",
41
39
  "@types/pg": "^8.15.2",
42
40
  "@types/shelljs": "^0.8.16",
43
- "glob": "^11.0.2",
41
+ "glob": "^13.0.0",
42
+ "makage": "^0.1.6",
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.2",
48
+ "@launchql/env": "^2.5.5",
49
+ "@launchql/logger": "^1.1.10",
50
+ "@launchql/templatizer": "^2.5.5",
51
+ "@launchql/types": "^2.8.5",
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",
58
- "pg-env": "^1.1.5",
59
- "shelljs": "^0.9.2"
55
+ "pg-cache": "^1.4.6",
56
+ "pg-env": "^1.1.6",
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": "e4643c07b6a961b964bbb132308366fc549504a1"
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]