Skip to content

Commit 6f98ddc

Browse files
authored
Merge pull request #1273 from constructive-io/feat/genomic-skills-cleanup
chore(pgpm): use BoilerplateSkill from genomic@5.5.0
2 parents ae9bfed + 5689349 commit 6f98ddc

4 files changed

Lines changed: 2538 additions & 7329 deletions

File tree

pgpm/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@pgsql/quotes": "^17.1.0",
5555
"appstash": "^0.7.0",
5656
"find-and-require-package-json": "^0.9.1",
57-
"genomic": "^5.4.0",
57+
"genomic": "^5.5.0",
5858
"inquirerer": "^4.8.1",
5959
"js-yaml": "^4.1.0",
6060
"pg-cache": "workspace:^",

pgpm/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@pgpmjs/server-utils": "workspace:^",
5454
"@pgpmjs/types": "workspace:^",
5555
"csv-to-pg": "workspace:^",
56-
"genomic": "^5.4.0",
56+
"genomic": "^5.5.0",
5757
"glob": "^13.0.6",
5858
"minimatch": "^10.2.5",
5959
"parse-package-name": "^1.0.0",

pgpm/core/src/core/template-scaffold.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os from 'os';
22
import path from 'path';
33
import { TemplateScaffolder, BoilerplateConfig as GenomicBoilerplateConfig } from 'genomic';
4+
export type { BoilerplateSkill } from 'genomic';
45
import type { Inquirerer, Question } from 'inquirerer';
56

67
/**
@@ -13,16 +14,6 @@ import type { Inquirerer, Question } from 'inquirerer';
1314
*/
1415
export type WorkspaceType = 'pgpm' | 'pnpm' | 'lerna' | 'npm' | false;
1516

16-
/**
17-
* Declares a skill to install after scaffolding completes.
18-
*/
19-
export interface BoilerplateSkill {
20-
/** GitHub repository (org/repo format) */
21-
source: string;
22-
/** Skill name(s) to install from the source */
23-
skills: string[];
24-
}
25-
2617
export interface BoilerplateConfig extends GenomicBoilerplateConfig {
2718
/**
2819
* Specifies what type of workspace this template requires.
@@ -35,13 +26,6 @@ export interface BoilerplateConfig extends GenomicBoilerplateConfig {
3526
* Defaults to 'pgpm' for 'module' type (backward compatibility), false for others.
3627
*/
3728
requiresWorkspace?: WorkspaceType;
38-
/**
39-
* Skills to install after scaffolding completes.
40-
* Each entry specifies a source repository and skill names to install.
41-
* Runs `npx skills add <source> --skill <name>` for each entry.
42-
* Non-fatal: prints manual install commands on failure.
43-
*/
44-
skills?: BoilerplateSkill[];
4529
}
4630

4731
export interface InspectTemplateOptions {

0 commit comments

Comments
 (0)