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
@@ -111,7 +111,7 @@ test('should tell flavors correctly', t => {
sync: true,
renderer: true,
doc: true,
script: false,
script: true,
});
process.env.SERVER_FLAVOR = 'graphql';
@@ -122,15 +122,6 @@ test('should tell flavors correctly', t => {
doc: false,
script: false,
});
process.env.SERVER_FLAVOR = 'script';
t.deepEqual(new Env().flavors, {
graphql: false,
sync: false,
renderer: false,
doc: false,
script: true,
});
});
test('should tell selfhosted correctly', t => {