prpm 0.0.19 → 0.0.21
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/commands/install.js +5 -3
- package/package.json +3 -3
package/dist/commands/install.js
CHANGED
|
@@ -502,18 +502,20 @@ function createInstallCommand() {
|
|
|
502
502
|
.description('Install a package from the registry')
|
|
503
503
|
.argument('<package>', 'Package to install (e.g., react-rules or react-rules@1.2.0)')
|
|
504
504
|
.option('--version <version>', 'Specific version to install')
|
|
505
|
-
.option('--as <format>', 'Convert and install in specific format (cursor, claude, continue, windsurf, canonical)')
|
|
505
|
+
.option('--as <format>', 'Convert and install in specific format (cursor, claude, continue, windsurf, copilot, kiro, agents.md, canonical)')
|
|
506
506
|
.option('--format <format>', 'Alias for --as')
|
|
507
507
|
.option('--subtype <subtype>', 'Specify subtype when converting (skill, agent, rule, etc.)')
|
|
508
508
|
.option('--frozen-lockfile', 'Fail if lock file needs to be updated (for CI)')
|
|
509
509
|
.action(async (packageSpec, options) => {
|
|
510
510
|
// Support both --as and --format (format is alias for as)
|
|
511
511
|
const convertTo = options.format || options.as;
|
|
512
|
-
if (convertTo && !['cursor', 'claude', 'continue', 'windsurf', 'canonical'].includes(convertTo)) {
|
|
513
|
-
console.error('❌ Format must be one of: cursor, claude, continue, windsurf, canonical');
|
|
512
|
+
if (convertTo && !['cursor', 'claude', 'continue', 'windsurf', 'copilot', 'kiro', 'agents.md', 'canonical'].includes(convertTo)) {
|
|
513
|
+
console.error('❌ Format must be one of: cursor, claude, continue, windsurf, copilot, kiro, agents.md, canonical');
|
|
514
514
|
console.log('\n💡 Examples:');
|
|
515
515
|
console.log(' prpm install my-package --as cursor # Convert to Cursor format');
|
|
516
516
|
console.log(' prpm install my-package --format claude # Convert to Claude format');
|
|
517
|
+
console.log(' prpm install my-package --format kiro # Convert to Kiro format');
|
|
518
|
+
console.log(' prpm install my-package --format agents.md # Convert to Agents.md format');
|
|
517
519
|
console.log(' prpm install my-package # Install in native format');
|
|
518
520
|
process.exit(1);
|
|
519
521
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prpm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "Prompt Package Manager CLI - Install and manage prompt-based files",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@octokit/rest": "^22.0.0",
|
|
48
|
-
"@pr-pm/registry-client": "^1.2.
|
|
49
|
-
"@pr-pm/types": "^0.1.
|
|
48
|
+
"@pr-pm/registry-client": "^1.2.15",
|
|
49
|
+
"@pr-pm/types": "^0.1.15",
|
|
50
50
|
"ajv": "^8.17.1",
|
|
51
51
|
"ajv-formats": "^3.0.1",
|
|
52
52
|
"commander": "^11.1.0",
|