pgpm 5.34.0 → 5.35.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/commands/init/index.js +6 -0
- package/esm/commands/init/index.js +7 -1
- package/package.json +11 -11
package/commands/init/index.js
CHANGED
|
@@ -701,6 +701,12 @@ async function handleModuleInit(argv, prompter, ctx, wasExplicitModuleRequest =
|
|
|
701
701
|
prompter
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
|
+
if (resolvedWorkspacePath) {
|
|
705
|
+
const matrixFiles = (0, core_1.addToCiMatrix)(resolvedWorkspacePath, path_1.default.relative(resolvedWorkspacePath, modulePath));
|
|
706
|
+
for (const file of matrixFiles) {
|
|
707
|
+
process.stdout.write(`Added ${modName} to the CI matrix in ${file}\n`);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
704
710
|
const motdPath = path_1.default.join(modulePath, '.motd');
|
|
705
711
|
let motd = DEFAULT_MOTD;
|
|
706
712
|
if (fs_1.default.existsSync(motdPath)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_TEMPLATE_REPO, DEFAULT_TEMPLATE_TOOL_NAME, describeTemplateSource, inspectTemplate, PgpmPackage, refreshTemplateCache, resolveBoilerplateBaseDir, scaffoldTemplate, scanBoilerplates, SkillInstaller, sluggify, spawnSyncChecked, } from '@pgpmjs/core';
|
|
1
|
+
import { addToCiMatrix, DEFAULT_TEMPLATE_REPO, DEFAULT_TEMPLATE_TOOL_NAME, describeTemplateSource, inspectTemplate, PgpmPackage, refreshTemplateCache, resolveBoilerplateBaseDir, scaffoldTemplate, scanBoilerplates, SkillInstaller, sluggify, spawnSyncChecked, } from '@pgpmjs/core';
|
|
2
2
|
import { resolveWorkspaceByType } from '@pgpmjs/env';
|
|
3
3
|
import { errors } from '@pgpmjs/types';
|
|
4
4
|
import fs from 'fs';
|
|
@@ -694,6 +694,12 @@ async function handleModuleInit(argv, prompter, ctx, wasExplicitModuleRequest =
|
|
|
694
694
|
prompter
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
|
+
if (resolvedWorkspacePath) {
|
|
698
|
+
const matrixFiles = addToCiMatrix(resolvedWorkspacePath, path.relative(resolvedWorkspacePath, modulePath));
|
|
699
|
+
for (const file of matrixFiles) {
|
|
700
|
+
process.stdout.write(`Added ${modName} to the CI matrix in ${file}\n`);
|
|
701
|
+
}
|
|
702
|
+
}
|
|
697
703
|
const motdPath = path.join(modulePath, '.motd');
|
|
698
704
|
let motd = DEFAULT_MOTD;
|
|
699
705
|
if (fs.existsSync(motdPath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgpm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.35.1",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PostgreSQL Package Manager - Database migration and package management CLI",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@inquirerer/utils": "^3.3.13",
|
|
50
|
-
"@pgpmjs/core": "^7.
|
|
51
|
-
"@pgpmjs/diff": "^0.8.
|
|
52
|
-
"@pgpmjs/env": "^2.45.
|
|
53
|
-
"@pgpmjs/export": "^1.23.
|
|
54
|
-
"@pgpmjs/import": "^0.8.
|
|
50
|
+
"@pgpmjs/core": "^7.32.1",
|
|
51
|
+
"@pgpmjs/diff": "^0.8.2",
|
|
52
|
+
"@pgpmjs/env": "^2.45.2",
|
|
53
|
+
"@pgpmjs/export": "^1.23.2",
|
|
54
|
+
"@pgpmjs/import": "^0.8.2",
|
|
55
55
|
"@pgpmjs/logger": "^2.26.0",
|
|
56
|
-
"@pgpmjs/slice": "^0.19.
|
|
57
|
-
"@pgpmjs/transform": "^0.28.
|
|
58
|
-
"@pgpmjs/types": "^2.55.
|
|
56
|
+
"@pgpmjs/slice": "^0.19.2",
|
|
57
|
+
"@pgpmjs/transform": "^0.28.2",
|
|
58
|
+
"@pgpmjs/types": "^2.55.2",
|
|
59
59
|
"@pgsql/quotes": "^18.2.4",
|
|
60
60
|
"appstash": "^0.8.0",
|
|
61
61
|
"cross-spawn": "^7.0.6",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"genomic": "^5.6.6",
|
|
64
64
|
"inquirerer": "^4.9.4",
|
|
65
65
|
"js-yaml": "^4.1.0",
|
|
66
|
-
"pg-cache": "^3.29.
|
|
66
|
+
"pg-cache": "^3.29.2",
|
|
67
67
|
"pg-env": "^1.32.0",
|
|
68
68
|
"pgsql-deparser": "^18.3.7",
|
|
69
69
|
"semver": "^7.8.5",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"pg",
|
|
83
83
|
"pgsql"
|
|
84
84
|
],
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "e05686fb94c5e22c954436f18c25aa4439b9e83e"
|
|
86
86
|
}
|