From 164eb9808cd021a76d739099e5e7d019e4932c89 Mon Sep 17 00:00:00 2001 From: jmc <33655003+jmcook1186@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:15:36 +0000 Subject: [PATCH 1/5] replace yarn with npm in contributing doc --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b22849b..742c691 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ Add and commit: Commit your changes in logical chunks. Please do not push all changes in one commit. -> Run `yarn fix` before commiting for not having conflict with CI linter. +> Run `npm run fix` before commiting for not having conflict with CI linter. Please adhere to these [Commit message guidelines](#commit-message-guidelines) or your code is unlikely be merged into the main project. From 8f8fc4f5ad905277d025d0645aa4832963ef85ac Mon Sep 17 00:00:00 2001 From: jmc <33655003+jmcook1186@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:15:52 +0000 Subject: [PATCH 2/5] update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 00ce85c..212b8d0 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "coverage": "jest --verbose --coverage", "fix:package": "fixpack", "lint": "gts lint", - "prepublish": "yarn build", + "prepublish": "npm run build", "test": "jest --verbose" } } From 248bf758c065e358a39e90277b08c4c40c0ee135 Mon Sep 17 00:00:00 2001 From: jmc <33655003+jmcook1186@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:23:15 +0000 Subject: [PATCH 3/5] replace yarn with npm in ci config --- .github/workflows/nodejs-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs-ci.yml b/.github/workflows/nodejs-ci.yml index 9d71110..bcb9729 100644 --- a/.github/workflows/nodejs-ci.yml +++ b/.github/workflows/nodejs-ci.yml @@ -14,13 +14,13 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 - cache: 'yarn' + cache: 'npm' - name: Install dependencies - run: yarn install + run: npm install - name: Run lint - run: yarn lint + run: npm run lint - name: Run tests - run: yarn test --silent + run: npm run test --silent From cf9969dbe8c899f05bcb122c05089e8ee91016dc Mon Sep 17 00:00:00 2001 From: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:38:07 +0000 Subject: [PATCH 4/5] add newlines Signed-off-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> --- .github/workflows/nodejs-ci.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/nodejs-ci.yml b/.github/workflows/nodejs-ci.yml index bcb9729..a5d0bfa 100644 --- a/.github/workflows/nodejs-ci.yml +++ b/.github/workflows/nodejs-ci.yml @@ -24,3 +24,4 @@ jobs: - name: Run tests run: npm run test --silent + diff --git a/package.json b/package.json index 212b8d0..4fc64b4 100644 --- a/package.json +++ b/package.json @@ -72,3 +72,4 @@ "test": "jest --verbose" } } + From 1a515beccd9e82e0828eda4aac3424728921e961 Mon Sep 17 00:00:00 2001 From: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:28:32 +0000 Subject: [PATCH 5/5] Update package.json Signed-off-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com> --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4fc64b4..4dd22f4 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,8 @@ "zod": "^3.22.4" }, "engines": { - "node": "18", - "yarn": ">=1.22", - "npm": "8.19.2" + "node": ">=18", + "npm": ">=8" }, "files": [ "build"