-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 🔨 stop dependbot, use renovate
- Loading branch information
Showing
9 changed files
with
139 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"], | ||
"labels": ["dependencies"], | ||
"pin": false, | ||
"rangeStrategy": "bump", | ||
"node": false, | ||
"packageRules": [ | ||
{ | ||
"depTypeList": ["peerDependencies"], | ||
"enabled": false | ||
} | ||
], | ||
"ignoreDeps": ["node"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import consola from 'consola' | ||
import { docsDirName, REPO_BRANCH, REPO_PATH } from './paths' | ||
import { languages } from './utils/lang' | ||
import { head } from './config/head' | ||
import { sidebars } from './config/sidebars' | ||
import { nav } from './config/nav' | ||
import { mdPlugin } from './config/plugins' | ||
import { features } from './config/features' | ||
import {PKG_CAMELCASE_SPACE_NAME as title} from '@google-translate-select/constants' | ||
import type { UserConfig } from 'vitepress' | ||
|
||
export const config: UserConfig = { | ||
title, | ||
description: '🚀 A modern, high-performance monorepo project designed with Google Translate JS SDK. Vue and react are supported!', | ||
lastUpdated: true, | ||
head, | ||
themeConfig: { | ||
repo: REPO_PATH, | ||
docsBranch: REPO_BRANCH, | ||
docsDir: docsDirName, | ||
|
||
editLinks: true, | ||
editLinkText: 'Edit this page on GitHub', | ||
lastUpdated: 'Last Updated', | ||
|
||
logo: '/images/element-plus-logo.svg', | ||
logoSmall: '/images/element-plus-logo-small.svg', | ||
sidebars, | ||
nav, | ||
agolia: { | ||
apiKey: '377f2b647a96d9b1d62e4780f2344da2', | ||
appId: 'BH4D9OD16A', | ||
}, | ||
features, | ||
langs: languages, | ||
}, | ||
|
||
locales, | ||
|
||
markdown: { | ||
config: (md) => mdPlugin(md), | ||
}, | ||
|
||
vue: { | ||
template: { | ||
ssr: true, | ||
compilerOptions: { | ||
directiveTransforms: buildTransformers(), | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import path from 'path' | ||
|
||
export const docRoot = path.resolve(__dirname, '..') | ||
export const vpRoot = path.resolve(docRoot, '.vitepress') | ||
export const docDirName = 'docs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const PKG_PREFIX = '@google-translate-select' | ||
export const PKG_NAME = 'google-translate-select' | ||
export const PKG_CAMELCASE_NAME = 'GoogleTranslateSelect' | ||
export const PKG_CAMELCASE_SPACE_NAME = 'Google Translate Select' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters