Skip to content

Commit f171eff

Browse files
committed
test: link local before tests
1 parent 4ba1809 commit f171eff

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
"wordwrap": "^1.0.0",
2525
"wrap-ansi": "^7.0.0"
2626
},
27-
"resolutions": {
28-
"@oclif/core": "file:."
29-
},
3027
"devDependencies": {
3128
"@commitlint/config-conventional": "^19",
3229
"@eslint/compat": "^1.3.1",
@@ -123,9 +120,10 @@
123120
"compile": "tsc",
124121
"format": "prettier --write \"+(src|test)/**/*.+(ts|js|json)\"",
125122
"lint": "eslint",
126-
"posttest": "yarn lint && yarn test:circular-deps",
123+
"posttest": "(yarn unlink @oclif/core || true) && yarn lint && yarn test:circular-deps",
127124
"prepack": "yarn run build",
128125
"prepare": "husky",
126+
"pretest": "yarn link && yarn link @oclif/core",
129127
"test:circular-deps": "yarn build && madge lib/ -c",
130128
"test:debug": "nyc mocha --debug-brk --inspect \"test/**/*.test.ts\"",
131129
"test:integration": "mocha --forbid-only \"test/**/*.integration.ts\" --parallel --timeout 1200000",

yarn.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,10 @@
944944
proc-log "^5.0.0"
945945
which "^5.0.0"
946946

947-
"@oclif/core@^4", "@oclif/core@^4.5.1", "@oclif/core@file:.":
947+
"@oclif/core@^4", "@oclif/core@^4.5.1":
948948
version "4.5.2"
949+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.5.2.tgz#4db8a365fa7e9e33af272294f710a7f3f25538e2"
950+
integrity sha512-eQcKyrEcDYeZJKu4vUWiu0ii/1Gfev6GF4FsLSgNez5/+aQyAUCjg3ZWlurf491WiYZTXCWyKAxyPWk8DKv2MA==
949951
dependencies:
950952
ansi-escapes "^4.3.2"
951953
ansis "^3.17.0"

0 commit comments

Comments
 (0)