@dovenv/repo
- Examples โ
CLI example โ
Some examples of using the repository plugin
git push โ
Execute a complete prompt for push your project to github
bash
dovenv git push
pkg release โ
Update version an publish package(s)
bash
dovenv pkg release
git husky โ
Init Husky configuration
bash
dovenv git husky
gh download โ
Download part or all of the repository from GitHub
bash
dovenv gh download -i https://github.com/pigeonposse/bepp/tree/main/packages -o build
Contributors example โ
Dovenv configuration file โ
ts
import { defineConfig } from '@dovenv/core'
import {
getCurrentDir,
joinPath,
} from '@dovenv/core/utils'
import pkg from '../../../../package.json'
import { repoPlugin } from '../src/main'
export default defineConfig( [
{ const : {
pkg,
workspaceDir : joinPath( getCurrentDir( import.meta.url ), '..', '..', '..', '..' ),
} },
// lintPlugin( { commitlint: { gitmoji: true } } ),
repoPlugin( {
URL : 'https://github.com/pigeonposse/dovenv',
contributors : {
role : {
author : {
name : 'Author',
emoji : '๐',
},
organization : {
name : 'Organization',
emoji : '๐ข',
},
sponsor : {
name : 'Sponsor',
emoji : '๐ค',
},
},
member : [
{
role : 'author',
ghUsername : 'angelespejo',
name : 'Angelespejo',
avatar : 'https://github.com/angelespejo.png',
url : 'https://github.com/angelespejo',
},
{
role : 'organization',
ghUsername : 'pigeonposse',
name : 'PigeonPosse',
avatar : 'https://github.com/pigeonposse.png',
url : 'https://github.com/pigeonposse',
},
],
},
} ),
] )
Execute wia CLI โ
bash
dovenv contributors