diff --git a/.gitignore b/.gitignore index 6cfcd46..6deb84d 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,5 @@ fabric.properties # Editor-based Rest Client .idea/httpRequests + +test/out.tgz diff --git a/test/package.json b/test/package.json index 2f5f1aa..7eb7027 100755 --- a/test/package.json +++ b/test/package.json @@ -2,6 +2,7 @@ "private": true, "license": "MIT", "scripts": { + "preinstall": "yarn pack --cwd ../ --filename out.tgz", "test": "jest", "prepare": "node prepare.js" }, @@ -23,7 +24,7 @@ "typescript": "latest", "typescript-four-seven": "npm:typescript@4.7.4", "typescript-three": "npm:typescript@3.6.5", - "typescript-transform-paths": "file:../" + "typescript-transform-paths": "file:./out.tgz" }, "workspaces": { "packages": [ diff --git a/test/projects/extras/package.json b/test/projects/extras/package.json index d5948ee..35cca5a 100755 --- a/test/projects/extras/package.json +++ b/test/projects/extras/package.json @@ -1,8 +1,5 @@ { "private": true, "name": "@tests/extras", - "version": "0.0.0", - "dependencies": { - "typescript-transform-paths": "file:../../../" - } + "version": "0.0.0" } diff --git a/test/projects/nx/package.json b/test/projects/nx/package.json index 03fd8da..fcea0fa 100644 --- a/test/projects/nx/package.json +++ b/test/projects/nx/package.json @@ -4,9 +4,5 @@ "scripts": { "build": "nx build library1 --skip-nx-cache" }, - "private": true, - "dependencies": {}, - "devDependencies": { - "typescript-transform-paths": "file:../../../" - } + "private": true } diff --git a/test/projects/project-ref/package.json b/test/projects/project-ref/package.json index 3c24d37..2590aeb 100755 --- a/test/projects/project-ref/package.json +++ b/test/projects/project-ref/package.json @@ -1,8 +1,5 @@ { "private": true, "name": "@tests/project-ref", - "version": "0.0.0", - "dependencies": { - "typescript-transform-paths": "file:../../../" - } + "version": "0.0.0" } diff --git a/test/yarn.lock b/test/yarn.lock index 6202c0a..7bc0234 100644 --- a/test/yarn.lock +++ b/test/yarn.lock @@ -6408,8 +6408,9 @@ typed-assert@^1.0.8: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.5.tgz#dae20114a7b4ff4bd642db9c8c699f2953e8bbdb" integrity sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ== -"typescript-transform-paths@file:..": +"typescript-transform-paths@file:./out.tgz": version "3.4.7" + resolved "file:./out.tgz#3743c1d79003bf6e150a12c271ee1536924ea66c" dependencies: minimatch "^3.0.4"