Skip to content

Latest commit

Β 

History

History

01-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Β 
Β 
Β 
Β 
Β 
Β 

πŸš€ dd-cli-test

  • Used to demonstrate the scaffolding development and release process.
  • dd-cli-test-lib

NPM

npm version npm downloads GitHub license

✨ Details

  • use
npm install -g dd-cli-test

# run dd-cli-test
# welcome dd cli test

npm remove -g dd-cli-test

πŸ”¨ Scaffold locallink standard process

  • Link local scaffolding
cd ./17-cli/01-test/
npm link
  • Linking local library files
cd ./17-cli/02-test-lib/
npm link
cd ./17-cli/01-test/
npm link dd-cli-test-lib
  • Unlink local library files
cd ./17-cli/02-test-lib/
npm unlink
cd ./17-cli/01-test/
# link exists
npm unlink dd-cli-test-lib
# link doesn't exist
rm -rf node_modules
npm install -S dd-cli-test-lib

Publish

  • npm
npm login
npm publish
npm unpublish dd-cli-test@1.0.0
npm unpublish dd-cli-test -f

πŸ“š Preview

01-cli