diff --git a/package-lock.json b/package-lock.json index fe4ab4442..9d1c61217 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "@nestjs/schematics", - "version": "6.4.5", + "version": "6.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@angular-devkit/core": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-8.3.4.tgz", - "integrity": "sha512-QjUN9EakpQ+sFYeMfBMecxVhgI4Vdg0k20h6PZDjZ9lqYNXjpaQVtBo7qiPYHh5kQeJEvdrzca6yeYuCP3TvZw==", + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-8.3.5.tgz", + "integrity": "sha512-ag7Nr94wQUqCFtZjw+rMET+djGBmLk989Id5lLWViW99g4XFeS+e45mJv3JYRzF218+6EdicZz0DGQRYHekVeg==", "requires": { "ajv": "6.10.2", "fast-json-stable-stringify": "2.0.0", @@ -24,11 +24,11 @@ } }, "@angular-devkit/schematics": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-8.3.4.tgz", - "integrity": "sha512-+QXhrAEcReQJL4fn+35NbcdW5d1vawqSZUokqga8E971YUVUk55mHpIQ39Vpj3S9jhTRYwxsHl+7v9N7UaREmg==", + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-8.3.5.tgz", + "integrity": "sha512-RMtM10kS+Docg90jzFMa4HQ+UzX95Gi5rCT/kSydEkBhp+Jeu/B0K2y67Fm2/qTdVNRCujrCpEmtiRcp1qsOQg==", "requires": { - "@angular-devkit/core": "8.3.4", + "@angular-devkit/core": "8.3.5", "rxjs": "6.4.0" } }, diff --git a/package.json b/package.json index d35c105d4..f2f5eeef7 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ }, "homepage": "https://github.com/nestjs/schematics#readme", "dependencies": { - "@angular-devkit/core": "8.3.4", - "@angular-devkit/schematics": "8.3.4", + "@angular-devkit/core": "8.3.5", + "@angular-devkit/schematics": "8.3.5", "fs-extra": "^8.1.0", "ts-morph": "^4.0.0", "typescript": "3.4.5" diff --git a/src/lib/application/files/js/package.json b/src/lib/application/files/js/package.json index 025663e77..74d031bcc 100644 --- a/src/lib/application/files/js/package.json +++ b/src/lib/application/files/js/package.json @@ -38,8 +38,9 @@ "js", "json" ], - "rootDir": "src", + "rootDir": ".", + "roots":["/src/", "/libs/", "/apps/"], "testRegex": ".spec.js$", - "coverageDirectory": "../coverage" + "coverageDirectory": "./coverage" } } diff --git a/src/lib/application/files/ts/package.json b/src/lib/application/files/ts/package.json index 2cec92b11..5d5ce5d65 100644 --- a/src/lib/application/files/ts/package.json +++ b/src/lib/application/files/ts/package.json @@ -46,12 +46,13 @@ }, "jest": { "moduleFileExtensions": ["js", "json", "ts"], - "rootDir": "src", + "rootDir": ".", + "roots":["/src/", "/libs/", "/apps/"], "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, - "coverageDirectory": "../coverage", + "coverageDirectory": "./coverage", "testEnvironment": "node" } }