@anytio/pspm 0.0.4 → 0.0.7
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 +26 -7
- package/dist/index.js +833 -86
- package/dist/index.js.map +1 -1
- package/package.json +67 -67
package/README.md
CHANGED
|
@@ -66,9 +66,19 @@ pspm update # Update skills to latest compatible versions
|
|
|
66
66
|
```bash
|
|
67
67
|
pspm publish # Publish current directory as a skill
|
|
68
68
|
pspm publish --bump patch # Auto-bump version (major, minor, patch)
|
|
69
|
+
pspm publish --access public # Publish and make public in one step
|
|
69
70
|
pspm unpublish <spec> --force # Remove a published skill version
|
|
70
71
|
```
|
|
71
72
|
|
|
73
|
+
### Visibility
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pspm access --public # Make current package public
|
|
77
|
+
pspm access <spec> --public # Make specific package public
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Note:** Making a package public is irreversible (like npm). Public packages cannot be made private again.
|
|
81
|
+
|
|
72
82
|
**Publish Output:**
|
|
73
83
|
|
|
74
84
|
When publishing, PSPM displays detailed package information similar to npm:
|
|
@@ -112,6 +122,13 @@ PSPM uses a simple npm-like INI configuration format.
|
|
|
112
122
|
registry = https://pspm.dev
|
|
113
123
|
authToken = sk_...
|
|
114
124
|
username = myuser
|
|
125
|
+
|
|
126
|
+
; Multi-registry: Scope mappings
|
|
127
|
+
@myorg:registry = https://corp.pspm.io
|
|
128
|
+
|
|
129
|
+
; Multi-registry: Per-registry tokens
|
|
130
|
+
//pspm.dev:authToken = sk_public_token
|
|
131
|
+
//corp.pspm.io:authToken = sk_corp_token
|
|
115
132
|
```
|
|
116
133
|
|
|
117
134
|
### Project Config (`.pspmrc`)
|
|
@@ -123,7 +140,7 @@ Project-specific configuration (optional):
|
|
|
123
140
|
registry = https://custom-registry.example.com
|
|
124
141
|
```
|
|
125
142
|
|
|
126
|
-
### Lockfile (`
|
|
143
|
+
### Lockfile (`pspm-lock.json`)
|
|
127
144
|
|
|
128
145
|
```json
|
|
129
146
|
{
|
|
@@ -184,12 +201,14 @@ Error: Not logged in. Run 'pspm login --api-key <key>' first, or set PSPM_API_KE
|
|
|
184
201
|
```
|
|
185
202
|
project/
|
|
186
203
|
├── .pspmrc # Project config (optional)
|
|
187
|
-
├──
|
|
188
|
-
└── .
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
204
|
+
├── pspm-lock.json # Lockfile
|
|
205
|
+
└── .pspm/
|
|
206
|
+
├── skills/ # Installed skills
|
|
207
|
+
│ └── username/
|
|
208
|
+
│ └── skillname/
|
|
209
|
+
│ ├── SKILL.md
|
|
210
|
+
│ └── ...
|
|
211
|
+
└── cache/ # Tarball cache
|
|
193
212
|
|
|
194
213
|
~/
|
|
195
214
|
└── .pspmrc # User config
|