Skip to content

Commit

Permalink
use yarn pack
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 7, 2024
1 parent 1588c19 commit ec09d47
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ fabric.properties

# Editor-based Rest Client
.idea/httpRequests

test/out.tgz
3 changes: 2 additions & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"private": true,
"license": "MIT",
"scripts": {
"preinstall": "yarn pack --cwd ../ --filename out.tgz",
"test": "jest",
"prepare": "node prepare.js"
},
Expand All @@ -23,7 +24,7 @@
"typescript": "latest",
"typescript-four-seven": "npm:[email protected]",
"typescript-three": "npm:[email protected]",
"typescript-transform-paths": "file:../"
"typescript-transform-paths": "file:./out.tgz"
},
"workspaces": {
"packages": [
Expand Down
5 changes: 1 addition & 4 deletions test/projects/extras/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"private": true,
"name": "@tests/extras",
"version": "0.0.0",
"dependencies": {
"typescript-transform-paths": "file:../../../"
}
"version": "0.0.0"
}
6 changes: 1 addition & 5 deletions test/projects/nx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@
"scripts": {
"build": "nx build library1 --skip-nx-cache"
},
"private": true,
"dependencies": {},
"devDependencies": {
"typescript-transform-paths": "file:../../../"
}
"private": true
}
5 changes: 1 addition & 4 deletions test/projects/project-ref/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"private": true,
"name": "@tests/project-ref",
"version": "0.0.0",
"dependencies": {
"typescript-transform-paths": "file:../../../"
}
"version": "0.0.0"
}
3 changes: 2 additions & 1 deletion test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ec09d47

Please sign in to comment.