Skip to content

constructive-io/pgpm-boilerplates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgpm-boilerplates

Boilerplate templates for pgpm, the PostgreSQL Package Manager. These templates are used by pgpm init to scaffold new workspaces and modules.

Usage

# Create a new workspace
pgpm init workspace

# Create a new module (inside a workspace)
pgpm init

The templates are fetched from this repository and cached locally under ~/.pgpm/cache/repos. Use pgpm cache clean to clear the cache if you need a fresh pull.

Structure

default/
├── module/      # Single package/module template
└── workspace/   # Monorepo workspace template

Placeholders

Templates use the ____placeholder____ pattern (4 underscores on each side) for variable substitution. These are replaced by genomic during project generation.

Scripts

Find Placeholders

Scan templates for placeholder variables:

# Install dependencies
pnpm install

# Search entire repo
pnpm run find-placeholders

# Search specific directory
pnpm run find-placeholders -- ./default/module

This outputs all placeholders found, grouped by directory, with file locations and context.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors