Revert "build: allow node package depends on workspace packages (#11892)"

This reverts commit c00671dd84.
This commit is contained in:
liuyi
2025-04-23 19:24:51 +08:00
parent c00671dd84
commit 5d9a3aac5b
28 changed files with 327 additions and 328 deletions
+3 -2
View File
@@ -8,12 +8,13 @@ export interface YarnWorkspaceItem {
export interface CommonPackageJsonContent {
name: string;
type?: 'module' | 'commonjs';
version: string;
private?: boolean;
dependencies?: { [key: string]: string };
devDependencies?: { [key: string]: string };
scripts?: { [key: string]: string };
main?: string;
exports?: { [key: string]: string | { [key: string]: string } };
exports?: {
[key: string]: string;
};
}
+1 -1
View File
@@ -963,10 +963,10 @@ export const PackageList = [
location: 'packages/backend/server',
name: '@affine/server',
workspaceDependencies: [
'packages/backend/native',
'tools/cli',
'tools/utils',
'packages/common/graphql',
'packages/backend/native',
],
},
{