Get the azd extensions registry website running in less than 5 minutes!
git clone https://github.com/jongio/azd-extensions.git
cd azd-extensionspnpm installThis will install all required packages including React 19, Vite, TypeScript, Tailwind CSS 4, and testing tools.
pnpm devThe site will be available at http://localhost:5173
- View the extension cards (currently empty - add your extensions to registry.json)
- Check the responsive design on different screen sizes
- Review the getting started instructions
# Run all tests once
pnpm test
# Run tests in watch mode (recommended during development)
pnpm test:watch
# Generate coverage report
pnpm test:coveragepnpm buildThe production build will be in the dist folder.
pnpm preview# Type checking
pnpm type-check
# Linting
pnpm lint
# Fix lint issues
pnpm lint:fix
# Format code
pnpm format
# Check formatting
pnpm format:checkEdit registry.json:
{
"$schema": "https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/registry.schema.json",
"extensions": [
{
"id": "your.extension.id",
"displayName": "Your Extension Name",
"description": "Description of your extension",
"version": "1.0.0",
"namespace": "yournamespace",
"tags": ["tag1", "tag2"],
"repository": "https://github.com/yourusername/your-extension"
}
]
}Save and refresh the browser - your extension will appear!
-
Push your code to GitHub:
git add . git commit -m "Initial commit" git push origin main
-
Enable GitHub Pages:
- Go to repository Settings > Pages
- Set source to "GitHub Actions"
-
The deploy workflow will run automatically and deploy your site!
If port 5173 is already in use, Vite will automatically use the next available port.
Make sure all dependencies are installed:
rm -rf node_modules pnpm-lock.yaml
pnpm installEnsure you're using Node.js 20 or later:
node --versionClear the build cache:
rm -rf dist
pnpm build- Check the README.md for detailed documentation
- Review CONTRIBUTING.md for contribution guidelines
- Open an issue if you find a bug
Happy coding! 🚀