chore() publish alpha version (next)

This commit is contained in:
Kamil Myśliwiec
2018-12-29 14:02:22 +01:00
parent aaad9ae742
commit f0e9b40e2c
19 changed files with 72 additions and 50 deletions

View File

@@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "5.5.0"
"version": "6.0.0-alpha.3"
}

View File

@@ -15,11 +15,11 @@
"build:dev": "gulp build --dist node_modules/@nestjs && gulp move",
"postinstall": "opencollective",
"prerelease": "gulp copy-misc && gulp build --dist node_modules/@nestjs",
"publish": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --force-publish --exact -m \"chore(@nestjs) publish %s release\"",
"publish:rc": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=rc -m \"chore(@nestjs) publish %s release\"",
"publish:next": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(@nestjs) publish %s release\"",
"publish:beta": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(@nestjs) publish %s release\"",
"publish:test": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --force-publish --npm-tag=test --skip-git -m \"chore(@nestjs) publish %s release\""
"publish": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --force-publish --access public --exact -m \"chore(@nestjs) publish %s release\"",
"publish:rc": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=rc --access public -m \"chore(@nestjs) publish %s release\"",
"publish:next": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=next --access public --skip-git -m \"chore(@nestjs) publish %s release\"",
"publish:beta": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=beta --access public -m \"chore(@nestjs) publish %s release\"",
"publish:test": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --force-publish --access public --npm-tag=test --skip-git -m \"chore(@nestjs) publish %s release\""
},
"engines": {
"node": ">= 8.9.0"

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2018 Kamil Myśliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017 Kamil Myśliwiec <http://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,12 +1,15 @@
{
"name": "@nestjs/common",
"version": "5.5.0",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",
"author": "Kamil Mysliwiec",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"dependencies": {
"axios": "0.18.0",

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2018 Kamil Myśliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017 Kamil Myśliwiec <http://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -187,7 +187,7 @@ export class MiddlewareModule {
async <TRequest, TResponse>(
req: TRequest,
res: TResponse,
next: Function,
next: () => void,
) => {
const contextId = { id: 1 };
const contextInstance = await this.injector.loadPerContext(
@@ -208,7 +208,7 @@ export class MiddlewareModule {
private async createProxy<TRequest = any, TResponse = any>(
instance: NestMiddleware,
contextId = STATIC_CONTEXT,
): Promise<(req: TRequest, res: TResponse, next: Function) => void> {
): Promise<(req: TRequest, res: TResponse, next: () => void) => void> {
const exceptionsHandler = this.routerExceptionFilter.create(
instance,
instance.use,
@@ -225,7 +225,7 @@ export class MiddlewareModule {
proxy: <TRequest, TResponse>(
req: TRequest,
res: TResponse,
next: Function,
next: () => void,
) => void,
) {
const prefix = this.config.getGlobalPrefix();

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "5.5.0",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@core)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -8,6 +8,9 @@
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"postinstall": "opencollective || exit 0"
},

View File

@@ -176,7 +176,7 @@ export class RouterExplorer {
async <TRequest, TResponse>(
req: TRequest,
res: TResponse,
next: Function,
next: () => void,
) => {
const contextId = createContextId();
this.registerRequestProvider(req, contextId);

View File

@@ -31,7 +31,7 @@ export class RouterProxy {
err: TError,
req: TRequest,
res: TResponse,
next: Function,
next: () => void,
) => void,
exceptionsHandler: ExceptionsHandler,
) {
@@ -39,7 +39,7 @@ export class RouterProxy {
err: TError,
req: TRequest,
res: TResponse,
next: Function,
next: () => void,
) => {
try {
await targetCallback(err, req, res, next);

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2018 Kamil Myśliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017 Kamil Myśliwiec <http://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/microservices",
"version": "5.5.0",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@microservices)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -8,6 +8,9 @@
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"iterare": "0.0.8",
"json-socket": "^0.2.1",

View File

@@ -1,19 +1,20 @@
{
"name": "@nestjs/platform-express",
"version": "5.4.1",
"description":
"Nest - modern, fast, powerful node.js web framework (@platform-express)",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-express)",
"author": "Kamil Mysliwiec",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"body-parser": "1.18.3",
"cors": "2.8.4",
"express": "4.16.3",
"multer": "1.3.0"
},
"peerDependencies": {}
}
}

View File

@@ -1,19 +1,20 @@
{
"name": "@nestjs/platform-fastify",
"version": "5.4.1",
"description":
"Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
"author": "Kamil Mysliwiec",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"fastify": "^1.13.1",
"fastify-cors": "^0.2.0",
"fastify-formbody": "2.0.3",
"path-to-regexp": "2.2.1"
},
"peerDependencies": {}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-socket.io",
"version": "5.4.1",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-socket.io)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -8,12 +8,15 @@
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"dependencies": {
"@types/express": "^4.0.39",
"body-parser": "1.18.3",
"cors": "2.8.4",
"express": "4.16.3",
"multer": "1.3.0"
"publishConfig": {
"access": "public"
},
"peerDependencies": {}
"dependencies": {
"socket.io": "^2.1.1"
},
"peerDependencies": {
"@nestjs/common": "^5.0.0",
"@nestjs/websockets": "^5.0.0",
"rxjs": "^6.0.0"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/platform-ws",
"version": "5.4.1",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@platform-ws)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -8,12 +8,15 @@
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"dependencies": {
"@types/express": "^4.0.39",
"body-parser": "1.18.3",
"cors": "2.8.4",
"express": "4.16.3",
"multer": "1.3.0"
"publishConfig": {
"access": "public"
},
"peerDependencies": {}
"dependencies": {
"ws": "^5.1.1"
},
"peerDependencies": {
"@nestjs/common": "^5.0.0",
"@nestjs/websockets": "^5.0.0",
"rxjs": "^6.0.0"
}
}

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2018 Kamil Myśliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017 Kamil Myśliwiec <http://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/testing",
"version": "5.5.0",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@testing)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -8,6 +8,9 @@
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"optional": "0.1.4"
},

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2018 Kamil Myśliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017 Kamil Myśliwiec <http://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,14 +1,16 @@
{
"name": "@nestjs/websockets",
"version": "5.5.0",
"description":
"Nest - modern, fast, powerful node.js web framework (@websockets)",
"version": "6.0.0-alpha.3",
"description": "Nest - modern, fast, powerful node.js web framework (@websockets)",
"author": "Kamil Mysliwiec",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nestjs/nest"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"iterare": "0.0.8"
},