replace all occurances of "resume" to "cv" in jsoncv schema and related files
This commit is contained in:
parent
8ca7c44ff6
commit
10c8b8c7de
|
|
@ -280,8 +280,8 @@
|
|||
}
|
||||
],
|
||||
"meta": {
|
||||
"canonical": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/resume.json",
|
||||
"version": "v1.0.0",
|
||||
"lastModified": "2017-12-24T15:53:00"
|
||||
"canonical": "https://raw.githubusercontent.com/reorx/jsoncv/master/schema/jsoncv.schema.json",
|
||||
"version": "v2.0.0",
|
||||
"lastModified": "2023-02-12T22:26:00"
|
||||
}
|
||||
}
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string",
|
||||
"description": "link to the version of the schema that can validate the resume",
|
||||
"description": "link to the version of the schema that can validate the CV",
|
||||
"format": "uri"
|
||||
},
|
||||
"basics": {
|
||||
|
|
@ -525,6 +525,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"title": "Resume Schema",
|
||||
"title": "CV Schema",
|
||||
"type": "object"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import objectPath from 'object-path';
|
|||
|
||||
import { JSONEditor } from '@json-editor/json-editor/dist/jsoneditor';
|
||||
|
||||
import * as sampleModule from '../../sample.resume.json';
|
||||
import * as sampleModule from '../../sample.cv.json';
|
||||
import * as jsoncvSchemaModule from '../../schema/jsoncv.schema.json';
|
||||
import {
|
||||
getCVData,
|
||||
|
|
@ -100,7 +100,7 @@ for (const [key, format] of Object.entries(keyFormatMap)) {
|
|||
}
|
||||
|
||||
// change schema title
|
||||
jsoncvSchema.title = 'Resume'
|
||||
jsoncvSchema.title = 'CV Schema'
|
||||
|
||||
// change some descriptions
|
||||
jsoncvSchema.properties.meta.properties.lastModified.description += '. This will be automatically updated when downloading.'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { viteSingleFile } from 'vite-plugin-singlefile';
|
|||
import { TransformEjs } from './src/lib/vite-plugins';
|
||||
import { getRenderData } from './src/themes/data';
|
||||
|
||||
const dataFilename = process.env.DATA_FILENAME || './sample.resume.json'
|
||||
const dataFilename = process.env.DATA_FILENAME || './sample.cv.json'
|
||||
const outDir = process.env.OUT_DIR || 'dist'
|
||||
|
||||
const data = require(dataFilename)
|
||||
|
|
|
|||
Loading…
Reference in New Issue