Commit Graph
59 Commits
Author SHA1 Message Date
Brian VaughnandGitHub 67025fb7c1 Release script supports publishing a subset of packages (#16338)
Release script supports publishing a subset of packages (#16338)
2019-08-09 13:12:00 -07:00
Brian VaughnandGitHub 0acf362c60 Use Circle CI API v2 to get artifacts job ID (#15821) 2019-06-04 13:28:41 -07:00
Brian VaughnandGitHub 9a9ebca03b Updated release script to be Workflow aware (#15809) 2019-06-03 17:29:06 -07:00
MarcoandBrian Vaughn 7ec5d6698f Fixed typo (#14943) 2019-02-24 09:50:23 -08:00
Brian VaughnandGitHub 3b34e9cd63 Release script clarifies which test fixture failed (#14922) 2019-02-22 07:43:27 -08:00
Brian VaughnandGitHub fe6c9a1a9a Improve pactch release process docs (#14923) 2019-02-22 07:43:18 -08:00
Brian VaughnandGitHub 85d4049b9a Prompt to include UMD build artifact links in GitHub release (#14864) 2019-02-15 10:48:20 -08:00
Brian VaughnandGitHub 6798eaffc6 Release scripts documentation (#14863)
* Improve release script process documentation
* Improved pre-publish instructions/message based on feedback
* Added reminder to attach build artifacts to GitHub release
2019-02-15 10:00:43 -08:00
Brian Vaughn 76783886db Tweaked publish canary message to show newly published version 2019-02-06 18:24:51 +00:00
Brian VaughnandGitHub 3068a0987b Tidy up NPM checkout process (#14631) 2019-01-18 11:40:50 -08:00
Brian VaughnandGitHub edec6e03a4 Prune NPM metadata fields from packages before re-publishing (#14617) 2019-01-17 14:34:34 -08:00
Brian VaughnandGitHub 212c45875a Rename release script fixture test scheduler->tracing (#14590) 2019-01-14 17:52:03 -08:00
Brian VaughnandGitHub 4890af89b5 Updated version incrementing suggestion in release script based on team discussion (#14389) 2018-12-07 09:08:39 -08:00
Brian VaughnandGitHub 8587e230cf Don't prompt to tag or create GitHub release for canary releases (#14376) 2018-12-03 09:16:17 -08:00
Brian VaughnandGitHub a67d12af38 Automated fixture tests (#14370)
* Renamed snapshot test from test.js to snapshot-test.js
* Automate fixtures tests
2018-12-02 11:25:45 -08:00
Brian VaughnandGitHub 98e854df8a Release script auto-determine the latest Canary build if none specified (#14339)
* Release script auto-determine the latest Canary build if none specified
2018-11-28 13:56:45 -08:00
Brian VaughnandGitHub 0447f47f1a Add progress bars to longer running async release tasks (#14322)
* Add progress bars to longer running async release tasks
* Updated to 0.2 progress estimator version
2018-11-26 09:28:37 -08:00
Brian VaughnandGitHub 2f3c176a77 Add basic release script snapshot test (#14280)
Added regression test for release scripts
2018-11-23 12:53:39 -08:00
Brian VaughnandGitHub 3f246c8122 Publish a local release (canary or stable) to NPM (#14260)
New release scripts.

Learn more at https://github.com/facebook/react/blob/master/scripts/release/README.md
2018-11-23 12:37:18 -08:00
Brian VaughnandGitHub 8b3f32e0f0 Release script supports interleaved stable and alpha releases (#14138) 2018-11-07 12:33:13 -08:00
Brian Vaughn 6f847464d5 Prettier 2018-10-23 15:06:58 -07:00
Brian VaughnandGitHub 27c7c98684 Add skipCI flag to release script (#13933) 2018-10-23 15:05:14 -07:00
Dan Abramov d4b9165a15 Revert "comment out temporarily"
This reverts commit f6a16217b2.
2018-10-10 17:23:18 +01:00
Dan Abramov f6a16217b2 comment out temporarily 2018-10-10 17:11:44 +01:00
Brian VaughnandGitHub 29aa0cf6c9 Release script updates private package dependencies also (#13612) 2018-09-10 13:14:34 -07:00
Brian Vaughn 08af5e07ef Add 2fa OTP code to npm dist-tag command too 2018-09-06 09:49:42 -07:00
Brian VaughnandGitHub 03645fd2d9 Build script correctly bumps prerelease deps (e.g. schedule) for react (#13577) 2018-09-06 08:59:51 -07:00
Brian VaughnandGitHub 00709a243f Build script correctly bumps prerelease deps (e.g. schedule) (#13576) 2018-09-06 08:06:05 -07:00
Clark DuandBrian Vaughn 61bd945adb refactor: remove promise on checkModule (#13318)
* refactor: remove promise on checkModule
* refactor: use forEach instead of map for checkModule
2018-08-03 13:25:31 -07:00
Dan AbramovandGitHub 8076333d56 Remove fbjs dependency (#13069)
* Inline fbjs/lib/invariant

* Inline fbjs/lib/warning

* Remove remaining usage of fbjs in packages/*.js

* Fix lint

* Remove fbjs from dependencies

* Protect against accidental fbjs imports

* Fix broken test mocks

* Allow transitive deps on fbjs/ for UMD bundles

* Remove fbjs from release script
2018-06-19 16:03:45 +01:00
Brian VaughnandGitHub 28314b209d Release script prompts for NPM 2FA code (#12908)
* Release script prompts for NPM 2fa code
2018-05-29 12:50:04 -07:00
Dan AbramovandGitHub 98d8850824 Separate yarn flow and yarn flow-ci (#12841) 2018-05-17 14:29:37 +01:00
Dan AbramovandGitHub 355ce61acd Bump Prettier (#12622) 2018-04-17 01:43:55 +01:00
Brian VaughnandGitHub 86052a30fe Don't git commit noop-renderer unless package deps change (#12623) 2018-04-16 09:46:39 -07:00
Floris DoolaardandDan Abramov eaa5895f12 Fix documentation of the release process (#12337)
* Adusted grammar in release script readme.

* Adjusts title and explanation about the release process.
2018-04-16 15:45:13 +01:00
Brian VaughnandGitHub 33738b790c Fix build script to handle react-is (no peer deps) (#12471) 2018-03-27 19:19:34 -07:00
Jason QuenseandBrian Vaughn 1d33d6f54c Support ForwardRef type of work in TestRenderer (#12392)
* Support ForwardRef type of work in TestRenderer and ShallowRenderer.
* Release script now updates inter-package dependencies too (e.g. react-test-renderer depends on react-is).
2018-03-16 11:18:50 -07:00
Andrew ClarkandGitHub 41afd96feb Additional release script options for publishing canary versions (#12219)
* Additional release script options for publishing canary versions

- `branch` specifies a branch other than master
- `local` skips pulling from the remote branch and checking CircleCI
- `tag` specifies an npm dist tag other than `latest` or `next`

We may add a higher-level `canary` option in the future.

* Address Brian's feedback:

- Updated description of `local` option
- Throws if the `latest` tag is specified for a prerelease version
2018-02-13 11:44:27 -08:00
Brian VaughnandGitHub 5ed757a510 Handle packages without dependencies (#12217) 2018-02-12 15:46:43 -08:00
Brian VaughnandGitHub 8813aa6cbe Release script does a fresh Yarn install of deps (#12149)
This would have caught the recent Yarn workspaces / semver issue sooner.
2018-02-04 17:06:14 -08:00
Brian VaughnandGitHub ab47d4a63f Pre-release version fix (#12148)
* Ran updated release script to fix deps
* Release script handles prerelease deps correctly
* Update noop-renderer dependencies on reconciler package
2018-02-04 08:54:42 -08:00
Semen ZhydenkoandDan Abramov dfa2adf298 Minor typos fixed (#12005)
* commiting -> committing

* doens't -> doesn't

* interuption -> interruption

* inital -> initial

* statment -> statement
2018-01-11 12:24:49 +00:00
Dan AbramovandGitHub 03d40e960c Move npm output from build/packages/* to build/node_modules/* (#11962)
* Move build/packages/* to build/node_modules/*

This fixes Node resolution in that folder and lets us require() packages in it in Node shell for manual testing.

* Link fixtures to packages/node_modules

This updates the location and also uses link: instead of file: to avoid Yarn caching the folder contents.
2018-01-04 19:01:31 +00:00
Adrian CarolliandDan Abramov 619d1c9001 Add bundle linting and tests to the release script (#11662)
* Add bundle linting and tests to the release script

 - add yarn lint-build
- use yarn lint-build in circle ci build.sh
- add yarn lint-build, yarn test-prod, yarn test-build, and yarn test-build-prod to the realse script

* Improve readability of release test messages

* Run prettier

* Updating package versions for release 16.2.0

* Seperate bundle specific tests

- Moved the runYarnTask into utils since its being used two files now
- Uncomment out checks I mistakenly committed

* Revert a bunch of version bump changes

Mistakenly commited by release script

* .js for consistency
2017-11-26 16:47:20 +00:00
Dan AbramovandGitHub 33c262854c Fix Jest call in the release script
Just running jest binary will no longer work
2017-11-25 16:13:28 +00:00
HardikModhaandDan Abramov 8fc35e3d2f Reading package.json safely in the build script by ignoring the system files. #11544 (#11546) 2017-11-13 18:21:17 +00:00
Brian VaughnandGitHub 46e8df7792 Release script tweaks (#11504)
* Added missing params object to execUnlessDry call

* Public package names are no longer hard-coded

* Added "v" prefix to git tag

* Show more accurate in-progress duration

* Properly bucket-bridage params

* Prettier

* Publish command logs stack with error
2017-11-09 16:29:51 +00:00
Dan Abramov 9c9d3c2801 Fix the release script 2017-11-09 15:16:24 +00:00
Brian VaughnandGitHub 8c4ee30381 Release script follow-up (#11482)
* Add a timeout before querying npm right after publish

* Conditionally log some post publish steps

* Print ready-to-paste 'yarn add' instructions for CRA prerelease testing
2017-11-08 19:59:26 +00:00
Clement HoangandGitHub 2b009a7478 Update prettier to 1.8.1 (#10785)
* Change prettier dependency in package.json version 1.8.1

* Update yarn.lock

* Apply prettier changes

* Fix ReactDOMServerIntegration-test.js

* Fix test for ReactDOMComponent-test.js
2017-11-07 18:09:33 +00:00