Skip to content

Commit 9c0b458

Browse files
author
hirsch88
committed
Add fixed microframework version from w3tec
1 parent f518ecb commit 9c0b458

15 files changed

+17
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"helmet": "^3.9.0",
7575
"jsonfile": "^4.0.0",
7676
"lodash": "^4.17.4",
77-
"microframework": "^0.6.4",
77+
"microframework-w3tec": "^0.6.3",
7878
"morgan": "^1.9.0",
7979
"mysql": "^2.15.0",
8080
"nodemon": "^1.12.1",

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { banner } from './core/banner';
1111
import { Logger } from './core/Logger';
1212
const log = new Logger(__filename);
1313

14-
import { bootstrapMicroframework } from 'microframework';
14+
import { bootstrapMicroframework } from 'microframework-w3tec';
1515
import { expressLoader } from './loaders/expressLoader';
1616
import { winstonLoader } from './loaders/winstonLoader';
1717
import { typeormLoader } from './loaders/typeormLoader';

src/loaders/eventDispatchLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as glob from 'glob';
2-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
2+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
33
import { env } from '../core/env';
44

55

src/loaders/expressLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Application } from 'express';
22
import { createExpressServer } from 'routing-controllers';
3-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
3+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
44
import { env } from '../core/env';
55
import { authorizationChecker } from '../auth/authorizationChecker';
66
import { currentUserChecker } from '../auth/currentUserChecker';

src/loaders/graphqlLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
1+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
22
import { createGraphQLServer, createDataLoader } from '../lib/graphql';
33
import { env } from '../core/env';
44
import { PetRepository } from './../api/repositories/PetRepository';

src/loaders/homeLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as express from 'express';
2-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
2+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
33
import { env } from '../core/env';
44

55

src/loaders/iocLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Container } from 'typedi';
22
import { useContainer as ormUseContainer } from 'typeorm';
33
import { useContainer as routingUseContainer } from 'routing-controllers';
4-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
4+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
55

66

77
export const iocLoader: MicroframeworkLoader = (settings: MicroframeworkSettings | undefined) => {

src/loaders/monitorLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as monitor from 'express-status-monitor';
22
import * as basicAuth from 'express-basic-auth';
3-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
3+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
44
import { env } from '../core/env';
55

66

src/loaders/publicLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as path from 'path';
22
import * as express from 'express';
33
import * as favicon from 'serve-favicon';
4-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
4+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
55

66

77
export const publicLoader: MicroframeworkLoader = (settings: MicroframeworkSettings | undefined) => {

src/loaders/swaggerLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as path from 'path';
22
import * as swaggerUi from 'swagger-ui-express';
33
import * as basicAuth from 'express-basic-auth';
4-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
4+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
55
import { env } from '../core/env';
66

77

0 commit comments

Comments
 (0)