fix(clickhouse): also strip @types/hyperdx__lucene from yarn.lock
Removing from packages/app/package.json devDependencies alone is not enough — Yarn Berry still resolves the alias from yarn.lock entries. sed removes all yarn.lock lines referencing the broken package.
This commit is contained in:
@@ -212,6 +212,7 @@ EOF
|
|||||||
msg_info "Building HyperDX"
|
msg_info "Building HyperDX"
|
||||||
# Remove broken devDependency (@types/lucene does not exist on npm)
|
# Remove broken devDependency (@types/lucene does not exist on npm)
|
||||||
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));"
|
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));"
|
||||||
|
sed -i '/@types\/hyperdx__lucene/d' yarn.lock
|
||||||
$STD yarn install
|
$STD yarn install
|
||||||
$STD yarn workspace @hyperdx/common-utils run build
|
$STD yarn workspace @hyperdx/common-utils run build
|
||||||
$STD yarn workspace @hyperdx/api run build
|
$STD yarn workspace @hyperdx/api run build
|
||||||
|
|||||||
Reference in New Issue
Block a user