Skip to content

Commit b0e5a0a

Browse files
committed
fixup! feat(ng-dev/release): support pnpm as primary package manager
1 parent d43b94e commit b0e5a0a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ng-dev/release/publish/test/cut-stable.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
} from '../../versioning/index.js';
2727
import {ReleaseNotes} from '../../notes/release-notes.js';
2828
import {workspaceRelativePackageJsonPath} from '../../../utils/constants.js';
29+
import {PnpmVersioning} from '../pnpm-versioning.js';
2930

3031
describe('cut stable action', () => {
3132
it('should not activate if a feature-freeze release-train is active', async () => {
@@ -162,7 +163,7 @@ describe('cut stable action', () => {
162163
action.projectDir,
163164
'v10-lts',
164165
matchesVersion('10.0.3'),
165-
null,
166+
new PnpmVersioning(),
166167
// Experimental packages are expected to be not tagged as LTS.
167168
{skipExperimentalPackages: true},
168169
);

ng-dev/release/publish/test/tag-recent-major-as-latest.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {ActiveReleaseTrains} from '../../versioning/index.js';
1111
import {ReleaseTrain} from '../../versioning/release-trains.js';
1212
import {TagRecentMajorAsLatest} from '../actions/tag-recent-major-as-latest.js';
1313
import {ExternalCommands} from '../external-commands.js';
14+
import {PnpmVersioning} from '../pnpm-versioning.js';
1415
import {getTestConfigurationsForAction} from './test-utils/action-mocks.js';
1516
import {
1617
fakeNpmPackageQueryRequest,
@@ -148,7 +149,7 @@ describe('tag recent major as latest action', () => {
148149
projectDir,
149150
'latest',
150151
matchesVersion('10.0.0'),
151-
null,
152+
new PnpmVersioning(),
152153
);
153154
});
154155
});

0 commit comments

Comments
 (0)