Skip to content

Commit 6f54c5b

Browse files
Merge pull request #229 from nestjs/feat/cli-scripts
feat() use cli scipts, update dependencies
2 parents d220d66 + 4982517 commit 6f54c5b

File tree

4 files changed

+31
-21
lines changed

4 files changed

+31
-21
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestjs/schematics",
3-
"version": "6.6.8",
3+
"version": "6.7.0",
44
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
55
"main": "index.js",
66
"publishConfig": {
@@ -35,9 +35,9 @@
3535
},
3636
"devDependencies": {
3737
"@types/fs-extra": "8.0.0",
38-
"@types/jest": "23.3.14",
39-
"@types/node": "10.14.19",
40-
"gulp": "4.0.1",
38+
"@types/jest": "24.0.18",
39+
"@types/node": "12.7.8",
40+
"gulp": "4.0.2",
4141
"jest": "24.9.0",
4242
"nyc": "14.1.1",
4343
"ts-jest": "24.1.0",

src/lib/application/files/js/.babelrc

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
22
"presets": ["@babel/preset-env"],
3-
"plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]]
3+
"plugins": [
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
5+
[
6+
"@babel/plugin-transform-runtime",
7+
{
8+
"regenerator": true
9+
}
10+
]
11+
]
412
}

src/lib/application/files/js/package.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@
2020
"rxjs": "^6.5.3"
2121
},
2222
"devDependencies": {
23-
"@nestjs/testing": "^6.7.1",
24-
"@babel/core": "^7.4.3",
25-
"@babel/node": "^7.2.2",
26-
"@babel/plugin-proposal-decorators": "^7.4.0",
27-
"@babel/preset-env": "^7.4.3",
28-
"@babel/register": "^7.4.0",
23+
"@nestjs/testing": "^6.7.2",
24+
"@babel/core": "^7.6.2",
25+
"@babel/node": "^7.6.2",
26+
"@babel/plugin-proposal-decorators": "^7.6.0",
27+
"@babel/plugin-transform-runtime": "^7.6.2",
28+
"@babel/preset-env": "^7.6.2",
29+
"@babel/register": "^7.6.2",
30+
"@babel/runtime": "^7.6.2",
2931
"jest": "^24.9.0",
30-
"nodemon": "^1.14.1",
32+
"nodemon": "^1.19.2",
3133
"prettier": "^1.18.2",
3234
"supertest": "^4.0.2"
3335
},

src/lib/application/files/ts/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
"author": "<%= author %>",
66
"license": "MIT",
77
"scripts": {
8-
"build": "rimraf dist && tsc -p tsconfig.build.json",
9-
"format": "prettier --write \"src/**/*.ts\"",
10-
"start": "ts-node -r tsconfig-paths/register src/main.ts",
11-
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",
12-
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
13-
"start:prod": "node dist/main.js",
8+
"prebuild": "rimraf dist",
9+
"build": "nest build",
10+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
11+
"start": "nest start",
12+
"start:dev": "nest start --watch",
13+
"start:debug": "nest start --debug --watch",
14+
"start:prod": "node dist/main",
1415
"lint": "tslint -p tsconfig.json -c tslint.json",
1516
"test": "jest",
1617
"test:watch": "jest --watch",
@@ -27,8 +28,8 @@
2728
"rxjs": "^6.5.3"
2829
},
2930
"devDependencies": {
30-
"@nestjs/cli": "^6.8.1",
31-
"@nestjs/schematics": "^6.6.6",
31+
"@nestjs/cli": "^6.9.0",
32+
"@nestjs/schematics": "^6.7.0",
3233
"@nestjs/testing": "^6.7.1",
3334
"@types/express": "^4.17.1",
3435
"@types/jest": "^24.0.18",
@@ -40,7 +41,6 @@
4041
"ts-jest": "^24.1.0",
4142
"ts-loader": "^6.1.1",
4243
"ts-node": "^8.4.1",
43-
"tsc-watch": "^2.4.0",
4444
"tsconfig-paths": "^3.9.0",
4545
"tslint": "^5.20.0",
4646
"typescript": "^3.6.3"

0 commit comments

Comments
 (0)