fix(clickhouse): remove broken @types/hyperdx__lucene devDep before yarn install
v1.10.1 packages/app/package.json contains '@types/hyperdx__lucene': 'npm:@types/lucene' but @types/lucene does not exist on npm (404), causing yarn install --immutable to fail. Remove the devDependency via node patch before install and drop --immutable flag.
This commit is contained in:
@@ -49,7 +49,8 @@ function update_script() {
|
||||
$STD git checkout "hyperdx@${LATEST_HDX_VERSION}"
|
||||
|
||||
msg_info "Building HyperDX"
|
||||
$STD yarn install --immutable
|
||||
node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('packages/app/package.json','utf8'));delete p.devDependencies['@types/hyperdx__lucene'];fs.writeFileSync('packages/app/package.json',JSON.stringify(p,null,2));"
|
||||
$STD yarn install
|
||||
$STD yarn workspace @hyperdx/common-utils run build
|
||||
$STD yarn workspace @hyperdx/api run build
|
||||
NEXT_OUTPUT_STANDALONE=true $STD yarn workspace @hyperdx/app run build
|
||||
|
||||
Reference in New Issue
Block a user