pkg-pr-new 0.0.56 → 0.0.57
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 +8 -2
- package/index.ts +7 -0
- package/package.json +2 -1
package/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { isBinaryFile } from "isbinaryfile";
|
|
|
21
21
|
import { writePackageJSON, type PackageJson } from "pkg-types";
|
|
22
22
|
import pkg from "./package.json" with { type: "json" };
|
|
23
23
|
import { createDefaultTemplate } from "./template";
|
|
24
|
+
import * as core from "@actions/core";
|
|
24
25
|
|
|
25
26
|
declare global {
|
|
26
27
|
const API_URL: string;
|
|
@@ -516,6 +517,12 @@ const main = defineCommand({
|
|
|
516
517
|
`publishing failed: ${await res.text()}`,
|
|
517
518
|
);
|
|
518
519
|
|
|
520
|
+
const debug = laterRes.debug;
|
|
521
|
+
|
|
522
|
+
core.startGroup("🔍 Info");
|
|
523
|
+
core.notice(JSON.stringify(debug, null, 2));
|
|
524
|
+
core.endGroup();
|
|
525
|
+
|
|
519
526
|
console.warn("\n");
|
|
520
527
|
console.warn("⚡️ Your npm packages are published.\n");
|
|
521
528
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pkg-pr-new",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.57",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"@actions/core": "^1.11.1",
|
|
24
25
|
"@jsdevtools/ez-spawn": "^3.0.4",
|
|
25
26
|
"@octokit/action": "^6.1.0",
|
|
26
27
|
"ignore": "^5.3.1",
|