mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-28 23:11:19 -07:00
Rollback shrinkwrap (#8926)
This commit is contained in:
committed by
GitHub
parent
7681c595b5
commit
d0da1f5fc9
@@ -22,8 +22,7 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"npm-shrinkwrap.json"
|
||||
"dist"
|
||||
],
|
||||
"config": {
|
||||
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.7.0-nightly.20250918.2722473a"
|
||||
|
||||
@@ -94,7 +94,7 @@ function collectDependencies(packageName, packageLock, dependenciesMap) {
|
||||
const packageInfo = packageLock.packages[`node_modules/${packageName}`];
|
||||
if (!packageInfo) {
|
||||
console.warn(
|
||||
`Warning: Could not find package info for ${packageName} in npm-shrinkwrap.json.`,
|
||||
`Warning: Could not find package info for ${packageName} in package-lock.json.`,
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -114,7 +114,7 @@ async function main() {
|
||||
const packageJsonContent = await fs.readFile(packageJsonPath, 'utf-8');
|
||||
const packageJson = JSON.parse(packageJsonContent);
|
||||
|
||||
const packageLockJsonPath = path.join(projectRoot, 'npm-shrinkwrap.json');
|
||||
const packageLockJsonPath = path.join(projectRoot, 'package-lock.json');
|
||||
const packageLockJsonContent = await fs.readFile(
|
||||
packageLockJsonPath,
|
||||
'utf-8',
|
||||
|
||||
Reference in New Issue
Block a user