Skip to content

Commit

Permalink
Update patch method
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed Dec 26, 2024
1 parent f92ff27 commit c7daedc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ static string patchVersion(string package, string dependency = null)
foreach (var property in dependencies.Properties().ToList())
{
if (!property.Name.StartsWith("@serenity-is/") ||
property.Name != "test-utils" &&
(property.Value.Value<string>()?.StartsWith("file:") != true &&
property.Value.Value<string>()?.StartsWith("../") != true))
(property.Value.Value<string>()?.StartsWith("file:") != true &&
property.Value.Value<string>()?.StartsWith("../") != true &&
property.Value.Value<string>()?.StartsWith("workspace:") != true))
continue;

dependencies[property.Name] = "./node_modules/.dotnet/" + GetPossibleNuGetPackageId(property.Name);
Expand Down
14 changes: 3 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions serene/src/Serene.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preact": "10.24.3"
},
"devDependencies": {
"@serenity-is/tsbuild": "8.7.4",
"test-utils": "file:../../../packages/test-utils"
"@serenity-is/tsbuild": "workspace:*",
"test-utils": "workspace:*"
},
"scripts": {
"build": "npm run tsbuild",
Expand Down

0 comments on commit c7daedc

Please sign in to comment.