An open API service indexing awesome lists of open source software.

https://github.com/christophecvb/strapi-plugin-app-version

Strapi Plugin that displays the package.json version in the Strapi settings
https://github.com/christophecvb/strapi-plugin-app-version

plugin strapi strapi-plugin

Last synced: 6 months ago
JSON representation

Strapi Plugin that displays the package.json version in the Strapi settings

Awesome Lists containing this project

README

          


Logo - Strapi Plugin App Version


Strapi v5 - Plugin App Version


Strapi Plugin that displays your app version in the Strapi settings



GitHub package.json version


Monthly download on NPM

---


UI preview

A plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that displays your app version in the Strapi settings

## Features
- Display your app version in the Strapi settings

## Usage

To configure the **App Version** plugin, add your configuration to the plugin settings. The configuration consist of an object with the version:

```typescript
type Config = {
version: string
}
```

### Example Configuration

```typescript
// config/plugins.ts
import type { Config as AppVersionConfig } from 'strapi-plugin-app-version/dist/server/src/config'

import packageJson from '../package.json'

export default () => ({
'app-version': {
enabled: true,
config: {
version: packageJson.version,
} satisfies AppVersionConfig,
}
})
```