diff --git a/examples/caching/package.json b/examples/caching/package.json index 777c415f8..142dab697 100644 --- a/examples/caching/package.json +++ b/examples/caching/package.json @@ -20,7 +20,7 @@ "test:e2e": "jest --config ./test/jest-e2e.json" }, "dependencies": { - "@nestjs-plus/caching": "^0.0.7-alpha.0", + "@nestjs-plus/caching": "^0.0.8-alpha.0", "@nestjs/common": "^5.4.0", "@nestjs/core": "^5.4.0", "node-cache": "^4.2.0", diff --git a/examples/caching/yarn.lock b/examples/caching/yarn.lock index 542b934f4..4f0324da5 100644 --- a/examples/caching/yarn.lock +++ b/examples/caching/yarn.lock @@ -18,10 +18,10 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@nestjs-plus/caching@^0.0.7-alpha.0": - version "0.0.7-alpha.0" - resolved "https://registry.yarnpkg.com/@nestjs-plus/caching/-/caching-0.0.7-alpha.0.tgz#97bb210eafc84ec45b61e89688f2d780fc1b65f1" - integrity sha512-uY/MaAhd0h8TfYrIQ1IPszGpTyDH2nsr6bsblA178oifRGDDpI3CPLBl9j9vt6HtO3OXczGHHmeY7NPpwV8i1g== +"@nestjs-plus/caching@^0.0.8-alpha.0": + version "0.0.8-alpha.0" + resolved "https://registry.yarnpkg.com/@nestjs-plus/caching/-/caching-0.0.8-alpha.0.tgz#d05b82cf9390a9b2c6bad151fff3205f59b25c8c" + integrity sha512-FC1zDEDYeNiZCj2mlKH/F+8KCBUGclNY5CN8SUd51lFO08xypcfxDnhBrPpBj6ucbFEKxLb422lz5G+8GVBqIw== dependencies: "@nestjs-plus/common" "^0.0.1-alpha.0" "@nestjs/common" "^5.6.2" diff --git a/packages/caching/tsconfig.json b/packages/caching/tsconfig.json index da67782ff..788f953e7 100644 --- a/packages/caching/tsconfig.json +++ b/packages/caching/tsconfig.json @@ -3,5 +3,6 @@ "compilerOptions": { "outDir": "./lib" }, - "include": ["./src"] + "include": ["./src"], + "references": [{ "path": "../common" }] } diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.json index da67782ff..fddf1a1e1 100644 --- a/packages/common/tsconfig.json +++ b/packages/common/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "outDir": "./lib" + "outDir": "./lib", + "composite": true }, "include": ["./src"] } diff --git a/tsconfig.json b/tsconfig.json index 72e286933..a7b6b5374 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,9 +10,9 @@ "target": "es6", "sourceMap": true, "lib": ["es6"], - "baseUrl": "./", + "baseUrl": "./packages", "paths": { - "@nestjs-plus/*": ["packages/*/src"] + "@nestjs-plus/*": ["./*/src"] } }, "exclude": ["node_modules", "**/*.spec.ts"]