mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 03:26:00 +00:00
try to fix build
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const fs = require('fs');
|
||||
|
||||
function adjustRootPackageJson(file) {
|
||||
function adjustAppPackageJson(file) {
|
||||
const json = JSON.parse(fs.readFileSync(file, { encoding: 'utf-8' }));
|
||||
json.workspaces.push('app');
|
||||
json.workspaces = ['../packages/*'];
|
||||
fs.writeFileSync(file, JSON.stringify(json, null, 2), 'utf-8');
|
||||
}
|
||||
|
||||
adjustRootPackageJson('package.json');
|
||||
adjustAppPackageJson('app/package.json');
|
||||
|
||||
Reference in New Issue
Block a user