@pgpmjs/core 6.22.1 → 6.24.0

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
@@ -105,6 +105,17 @@ Common issues and solutions for pgpm, PostgreSQL, and testing.
105
105
 
106
106
  * [constructive-skills](https://github.com/constructive-io/constructive-skills): **📖 Platform documentation and AI agent skills** — feature catalog, blueprint reference, SDK guides (i18n, billing, limits, events, uploads, security, entities, search, AI), and deployment guides.
107
107
 
108
+ Install skills for AI coding agents:
109
+
110
+ ```bash
111
+ # All platform skills (security, blueprints, codegen, billing, etc.)
112
+ npx skills add constructive-io/constructive-skills
113
+
114
+ # Individual repo skills (pgpm, testing, CLI, search, etc.)
115
+ npx skills add https://github.com/constructive-io/constructive --skill pgpm
116
+ npx skills add https://github.com/constructive-io/constructive --skill constructive-testing
117
+ ```
118
+
108
119
  ## Credits
109
120
 
110
121
  **🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
@@ -1,4 +1,7 @@
1
1
  import { BoilerplateConfig as GenomicBoilerplateConfig } from 'genomic';
2
+ export type { BoilerplateSkill } from 'genomic';
3
+ export { SkillInstaller } from 'genomic';
4
+ export type { SkillInstallOptions, SkillInstallResult, SkillInstallFailure } from 'genomic';
2
5
  import type { Inquirerer, Question } from 'inquirerer';
3
6
  /**
4
7
  * Supported workspace types for template requirements.
@@ -9,10 +12,6 @@ import type { Inquirerer, Question } from 'inquirerer';
9
12
  * - false: No workspace required, can be scaffolded anywhere
10
13
  */
11
14
  export type WorkspaceType = 'pgpm' | 'pnpm' | 'lerna' | 'npm' | false;
12
- /**
13
- * Extended BoilerplateConfig that adds workspace requirement field.
14
- * This field controls both workspace detection and whether pgpm-specific files are created.
15
- */
16
15
  export interface BoilerplateConfig extends GenomicBoilerplateConfig {
17
16
  /**
18
17
  * Specifies what type of workspace this template requires.
@@ -3,12 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DEFAULT_TEMPLATE_TOOL_NAME = exports.DEFAULT_TEMPLATE_TTL_MS = exports.DEFAULT_TEMPLATE_REPO = void 0;
6
+ exports.DEFAULT_TEMPLATE_TOOL_NAME = exports.DEFAULT_TEMPLATE_TTL_MS = exports.DEFAULT_TEMPLATE_REPO = exports.SkillInstaller = void 0;
7
7
  exports.inspectTemplate = inspectTemplate;
8
8
  exports.scaffoldTemplate = scaffoldTemplate;
9
9
  const os_1 = __importDefault(require("os"));
10
10
  const path_1 = __importDefault(require("path"));
11
11
  const genomic_1 = require("genomic");
12
+ var genomic_2 = require("genomic");
13
+ Object.defineProperty(exports, "SkillInstaller", { enumerable: true, get: function () { return genomic_2.SkillInstaller; } });
12
14
  exports.DEFAULT_TEMPLATE_REPO = 'https://github.com/constructive-io/pgpm-boilerplates.git';
13
15
  exports.DEFAULT_TEMPLATE_TTL_MS = 1 * 24 * 60 * 60 * 1000; // 1 day
14
16
  exports.DEFAULT_TEMPLATE_TOOL_NAME = 'pgpm';
@@ -1,6 +1,7 @@
1
1
  import os from 'os';
2
2
  import path from 'path';
3
3
  import { TemplateScaffolder } from 'genomic';
4
+ export { SkillInstaller } from 'genomic';
4
5
  export const DEFAULT_TEMPLATE_REPO = 'https://github.com/constructive-io/pgpm-boilerplates.git';
5
6
  export const DEFAULT_TEMPLATE_TTL_MS = 1 * 24 * 60 * 60 * 1000; // 1 day
6
7
  export const DEFAULT_TEMPLATE_TOOL_NAME = 'pgpm';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "6.22.1",
3
+ "version": "6.24.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM Package and Migration Tools",
6
6
  "main": "index.js",
@@ -53,7 +53,7 @@
53
53
  "@pgpmjs/server-utils": "^3.13.0",
54
54
  "@pgpmjs/types": "^2.29.0",
55
55
  "csv-to-pg": "^3.18.0",
56
- "genomic": "^5.4.0",
56
+ "genomic": "^5.6.0",
57
57
  "glob": "^13.0.6",
58
58
  "minimatch": "^10.2.5",
59
59
  "parse-package-name": "^1.0.0",
@@ -64,5 +64,5 @@
64
64
  "pgsql-parser": "^17.9.15",
65
65
  "yanse": "^0.2.1"
66
66
  },
67
- "gitHead": "d6a34a51d5e889443c2345c80ccfcea050875bda"
67
+ "gitHead": "659c7776183c8dc497e640c384e8d1af45965065"
68
68
  }