Portal Frontend
Stack
- React
- Create React App (using Webpack)
- Sass stylesheet
- Nginx HTTP proxy or as a Wordpress Plugin
Urls
- Frontend: http://localhost:3000
How to Build
Note: node_module cannot be a symlink !
- run
yarn install
to install NodeJS packages
How to Upgrade package.json
How to get a pip like tool for NPM ???
- https://classic.yarnpkg.com/en/docs/dependency-versions
- Blog: Update all the Node dependencies to their latest version
- pip freeze like tricks
- https://docs.npmjs.com/cli/v6/commands/npm-shrinkwrap
To really upgrade all semvers in package.json to the latest version run theses commands:
npm outdated
npm install -g npm-check-updates
npx ncu -u
npm update
npm install
Using Yarn (but don't — always — update semvers in package.json ...)
yarn check
yarn outdated
uarn upgrade PACKAGE@^
yarn upgrade-interactive --latest
yarn --dev upgrade-interactive --latest