LuisValgoi / ui5-webcomponents-react-seed

Seed of UI5 Web Components for React
12 stars 1 forks source link

[ISSUE-70] Error during create-react-app #72

Closed marceloschreiber closed 3 years ago

marceloschreiber commented 3 years ago

Description

Initially investigating the error of this #70.

The error happens because we have husky in our template.json which causes the first commit to fail. To solve this is necessary to perform a manual step after using create-react-app. Since we'd already need to perform a manual step to suppress the error I added a node script that:

Now projects that use this seed can use yarn install --prod to save time during deployment.

Dependency

N/A

Config

Are you adding a configuration file?

Are you adding a new feature

Testing

npx create-react-app PROJEC_NAME --template file:ui5-webcomponents-react-seed and then follow the README.md.

Automated Tests

References