upgrade package
This commit is contained in:
parent
dc4681c032
commit
58821bef70
64
package.json
64
package.json
@ -13,43 +13,43 @@
|
||||
"precommit": "npm run lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.26",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.12.0",
|
||||
"@fortawesome/free-regular-svg-icons": "^5.12.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.12.0",
|
||||
"@fortawesome/vue-fontawesome": "^0.1.8",
|
||||
"@nuxtjs/axios": "^5.12.4",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.15.3",
|
||||
"@fortawesome/free-regular-svg-icons": "^5.15.3",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||
"@fortawesome/vue-fontawesome": "^2.0.2",
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
"cross-env": "^7.0.3",
|
||||
"element-ui": "^2.13.2",
|
||||
"highlight.js": "^9.17.1",
|
||||
"koa": "^2.13.0",
|
||||
"moment": "^2.27.0",
|
||||
"nuxt": "^2.14.12",
|
||||
"remark": "^12.0.1",
|
||||
"strip-markdown": "^3.1.2",
|
||||
"v-viewer": "^1.5.1",
|
||||
"vditor": "^3.3.8",
|
||||
"vue-js-modal": "^2.0.0-rc.6",
|
||||
"element-ui": "^2.15.4",
|
||||
"highlight.js": "^11.2.0",
|
||||
"koa": "^2.13.1",
|
||||
"moment": "^2.29.1",
|
||||
"nuxt": "^2.15.7",
|
||||
"remark": "12.0.1",
|
||||
"strip-markdown": "^4.1.0",
|
||||
"v-viewer": "^1.6.4",
|
||||
"vditor": "^3.8.6",
|
||||
"vue-js-modal": "^2.0.1",
|
||||
"vue-toasted": "^1.1.28"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxtjs/eslint-config": "^2.0.0",
|
||||
"@nuxtjs/eslint-config": "^6.0.1",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-plugin-component": "^1.1.1",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-config-standard": ">=14.1.0",
|
||||
"eslint-loader": "^3.0.3",
|
||||
"eslint-plugin-html": "^6.0.2",
|
||||
"eslint-plugin-import": ">=2.19.1",
|
||||
"eslint-plugin-jest": "^23.1.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-standard": ">=16.0.3",
|
||||
"eslint-loader": "^4.0.2",
|
||||
"eslint-plugin-html": "^6.1.2",
|
||||
"eslint-plugin-import": ">=2.23.4",
|
||||
"eslint-plugin-jest": "^24.4.0",
|
||||
"eslint-plugin-node": ">=10.0.0",
|
||||
"eslint-plugin-promise": ">=4.2.1",
|
||||
"eslint-plugin-standard": ">=4.0.1",
|
||||
"eslint-plugin-vue": "^6.0.1",
|
||||
"nodemon": "^2.0.2",
|
||||
"pug": "^2.0.4",
|
||||
"pug-plain-loader": "^1.0.0",
|
||||
"stylus": "^0.54.7",
|
||||
"stylus-loader": "^3.0.2"
|
||||
"eslint-plugin-promise": ">=5.1.0",
|
||||
"eslint-plugin-standard": ">=5.0.0",
|
||||
"eslint-plugin-vue": "^7.15.1",
|
||||
"nodemon": "^2.0.12",
|
||||
"pug": "^3.0.2",
|
||||
"pug-plain-loader": "^1.1.0",
|
||||
"stylus": "^0.54.8",
|
||||
"stylus-loader": "3.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,10 +12,10 @@
|
||||
import { Form, FormItem, Input, Switch, Button } from 'element-ui'
|
||||
|
||||
export default {
|
||||
layout: 'auth',
|
||||
components: {
|
||||
Form, FormItem, Input, VueSwitch: Switch, Button
|
||||
},
|
||||
layout: 'auth',
|
||||
data () {
|
||||
return {
|
||||
form: {
|
||||
|
@ -291,6 +291,30 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
head () {
|
||||
const keywords = []
|
||||
for (let i = 0; i < this.articels.term_relationships.length; i++) {
|
||||
if (this.articels.term_relationships[i].term_taxonomy && this.articels.term_relationships[i].term_taxonomy.term && this.articels.term_relationships[i].term_taxonomy.taxonomy === 'post_tag') {
|
||||
keywords.push(this.articels.term_relationships[i].term_taxonomy.term.name)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
title: `${this.articels.post_title} - 轶哥`,
|
||||
meta: [
|
||||
{
|
||||
hid: 'description',
|
||||
name: 'description',
|
||||
content: this.description
|
||||
},
|
||||
{
|
||||
hid: 'keywords',
|
||||
name: 'keywords',
|
||||
content: keywords.join(',')
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
// 创建编辑器
|
||||
if (process.client) {
|
||||
@ -920,30 +944,6 @@ export default {
|
||||
localStorage.checkSetting = new Date().getTime().toString()
|
||||
}
|
||||
}
|
||||
},
|
||||
head () {
|
||||
const keywords = []
|
||||
for (let i = 0; i < this.articels.term_relationships.length; i++) {
|
||||
if (this.articels.term_relationships[i].term_taxonomy && this.articels.term_relationships[i].term_taxonomy.term && this.articels.term_relationships[i].term_taxonomy.taxonomy === 'post_tag') {
|
||||
keywords.push(this.articels.term_relationships[i].term_taxonomy.term.name)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
title: `${this.articels.post_title} - 轶哥`,
|
||||
meta: [
|
||||
{
|
||||
hid: 'description',
|
||||
name: 'description',
|
||||
content: this.description
|
||||
},
|
||||
{
|
||||
hid: 'keywords',
|
||||
name: 'keywords',
|
||||
content: keywords.join(',')
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -12,10 +12,10 @@
|
||||
import { Form, FormItem, Input, Switch, Button } from 'element-ui'
|
||||
|
||||
export default {
|
||||
layout: 'auth',
|
||||
components: {
|
||||
Form, FormItem, Input, VueSwitch: Switch, Button
|
||||
},
|
||||
layout: 'auth',
|
||||
data () {
|
||||
return {
|
||||
form: {
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
yarn run build
|
||||
rsync -avr --delete-after --exclude ".git" . root@139.129.130.191:/root/site/blog-client && ssh root@139.129.130.191 'docker restart blog-client'
|
||||
rsync -avr --delete-after --exclude ".git" . root@manage.wyr.me:/root/blog-client
|
||||
ssh root@manage.wyr.me 'pm restart blog-client'
|
||||
|
Loading…
Reference in New Issue
Block a user