Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 96b3c13

Browse files
authored
tests: move npm link around to try to fix dependency loop (#1707)
* tests: move npm link around to try to fix dependency loop * tests: more moving npm link around
1 parent e54d307 commit 96b3c13

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

logging-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"fix": "gts fix",
1616
"prepare": "npm run compile",
1717
"precompile": "gts clean",
18-
"samples-test": "cd samples/ && npm install && npm test && cd ../",
18+
"samples-test": "cd samples/ && npm install && npm link ../ && npm test && cd ../",
1919
"system-test": "echo no system tests 🙀"
2020
},
2121
"author": "Google API Authors",

logging-utils/samples/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"pretest": "npm run compile",
99
"compile": "tsc -p .",
1010
"typeless": "npx typeless-sample-bot --outputpath javascript --targets typescript --recursive",
11-
"posttypeless": "npx eslint --fix javascript",
12-
"preinstall": "npm link ../"
11+
"posttypeless": "npx eslint --fix javascript"
1312
},
1413
"files": [
1514
"javascript/*.js",
@@ -27,7 +26,7 @@
2726
"node": ">=14"
2827
},
2928
"dependencies": {
30-
"google-logging-utils": "^1.0.1"
29+
"google-logging-utils": "1.0.1"
3130
},
3231
"devDependencies": {
3332
"@google-cloud/typeless-sample-bot": "^2.1.0",

0 commit comments

Comments
 (0)