Releases: sujit-shrc/pzr
Release v1.1.2
📚 Documentation Improvements:
- Updates about
pzr
features and usage in the docs. - Clarified how
pzr
handles project configurations and file generation.
⚙️ No Changes in major functionality in this version.
📥 Update Now:
npm update -g pzr
# or
yarn global upgrade pzr
For local projects:
npm update --save-dev pzr
# or
yarn upgrade --dev pzr
Stay tuned for more! ✨
Release v1.1.1
🚀 pzr v1.1.1 Update! 🚀
We’ve just released pzr v1.1.1 with a key bug fix!
🐛 Fixes in v1.1.1:
- Fixed an issue where Next.js projects using a
src
directory were not correctly auto-detecting the router type (Page Router or App Router).
pzr
now accurately detects project configuration even if you’re using a src
directory in Next.js.
Check out the latest on npm and explore our GitHub repo for more details!
Stay tuned for more exciting features! 🚀
Release v1.1.0
Release v1.1.0
Features:
- Automatic Project Configuration Detection: Updated functionality to automatically detect your project configuration.
- User Confirmation Prompts: Implemented prompts for users to confirm default settings or customize configurations during initialization.
Installation:
To update to version 1.1.0, run:
npm update -g pzr
# or
yarn global upgrade pzr
For local installations:
npm update --save-dev pzr
# or
yarn upgrade --dev pzr
Release v1.0.1
Release v1.0.1 - Fixes and Updates
Description:
We’re excited to release version 1.0.1 of pzr! This update includes important fixes and improvements to enhance your experience with our CLI tool for generating Next.js, Express.js, and Vite React project structures and files.
What’s New:
- Fixed
-c
Flag: Resolved issues with the shorthand-c
flag for thecreate
command. It now works seamlessly to generate pages, routes, and components. - Updated CLI Messages: Improved and clarified CLI messages for better user guidance and feedback.
Installation:
To update to the latest version, simply run:
npm update -g pzr
# or
yarn global upgrade pzr
For local installations:
npm update --save-dev pzr
# or
yarn upgrade --dev pzr
Changelog:
- Fixed: Corrected functionality of the
-c
flag for thecreate
command. - Updated: Enhanced CLI messages for clarity.
Initial release
Initial Release - v1.0.0
Description:
We are excited to announce the initial release of pzr
, a powerful CLI tool designed to streamline the process of generating project structures and files for Next.js, Express.js, and Vite React projects. pzr
simplifies the creation of new pages, routes, and components, allowing developers to focus on building their applications rather than dealing with boilerplate code.
Features:
- Global and Local Installation: Install
pzr
globally or as a dev dependency in your project. - Project Initialization: Easily initialize new projects or configure
pzr
for existing ones. - File Generation: Generate new pages, routes, and components with a simple command.
- Custom Directory Structure: Create files within specific directories using options.
Installation:
You can install pzr
globally using npm or yarn:
npm install -g pzr
# or
yarn global add pzr
For local installation:
npm install --save-dev pzr
# or
yarn add --dev pzr
Usage:
-
Initialize a Project:
pzr init
-
Generate Files:
pzr create [pages...] # or pzr -c [pages...]
-
Generate Files in Specific Directory:
pzr create -d <directory> [pages...] # or pzr -c -d <directory> [pages...]
Configuration:
pzr
stores its configuration in a .pzr-config.json
file created during initialization. For best results, use the pzr init
command to modify this configuration.
Support:
For bug reports or feature requests, please visit our GitHub repository.
Contributing:
We welcome contributions! Feel free to submit pull requests to improve pzr
.
License:
pzr
is released under the MIT License. See the LICENSE file for more details.