- Install modules normally via NPM
- Create a
deliverable branch
- Create
dm_modules directory at the project root
- Move modules to localize from
node_modules over to the dm_modules directory
- Use
npm remove <module> for each module to remove the modules from the project, saving to the correct dependency object (add --save for standard dependencies or --save-dev for development dependencies)
- Use
npm install ./dm_modules/<module> for each local module with the appropriate saving option
- Add a file named
LICENSE within the dm_modules directory containing this text:
Copyright Design Media, Inc. 2021-
Unauthorized copying or distribution of these modules by any means is prohibited
Modules are licensed for use within and updates to this course only
www.designmedia.com
npm install --save-dev eslint-config-react-app
- Add a file
.eslintignore to the project root containing this:
node_modules
dm_modules
tests
public
.cache