Merge pull request #11891 from brave/package-lock-v2-npm-8

package-lock.json v2 via npm 8 and use --no-save option in npm i
This commit is contained in:
Pete Miller
2022-01-19 17:59:39 -08:00
committed by GitHub
4 changed files with 32180 additions and 6479 deletions
+32174 -6468
View File
File diff suppressed because it is too large Load Diff
+4 -9
View File
@@ -25,7 +25,6 @@
"chromium_rebase_l10n": "node ./build/commands/scripts/commands.js chromium_rebase_l10n",
"lint": "node ./build/commands/scripts/commands.js lint",
"format": "node ./build/commands/scripts/commands.js format",
"preinstall": "npx --yes -- npm-force-resolutions@0.0.10",
"test": "node ./build/commands/scripts/commands.js test",
"test:scripts": "jest build/commands/lib build/commands/scripts",
"test-security": "npm run check_security && npm run audit_deps && npm run network-audit",
@@ -263,17 +262,13 @@
}
}
},
"resolutions": {
"immer": "9.0.6",
"set-value": "4.1.0"
},
"devDependencies": {
"@babel/core": "7.16.0",
"@dump247/storybook-state": "1.6.1",
"@storybook/addon-essentials": "6.3.12",
"@storybook/addon-knobs": "6.3.1",
"@storybook/addons": "6.3.12",
"@storybook/react": "6.3.12",
"@storybook/addon-essentials": "6.4.13",
"@storybook/addon-knobs": "6.4.0",
"@storybook/addons": "6.4.13",
"@storybook/react": "6.4.13",
"@testing-library/react-hooks": "^7.0.2",
"@types/array-move": "2.0.0",
"@types/bluebird": "3.5.36",
+1 -1
View File
@@ -63,7 +63,7 @@ def update_node_modules(dirname, env=None):
if env is None:
env = os.environ.copy()
with scoped_cwd(dirname):
args = [NPM, 'install']
args = [NPM, 'install', '--no-save']
if is_verbose_mode():
args += ['--verbose']
execute_stdout(args, env)
+1 -1
View File
@@ -23,7 +23,7 @@ def main():
if args.verbose:
enable_verbose_mode()
if args.install:
execute_stdout([NPM, 'install'], env=env)
execute_stdout([NPM, 'install', '--no-save'], env=env)
if args.build:
execute_stdout([NPM, 'run', 'build-module'], env=env)