From d757036d7ae281587169e4cbce713b59a8fd90f9 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Mon, 16 Nov 2026 07:05:09 +0100 Subject: [PATCH] Move package.json out of .github folder and remove package-lock.json Dependabot fails to update package.json files inside the .github folder (dependabot/dependabot-core#15721). The lock file was only added as an attempted workaround for this. --- .github/dependabot.yml | 2 +- .github/package-lock.json | 44 ----------------------- .github/workflows/copilot-setup-steps.yml | 1 - .github/workflows/pytest.yaml | 1 - .gitignore | 3 +- .github/package.json => package.json | 0 6 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 .github/package-lock.json rename .github/package.json => package.json (100%) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cc25c59a21b1..049ec5a9495a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -35,7 +35,7 @@ updates: - package-ecosystem: npm - directory: /.github + directory: "/" schedule: interval: daily cooldown: diff --git a/.github/package-lock.json b/.github/package-lock.json deleted file mode 100644 index 00a6136cf66f..000000000000 --- a/.github/package-lock.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": ".github", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "devDependencies": { - "pyright": "1.1.409" - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/pyright": { - "version": "1.1.409", - "resolved": "https://registry.npmjs.org/pyright/-/pyright-1.1.409.tgz", - "integrity": "sha512-13VFQyw4mJzshZxcxiYbNjo1hG/WHSRDj70Y3lbJEHqCkI2dvBAUTti8VV6Ezsr5gT93pFvC0e/jAQS4JdHarA==", - "dev": true, - "license": "MIT", - "bin": { - "pyright": "index.js", - "pyright-langserver": "langserver.index.js" - }, - "engines": { - "node": ">=14.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - } - } - } -} diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 619fb1e44785..fdd256f419e8 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -79,7 +79,6 @@ jobs: PYRIGHT_VERSION=$(jq -r '.devDependencies.pyright' < package.json) echo $PYRIGHT_VERSION echo "version=$PYRIGHT_VERSION" >> $GITHUB_OUTPUT - working-directory: .github shell: bash - name: install pyright diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 54aae58d02f8..96e0596df5dd 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -100,7 +100,6 @@ jobs: PYRIGHT_VERSION=$(jq -r '.devDependencies.pyright' < package.json) echo $PYRIGHT_VERSION echo "version=$PYRIGHT_VERSION" >> $GITHUB_OUTPUT - working-directory: .github shell: bash # below we use always to ensure that the steps are run diff --git a/.gitignore b/.gitignore index 34ff9fa62529..4727cb077e39 100644 --- a/.gitignore +++ b/.gitignore @@ -118,8 +118,7 @@ docs/examples/driver_examples/instrument_group_example.yaml # Do not ignore pyright npm version file -!.github/package.json -!.github/package-lock.json +!/package.json # we are not currently checking in uv.lock uv.lock diff --git a/.github/package.json b/package.json similarity index 100% rename from .github/package.json rename to package.json