Installation
Get up and running with DevConsole in seconds. Choose your preferred package manager to install the debug toolkit.
Install the debug toolkit package using your preferred package manager. We recommend pnpm for the best performance.
GitHub Authentication Setup
Since devconsole-package is hosted on a private GitHub repository, you'll need to authenticate before installation.
Option 1: GitHub CLI (Recommended)
Option 2: Personal Access Token
Option 3: Helper Script
After installation, you can use the provided helper script:
pnpm Configuration
Since devconsole-package is a git-hosted package that needs to run build scripts, you'll need to create a pnpm-workspace.yaml file in your project root to allow it.
This configuration tells pnpm to allow the devconsole-package to run its build scripts during installation, which is required for the package to work properly.
Post-Install Cleanup (Optional)
To prevent recursive installs and reduce package size, you can use the provided cleanup script. This removes unnecessary files (source code, node_modules, etc.) from the installed package, keeping only the dist folder needed for runtime.
This is especially useful if you're experiencing slow installs or want to reduce disk usage.
CI/CD Deployment Setup
For deployments on Vercel or other platforms, you'll need to configure authentication:
1. Create GitHub Token
Create a Personal Access Token at https://github.com/settings/tokens with repo scope (read-only).
2. Add Environment Variable
Add GITHUB_TOKEN to your deployment platform:
- Vercel: Settings → Environment Variables → Add
GITHUB_TOKEN - Other platforms: Add
GITHUB_TOKENenvironment variable
3. Use Helper Script (Optional)
Performance Tip: The package includes pre-built files in the repository, so installations are fast and don't require compilation. The build script only runs if the built files are missing.
Note: The package is designed to be lightweight and has zero runtime dependencies, ensuring your application stays fast.