Vite Plugin Version Mark

screenshot of Vite Plugin Version Mark
nuxt
react
vite
vue

Automatically use `package version` / `git commit` / `custom` to be inserted into your project as a unique identifier for the project version.

Overview

The vite-plugin-version-mark is an innovative tool designed for developers working with Vite and Nuxt applications. This plugin simplifies the process of injecting version information directly into your application, ensuring that versioning is both automated and hassle-free. Whether it’s using the version from your package.json, git commit SHA, or even custom commands, this plugin enhances your workflow by providing essential version details in various formats that can be utilized throughout your application.

As applications grow in complexity, maintaining clear and accessible version information becomes crucial. With the latest updates, including multi-command support, this plugin stands out as an essential asset for developers looking to streamline their version management processes. Get ready to take your application’s versioning to the next level with this powerful tool.

Features

  • Multiple Version Sources: Automatically injects version information from package.json, git commit SHA, or custom commands into your application.
  • Enhanced Flexibility: Supports executing multiple git commands, allowing for customizable version strings.
  • Console Output: Displays the application version directly in the console for quick checks during development.
  • Global Variables: Makes version information accessible globally within your application.
  • Meta Tags Inclusion: Inserts version details into HTML meta tags for better visibility and SEO optimization.
  • Short SHA Option: Use the short version of git commit SHA for cleaner version representation.
  • Easy Installation: Simple setup for Vite and Nuxt3+, enabling developers to quickly integrate into their projects.
  • Custom Commands Support: Define your own commands to retrieve versions in custom formats, promoting creativity in version string creation.
nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.