Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pgpm/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@pgsql/quotes": "^17.1.0",
"appstash": "^0.7.0",
"find-and-require-package-json": "^0.9.1",
"genomic": "^5.4.0",
"genomic": "^5.5.0",
"inquirerer": "^4.8.1",
"js-yaml": "^4.1.0",
"pg-cache": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion pgpm/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@pgpmjs/server-utils": "workspace:^",
"@pgpmjs/types": "workspace:^",
"csv-to-pg": "workspace:^",
"genomic": "^5.4.0",
"genomic": "^5.5.0",
"glob": "^13.0.6",
"minimatch": "^10.2.5",
"parse-package-name": "^1.0.0",
Expand Down
18 changes: 1 addition & 17 deletions pgpm/core/src/core/template-scaffold.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os from 'os';
import path from 'path';
import { TemplateScaffolder, BoilerplateConfig as GenomicBoilerplateConfig } from 'genomic';
export type { BoilerplateSkill } from 'genomic';
import type { Inquirerer, Question } from 'inquirerer';

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

/**
* Declares a skill to install after scaffolding completes.
*/
export interface BoilerplateSkill {
/** GitHub repository (org/repo format) */
source: string;
/** Skill name(s) to install from the source */
skills: string[];
}

export interface BoilerplateConfig extends GenomicBoilerplateConfig {
/**
* Specifies what type of workspace this template requires.
Expand All @@ -35,13 +26,6 @@ export interface BoilerplateConfig extends GenomicBoilerplateConfig {
* Defaults to 'pgpm' for 'module' type (backward compatibility), false for others.
*/
requiresWorkspace?: WorkspaceType;
/**
* Skills to install after scaffolding completes.
* Each entry specifies a source repository and skill names to install.
* Runs `npx skills add <source> --skill <name>` for each entry.
* Non-fatal: prints manual install commands on failure.
*/
skills?: BoilerplateSkill[];
}

export interface InspectTemplateOptions {
Expand Down
Loading
Loading