mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat: add prepublishOnly checks (#2052)
This commit is contained in:
parent
d9892ada7f
commit
bf873a1d85
5 changed files with 51 additions and 9 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue