feat(showcase): add music

This commit is contained in:
Haoyu Xu
2023-03-15 21:27:34 -04:00
parent cf933d6a56
commit f3aa867e00
24 changed files with 449 additions and 166 deletions

View File

@@ -1,10 +1,11 @@
/* eslint-disable no-undef */
import path from 'path'
import { read } from './yaml.js'
import { read as readVersion } from './version.js'
import { getOperatorId } from './charword_table.js'
export default function () {
return process(read(path.join(__projetRoot, 'config.yaml')))
return process(read(path.join(__projectRoot, 'config.yaml')))
}
function process(config) {
@@ -23,8 +24,8 @@ function process(config) {
// version
config.version = {
showcase: readVersion(path.join(__projetRoot)),
directory: readVersion(path.join(__projetRoot, 'directory')),
showcase: readVersion(path.join(__projectRoot)),
directory: readVersion(path.join(__projectRoot, 'directory')),
}
return config