chore(core): update config scheme version
parent
684b847b70
commit
ed932eab2f
|
@ -1 +1 @@
|
||||||
module.exports = require('./v3_v4');
|
module.exports = require('./v4_v5');
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
const Migration = require('hexo-component-inferno/lib/core/migrate').Migration;
|
||||||
|
|
||||||
|
module.exports = class extends Migration {
|
||||||
|
constructor() {
|
||||||
|
super('5.0.0', null);
|
||||||
|
}
|
||||||
|
|
||||||
|
upgrade(config) {
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
};
|
|
@ -7,7 +7,7 @@
|
||||||
"version": {
|
"version": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Version of the configuration file",
|
"description": "Version of the configuration file",
|
||||||
"default": "4.0.0"
|
"default": "5.0.0"
|
||||||
},
|
},
|
||||||
"variant": {
|
"variant": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
Loading…
Reference in New Issue