[kbn-pm] Add trailing newline in package.json (#125320) (#125330)

(cherry picked from commit 643e4392b0)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Kibana Machine 2022-02-10 20:58:13 -05:00 committed by GitHub
parent 78d3f10e62
commit afeb2407e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -898,4 +898,4 @@
"yargs": "^15.4.1",
"zlib": "^1.0.5"
}
}
}

View file

@ -51510,7 +51510,7 @@ async function sortPackageJson(kbn) {
await fs_promises__WEBPACK_IMPORTED_MODULE_0___default.a.writeFile(packageJsonPath, JSON.stringify(sort_package_json__WEBPACK_IMPORTED_MODULE_1___default()(JSON.parse(packageJson), {
// top level keys in the order they were written when this was implemented
sortOrder: ['name', 'description', 'keywords', 'private', 'version', 'branch', 'types', 'tsdocMetadata', 'build', 'homepage', 'bugs', 'kibana', 'author', 'scripts', 'repository', 'engines', 'resolutions']
}), null, 2));
}), null, 2) + '\n');
}
/***/ }),

View file

@ -42,6 +42,6 @@ export async function sortPackageJson(kbn: Kibana) {
}),
null,
2
)
) + '\n'
);
}