Create type definition for '*/package.json' (#4014)
* Create type definition for '*/package.json' * Update tsconfig.json
This commit is contained in:

committed by
GitHub

parent
8dc7f28744
commit
e909eac296
@@ -23,6 +23,7 @@ import notesStats from './daemons/notes-stats';
|
||||
import loadConfig from './config/load';
|
||||
import { Config } from './config/types';
|
||||
import { lessThan } from './prelude/array';
|
||||
import * as pkg from '../package.json';
|
||||
|
||||
const clusterLog = debug('misskey:cluster');
|
||||
const ev = new Xev();
|
||||
@@ -31,8 +32,6 @@ if (process.env.NODE_ENV != 'production' && process.env.DEBUG == null) {
|
||||
debug.enable('misskey');
|
||||
}
|
||||
|
||||
const pkg = require('../package.json');
|
||||
|
||||
//#region Command line argument definitions
|
||||
program
|
||||
.version(pkg.version)
|
||||
|
Reference in New Issue
Block a user