@tiket-com/react-common-script v2.0.3
@tiket-com/react-common-script
This package contains custom scripts for the react-common environment.
Usage
npx --yes @tiket-com/react-common-script@latest --updateThe scripts inside the react-common-script package can be run by using npx similar to
npx create-react-appThe package contains below mentioned scripts for different purpose.
--update // update the react-common packages
--help // list all flags supported
--test // for testing the script, allows non tiket packagesUse appropriate flags for the script you want to use
Note
For verticals using Node version 13 or lower will face problem with docker while running this script. ( Read more about the issue here : https://stackoverflow.com/questions/52196518/could-not-get-uid-gid-when-building-node-docker )
You can resolve the issue by setting the unsafe-perm true in the npm config.
Add a line to your Dockerfile
RUN npm config set unsafe-perm trueSpecial case for the --yes flag in different node versions
version 16x : The --yes flag works fine, without it gives prompt to install the script
version 15.0.0 : The --yes flag gives issue, if don't use the flag, it automatically installs the package and skips the promptSpecial Note :- If you are using the --test flag then the script will include
non tiket packages, i.e, packages having react-common in their name.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago