@jsenv/file-size-impact 12.1.10 → 12.1.13

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/file-size-impact",
3
- "version": "12.1.10",
3
+ "version": "12.1.13",
4
4
  "description": "Add files size impact into pull requests",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@jsenv/dynamic-import-worker": "1.0.1",
40
40
  "@jsenv/filesystem": "3.1.0",
41
- "@jsenv/github-pull-request-impact": "1.6.10",
41
+ "@jsenv/github-pull-request-impact": "1.6.11",
42
42
  "@jsenv/logger": "4.0.1",
43
43
  "pretty-bytes": "6.0.0"
44
44
  }
@@ -96,7 +96,7 @@ export const jsenvFormatEmojiCell = ({ sizeBeforeMerge, sizeAfterMerge }) => {
96
96
  export const jsenvCommentParameters = {
97
97
  filesOrdering: "size_impact",
98
98
  maxFilesPerGroup: 600,
99
- fileRelativeUrlMaxLength: 100,
99
+ fileRelativeUrlMaxLength: 50,
100
100
  formatGroupSummary: jsenvFormatGroupSummary,
101
101
  formatFileRelativeUrl: jsenvFormatFileRelativeUrl,
102
102
 
@@ -75,9 +75,9 @@ export const reportFileSizeImpact = async ({
75
75
  repositoryName,
76
76
  pullRequestNumber,
77
77
 
78
- collectInfo: async ({ execCommandInProjectDirectory }) => {
79
- if (installCommand) await execCommandInProjectDirectory(installCommand)
80
- if (buildCommand) await execCommandInProjectDirectory(buildCommand)
78
+ collectInfo: async ({ execCommandInRootDirectory }) => {
79
+ if (installCommand) await execCommandInRootDirectory(installCommand)
80
+ if (buildCommand) await execCommandInRootDirectory(buildCommand)
81
81
  const fileSizeReport = await importOneExportFromFile(
82
82
  fileSizeReportModuleUrl,
83
83
  )