Skip to content

Commit

Permalink
fix(install): dont start interactive script on npm install
Browse files Browse the repository at this point in the history
This PR removes the interactive auto install which was called automatically after npm install.
Whenever Fomantic UI is installed via npm install fomantic-ui the dist folder is already available, so there is no need to compile it at install time.

The main reason to remove it is that especially yarn and recent versions of npm do not work with inquirer interactive scripts as post install and throw an error.

Manually calling npx/yarn gulp install or npx/yarn gulp build right after npm install however, works fine

a --ignore-scripts shouldn't be needed anymore then
  • Loading branch information
lubber-de committed Mar 20, 2022
1 parent 135cfd1 commit f5f1dd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"url": "https://github.com/fomantic/Fomantic-UI.git"
},
"scripts": {
"install": "gulp install",
"build": "gulp build",
"changelog": "auto-changelog -p"
},
Expand Down

0 comments on commit f5f1dd8

Please sign in to comment.