From 7be0d47cb8734b91c91b6a2d95e0a8394b1b90b5 Mon Sep 17 00:00:00 2001 From: devtofunmi Date: Wed, 12 Aug 2026 01:24:50 +0100 Subject: [PATCH 1/2] fix(ci): sync package-lock with the license field npm ci failed because package.json declares license but package-lock.json's root entry didn't. Add the license to the lockfile so npm ci (and CI) passes. --- package-lock.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package-lock.json b/package-lock.json index 87ce429..f3f9758 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "name": "jargons", + "license": "PolyForm-Noncommercial-1.0.0", "dependencies": { "@opentelemetry/api": "^1.9.1", "@opentelemetry/api-logs": "^0.220.0", From 547ab551f28ba89d085227d63ed42fd335fbb8e9 Mon Sep 17 00:00:00 2001 From: devtofunmi Date: Wed, 12 Aug 2026 01:29:01 +0100 Subject: [PATCH 2/2] docs: align the PR checklist across CONTRIBUTING The 'Before you open a PR' section now lists both npm run lint and npm run check, matching the PR guidelines bullet and what CI runs (the tree is Prettier-clean now). --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 314b3f8..b989c78 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,10 +35,11 @@ GitHub App + Gemini key wired up. ## Before you open a PR -Run the linter — this is what CI checks: +Run the same checks CI runs: ```bash npm run lint # ESLint +npm run check # Prettier formatting ``` `npm run format` auto-formats your changes with Prettier and applies ESLint