allow update_version.py to update new npm packages (#7746)

* update versions for npm packages

* remove package-lock.json in list
This commit is contained in:
Yulong Wang 2021-05-18 16:15:19 -07:00 committed by GitHub
parent 3f204d191b
commit 077e8c6b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,9 @@ def update_version():
os.path.join(js_root, 'common', 'package-lock.json'),
os.path.join(js_root, 'node', 'package.json'),
os.path.join(js_root, 'node', 'package-lock.json'),
os.path.join(js_root, 'web', 'package.json'),
os.path.join(js_root, 'web', 'package-lock.json'),
os.path.join(js_root, 'react_native', 'package.json'),
]
for file_path in file_paths:
with open(file_path) as f: