sharetribe-scripts
Fork of facebookincubator/create-react-app@3.0.0 with some additional features.
Last updated a month ago by sharetribe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sharetribe-scripts 
SYNC missed versions from official npm registry.

sharetribe-scripts

This is a fork of the react-scripts package from the facebook/create-react-app monorepo. You can refer to its documentation:

This package is published as sharetribe-scripts in NPM.

See the description field in package.json to see which version of react-scripts this fork is built from.

Differences to react-scripts

Development

Setup

To update the fork to use a new version of the upstream repository:

  1. If you haven't already, configure the upstream repository as a remote:

    git remote add upstream https://github.com/facebookincubator/create-react-app
    
  2. Sync the fork to a branch, making sure you merge from a specific version/tag that you want to base your changes on

    git fetch upstream
    git checkout master
    git checkout -b update-from-upstream
    git merge <tag_to_be_merged_here_eg_v1.1.2>
    
  3. Make your changes, test them (see below), make a PR, release

Making changes and testing

To test your local changes, link the local repository to the application:

  1. In the create-react-app/packages/react-scripts directory, install dependencies and make a link of the package:

    yarn install # ignore the yarn.lock file
    yarn link
    

    NOTE: if other packages have changed too, you might need to run yarn install # ignore the yarn.lock file on the root folder too.

  2. In the application remove the old sharetribe-scripts package and use the linked version (read more):

    yarn remove sharetribe-scripts
    yarn link sharetribe-scripts
    
  3. Now you changes to the fork are usable as a symlicked dependency in the application

Publishing

  1. Make sure you have updated the version also in the description field in package.json. Try to sync the package version with the original package, if possible.

  2. Publish to NPM:

    npm login
    # Check credentials from password manager
    npm publish
    
  3. Tag the commit with released version: sharetribe-scripts@x.x

Current Tags

  • 3.0.1                                ...           latest (a month ago)
  • 3.0.0-rc                                ...           next (3 months ago)

11 Versions

  • 3.0.1                                ...           a month ago
  • 3.0.0                                ...           3 months ago
  • 3.0.0-rc                                ...           3 months ago
  • 2.1.8                                ...           4 months ago
  • 1.1.5                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.0.14                                ...           2 years ago
  • 0.9.2                                ...           2 years ago
  • 0.8.6                                ...           3 years ago
  • 0.8.5                                ...           3 years ago
  • 0.8.4                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 21
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |