Skip to content

Commit 26eeeb5

Browse files
chore(nestjs) publish 5.3.8 release
1 parent 49f97cf commit 26eeeb5

7 files changed

Lines changed: 24 additions & 12 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export declare const AXIOS_INSTANCE_TOKEN = "AXIOS_INSTANCE_TOKEN";
2+
export declare const HTTP_MODULE_ID = "HTTP_MODULE_ID";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
33
exports.AXIOS_INSTANCE_TOKEN = 'AXIOS_INSTANCE_TOKEN';
4+
exports.HTTP_MODULE_ID = 'HTTP_MODULE_ID';

bundle/common/http/http.module.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
88
Object.defineProperty(exports, "__esModule", { value: true });
99
const axios_1 = require("axios");
1010
const module_decorator_1 = require("../decorators/modules/module.decorator");
11+
const random_string_generator_util_1 = require("../utils/random-string-generator.util");
1112
const http_constants_1 = require("./http.constants");
1213
const http_service_1 = require("./http.service");
1314
let HttpModule = HttpModule_1 = class HttpModule {
1415
static register(config) {
1516
return {
1617
module: HttpModule_1,
17-
providers: [{
18+
providers: [
19+
{
1820
provide: http_constants_1.AXIOS_INSTANCE_TOKEN,
1921
useValue: axios_1.default.create(config),
20-
}],
22+
},
23+
{
24+
provide: http_constants_1.HTTP_MODULE_ID,
25+
useValue: random_string_generator_util_1.randomStringGenerator(),
26+
},
27+
],
2128
};
2229
}
2330
};
2431
HttpModule = HttpModule_1 = __decorate([
2532
module_decorator_1.Module({
26-
providers: [http_service_1.HttpService, {
33+
providers: [
34+
http_service_1.HttpService,
35+
{
2736
provide: http_constants_1.AXIOS_INSTANCE_TOKEN,
2837
useValue: axios_1.default,
29-
}],
38+
},
39+
],
3040
exports: [http_service_1.HttpService],
3141
})
3242
], HttpModule);

bundle/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestjs/common",
3-
"version": "5.3.8",
3+
"version": "5.3.8--test",
44
"description": "Nest - modern, fast, powerful node.js web framework (@common)",
55
"author": "Kamil Mysliwiec",
66
"repository": {

bundle/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/nestjs/nest"
1010
},
1111
"scripts": {
12-
"postinstall": "opencollective"
12+
"postinstall": "opencollective | exit 0"
1313
},
1414
"collective": {
1515
"type": "opencollective",

lerna.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"lerna": "2.4.0",
3-
"packages": [
4-
"bundle/*"
5-
],
3+
"packages": ["bundle/*"],
64
"version": "5.3.8"
75
}

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nestjs",
3-
"version": "5.3.6",
3+
"version": "5.3.8",
44
"description": "Modern, fast, powerful node.js web framework",
55
"scripts": {
66
"coverage": "nyc report --reporter=text-lcov | coveralls",
@@ -28,7 +28,9 @@
2828
"publish:next":
2929
"npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(@nestjs) publish %s release\"",
3030
"publish:beta":
31-
"npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(@nestjs) publish %s release\""
31+
"npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(@nestjs) publish %s release\"",
32+
"publish:test":
33+
"npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=test --skip-git -m \"chore(@nestjs) publish %s release\""
3234
},
3335
"engines": {
3436
"node": ">= 8.9.0"
@@ -42,7 +44,7 @@
4244
"dependencies": {
4345
"@grpc/proto-loader": "^0.3.0",
4446
"@nestjs/common": "5.1.0",
45-
"@nestjs/core": "^5.3.7",
47+
"@nestjs/core": "^5.3.8",
4648
"@nestjs/microservices": "5.1.0",
4749
"@nestjs/testing": "5.1.0",
4850
"@nestjs/websockets": "5.1.0",

0 commit comments

Comments
 (0)