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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

src/loaders/typeormLoader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createConnection } from 'typeorm';
2-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
2+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
33
import { env } from '../core/env';
44

55

src/loaders/winstonLoader.ts

+1-1
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 * as winston from 'winston';
33
import { env } from '../core/env';
44

test/e2e/utils/bootstrap.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as http from 'http';
2-
import { bootstrapMicroframework, Microframework } from 'microframework';
2+
import { bootstrapMicroframework, Microframework } from 'microframework-w3tec';
33
import { Application } from 'express';
44
import { Connection } from 'typeorm/connection/Connection';
55
import { expressLoader } from './../../../src/loaders/expressLoader';

test/e2e/utils/typeormLoader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createDatabaseConnection } from './../../integration/utils/database';
22
import { Connection } from 'typeorm/connection/Connection';
33
import { createConnection } from 'typeorm';
4-
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework';
4+
import { MicroframeworkSettings, MicroframeworkLoader } from 'microframework-w3tec';
55
import { env } from '../../../src/core/env';
66

77

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2804,9 +2804,9 @@ methods@^1.1.1, methods@~1.1.2:
28042804
version "1.1.2"
28052805
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
28062806

2807-
microframework@^0.6.4:
2808-
version "0.6.4"
2809-
resolved "https://registry.yarnpkg.com/microframework/-/microframework-0.6.4.tgz#668ad0a8f5d7acdfec1bbdc3c01d430ef70021fd"
2807+
microframework-w3tec@^0.6.3:
2808+
version "0.6.3"
2809+
resolved "https://registry.yarnpkg.com/microframework-w3tec/-/microframework-w3tec-0.6.3.tgz#19a672d6a3b021ca3aaf30244b1b28bcea036ec0"
28102810
dependencies:
28112811
app-root-path "^2.0.1"
28122812

0 commit comments

Comments
 (0)