prpm 1.2.0 → 2.0.1

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.
Files changed (36) hide show
  1. package/dist/index.js +18767 -13483
  2. package/dist/schemas/agents-md.schema.json +2 -1
  3. package/dist/schemas/aider.schema.json +24 -0
  4. package/dist/schemas/canonical.schema.json +5 -5
  5. package/dist/schemas/claude-agent.schema.json +15 -10
  6. package/dist/schemas/claude-hook.schema.json +5 -3
  7. package/dist/schemas/claude-plugin.schema.json +122 -0
  8. package/dist/schemas/claude-skill.schema.json +8 -8
  9. package/dist/schemas/claude-slash-command.schema.json +22 -8
  10. package/dist/schemas/claude.schema.json +2 -1
  11. package/dist/schemas/continue.schema.json +2 -1
  12. package/dist/schemas/copilot.schema.json +2 -1
  13. package/dist/schemas/cursor-command.schema.json +2 -1
  14. package/dist/schemas/cursor-hooks.schema.json +59 -0
  15. package/dist/schemas/cursor.schema.json +2 -16
  16. package/dist/schemas/droid-hook.schema.json +103 -0
  17. package/dist/schemas/droid-skill.schema.json +46 -0
  18. package/dist/schemas/droid-slash-command.schema.json +53 -0
  19. package/dist/schemas/droid.schema.json +2 -1
  20. package/dist/schemas/format-registry.schema.json +99 -0
  21. package/dist/schemas/gemini-md.schema.json +24 -0
  22. package/dist/schemas/gemini.schema.json +3 -2
  23. package/dist/schemas/kiro-agent.schema.json +2 -1
  24. package/dist/schemas/{kiro-hooks.schema.json → kiro-hook.schema.json} +3 -2
  25. package/dist/schemas/kiro-steering.schema.json +2 -1
  26. package/dist/schemas/mcp-server.schema.json +130 -0
  27. package/dist/schemas/opencode-slash-command.schema.json +60 -0
  28. package/dist/schemas/opencode.schema.json +16 -10
  29. package/dist/schemas/prpm-manifest.schema.json +8 -2
  30. package/dist/schemas/replit.schema.json +21 -0
  31. package/dist/schemas/ruler.schema.json +2 -1
  32. package/dist/schemas/trae.schema.json +24 -0
  33. package/dist/schemas/windsurf.schema.json +2 -1
  34. package/dist/schemas/zencoder.schema.json +51 -0
  35. package/package.json +11 -13
  36. package/schemas/prpm-manifest.schema.json +8 -2
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://registry.prpm.dev/api/v1/schemas/zencoder.json",
4
+ "$comment": "https://docs.zencoder.ai/rules-context/zen-rules",
5
+ "title": "Zencoder Rules Format",
6
+ "description": "JSON Schema for Zencoder .zencoder/rules format with optional YAML frontmatter",
7
+ "type": "object",
8
+ "required": ["content"],
9
+ "properties": {
10
+ "frontmatter": {
11
+ "type": "object",
12
+ "description": "Optional YAML frontmatter enclosed in --- markers",
13
+ "properties": {
14
+ "description": {
15
+ "type": "string",
16
+ "description": "Brief description of what the rule covers"
17
+ },
18
+ "globs": {
19
+ "type": "array",
20
+ "description": "File patterns where the rule applies (e.g., ['*.md', '*.mdx'])",
21
+ "items": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ "alwaysApply": {
26
+ "type": "boolean",
27
+ "description": "Set to true if rule should always be active",
28
+ "default": false
29
+ }
30
+ },
31
+ "additionalProperties": false
32
+ },
33
+ "content": {
34
+ "type": "string",
35
+ "description": "Markdown content following the frontmatter. Standard markdown with headings, lists, code blocks, etc."
36
+ }
37
+ },
38
+ "examples": [
39
+ {
40
+ "frontmatter": {
41
+ "description": "TypeScript coding standards",
42
+ "globs": ["*.ts", "*.tsx"],
43
+ "alwaysApply": false
44
+ },
45
+ "content": "# TypeScript Standards\n\n- Use strict mode\n- Prefer interfaces over types\n- Always define return types"
46
+ },
47
+ {
48
+ "content": "# General Coding Guidelines\n\nThese guidelines apply to all code.\n\n- Write clear, self-documenting code\n- Add comments for complex logic"
49
+ }
50
+ ]
51
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prpm",
3
- "version": "1.2.0",
3
+ "version": "2.0.1",
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": "jest --runInBand",
17
- "test:watch": "jest --watch --runInBand",
18
- "test:coverage": "jest --coverage --runInBand",
19
- "test:ci": "jest --ci --coverage --watchAll=false --runInBand",
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,28 +45,26 @@
45
45
  "license": "MIT",
46
46
  "dependencies": {
47
47
  "@octokit/rest": "^22.0.0",
48
- "@pr-pm/converters": "^1.2.0",
49
- "@pr-pm/registry-client": "^2.2.0",
50
- "@pr-pm/types": "^1.2.0",
48
+ "@pr-pm/converters": "^2.0.2",
49
+ "@pr-pm/registry-client": "^2.2.1",
50
+ "@pr-pm/types": "^2.0.2",
51
51
  "ajv": "^8.17.1",
52
52
  "ajv-formats": "^3.0.1",
53
53
  "commander": "^11.1.0",
54
54
  "jsonwebtoken": "^9.0.2",
55
55
  "posthog-node": "^5.10.0",
56
+ "semver": "^7.7.3",
56
57
  "tar": "^6.2.1"
57
58
  },
58
59
  "devDependencies": {
59
- "@types/jest": "^29.5.8",
60
60
  "@types/jsonwebtoken": "^9.0.10",
61
61
  "@types/node": "^20.10.0",
62
62
  "@types/tar": "^6.1.13",
63
- "jest": "^29.7.0",
64
63
  "nodemon": "^3.0.2",
65
- "ts-jest": "^29.1.1",
66
- "ts-node": "^10.9.1",
67
64
  "tsup": "^8.5.1",
68
65
  "tsx": "^4.20.6",
69
- "typescript": "^5.3.2"
66
+ "typescript": "^5.3.2",
67
+ "vitest": "^3.2.4"
70
68
  },
71
69
  "engines": {
72
70
  "node": ">=16.0.0"
@@ -45,6 +45,7 @@
45
45
  "enum": [
46
46
  "cursor",
47
47
  "claude",
48
+ "claude-plugin",
48
49
  "continue",
49
50
  "windsurf",
50
51
  "copilot",
@@ -68,7 +69,9 @@
68
69
  "template",
69
70
  "collection",
70
71
  "chatmode",
71
- "hook"
72
+ "hook",
73
+ "plugin",
74
+ "server"
72
75
  ]
73
76
  },
74
77
  "author": {
@@ -268,6 +271,7 @@
268
271
  "enum": [
269
272
  "cursor",
270
273
  "claude",
274
+ "claude-plugin",
271
275
  "continue",
272
276
  "windsurf",
273
277
  "copilot",
@@ -291,7 +295,9 @@
291
295
  "template",
292
296
  "collection",
293
297
  "chatmode",
294
- "hook"
298
+ "hook",
299
+ "plugin",
300
+ "server"
295
301
  ]
296
302
  },
297
303
  "name": {