react-native/scripts
Héctor Ramos 5c5af3e1c9 Enforce lockfile is kept up to date (#21739)
Summary:
Adds a new script that runs Yarn with --frozen-lockfile, and fails if Yarn finds the lockfile is out of sync.

Keeping the lockfile in sync with package.json will ensure our internal open source tests can run offline, as our offline mirror is updated whenever the lockfile changes.

Reverted yarn.lock to https://raw.githubusercontent.com/facebook/react-native/6eeff75849c9b8bf91592c1b7906b4dab8fba518/yarn.lock, then ran `scripts/circleci/validate_yarn_lockfile.sh`, and verified the script failed as expected.

I then ran Yarn without the --frozen-lockfile flag, and reran the validation script. This time, the script finished successfully.
Pull Request resolved: https://github.com/facebook/react-native/pull/21739

Differential Revision: D10365642

Pulled By: hramos

fbshipit-source-id: 9ab7f03919427a86b12901d4c422ef04dd0839f6
2018-10-12 14:17:09 -07:00
..
circleci Enforce lockfile is kept up to date (#21739) 2018-10-12 14:17:09 -07:00
versiontemplates Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
.packager.env Move YGStyle to seperate file and add constructors 2018-02-20 05:55:36 -08:00
.tests.env Use Android SDK 27 in React Native 2018-09-20 07:56:23 -07:00
android-e2e-test.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
android-setup.sh bump Android NDK to r17c (#21628) 2018-10-11 22:08:37 -07:00
bump-oss-version.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ios-configure-glog.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ios-install-third-party.sh Fix Xcode 10 errors relating to third-party (#21458) 2018-10-12 13:51:59 -07:00
launchPackager.bat Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
launchPackager.command Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
objc-test-ios.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
objc-test-tvos.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
objc-test.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
packager.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
process-podspecs.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
publish-npm.js Deploy to npm on tagged commits only (#21250) 2018-09-22 09:16:58 -07:00
react-native-xcode.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-ci-instrumentation-tests.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-emulator.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-local-integration-tests.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-local-unit-tests.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-ci-e2e-tests.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-instrumentation-tests-via-adb-shell.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
sync-css-layout.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
test-manual-e2e.sh Use ShellCheck (#19681) 2018-09-28 17:03:24 -07:00
try-n-times.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
validate-android-device-env.sh Use ShellCheck (#19681) 2018-09-28 17:03:24 -07:00
validate-android-sdk.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
validate-android-test-env.sh decouple compileSdk version from build tools version (#21205) 2018-09-19 11:48:52 -07:00
validate-ios-test-env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00