Skip to content

Commit e0d761d

Browse files
authored
chore: update repo to pnpm v9 (#2013)
1 parent 9318049 commit e0d761d

File tree

5 files changed

+6795
-5488
lines changed

5 files changed

+6795
-5488
lines changed

e2e/src/eslint-8--new-workspace.test.ts

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { setWorkspaceRoot } from 'nx/src/utils/workspace-root';
33
import { FIXTURES_DIR, Fixture } from '../utils/fixtures';
44
import {
55
LONG_TIMEOUT_MS,
6+
runCommandOnLocalRegistry,
67
runNgAdd,
78
runNgGenerate,
89
runNgNew,
@@ -51,6 +52,10 @@ describe('eslint-8--new-workspace', () => {
5152
);
5253

5354
await runNgAdd();
55+
await runCommandOnLocalRegistry('npm', [
56+
'ls',
57+
'@angular-eslint/schematics',
58+
]);
5459
await runNgGenerate(['app', 'another-app', '--interactive=false']);
5560
await runNgGenerate(['lib', 'another-lib', '--interactive=false']);
5661
});

e2e/utils/local-registry-process.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { E2E_VERSION } from './start-and-publish-to-local-registry';
55
// Used to ensure all the time-consuming setup steps for fixtures do not cause jest to time out
66
export const LONG_TIMEOUT_MS = 600000; // 10 mins
77

8-
async function runCommandOnLocalRegistry(
8+
export async function runCommandOnLocalRegistry(
99
command: string,
1010
args: string[],
1111
): Promise<execa.ExecaChildProcess<string>> {
@@ -16,6 +16,9 @@ async function runCommandOnLocalRegistry(
1616
------------------
1717
`);
1818
}
19+
console.log(
20+
`\n[e2e debug output] Running command: ${command} ${args.join(' ')}\n`,
21+
);
1922

2023
const subprocess = execa(command, args);
2124
subprocess.stdout!.pipe(process.stdout);

nx.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
"release": {
4242
"projects": ["packages/*", "!nx-plugin"],
4343
"version": {
44-
"conventionalCommits": true
44+
"conventionalCommits": true,
45+
"generatorOptions": {
46+
"installArgs": "--link-workspace-packages"
47+
}
4548
},
4649
"changelog": {
4750
"workspaceChangelog": {
@@ -136,5 +139,6 @@
136139
"!{projectRoot}/src/test-setup.[jt]s"
137140
],
138141
"projectSpecificFiles": []
139-
}
142+
},
143+
"bust": 1
140144
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"volta": {
66
"node": "20.16.0"
77
},
8-
"packageManager": "pnpm@8.15.9",
8+
"packageManager": "pnpm@9.8.0",
99
"contributors": [
1010
"James Henry <angular-eslint@jameshenry.email>"
1111
],

0 commit comments

Comments
 (0)