diff --git a/common-features/build/shared/TemplateBuild.Targets.PatchPackageJsonCopy.cs b/common-features/build/shared/TemplateBuild.Targets.PatchPackageJsonCopy.cs index 7d4cc6d283..b45f078293 100644 --- a/common-features/build/shared/TemplateBuild.Targets.PatchPackageJsonCopy.cs +++ b/common-features/build/shared/TemplateBuild.Targets.PatchPackageJsonCopy.cs @@ -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()?.StartsWith("file:") != true && - property.Value.Value()?.StartsWith("../") != true)) + (property.Value.Value()?.StartsWith("file:") != true && + property.Value.Value()?.StartsWith("../") != true && + property.Value.Value()?.StartsWith("workspace:") != true)) continue; dependencies[property.Name] = "./node_modules/.dotnet/" + GetPossibleNuGetPackageId(property.Name); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac18dc58ea..14402dbe39 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,10 +131,10 @@ importers: version: 10.24.3 devDependencies: '@serenity-is/tsbuild': - specifier: 8.7.4 - version: 8.7.4 + specifier: workspace:* + version: link:../../../packages/tsbuild test-utils: - specifier: file:../../../packages/test-utils + specifier: workspace:* version: link:../../../packages/test-utils packages: @@ -640,9 +640,6 @@ packages: cpu: [x64] os: [win32] - '@serenity-is/tsbuild@8.7.4': - resolution: {integrity: sha512-O2SWfy/tnXB+JK4IVAKS7Qh09F6O/zTJRFw7O3DYmgPV5mSGXz6Y69Zc1CQng1xfnLVDdCBnvsqrPShnA7NprQ==} - '@testing-library/dom@10.4.0': resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} engines: {node: '>=18'} @@ -1821,11 +1818,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.28.1': optional: true - '@serenity-is/tsbuild@8.7.4': - dependencies: - esbuild: 0.23.1 - glob: 11.0.0 - '@testing-library/dom@10.4.0': dependencies: '@babel/code-frame': 7.24.2 diff --git a/serene/src/Serene.Web/package.json b/serene/src/Serene.Web/package.json index d16df05e1f..746ee60533 100644 --- a/serene/src/Serene.Web/package.json +++ b/serene/src/Serene.Web/package.json @@ -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",