From 9d419a4748d0eba2843c607c1cf977d7d6d6eaaf Mon Sep 17 00:00:00 2001 From: pelikhan Date: Thu, 5 Sep 2024 05:17:37 -0700 Subject: [PATCH] Add yarn install with frozen-lockfile and update upgrade:deps command in package.json, add npm-check-updates package --- .github/workflows/upgrade-deps.yml | 1 + package.json | 3 ++- yarn.lock | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-deps.yml b/.github/workflows/upgrade-deps.yml index fb8158404f..97eed49d61 100644 --- a/.github/workflows/upgrade-deps.yml +++ b/.github/workflows/upgrade-deps.yml @@ -19,4 +19,5 @@ jobs: with: node-version: "${{ matrix.node-version }}" cache: yarn + - run: yarn install --frozen-lockfile - run: yarn upgrade:deps diff --git a/package.json b/package.json index bc163dd6fb..0b591962c7 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "genai:docify": "node packages/cli/built/genaiscript.cjs run docify", "gcm": "node packages/cli/built/genaiscript.cjs run gcm", "prepare": "husky", - "upgrade:deps": "npx --yes zx scripts/upgrade-deps.mjs" + "upgrade:deps": "zx scripts/upgrade-deps.mjs" }, "release-it": { "github": { @@ -83,6 +83,7 @@ "@inquirer/prompts": "^5.4.0", "glob": "^11.0.0", "husky": "^9.1.5", + "npm-check-updates": "^17.1.1", "prettier": "^3.3.3", "zx": "^8.1.5" } diff --git a/yarn.lock b/yarn.lock index c2d776a992..bc65eddeb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3662,6 +3662,11 @@ normalize-url@^8.0.1: resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-8.0.1.tgz#9b7d96af9836577c58f5883e939365fa15623a4a" integrity sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w== +npm-check-updates@^17.1.1: + version "17.1.1" + resolved "https://registry.yarnpkg.com/npm-check-updates/-/npm-check-updates-17.1.1.tgz#9e0739af7c5240eb6c94404a22269acb79a5e23e" + integrity sha512-2aqIzGAEWB7xPf0hKHTkNmUM5jHbn2S5r2/z/7dA5Ij2h/sVYAg9R/uVkaUC3VORPAfBm7pKkCWo6E9clEVQ9A== + npm-run-path@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" @@ -5341,6 +5346,7 @@ xdg-basedir@^5.1.0: "xlsx@https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz": version "0.20.2" + uid "0f64eeed3f1a46e64724620c3553f2dbd3cd2d7d" resolved "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz#0f64eeed3f1a46e64724620c3553f2dbd3cd2d7d" xml2js@^0.4.23: