fix: fix DbcReader import
This commit is contained in:
parent
ac26336bc3
commit
8c4d9dc7ed
4 changed files with 4755 additions and 29 deletions
4769
package-lock.json
generated
4769
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -15,7 +15,6 @@
|
|||
"devDependencies": {
|
||||
"@types/cli-progress": "^3.9.2",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/express-handlebars": "^6.0.0",
|
||||
"@types/glob": "^7.2.0",
|
||||
"@types/mkdirp": "^1.0.2",
|
||||
"@types/node": "^17.0.5",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { Connection, createConnection } from "mysql2/promise";
|
|||
import { engine as handlebarsEngine } from "express-handlebars";
|
||||
|
||||
import { Config } from "./Config";
|
||||
import { DbcReader } from "./data/dbcReader";
|
||||
import { DbcReader } from "./data/DbcReader";
|
||||
import { CharacterCustomization } from "./data/CharacterCustomization";
|
||||
import { IndexController } from "./controllers/IndexController";
|
||||
import { CharacterController } from "./controllers/CharacterController";
|
||||
|
|
@ -36,11 +36,11 @@ export class Armory {
|
|||
}
|
||||
|
||||
app.engine(".html", handlebarsEngine({
|
||||
"extname": "html",
|
||||
"partialsDir": path.join(process.cwd(), "static", "partials"),
|
||||
"layoutsDir": path.join(process.cwd(), "static"),
|
||||
"defaultLayout": "layout.html",
|
||||
"helpers": require("handlebars-helpers")(),
|
||||
extname: "html",
|
||||
partialsDir: path.join(process.cwd(), "static", "partials"),
|
||||
layoutsDir: path.join(process.cwd(), "static"),
|
||||
defaultLayout: "layout.html",
|
||||
helpers: require("handlebars-helpers")(),
|
||||
}));
|
||||
app.set("view engine", "handlebars");
|
||||
app.set("views", path.join(process.cwd(), "static"));
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import * as prettyMs from "pretty-ms";
|
|||
import * as cliProgress from "cli-progress";
|
||||
import promisepool = require("@supercharge/promise-pool");
|
||||
|
||||
import { DbcReader, IItemAppearanceDbc, IItemModifiedAppearanceDbc, IMountDbc, IMountXDisplayDbc } from "../armory/data/dbcReader";
|
||||
import { DbcReader, IItemAppearanceDbc, IItemModifiedAppearanceDbc, IMountDbc, IMountXDisplayDbc } from "../armory/data/DbcReader";
|
||||
|
||||
require("source-map-support").install();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue