Skip to content

Commit

Permalink
[INTERNAL] createBuildManifest: Require package.json relative
Browse files Browse the repository at this point in the history
Resolves depcheck issue for missing dependency to @ui5/project
  • Loading branch information
RandomByte committed Jun 13, 2022
1 parent 911447f commit f4dd597
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/buildHelpers/createBuildManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = async function(project, buildConfig) {
timestamp: new Date().toISOString(),
versions: {
builderVersion: getVersion("@ui5/builder"),
projectVersion: getVersion("@ui5/project"),
projectVersion: getVersion("../../"),
fsVersion: getVersion("@ui5/fs"),
},
buildConfig,
Expand Down
4 changes: 2 additions & 2 deletions test/lib/buildHelpers/createBuildManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test("Create application from project with build manifest", async (t) => {
versions: {
builderVersion: require("@ui5/builder/package.json").version,
fsVersion: require("@ui5/fs/package.json").version,
projectVersion: require("@ui5/project/package.json").version,
projectVersion: require("../../../package.json").version,
},
tags: {
"/resources/id1/foo.js": {
Expand Down Expand Up @@ -115,7 +115,7 @@ test("Create library from project with build manifest", async (t) => {
versions: {
builderVersion: require("@ui5/builder/package.json").version,
fsVersion: require("@ui5/fs/package.json").version,
projectVersion: require("@ui5/project/package.json").version,
projectVersion: require("../../../package.json").version,
},
tags: {
"/resources/library/d/foo.js": {
Expand Down

0 comments on commit f4dd597

Please sign in to comment.