feat: use nx to manage monorepo (#2748)

This commit is contained in:
Himself65
2023-06-10 00:46:24 +08:00
committed by GitHub
parent 1e6e0336c3
commit eeb536d460
14 changed files with 519 additions and 182 deletions

View File

@@ -9,7 +9,7 @@ import { test as baseTest } from '@playwright/test';
export const rootDir = resolve(__dirname, '..', '..');
// assert that the rootDir is the root of the project
// eslint-disable-next-line @typescript-eslint/no-var-requires
ok(require(resolve(rootDir, 'package.json')).name.toLowerCase() === 'affine');
ok(require(resolve(rootDir, 'package.json')).name.toLowerCase() === '@affine/monorepo');
export const testResultDir = resolve(rootDir, 'test-results');