prpm 0.1.3 → 0.1.5

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.
@@ -90,6 +90,7 @@ async function findAndLoadManifests() {
90
90
  homepage: pkg.homepage ?? multiManifest.homepage,
91
91
  documentation: pkg.documentation ?? multiManifest.documentation,
92
92
  organization: pkg.organization ?? multiManifest.organization,
93
+ private: pkg.private ?? multiManifest.private,
93
94
  tags: pkg.tags ?? multiManifest.tags,
94
95
  keywords: pkg.keywords ?? multiManifest.keywords,
95
96
  subtype: pkg.subtype,
@@ -540,8 +541,8 @@ async function handlePublish(options) {
540
541
  console.log('');
541
542
  console.log('✅ Package published successfully!');
542
543
  console.log('');
543
- console.log(` Package: ${manifest.name}@${result.version}`);
544
- console.log(` Install: prpm install ${manifest.name}`);
544
+ console.log(` Package: ${result.name}@${result.version}`);
545
+ console.log(` Install: prpm install ${result.name}`);
545
546
  console.log('');
546
547
  publishedPackages.push({
547
548
  name: manifest.name,
@@ -134,6 +134,10 @@ function buildWebappUrl(query, options, page = 1) {
134
134
  params.append('subtype', options.subtype);
135
135
  if (options.author)
136
136
  params.append('author', options.author);
137
+ if (options.language)
138
+ params.append('language', options.language);
139
+ if (options.framework)
140
+ params.append('framework', options.framework);
137
141
  if (page > 1)
138
142
  params.append('page', page.toString());
139
143
  return `${baseUrl}/search?${params.toString()}`;
@@ -312,6 +316,12 @@ async function handleSearch(query, options) {
312
316
  if (options.author) {
313
317
  searchOptions.author = options.author;
314
318
  }
319
+ if (options.language) {
320
+ searchOptions.language = options.language;
321
+ }
322
+ if (options.framework) {
323
+ searchOptions.framework = options.framework;
324
+ }
315
325
  result = await client.search(query || '', searchOptions);
316
326
  if (!result || result.packages.length === 0) {
317
327
  console.log('\n❌ No packages found');
@@ -377,6 +387,8 @@ async function handleSearch(query, options) {
377
387
  query: query.substring(0, 100),
378
388
  format: options.format,
379
389
  subtype: options.subtype,
390
+ language: options.language,
391
+ framework: options.framework,
380
392
  resultCount: success && result ? result.packages.length : 0,
381
393
  page: options.page,
382
394
  interactive: options.interactive,
@@ -394,6 +406,8 @@ function createSearchCommand() {
394
406
  .option('--format <format>', 'Filter by package format (cursor, claude, continue, windsurf, copilot, kiro, agents.md, generic, mcp)')
395
407
  .option('--subtype <subtype>', 'Filter by package subtype (rule, agent, skill, slash-command, prompt, workflow, tool, template, collection)')
396
408
  .option('--author <username>', 'Filter by author username')
409
+ .option('--language <language>', 'Filter by programming language (javascript, typescript, python, etc.)')
410
+ .option('--framework <framework>', 'Filter by framework (react, nextjs, django, etc.)')
397
411
  .option('--limit <number>', 'Number of results per page', '20')
398
412
  .option('--page <number>', 'Page number (default: 1)', '1')
399
413
  .option('--interactive', 'Enable interactive pagination (default: true for multiple pages)', true)
@@ -423,7 +437,7 @@ function createSearchCommand() {
423
437
  console.log(` prpm search --author prpm # List packages by @prpm`);
424
438
  process.exit(1);
425
439
  }
426
- await handleSearch(query || '', { format, subtype, author, limit, page, interactive: options.interactive });
440
+ await handleSearch(query || '', { format, subtype, author, language: options.language, framework: options.framework, limit, page, interactive: options.interactive });
427
441
  process.exit(0);
428
442
  });
429
443
  return command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prpm",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
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.3.2",
49
- "@pr-pm/types": "^0.2.2",
48
+ "@pr-pm/registry-client": "^1.3.4",
49
+ "@pr-pm/types": "^0.2.4",
50
50
  "ajv": "^8.17.1",
51
51
  "ajv-formats": "^3.0.1",
52
52
  "commander": "^11.1.0",