diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 5b1df1129a..3f9d28eadd 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -358,7 +358,10 @@ async function createPlugin( const pluginDir = resolvePath(appDir, 'plugins', canonicalName); - for (const cmd of [['tsc'], ['lint'], ['test', '--no-watch']]) { + print(`Running 'yarn tsc' in root for newly created plugin`); + await runPlain(['yarn', 'tsc'], { cwd: appDir }); + + for (const cmd of [['lint'], ['test', '--no-watch']]) { print(`Running 'yarn ${cmd.join(' ')}' in newly created plugin`); await runPlain(['yarn', ...cmd], { cwd: pluginDir }); }