mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-12 07:52:18 +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": "",
|
||||
"main": "dist/index.js",
|
||||
"dependencies": {
|
||||
"cli-highlight": "^2.1.11",
|
||||
"reflect-metadata": "^0.2.1",
|
||||
"sqlite3": "5.1.6",
|
||||
"typeorm": "0.3.11",
|
||||
"ts-node": "^10.9.2",
|
||||
"typeorm": "0.3.11",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -14,6 +14,8 @@ import { BossActiveStatusRecord } from "./entity/BossActiveStatusRecord";
|
||||
import { UserInfo } from "./entity/UserInfo";
|
||||
|
||||
import sqlite3 from 'sqlite3';
|
||||
import * as cliHighlight from 'cli-highlight';
|
||||
void cliHighlight;
|
||||
|
||||
function initDb(dbFilePath) {
|
||||
const { DataSource } = requireTypeorm()
|
||||
|
||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -70,6 +70,9 @@ importers:
|
||||
|
||||
packages/sqlite-plugin:
|
||||
dependencies:
|
||||
cli-highlight:
|
||||
specifier: ^2.1.11
|
||||
version: 2.1.11
|
||||
reflect-metadata:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
|
||||
Reference in New Issue
Block a user