Create Docker images for React applications. YARN commands are invoked by the bin/yarn script. Codefresh can work with React projects as with any Node.js project. If you want to override this command, you can do so by defining your own "env" script in package.json. NPM Command Yarn Command Description (wherever necessary)npm install: yarn yarn install: Will install packages listed in the package.json file: npm install pkg-name npm install --save pkg-name: yarn add pkg-name: By default Yarn adds the pgk-name to package.json and yarn.lock files: npm install pkg-name@1.0.0: yarn add pgk-name@1.0.0: npm install pkg-name--save-dev: yarn add pkg-name--dev React example with Yarn. Use the following command format to list all of the container log file names (types) for an application: yarn logs -applicationId -show_container_log_info You can then use the -logFiles option to view a particular log type. Running this command will list environment variables available to the scripts at runtime. Usage: yarn [--config confdir] COMMAND [--loglevel loglevel] [GENERIC_OPTIONS] [COMMAND_OPTIONS] YARN has an option parsing framework that employs parsing generic options as well as running classes. yarn run. To unlink the workspaces from the current project one must revert the changes made to the resolutions field.resolutions field. Using the "scripts" field, you can define various scripts to be run as yarn run