1.0.2 • Published 1 year ago

vite-plugin-gitlab-flow v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

vite-plugin-gitlab-flow

license downloads

GitLab pipelined print build information plug-ins

中文文档

Feature

Goal: The console displays the builder, build time, branch, and latest COMMIT information of the current running code, so that you can easily confirm whether the wrong version is missing.
Attention: Only useful in GitLab pipeline

Preview

You can view the deployment information for the code in the console

image.png

Installation

pnpm i -D vite-plugin-gitlab-flow

or

yarn add -D vite-plugin-gitlab-flow

or

npm i -D vite-plugin-gitlab-flow

Basic usage

vite.config.js/ts

import vitePluginGitLabFlow from "vite-plugin-gitlab-flow";

plugins: [
    vitePluginGitLabFlow({
        projectName: '榕树工具',
        debug: true,
        extra: [
            {
                keys: 'VITE_APP_TITLE',
                label: '项目title'
            }
        ],
        styles:{
            color: 'red',
        }
    }),
]

Options

optionsdescriptiontypedefault
projectName?project namestringpackage.name
debug?debugbooleanfalse
extra?Extra display fieldstring[]
styles?Custom styleStyleStyle

鸣谢

Thanks vite-plugin-aliyun-flow the ideas and code.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago