mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-09 01:17:06 +08:00
try to fix production package cannot run due to cannot find module cli-highlight
This commit is contained in:
@@ -4,10 +4,11 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"cli-highlight": "^2.1.11",
|
||||||
"reflect-metadata": "^0.2.1",
|
"reflect-metadata": "^0.2.1",
|
||||||
"sqlite3": "5.1.6",
|
"sqlite3": "5.1.6",
|
||||||
"typeorm": "0.3.11",
|
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
|
"typeorm": "0.3.11",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ import { BossActiveStatusRecord } from "./entity/BossActiveStatusRecord";
|
|||||||
import { UserInfo } from "./entity/UserInfo";
|
import { UserInfo } from "./entity/UserInfo";
|
||||||
|
|
||||||
import sqlite3 from 'sqlite3';
|
import sqlite3 from 'sqlite3';
|
||||||
|
import * as cliHighlight from 'cli-highlight';
|
||||||
|
void cliHighlight;
|
||||||
|
|
||||||
function initDb(dbFilePath) {
|
function initDb(dbFilePath) {
|
||||||
const { DataSource } = requireTypeorm()
|
const { DataSource } = requireTypeorm()
|
||||||
|
|||||||
Generated
+3
@@ -70,6 +70,9 @@ importers:
|
|||||||
|
|
||||||
packages/sqlite-plugin:
|
packages/sqlite-plugin:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
cli-highlight:
|
||||||
|
specifier: ^2.1.11
|
||||||
|
version: 2.1.11
|
||||||
reflect-metadata:
|
reflect-metadata:
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.1
|
||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
|
|||||||
Reference in New Issue
Block a user