prpm 1.1.11 → 1.1.13
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/dist/index.js +15248 -13153
- package/dist/schemas/claude-skill.schema.json +5 -0
- package/dist/schemas/format-registry.schema.json +99 -0
- package/package.json +10 -13
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"type": "string",
|
|
22
22
|
"maxLength": 1024,
|
|
23
23
|
"description": "Brief overview of functionality and when to use it"
|
|
24
|
+
},
|
|
25
|
+
"license": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"maxLength": 128,
|
|
28
|
+
"description": "Optional license identifier for the skill (e.g., MIT, Apache-2.0)"
|
|
24
29
|
}
|
|
25
30
|
},
|
|
26
31
|
"additionalProperties": false
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/format-registry.json",
|
|
4
|
+
"title": "PRPM Format Registry",
|
|
5
|
+
"description": "Central registry defining all supported AI editor formats, their directory structures, file patterns, and scanning configurations",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["version", "formats"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Schema version for format registry"
|
|
12
|
+
},
|
|
13
|
+
"formats": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"description": "Map of format names to their configurations",
|
|
16
|
+
"additionalProperties": {
|
|
17
|
+
"$ref": "#/definitions/FormatConfig"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"definitions": {
|
|
22
|
+
"FormatConfig": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": ["name", "subtypes"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Display name for the format"
|
|
29
|
+
},
|
|
30
|
+
"description": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Brief description of the format"
|
|
33
|
+
},
|
|
34
|
+
"documentationUrl": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "uri",
|
|
37
|
+
"description": "URL to official documentation"
|
|
38
|
+
},
|
|
39
|
+
"subtypes": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"description": "Map of subtype names to their configurations",
|
|
42
|
+
"additionalProperties": {
|
|
43
|
+
"$ref": "#/definitions/SubtypeConfig"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"rootFiles": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"description": "Root-level files that indicate this format (e.g., .cursorrules)",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"defaultSubtype": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Default subtype to use when an unknown subtype is requested for this format"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"SubtypeConfig": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["directory", "filePatterns"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"directory": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "Directory path relative to project root where packages are stored"
|
|
66
|
+
},
|
|
67
|
+
"scanDirectory": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Directory to scan if different from install directory (e.g., Claude hooks)"
|
|
70
|
+
},
|
|
71
|
+
"filePatterns": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"description": "Glob patterns for matching package files (e.g., *.md, *.mdc, SKILL.md)",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"nested": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "Whether packages are in subdirectories (e.g., .claude/skills/skill-name/)",
|
|
81
|
+
"default": false
|
|
82
|
+
},
|
|
83
|
+
"nestedIndicator": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "File that indicates a valid package in nested mode (e.g., SKILL.md)"
|
|
86
|
+
},
|
|
87
|
+
"fileExtension": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Default file extension for this format (e.g., .md, .mdc, .toml)"
|
|
90
|
+
},
|
|
91
|
+
"usesPackageSubdirectory": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "Whether directory path includes package name (e.g., .claude/skills/{name})",
|
|
94
|
+
"default": false
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prpm",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "Prompt Package Manager CLI - Install and manage prompt-based files",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"dev:with-build": "concurrently --kill-others --names \"BUILD,CLI\" \"tsc --watch --preserveWatchOutput\" \"nodemon --delay 1 --watch dist dist/index.js\"",
|
|
14
14
|
"dev:build-only": "tsc --watch --preserveWatchOutput",
|
|
15
15
|
"start": "node dist/index.js",
|
|
16
|
-
"test": "
|
|
17
|
-
"test:watch": "
|
|
18
|
-
"test:coverage": "
|
|
19
|
-
"test:ci": "
|
|
16
|
+
"test": "vitest run",
|
|
17
|
+
"test:watch": "vitest",
|
|
18
|
+
"test:coverage": "vitest --coverage",
|
|
19
|
+
"test:ci": "vitest run --coverage",
|
|
20
20
|
"build:binary": "echo 'Binary builds deprecated - use npm install -g prpm or Homebrew instead'",
|
|
21
21
|
"typecheck": "tsc --noEmit",
|
|
22
22
|
"version:bump": "node scripts/bump-version.js",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@octokit/rest": "^22.0.0",
|
|
48
|
-
"@pr-pm/converters": "^1.1.
|
|
49
|
-
"@pr-pm/registry-client": "^2.1.
|
|
50
|
-
"@pr-pm/types": "^1.1.
|
|
48
|
+
"@pr-pm/converters": "^1.1.13",
|
|
49
|
+
"@pr-pm/registry-client": "^2.1.13",
|
|
50
|
+
"@pr-pm/types": "^1.1.13",
|
|
51
51
|
"ajv": "^8.17.1",
|
|
52
52
|
"ajv-formats": "^3.0.1",
|
|
53
53
|
"commander": "^11.1.0",
|
|
@@ -57,17 +57,14 @@
|
|
|
57
57
|
"tar": "^6.2.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/jest": "^29.5.8",
|
|
61
60
|
"@types/jsonwebtoken": "^9.0.10",
|
|
62
61
|
"@types/node": "^20.10.0",
|
|
63
62
|
"@types/tar": "^6.1.13",
|
|
64
|
-
"jest": "^29.7.0",
|
|
65
63
|
"nodemon": "^3.0.2",
|
|
66
|
-
"ts-jest": "^29.1.1",
|
|
67
|
-
"ts-node": "^10.9.1",
|
|
68
64
|
"tsup": "^8.5.1",
|
|
69
65
|
"tsx": "^4.20.6",
|
|
70
|
-
"typescript": "^5.3.2"
|
|
66
|
+
"typescript": "^5.3.2",
|
|
67
|
+
"vitest": "^3.2.4"
|
|
71
68
|
},
|
|
72
69
|
"engines": {
|
|
73
70
|
"node": ">=16.0.0"
|