@anytio/pspm 0.2.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to the PSPM CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.0] - 2026-01-27
9
+
10
+ ### Added
11
+
12
+ - **`.pspmignore` support for publish command**: Control which files are excluded when publishing or packing skill packages
13
+ - If `.pspmignore` exists, use it for ignore patterns (like `.npmignore`)
14
+ - Otherwise, fall back to `.gitignore` if present
15
+ - Always ignores `node_modules`, `.git`, and `.pspm-publish` regardless
16
+ - Displays which ignore file is being used during publish
17
+
18
+ - **Local directory support (file: protocol)**: Install skills from local directories for development and testing
19
+ - `pspm add file:../path/to/skill` - Install from local directory
20
+ - `localDependencies` field in `pspm.json` for local packages
21
+ - Lockfile version bumped to 4 to support `localPackages`
22
+
8
23
  ## [0.2.0] - 2026-01-23
9
24
 
10
25
  ### Changed
package/README.md CHANGED
@@ -100,6 +100,10 @@ pspm install # Install all from lockfile
100
100
  - `github:owner/repo/path/to/skill` - Subdirectory within repo
101
101
  - `github:owner/repo/path/to/skill@v1.0.0` - Subdirectory with tag
102
102
 
103
+ **Local directory specifiers (for development):**
104
+ - `file:../path/to/skill` - Install from local directory
105
+ - `file:./subdir/skill` - Relative path from current directory
106
+
103
107
  **Agent symlink options:**
104
108
  ```bash
105
109
  pspm add <specifier> --agent claude-code,cursor # Link to multiple agents
@@ -219,6 +223,23 @@ project/
219
223
  └── .pspmrc # User config
220
224
  ```
221
225
 
226
+ ## Ignoring Files (.pspmignore)
227
+
228
+ Control which files are excluded when publishing with a `.pspmignore` file:
229
+
230
+ ```
231
+ # .pspmignore - exclude files from publish
232
+ *.test.ts
233
+ __tests__/
234
+ .env*
235
+ *.log
236
+ ```
237
+
238
+ **Behavior:**
239
+ - If `.pspmignore` exists, use it for ignore patterns
240
+ - Otherwise, fall back to `.gitignore` if present
241
+ - Always ignores `node_modules`, `.git`, and `.pspm-publish` regardless
242
+
222
243
  ## Creating a Skill
223
244
 
224
245
  A skill is a directory containing at minimum a `pspm.json` and `SKILL.md`: