From 077e8c6b40b648d69df112bf91f3f7cf7751f7d4 Mon Sep 17 00:00:00 2001 From: Yulong Wang Date: Tue, 18 May 2021 16:15:19 -0700 Subject: [PATCH] allow update_version.py to update new npm packages (#7746) * update versions for npm packages * remove package-lock.json in list --- tools/python/update_version.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/python/update_version.py b/tools/python/update_version.py index 2f35bdd965..2828040dc8 100755 --- a/tools/python/update_version.py +++ b/tools/python/update_version.py @@ -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: