Skip to content

Commit

Permalink
Replace the dependency is-ci with ci-info (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 5, 2023
1 parent b7b883d commit edb4320
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-bulldogs-enjoy.md
@@ -0,0 +1,5 @@
---
"@preconstruct/cli": patch
---

Replace the dependency `is-ci` with `ci-info`.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -48,14 +48,14 @@
"@rollup/plugin-replace": "^2.4.1",
"builtin-modules": "^3.1.0",
"chalk": "^4.1.0",
"ci-info": "^3.8.0",
"dataloader": "^2.0.0",
"detect-indent": "^6.0.0",
"enquirer": "^2.3.6",
"estree-walker": "^2.0.1",
"fast-deep-equal": "^2.0.1",
"fast-glob": "^3.2.4",
"fs-extra": "^9.0.1",
"is-ci": "^2.0.0",
"is-reference": "^1.2.1",
"jest-worker": "^26.3.0",
"magic-string": "^0.30.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/worker-client.ts
@@ -1,6 +1,5 @@
import Worker from "jest-worker";
// @ts-ignore
import isCI from "is-ci";
import { isCI } from "ci-info";

let shouldUseWorker =
process.env.DISABLE_PRECONSTRUCT_WORKER !== "true" &&
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -4301,6 +4301,11 @@ ci-info@^3.2.0:
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.5.0.tgz#bfac2a29263de4c829d806b1ab478e35091e171f"
integrity sha512-yH4RezKOGlOhxkmhbeNuC4eYZKAUsEaGtBuBzDDP1eFUKiccDWzBABxBfOx31IDwDIXMTxWuwAxUGModvkbuVw==

ci-info@^3.8.0:
version "3.8.0"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91"
integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==

cjs-module-lexer@^1.0.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40"
Expand Down

0 comments on commit edb4320

Please sign in to comment.