Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@cloudflare/vitest-pool-workers": "^0.6.8",
"wrangler": "^3.57.1",
"zod": "^4.3.6"
"zod": "^4.6.6"
},
"packageManager": "pnpm@12.12.0"
}
23 changes: 19 additions & 4 deletions packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { writePackageJSON, type PackageJson } from "pkg-types";
import pkg from "./package.json" with { type: "json" };
import { createDefaultTemplate } from "./template";
import { resolveCatalogs } from "./catalog";
import * as core from "@actions/core";

declare global {
const API_URL: string;
Expand Down Expand Up @@ -867,9 +866,9 @@ const main = defineCommand({
pkgPrNewVersion: pkg.version,
});

core.startGroup("🔍 Info");
core.notice(JSON.stringify(debug, null, 2));
core.endGroup();
startGroup("🔍 Info");
notice(JSON.stringify(debug, null, 2));
endGroup();

console.warn("\n");
console.warn("⚡️ Your npm packages are published.\n");
Expand Down Expand Up @@ -1044,6 +1043,22 @@ function getFormEntrySize(entry: FormDataEntryValue) {
return entry.size;
}

function escapeWorkflowCommandData(s: string) {
return s.replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A");
}

function startGroup(name: string) {
console.log(`::group::${escapeWorkflowCommandData(name)}`);
}

function endGroup() {
console.log("::endgroup::");
}

function notice(message: string) {
console.log(`::notice::${escapeWorkflowCommandData(message)}`);
}

async function verifyCompactMode(packageName: string) {
let manifest: PackageManifest;

Expand Down
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@actions/core": "^3.0.1",
"@jsdevtools/ez-spawn": "^3.0.4",
"@pkg-pr-new/utils": "workspace:^",
"citty": "^0.1.6",
Expand Down
Loading
Loading