diff --git a/.prettierignore b/.prettierignore index b680f365a..588d6e598 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,8 @@ +/eslint.config.*js /LICENSE.md +/renovate.json examples/**/*.js examples/**/*.?js +**/package-lock.json **/pnpm-lock.yaml diff --git a/dist/index.js b/dist/index.js index 51b127067..f109744df 100644 --- a/dist/index.js +++ b/dist/index.js @@ -93785,7 +93785,8 @@ const getCiBuildId = async () => { GITHUB_SHA, GITHUB_TOKEN, GITHUB_RUN_ID, - GITHUB_REPOSITORY + GITHUB_REPOSITORY, + GITHUB_API_URL } = process.env const [owner, repo] = GITHUB_REPOSITORY.split('/') @@ -93798,7 +93799,8 @@ const getCiBuildId = async () => { ) const client = new Octokit({ - auth: GITHUB_TOKEN + auth: GITHUB_TOKEN, + baseUrl: GITHUB_API_URL }) const resp = await client.request( diff --git a/eslint.config.mjs b/eslint.config.mjs index 547b4b59c..624eb4ef8 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -8,26 +8,26 @@ export default [ pluginCypress.configs.recommended, { name: 'global-ignores', - ignores: ['dist/', 'examples/nextjs/src/app/'] + ignores: ['dist/', 'examples/nextjs/src/app/'], }, { name: 'all-js', languageOptions: { globals: { ...globals.browser, - ...globals.node - } - } + ...globals.node, + }, + }, }, { - name: 'examples-style', - files: ['examples/**/*.js'], + name: 'style', + files: ['eslint.config.mjs', 'examples/**/*.js'], ...stylistic.configs.recommended, rules: { '@stylistic/indent': ['error', 2], '@stylistic/comma-dangle': ['error', 'always-multiline'], '@stylistic/quotes': ['error', 'single'], '@stylistic/semi': ['error', 'never'], - } - } + }, + }, ] diff --git a/examples/start-and-pnpm-workspaces/package.json b/examples/start-and-pnpm-workspaces/package.json index 9b06cd3f3..bb1839f46 100644 --- a/examples/start-and-pnpm-workspaces/package.json +++ b/examples/start-and-pnpm-workspaces/package.json @@ -4,6 +4,8 @@ "description": "example using pnpm with workspaces", "private": true, "pnpm": { - "onlyBuiltDependencies": ["cypress"] + "onlyBuiltDependencies": [ + "cypress" + ] } } diff --git a/index.js b/index.js index 3ddccadc2..3ff8a12f3 100644 --- a/index.js +++ b/index.js @@ -522,7 +522,8 @@ const getCiBuildId = async () => { GITHUB_SHA, GITHUB_TOKEN, GITHUB_RUN_ID, - GITHUB_REPOSITORY + GITHUB_REPOSITORY, + GITHUB_API_URL } = process.env const [owner, repo] = GITHUB_REPOSITORY.split('/') @@ -535,7 +536,8 @@ const getCiBuildId = async () => { ) const client = new Octokit({ - auth: GITHUB_TOKEN + auth: GITHUB_TOKEN, + baseUrl: GITHUB_API_URL }) const resp = await client.request( diff --git a/package-lock.json b/package-lock.json index f0c9e1c08..25aff9496 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,10 +25,10 @@ "devDependencies": { "@eslint/js": "9.21.0", "@stylistic/eslint-plugin": "4.2.0", - "@types/node": "22.13.9", + "@types/node": "22.13.10", "@vercel/ncc": "0.38.1", "eslint": "9.21.0", - "eslint-plugin-cypress": "4.1.0", + "eslint-plugin-cypress": "4.2.0", "globals": "16.0.0", "husky": "9.1.7", "markdown-link-check": "3.13.6", @@ -1080,9 +1080,9 @@ } }, "node_modules/@types/node": { - "version": "22.13.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.9.tgz", - "integrity": "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==", + "version": "22.13.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", + "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", "license": "MIT", "dependencies": { "undici-types": "~6.20.0" @@ -1918,9 +1918,9 @@ } }, "node_modules/eslint-plugin-cypress": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-4.1.0.tgz", - "integrity": "sha512-JhqkMY02mw74USwK9OFhectx3YSj6Co1NgWBxlGdKvlqiAp9vdEuQqt33DKGQFvvGS/NWtduuhWXWNnU29xDSg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-4.2.0.tgz", + "integrity": "sha512-v5cyt0VYb1tEEODBJSE44PocYOwQsckyexJhCs7LtdD3FGO6D2GjnZB2s2Sts4RcxdxECTWX01nObOZRs26bQw==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 65fdea702..61f478ccc 100644 --- a/package.json +++ b/package.json @@ -51,10 +51,10 @@ "devDependencies": { "@eslint/js": "9.21.0", "@stylistic/eslint-plugin": "4.2.0", - "@types/node": "22.13.9", + "@types/node": "22.13.10", "@vercel/ncc": "0.38.1", "eslint": "9.21.0", - "eslint-plugin-cypress": "4.1.0", + "eslint-plugin-cypress": "4.2.0", "globals": "16.0.0", "husky": "9.1.7", "markdown-link-check": "3.13.6",