mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
feat: add prepublishOnly checks (#2052)
This commit is contained in:
@@ -46,12 +46,6 @@ if (!cliPackageJson.config) {
|
||||
}
|
||||
cliPackageJson.config.sandboxImageUri = containerImageUri;
|
||||
|
||||
// Remove 'prepublishOnly' from scripts if it exists
|
||||
if (cliPackageJson.scripts && cliPackageJson.scripts.prepublishOnly) {
|
||||
delete cliPackageJson.scripts.prepublishOnly;
|
||||
console.log('Removed prepublishOnly script from packages/cli/package.json');
|
||||
}
|
||||
|
||||
fs.writeFileSync(
|
||||
cliPackageJsonPath,
|
||||
JSON.stringify(cliPackageJson, null, 2) + '\n',
|
||||
|
||||
Reference in New Issue
Block a user