@tiket-com/react-common-script
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

@tiket-com/react-common-script

This package contains custom scripts for the react-common environment.

Usage

npx --yes @tiket-com/react-common-script@latest --update

The scripts inside the react-common-script package can be run by using npx similar to

npx create-react-app

The 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 packages

Use 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 true

Special 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 prompt

Special 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @tiket-com/react-common-script

Weekly Downloads

0

Version

2.0.3

License

ISC

Unpacked Size

39.5 kB

Total Files

16

Last publish

Collaborators

  • vishal_tiket
  • ihsanaqidah
  • t-darrencavell
  • faipmardoni-tiket
  • wahyutiket
  • nikiemersan
  • rahmatkurniawantiket
  • andrewalextiket
  • techtiket
  • rudyon
  • arfan-fudyartanto