1.0.2 • Published 9 months ago
tenderly-wizard v1.0.2
tenderly-wizard: Local Development and Testing
This guide covers how to develop, pack, and test the tenderly-wizard package locally.
Prerequisites
- Node.js (version 14 or later)
- npm (usually comes with Node.js)
Development
Clone the repository:
git clone https://github.com/yourusername/tenderly-wizard.git cd tenderly-wizard
Install dependencies:
npm install
Make your changes to the source code in the
src
directory.
Creating a Local Package
Update the version in
package.json
if necessary.Pack the package:
npm pack
This creates a file named
tenderly-wizard-x.x.x.tgz
.
Local Installation and Testing
Install the package globally:
npm install -g ./tenderly-wizard-x.x.x.tgz
Run the CLI:
tenderly-wizard
To uninstall:
npm uninstall -g tenderly-wizard
Troubleshooting
If you encounter issues, try clearing npm's cache:
npm cache clean --force
For verbose logging, run:
NODE_DEBUG=module tenderly-wizard
Notes
- Always test thoroughly before publishing to npm.
- Remember to gitignore the
.tgz
files created bynpm pack
.
1.0.2
9 months ago