@jsenv/github-pull-request-impact 1.7.7 → 1.8.0
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/package.json +5 -10
- package/src/{commentGitHubPullRequestImpact.js → comment_github_pull_request_impact.js} +5 -5
- package/src/main.js +3 -4
- /package/src/internal/{createGitHubPullRequestCommentText.js → create_github_pull_request_comment_text.js} +0 -0
- /package/src/internal/{renderGeneratedByText.js → render_generated_by_text.js} +0 -0
- /package/src/{readGitHubWorkflowEnv.js → read_github_workflow_env.js} +0 -0
package/package.json
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/github-pull-request-impact",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Report pull request impact on something",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "dmail",
|
|
8
|
-
"email": "dmaillard06@gmail.com",
|
|
9
|
-
"url": "https://twitter.com/damienmaillard"
|
|
10
|
-
},
|
|
11
6
|
"repository": {
|
|
12
7
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/jsenv/
|
|
14
|
-
"directory": "packages/github-pull-request-impact"
|
|
8
|
+
"url": "https://github.com/jsenv/core",
|
|
9
|
+
"directory": "packages/independent/workflow/github-pull-request-impact"
|
|
15
10
|
},
|
|
16
11
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
12
|
+
"node": ">=20.0.0"
|
|
18
13
|
},
|
|
19
14
|
"publishConfig": {
|
|
20
15
|
"access": "public"
|
|
@@ -35,6 +30,6 @@
|
|
|
35
30
|
},
|
|
36
31
|
"dependencies": {
|
|
37
32
|
"@jsenv/filesystem": "4.10.2",
|
|
38
|
-
"@jsenv/
|
|
33
|
+
"@jsenv/humanize": "1.2.8"
|
|
39
34
|
}
|
|
40
35
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsenv/file-size-impact, @jsenv/performance-impact and @jsenv/lighthouse-score-impact
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
6
|
import { assertAndNormalizeDirectoryUrl } from "@jsenv/filesystem";
|
|
8
|
-
import { createLogger } from "@jsenv/
|
|
9
|
-
import
|
|
7
|
+
import { createLogger } from "@jsenv/humanize";
|
|
8
|
+
import { fileURLToPath } from "node:url";
|
|
9
|
+
import { createGitHubPullRequestCommentText } from "./internal/create_github_pull_request_comment_text.js";
|
|
10
10
|
import { exec } from "./internal/exec.js";
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
11
|
+
import * as githubRESTAPI from "./internal/github_rest_api.js";
|
|
12
|
+
import { renderGeneratedByText } from "./internal/render_generated_by_text.js";
|
|
13
13
|
|
|
14
14
|
export const commentGitHubPullRequestImpact = async ({
|
|
15
15
|
logLevel,
|
package/src/main.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
export { commentGitHubPullRequestImpact } from "./comment_github_pull_request_impact.js";
|
|
2
|
+
export { readGitHubWorkflowEnv } from "./read_github_workflow_env.js";
|
|
4
3
|
// not planned to be documented but can be useful
|
|
5
4
|
// to get a github comment from a { warnings, body } object
|
|
6
|
-
export { createGitHubPullRequestCommentText } from "./internal/
|
|
5
|
+
export { createGitHubPullRequestCommentText } from "./internal/create_github_pull_request_comment_text.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|