Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "spaceman", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Manage monorepo workspaces with a prompt-based CLI", | ||
@@ -5,0 +5,0 @@ "author": "Dave Stewart", |
@@ -91,3 +91,3 @@ # Spaceman | ||
``` | ||
spaceman run | ||
spaceman install | ||
``` | ||
@@ -120,3 +120,3 @@ | ||
``` | ||
Script - type to filter scripts | ||
Script - type to filter scripts (use spaces for partial matching) | ||
``` | ||
@@ -123,0 +123,0 @@ |
@@ -66,2 +66,6 @@ const Fs = require('fs') | ||
limit: 10, | ||
suggest (text, choices) { | ||
const rx = new RegExp(text.replace(/\s+/g, '.*')) | ||
return choices.filter(choice => rx.test(choice.name)) | ||
}, | ||
result (choice) { | ||
@@ -68,0 +72,0 @@ return items.find(item => item.choice === choice) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38117
1132