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": {
|
"meta": {
|
||||||
"canonical": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/resume.json",
|
"canonical": "https://raw.githubusercontent.com/reorx/jsoncv/master/schema/jsoncv.schema.json",
|
||||||
"version": "v1.0.0",
|
"version": "v2.0.0",
|
||||||
"lastModified": "2017-12-24T15:53:00"
|
"lastModified": "2023-02-12T22:26:00"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"$schema": {
|
"$schema": {
|
||||||
"type": "string",
|
"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"
|
"format": "uri"
|
||||||
},
|
},
|
||||||
"basics": {
|
"basics": {
|
||||||
|
|
@ -525,6 +525,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": "Resume Schema",
|
"title": "CV Schema",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import objectPath from 'object-path';
|
||||||
|
|
||||||
import { JSONEditor } from '@json-editor/json-editor/dist/jsoneditor';
|
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 * as jsoncvSchemaModule from '../../schema/jsoncv.schema.json';
|
||||||
import {
|
import {
|
||||||
getCVData,
|
getCVData,
|
||||||
|
|
@ -100,7 +100,7 @@ for (const [key, format] of Object.entries(keyFormatMap)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// change schema title
|
// change schema title
|
||||||
jsoncvSchema.title = 'Resume'
|
jsoncvSchema.title = 'CV Schema'
|
||||||
|
|
||||||
// change some descriptions
|
// change some descriptions
|
||||||
jsoncvSchema.properties.meta.properties.lastModified.description += '. This will be automatically updated when downloading.'
|
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 { TransformEjs } from './src/lib/vite-plugins';
|
||||||
import { getRenderData } from './src/themes/data';
|
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 outDir = process.env.OUT_DIR || 'dist'
|
||||||
|
|
||||||
const data = require(dataFilename)
|
const data = require(dataFilename)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue