@rayul/kordis 0.10.1 → 0.10.2
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4007,8 +4007,8 @@ function pullCommand() {
|
|
|
4007
4007
|
const reasonSuffix = result.yankReason ? ` (reason: ${result.yankReason})` : "";
|
|
4008
4008
|
const dateSuffix = result.yankedAt ? ` on ${new Date(result.yankedAt).toISOString().slice(0, 10)}` : "";
|
|
4009
4009
|
process.stderr.write(
|
|
4010
|
-
c.
|
|
4011
|
-
|
|
4010
|
+
c.bold(c.red(`\u26A0 YANKED`)) + c.red(
|
|
4011
|
+
` pulled v${result.version} of ${parsed.fullSlug}${reasonSuffix} \u2014 author marked this as unrecommended${dateSuffix}
|
|
4012
4012
|
`
|
|
4013
4013
|
)
|
|
4014
4014
|
);
|
|
@@ -4720,7 +4720,7 @@ import prompts3 from "prompts";
|
|
|
4720
4720
|
function yankCommand() {
|
|
4721
4721
|
return new Command13("yank").description("soft-mark a specific version of your package as yanked").argument(
|
|
4722
4722
|
"<full_slug>",
|
|
4723
|
-
'package identifier
|
|
4723
|
+
'package identifier \u2014 bare slug yanks current version (e.g. "user/slug"), or pin: "user/slug@1.2.3"'
|
|
4724
4724
|
).option("--reason <text>", "optional reason shown to consumers (\u2264280 chars)").option("--force", "skip the confirmation prompt").action(
|
|
4725
4725
|
async (fullSlugArg, opts) => {
|
|
4726
4726
|
const parsed = parseSlugAtVersion(fullSlugArg);
|