🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

pgpm

Package Overview
Dependencies
Maintainers
3
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgpm - npm Package Compare versions

Comparing version
5.0.4
to
5.1.0
+10
-2
commands/install.js

@@ -12,4 +12,8 @@ "use strict";

Install pgpm modules into the workspace extensions/ directory.
Install pgpm modules into the workspace extensions directory (default: extensions/).
The install directory is configurable: --extensions-dir wins, then the
PGPM_EXTENSIONS_DIR env var, then the \`extensionsDir\` field in the workspace
pgpm.json, then the \`extensions\` default.
Inside a module, installing without arguments installs any missing modules

@@ -30,2 +34,3 @@ listed in the module's .control file, and explicit installs are recorded in

--force Reinstall modules even if already installed
--extensions-dir <dir> Directory (relative to workspace root) to install into (default: extensions)
-W, --workspace-root Install at the workspace root (pgpm.json dependencies)

@@ -40,2 +45,4 @@

pgpm install @pgpm/base32 @pgpm/utils Install multiple packages
pgpm install --extensions-dir extensions-test @pgpm/base32
Install into extensions-test/ instead of extensions/
`;

@@ -49,3 +56,4 @@ exports.default = async (argv, prompter, _options) => {

const { cwd = process.cwd() } = argv;
const project = new core_1.PgpmPackage(cwd);
const extensionsDir = (argv['extensions-dir'] ?? argv.extensionsDir);
const project = new core_1.PgpmPackage(cwd, { extensionsDir });
const force = Boolean(argv.force);

@@ -52,0 +60,0 @@ const workspaceRoot = Boolean(argv.W || argv['workspace-root'] || argv.workspaceRoot);

@@ -10,4 +10,8 @@ import { getMissingInstallableModules, PgpmPackage } from '@pgpmjs/core';

Install pgpm modules into the workspace extensions/ directory.
Install pgpm modules into the workspace extensions directory (default: extensions/).
The install directory is configurable: --extensions-dir wins, then the
PGPM_EXTENSIONS_DIR env var, then the \`extensionsDir\` field in the workspace
pgpm.json, then the \`extensions\` default.
Inside a module, installing without arguments installs any missing modules

@@ -28,2 +32,3 @@ listed in the module's .control file, and explicit installs are recorded in

--force Reinstall modules even if already installed
--extensions-dir <dir> Directory (relative to workspace root) to install into (default: extensions)
-W, --workspace-root Install at the workspace root (pgpm.json dependencies)

@@ -38,2 +43,4 @@

pgpm install @pgpm/base32 @pgpm/utils Install multiple packages
pgpm install --extensions-dir extensions-test @pgpm/base32
Install into extensions-test/ instead of extensions/
`;

@@ -47,3 +54,4 @@ export default async (argv, prompter, _options) => {

const { cwd = process.cwd() } = argv;
const project = new PgpmPackage(cwd);
const extensionsDir = (argv['extensions-dir'] ?? argv.extensionsDir);
const project = new PgpmPackage(cwd, { extensionsDir });
const force = Boolean(argv.force);

@@ -50,0 +58,0 @@ const workspaceRoot = Boolean(argv.W || argv['workspace-root'] || argv.workspaceRoot);

+7
-7
{
"name": "pgpm",
"version": "5.0.4",
"version": "5.1.0",
"author": "Constructive <developers@constructive.io>",

@@ -49,7 +49,7 @@ "description": "PostgreSQL Package Manager - Database migration and package management CLI",

"@inquirerer/utils": "^3.3.9",
"@pgpmjs/core": "^7.2.2",
"@pgpmjs/env": "^2.28.2",
"@pgpmjs/export": "^1.1.1",
"@pgpmjs/core": "^7.3.0",
"@pgpmjs/env": "^2.29.0",
"@pgpmjs/export": "^1.2.0",
"@pgpmjs/logger": "^2.14.0",
"@pgpmjs/types": "^2.35.1",
"@pgpmjs/types": "^2.36.0",
"@pgsql/quotes": "^18.1.0",

@@ -61,3 +61,3 @@ "appstash": "^0.7.0",

"js-yaml": "^4.1.0",
"pg-cache": "^3.15.2",
"pg-cache": "^3.15.3",
"pg-env": "^1.18.1",

@@ -81,3 +81,3 @@ "pgsql-deparser": "^18.1.1",

],
"gitHead": "d48f39ebd4b7dcbab22df7c57438c06efd9e223d"
"gitHead": "39db6d576bce7bc1de8123849f237b1695779d88"
}