1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Update typescript, consistent import path format for ts/tsx files (#55922)

This commit is contained in:
Kevin Heis
2025-06-03 12:36:19 -07:00
committed by GitHub
parent 2f968d9edd
commit fab07f48b9
216 changed files with 968 additions and 824 deletions

View File

@@ -4,9 +4,9 @@ import coreLib from '@actions/core'
import { type Octokit } from '@octokit/rest'
import { CoreInject } from '@/links/scripts/action-injections'
import github from '#src/workflows/github.ts'
import { getActionContext } from '#src/workflows/action-context.ts'
import { boolEnvVar } from '#src/workflows/get-env-inputs.ts'
import github from '@/workflows/github'
import { getActionContext } from '@/workflows/action-context'
import { boolEnvVar } from '@/workflows/get-env-inputs'
type Options = {
addLabels?: string[]

536
package-lock.json generated
View File

@@ -94,7 +94,7 @@
"styled-components": "^5.3.11",
"swr": "^2.2.5",
"tcp-port-used": "1.0.2",
"tsx": "^4.19.3",
"tsx": "^4.19.4",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"url-template": "^3.1.1",
@@ -129,8 +129,8 @@
"@types/styled-components": "^5.1.34",
"@types/tcp-port-used": "1.0.4",
"@types/website-scraper": "^1.2.10",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"chalk": "^5.0.1",
"change-case": "^5.4.4",
"commander": "^14.0.0",
@@ -139,7 +139,7 @@
"csv-parse": "5.5.6",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.3",
"eslint-import-resolver-typescript": "^4.2.7",
"eslint-import-resolver-typescript": "^4.4.2",
"eslint-plugin-github": "^5.0.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
@@ -161,7 +161,7 @@
"robots-parser": "^3.0.1",
"sass": "^1.77.8",
"start-server-and-test": "^2.0.11",
"typescript": "^5.5.4",
"typescript": "^5.8.3",
"unist-util-remove": "^4.0.0",
"unist-util-visit-parents": "6.0.1",
"vitest": "^3.1.2",
@@ -1212,15 +1212,20 @@
}
},
"node_modules/@eslint-community/eslint-utils": {
"version": "4.4.0",
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
"integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
"dev": true,
"license": "MIT",
"dependencies": {
"eslint-visitor-keys": "^3.3.0"
"eslint-visitor-keys": "^3.4.3"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
}
@@ -2147,15 +2152,15 @@
}
},
"node_modules/@napi-rs/wasm-runtime": {
"version": "0.2.9",
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.9.tgz",
"integrity": "sha512-OKRBiajrrxB9ATokgEQoG87Z25c67pCpYcCwmXYX8PBftC9pBfN18gnm/fh1wurSLEKIAt+QRFLFCQISrb66Jg==",
"version": "0.2.10",
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.10.tgz",
"integrity": "sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@emnapi/core": "^1.4.0",
"@emnapi/runtime": "^1.4.0",
"@emnapi/core": "^1.4.3",
"@emnapi/runtime": "^1.4.3",
"@tybys/wasm-util": "^0.9.0"
}
},
@@ -4733,21 +4738,21 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.7.0.tgz",
"integrity": "sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.1.tgz",
"integrity": "sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
"@typescript-eslint/scope-manager": "8.7.0",
"@typescript-eslint/type-utils": "8.7.0",
"@typescript-eslint/utils": "8.7.0",
"@typescript-eslint/visitor-keys": "8.7.0",
"@typescript-eslint/scope-manager": "8.33.1",
"@typescript-eslint/type-utils": "8.33.1",
"@typescript-eslint/utils": "8.33.1",
"@typescript-eslint/visitor-keys": "8.33.1",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"ignore": "^7.0.0",
"natural-compare": "^1.4.0",
"ts-api-utils": "^1.3.0"
"ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4757,26 +4762,45 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
"eslint": "^8.57.0 || ^9.0.0"
"@typescript-eslint/parser": "^8.33.1",
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
"integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 4"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"node_modules/@typescript-eslint/parser": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.7.0.tgz",
"integrity": "sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.33.1.tgz",
"integrity": "sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==",
"dev": true,
"license": "BSD-2-Clause",
"license": "MIT",
"dependencies": {
"@typescript-eslint/scope-manager": "8.7.0",
"@typescript-eslint/types": "8.7.0",
"@typescript-eslint/typescript-estree": "8.7.0",
"@typescript-eslint/visitor-keys": "8.7.0",
"@typescript-eslint/scope-manager": "8.33.1",
"@typescript-eslint/types": "8.33.1",
"@typescript-eslint/typescript-estree": "8.33.1",
"@typescript-eslint/visitor-keys": "8.33.1",
"debug": "^4.3.4"
},
"engines": {
@@ -4787,23 +4811,41 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0"
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/project-service": {
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.1.tgz",
"integrity": "sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/tsconfig-utils": "^8.33.1",
"@typescript-eslint/types": "^8.33.1",
"debug": "^4.3.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/scope-manager": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.7.0.tgz",
"integrity": "sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.1.tgz",
"integrity": "sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.7.0",
"@typescript-eslint/visitor-keys": "8.7.0"
"@typescript-eslint/types": "8.33.1",
"@typescript-eslint/visitor-keys": "8.33.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4813,17 +4855,34 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.1.tgz",
"integrity": "sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/type-utils": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.7.0.tgz",
"integrity": "sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.33.1.tgz",
"integrity": "sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/typescript-estree": "8.7.0",
"@typescript-eslint/utils": "8.7.0",
"@typescript-eslint/typescript-estree": "8.33.1",
"@typescript-eslint/utils": "8.33.1",
"debug": "^4.3.4",
"ts-api-utils": "^1.3.0"
"ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4832,16 +4891,28 @@
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
},
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"node_modules/@typescript-eslint/types": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.7.0.tgz",
"integrity": "sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.1.tgz",
"integrity": "sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -4853,45 +4924,22 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.7.0.tgz",
"integrity": "sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==",
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.1.tgz",
"integrity": "sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==",
"dev": true,
"license": "BSD-2-Clause",
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.7.0",
"@typescript-eslint/visitor-keys": "8.7.0",
"@typescript-eslint/project-service": "8.33.1",
"@typescript-eslint/tsconfig-utils": "8.33.1",
"@typescript-eslint/types": "8.33.1",
"@typescript-eslint/visitor-keys": "8.33.1",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
"ts-api-utils": "^1.3.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/@typescript-eslint/utils": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.7.0.tgz",
"integrity": "sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.7.0",
"@typescript-eslint/types": "8.7.0",
"@typescript-eslint/typescript-estree": "8.7.0"
"ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4901,18 +4949,55 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0"
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/visitor-keys": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.7.0.tgz",
"integrity": "sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==",
"node_modules/@typescript-eslint/typescript-estree/node_modules/ts-api-utils": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
},
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"node_modules/@typescript-eslint/utils": {
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.1.tgz",
"integrity": "sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.7.0",
"eslint-visitor-keys": "^3.4.3"
"@eslint-community/eslint-utils": "^4.7.0",
"@typescript-eslint/scope-manager": "8.33.1",
"@typescript-eslint/types": "8.33.1",
"@typescript-eslint/typescript-estree": "8.33.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/visitor-keys": {
"version": "8.33.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.1.tgz",
"integrity": "sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.33.1",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4922,15 +5007,28 @@
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
}
},
"node_modules/@ungap/structured-clone": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
"integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ=="
},
"node_modules/@unrs/resolver-binding-darwin-arm64": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.7.0.tgz",
"integrity": "sha512-vIWAU56r2lZAmUsljp6m9+hrTlwNkZH6pqnSPff2WxzofV+jWRSHLmZRUS+g+VE+LlyPByifmGGHpJmhWetatg==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.7.9.tgz",
"integrity": "sha512-hWbcVTcNqgUirY5DC3heOLrz35D926r2izfxveBmuIgDwx9KkUHfqd93g8PtROJX01lvhmyAc3E09/ma6jhyqQ==",
"cpu": [
"arm64"
],
@@ -4942,9 +5040,9 @@
]
},
"node_modules/@unrs/resolver-binding-darwin-x64": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.7.0.tgz",
"integrity": "sha512-+bShFLgtdwuNteQbKq3X230754AouNMXSLDZ56EssgDyckDt6Ld7wRaJjZF0pY671HnY2pk9/amO4amAFzfN1A==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.7.9.tgz",
"integrity": "sha512-NCZb/oaXELjt8jtm6ztlNPpAxKZsKIxsGYPSxkwQdQ/zl7X2PfyCpWqwoGE4A9vCP6gAgJnvH3e22nE0qk9ieA==",
"cpu": [
"x64"
],
@@ -4956,9 +5054,9 @@
]
},
"node_modules/@unrs/resolver-binding-freebsd-x64": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.7.0.tgz",
"integrity": "sha512-HJjXb3aIptDZQ0saSmk2S4W1pWNVZ2iNpAbNGZOfsUXbi8xwCmHdVjErNS92hRp7djuDLup1OLrzOMtTdw5BmA==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.7.9.tgz",
"integrity": "sha512-/AYheGgFn9Pw3X3pYFCohznydaUA9980/wlwgbgCsVxnY4IbqVoZhTLQZ4JWKKaOWBwwmM8FseHf5h5OawyOQQ==",
"cpu": [
"x64"
],
@@ -4970,9 +5068,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.7.0.tgz",
"integrity": "sha512-NF3lk7KHulLD97UE+MHjH0mrOjeZG8Hz10h48YcFz2V0rlxBdRSRcMbGer8iH/1mIlLqxtvXJfGLUr4SMj0XZg==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.7.9.tgz",
"integrity": "sha512-RYV9sEH3o6SZum5wGb9evXlgibsVfluuiyi09hXVD+qPRrCSB45h3z1HjZpe9+c25GiN53CEy149fYS0fLVBtw==",
"cpu": [
"arm"
],
@@ -4984,9 +5082,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.7.0.tgz",
"integrity": "sha512-Gn1c/t24irDgU8yYj4vVG6qHplwUM42ti9/zYWgfmFjoXCH6L4Ab9hh6HuO7bfDSvGDRGWQt1IVaBpgbKHdh3Q==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.7.9.tgz",
"integrity": "sha512-0ishMZMCYNJd4SNjHnjByHWh6ia7EDVZrOVAW8wf9Vz2PTZ0pLrFwu5c9voHouGKg7s2cnzPz87c0OK7dwimUQ==",
"cpu": [
"arm"
],
@@ -4998,9 +5096,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.7.0.tgz",
"integrity": "sha512-XRrVXRIUP++qyqAqgiXUpOv0GP3cHx7aA7NrzVFf6Cc8FoYuwtnmT+vctfSo4wRZN71MNU4xq2BEFxI4qvSerg==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.7.9.tgz",
"integrity": "sha512-FOspRldYylONzWCkF5n/B1MMYKXXlg2bzgcgESEVcP4LFh0eom/0XsWvfy+dlfBJ+FkYfJjvBJeje14xOBOa6g==",
"cpu": [
"arm64"
],
@@ -5012,9 +5110,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-arm64-musl": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.7.0.tgz",
"integrity": "sha512-Sligg+vTDAYTXkUtgviPjGEFIh57pkvlfdyRw21i9gkjp/eCNOAi2o5e7qLGTkoYdJHZJs5wVMViPEmAbw2/Tg==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.7.9.tgz",
"integrity": "sha512-P1S5jTht888/1mZVrBZx8IOxpikRDPoECxod1CcAHYUZGUNr+PNp1m5eB9FWMK2zRCJ8HgHNZfdRyDf9pNCrlQ==",
"cpu": [
"arm64"
],
@@ -5026,9 +5124,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.7.0.tgz",
"integrity": "sha512-Apek8/x+7Rg33zUJlQV44Bvq8/t1brfulk0veNJrk9wprF89bCYFMUHF7zQYcpf2u+m1+qs3mYQrBd43fGXhMA==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.7.9.tgz",
"integrity": "sha512-cD9+BPxlFSiIkGWknSgKdTMGZIzCtSIg/O7GJ1LoC+jGtUOBNBJYMn6FyEPRvdpphewYzaCuPsikrMkpdX303Q==",
"cpu": [
"ppc64"
],
@@ -5040,9 +5138,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.7.0.tgz",
"integrity": "sha512-kBale8CFX5clfV9VmI9EwKw2ZACMEx1ecjV92F9SeWTUoxl9d+LGzS6zMSX3kGYqcfJB3NXMwLCTwIDBLG1y4g==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.7.9.tgz",
"integrity": "sha512-Z6IuWg9u0257dCVgc/x/zIKamqJhrmaOFuq3AYsSt6ZtyEHoyD5kxdXQUvEgBAd/Fn1b8tsX+VD9mB9al5306Q==",
"cpu": [
"riscv64"
],
@@ -5054,9 +5152,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.7.0.tgz",
"integrity": "sha512-s/Q33xQjeFHSCvGl1sZztFZF6xhv7coMvFz6wa/x/ZlEArjiQoMMwGa/Aieq1Kp/6+S13iU3/IJF0ga6/451ow==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.7.9.tgz",
"integrity": "sha512-HpINrXLJVEpvkHHIla6pqhMAKbQBrY+2946i6rF6OlByONLTuObg65bcv3A38qV9yqJ7vtE0FyfNn68k0uQKbg==",
"cpu": [
"riscv64"
],
@@ -5068,9 +5166,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.7.0.tgz",
"integrity": "sha512-7PuNXAo97ydaxVNrIYJzPipvINJafDpB8pt5CoZHfu8BmqcU6d7kl6/SABTnqNffNkd6Cfhuo70jvGB2P7oJ/Q==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.7.9.tgz",
"integrity": "sha512-ZXZFfaPFXnrDIPpkFoAZmxzXwqqfCHfnFdZhrEd+mrc/hHTQyxINyzrFMFCqtAa5eIjD7vgzNIXsMFU2QBnCPw==",
"cpu": [
"s390x"
],
@@ -5082,9 +5180,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-x64-gnu": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.7.0.tgz",
"integrity": "sha512-fNosEzDMYItA4It+R0tioHwKlEfx/3TkkJdP2x9B5o9R946NDC4ZZj5ZjA+Y4NQD2V/imB3QPAKmeh3vHQGQyA==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.7.9.tgz",
"integrity": "sha512-EzeeaZnuQOa93ox08oa9DqgQc8sK59jfs+apOUrZZSJCDG1ZbtJINPc8uRqE7p3Z66FPAe/uO3+7jZTkWbVDfg==",
"cpu": [
"x64"
],
@@ -5096,9 +5194,9 @@
]
},
"node_modules/@unrs/resolver-binding-linux-x64-musl": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.7.0.tgz",
"integrity": "sha512-gHIw42dmnVcw7osjNPRybaXhONhggWkkzqiOZzXco1q3OKkn4KsbDylATeemnq3TP+L1BrzSqzl0H9UTJ6ji+w==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.7.9.tgz",
"integrity": "sha512-a07ezNt0OY8Vv/iDreJo7ZkKtwRb6UCYaCcMY2nm3ext7rTtDFS7X1GePqrbByvIbRFd6E5q1CKBPzJk6M360Q==",
"cpu": [
"x64"
],
@@ -5110,9 +5208,9 @@
]
},
"node_modules/@unrs/resolver-binding-wasm32-wasi": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.7.0.tgz",
"integrity": "sha512-yq7POusv63/yTkNTaNsnXU/SAcBzckHyk1oYrDXqjS1m/goaWAaU9J9HrsovgTHkljxTcDd6PMAsJ5WZVBuGEQ==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.7.9.tgz",
"integrity": "sha512-d0fHnxgtrv75Po6LKJLjo1LFC5S0E8vv86H/5wGDFLG0AvS/0k+SghgUW6zAzjM2XRAic/qcy9+O7n/5JOjxFA==",
"cpu": [
"wasm32"
],
@@ -5120,16 +5218,16 @@
"license": "MIT",
"optional": true,
"dependencies": {
"@napi-rs/wasm-runtime": "^0.2.9"
"@napi-rs/wasm-runtime": "^0.2.10"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.7.0.tgz",
"integrity": "sha512-/IPZPbdri9jglHonwB3F7EpQZvBK3ObH+g4ma/KDrqTEAECwvgE10Unvo0ox3LQFR/iMMAkVY+sGNMrMiIV/QQ==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.7.9.tgz",
"integrity": "sha512-0MFcaQDsUYxNqRxjPdsMKg1OGtmsqLzPY2Nwiiyalx6HFvkcHxgRCAOppgeUuDucpUEf76k/4tBzfzPxjYkFUg==",
"cpu": [
"arm64"
],
@@ -5141,9 +5239,9 @@
]
},
"node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.7.0.tgz",
"integrity": "sha512-NGVKbHEdrLuJdpcuGqV5zXO3v8t4CWOs0qeCGjO47RiwwufOi/yYcrtxtCzZAaMPBrffHL7c6tJ1Hxr17cPUGg==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.7.9.tgz",
"integrity": "sha512-SiewmebiN32RpzrV1Dvbw7kdDCRuPThdgEWKJvDNcEGnVEV3ScYGuk5smJjKHXszqNX3mIXG/PcCXqHsE/7XGA==",
"cpu": [
"ia32"
],
@@ -5155,9 +5253,9 @@
]
},
"node_modules/@unrs/resolver-binding-win32-x64-msvc": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.7.0.tgz",
"integrity": "sha512-Jf14pKofg58DIwcZv4Wt9AyVVe7bSJP8ODz+EP9nG/rho08FQzan0VOJk1g6/BNE1RkoYd+lRTWK+/BgH12qoQ==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.7.9.tgz",
"integrity": "sha512-hORofIRZCm85+TUZ9OmHQJNlgtOmK/TPfvYeSplKAl+zQvAwMGyy6DZcSbrF+KdB1EDoGISwU7dX7PE92haOXg==",
"cpu": [
"x64"
],
@@ -7319,6 +7417,31 @@
"eslint": ">=7.0.0"
}
},
"node_modules/eslint-import-context": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/eslint-import-context/-/eslint-import-context-0.1.6.tgz",
"integrity": "sha512-/e2ZNPDLCrU8niIy0pddcvXuoO2YrKjf3NAIX+60mHJBT4yv7mqCqvVdyCW2E720e25e4S/1OSVef4U6efGLFg==",
"dev": true,
"license": "MIT",
"dependencies": {
"get-tsconfig": "^4.10.1",
"stable-hash": "^0.0.5"
},
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
"funding": {
"url": "https://opencollective.com/eslint-import-context"
},
"peerDependencies": {
"unrs-resolver": "^1.0.0"
},
"peerDependenciesMeta": {
"unrs-resolver": {
"optional": true
}
}
},
"node_modules/eslint-import-resolver-node": {
"version": "0.3.9",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
@@ -7340,18 +7463,19 @@
}
},
"node_modules/eslint-import-resolver-typescript": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-4.3.4.tgz",
"integrity": "sha512-buzw5z5VtiQMysYLH9iW9BV04YyZebsw+gPi+c4FCjfS9i6COYOrEWw9t3m3wA9PFBfqcBCqWf32qrXLbwafDw==",
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-4.4.2.tgz",
"integrity": "sha512-GdSOy0PwLYpQCrmnEQujvA+X0NKrdnVCICEbZq1zlmjjD12NHOHCN9MYyrGFR9ydCs4wJwHEV9tts44ajSlGeA==",
"dev": true,
"license": "ISC",
"dependencies": {
"debug": "^4.4.0",
"get-tsconfig": "^4.10.0",
"debug": "^4.4.1",
"eslint-import-context": "^0.1.5",
"get-tsconfig": "^4.10.1",
"is-bun-module": "^2.0.0",
"stable-hash": "^0.0.5",
"tinyglobby": "^0.2.13",
"unrs-resolver": "^1.6.3"
"tinyglobby": "^0.2.14",
"unrs-resolver": "^1.7.2"
},
"engines": {
"node": "^16.17.0 || >=18.6.0"
@@ -7373,6 +7497,31 @@
}
}
},
"node_modules/eslint-import-resolver-typescript/node_modules/debug": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
"integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.3"
},
"engines": {
"node": ">=6.0"
},
"peerDependenciesMeta": {
"supports-color": {
"optional": true
}
}
},
"node_modules/eslint-import-resolver-typescript/node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"dev": true,
"license": "MIT"
},
"node_modules/eslint-module-utils": {
"version": "2.11.1",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.1.tgz",
@@ -8782,9 +8931,10 @@
}
},
"node_modules/get-tsconfig": {
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.0.tgz",
"integrity": "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==",
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz",
"integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==",
"license": "MIT",
"dependencies": {
"resolve-pkg-maps": "^1.0.0"
},
@@ -12069,9 +12219,9 @@
}
},
"node_modules/napi-postinstall": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.1.6.tgz",
"integrity": "sha512-w1bClprmjwpybo+7M1Rd0N4QK5Ein8kH/1CQ0Wv8Q9vrLbDMakxc4rZpv8zYc8RVErUELJlFhM8UzOF3IqlYKw==",
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.2.4.tgz",
"integrity": "sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -14909,9 +15059,9 @@
"license": "MIT"
},
"node_modules/tinyglobby": {
"version": "0.2.13",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz",
"integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==",
"version": "0.2.14",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
"integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -15105,9 +15255,9 @@
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
},
"node_modules/tsx": {
"version": "4.19.3",
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.3.tgz",
"integrity": "sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==",
"version": "4.19.4",
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.4.tgz",
"integrity": "sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==",
"license": "MIT",
"dependencies": {
"esbuild": "~0.25.0",
@@ -15253,9 +15403,9 @@
}
},
"node_modules/typescript": {
"version": "5.6.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz",
"integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==",
"version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -15558,36 +15708,36 @@
}
},
"node_modules/unrs-resolver": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.7.0.tgz",
"integrity": "sha512-b76tVoT9KPniDY1GoYghDUQX20gjzXm/TONfHfgayLaiuo+oGyT9CsQkGCEJs+1/uryVBEOGOt3yYWDXbJhL7g==",
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.7.9.tgz",
"integrity": "sha512-hhFtY782YKwpz54G1db49YYS1RuMn8mBylIrCldrjb9BxZKnQ2xHw7+2zcl7H6fnUlTHGWv23/+677cpufhfxQ==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"napi-postinstall": "^0.1.6"
"napi-postinstall": "^0.2.2"
},
"funding": {
"url": "https://github.com/sponsors/JounQin"
"url": "https://opencollective.com/unrs-resolver"
},
"optionalDependencies": {
"@unrs/resolver-binding-darwin-arm64": "1.7.0",
"@unrs/resolver-binding-darwin-x64": "1.7.0",
"@unrs/resolver-binding-freebsd-x64": "1.7.0",
"@unrs/resolver-binding-linux-arm-gnueabihf": "1.7.0",
"@unrs/resolver-binding-linux-arm-musleabihf": "1.7.0",
"@unrs/resolver-binding-linux-arm64-gnu": "1.7.0",
"@unrs/resolver-binding-linux-arm64-musl": "1.7.0",
"@unrs/resolver-binding-linux-ppc64-gnu": "1.7.0",
"@unrs/resolver-binding-linux-riscv64-gnu": "1.7.0",
"@unrs/resolver-binding-linux-riscv64-musl": "1.7.0",
"@unrs/resolver-binding-linux-s390x-gnu": "1.7.0",
"@unrs/resolver-binding-linux-x64-gnu": "1.7.0",
"@unrs/resolver-binding-linux-x64-musl": "1.7.0",
"@unrs/resolver-binding-wasm32-wasi": "1.7.0",
"@unrs/resolver-binding-win32-arm64-msvc": "1.7.0",
"@unrs/resolver-binding-win32-ia32-msvc": "1.7.0",
"@unrs/resolver-binding-win32-x64-msvc": "1.7.0"
"@unrs/resolver-binding-darwin-arm64": "1.7.9",
"@unrs/resolver-binding-darwin-x64": "1.7.9",
"@unrs/resolver-binding-freebsd-x64": "1.7.9",
"@unrs/resolver-binding-linux-arm-gnueabihf": "1.7.9",
"@unrs/resolver-binding-linux-arm-musleabihf": "1.7.9",
"@unrs/resolver-binding-linux-arm64-gnu": "1.7.9",
"@unrs/resolver-binding-linux-arm64-musl": "1.7.9",
"@unrs/resolver-binding-linux-ppc64-gnu": "1.7.9",
"@unrs/resolver-binding-linux-riscv64-gnu": "1.7.9",
"@unrs/resolver-binding-linux-riscv64-musl": "1.7.9",
"@unrs/resolver-binding-linux-s390x-gnu": "1.7.9",
"@unrs/resolver-binding-linux-x64-gnu": "1.7.9",
"@unrs/resolver-binding-linux-x64-musl": "1.7.9",
"@unrs/resolver-binding-wasm32-wasi": "1.7.9",
"@unrs/resolver-binding-win32-arm64-msvc": "1.7.9",
"@unrs/resolver-binding-win32-ia32-msvc": "1.7.9",
"@unrs/resolver-binding-win32-x64-msvc": "1.7.9"
}
},
"node_modules/update-browserslist-db": {

View File

@@ -330,7 +330,7 @@
"styled-components": "^5.3.11",
"swr": "^2.2.5",
"tcp-port-used": "1.0.2",
"tsx": "^4.19.3",
"tsx": "^4.19.4",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"url-template": "^3.1.1",
@@ -365,8 +365,8 @@
"@types/styled-components": "^5.1.34",
"@types/tcp-port-used": "1.0.4",
"@types/website-scraper": "^1.2.10",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"chalk": "^5.0.1",
"change-case": "^5.4.4",
"commander": "^14.0.0",
@@ -375,7 +375,7 @@
"csv-parse": "5.5.6",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.3",
"eslint-import-resolver-typescript": "^4.2.7",
"eslint-import-resolver-typescript": "^4.4.2",
"eslint-plugin-github": "^5.0.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
@@ -397,7 +397,7 @@
"robots-parser": "^3.0.1",
"sass": "^1.77.8",
"start-server-and-test": "^2.0.11",
"typescript": "^5.5.4",
"typescript": "^5.8.3",
"unist-util-remove": "^4.0.0",
"unist-util-visit-parents": "6.0.1",
"vitest": "^3.1.2",

View File

@@ -23,7 +23,7 @@ import getRemoteJSON from '@/frame/lib/get-remote-json.js'
import {
deprecated,
lastVersionWithoutArchivedRedirectsFile,
} from '#src/versions/lib/enterprise-server-releases.js'
} from '@/versions/lib/enterprise-server-releases.js'
program
.description(

View File

@@ -1,8 +1,8 @@
import type { Response } from 'express'
import { Context } from '#src/types.js'
import { Context } from '@/types.js'
import { ExtendedRequestWithPageInfo } from '../types'
import contextualize from '#src/frame/middleware/context/context.js'
import contextualize from '@/frame/middleware/context/context.js'
export async function getArticleBody(req: ExtendedRequestWithPageInfo) {
// req.pageinfo is set from pageValidationMiddleware and pathValidationMiddleware

View File

@@ -11,8 +11,8 @@ import {
makeLanguageSurrogateKey,
setFastlySurrogateKey,
SURROGATE_ENUMS,
} from '#src/frame/middleware/set-fastly-surrogate-key.js'
import statsd from '#src/observability/lib/statsd.js'
} from '@/frame/middleware/set-fastly-surrogate-key.js'
import statsd from '@/observability/lib/statsd.js'
const router = express.Router()

View File

@@ -3,11 +3,11 @@ import type { Response, RequestHandler } from 'express'
import type { ExtendedRequest } from '@/types'
import { defaultCacheControl } from '@/frame/middleware/cache-control.js'
import { getProductStringFromPath, getVersionStringFromPath } from '#src/frame/lib/path-utils.js'
import { getLanguageCodeFromPath } from '#src/languages/middleware/detect-language.js'
import { getProductStringFromPath, getVersionStringFromPath } from '@/frame/lib/path-utils.js'
import { getLanguageCodeFromPath } from '@/languages/middleware/detect-language.js'
import { pagelistValidationMiddleware } from './validation'
import catchMiddlewareError from '#src/observability/middleware/catch-middleware-error.js'
import statsd from '#src/observability/lib/statsd.js'
import catchMiddlewareError from '@/observability/middleware/catch-middleware-error.js'
import statsd from '@/observability/lib/statsd.js'
const router = express.Router()

View File

@@ -1,11 +1,11 @@
import { ExtendedRequestWithPageInfo } from '../types'
import type { NextFunction, Response } from 'express'
import { ExtendedRequest, Page } from '#src/types.js'
import { ExtendedRequest, Page } from '@/types.js'
import { isArchivedVersionByPath } from '@/archives/lib/is-archived-version'
import getRedirect from '@/redirects/lib/get-redirect.js'
import { getVersionStringFromPath, getLangFromPath } from '#src/frame/lib/path-utils.js'
import nonEnterpriseDefaultVersion from '#src/versions/lib/non-enterprise-default-version.js'
import { getVersionStringFromPath, getLangFromPath } from '@/frame/lib/path-utils.js'
import nonEnterpriseDefaultVersion from '@/versions/lib/non-enterprise-default-version.js'
// validates the path for pagelist endpoint
// specifically, defaults to `/en/free-pro-team@latest` when those values are missing

View File

@@ -30,8 +30,8 @@ import { brotliCompressSync } from 'zlib'
import chalk from 'chalk'
import { program, Option } from 'commander'
import { languageKeys } from 'src/languages/lib/languages.js'
import { loadPages, loadUnversionedTree } from 'src/frame/lib/page-data.js'
import { languageKeys } from '@/languages/lib/languages.js'
import { loadPages, loadUnversionedTree } from '@/frame/lib/page-data.js'
import { CACHE_FILE_PATH, getPageInfo } from '../middleware/article-pageinfo'
program
@@ -116,8 +116,8 @@ async function main(options: Options) {
fs.writeFileSync(outputFile, payload)
} else {
const payloadBuffer = Buffer.from(payload, 'utf-8')
const payloadCompressed = brotliCompressSync(payloadBuffer)
fs.writeFileSync(outputFile, payloadCompressed)
const payloadCompressed = brotliCompressSync(payloadBuffer as NodeJS.ArrayBufferView)
fs.writeFileSync(outputFile, payloadCompressed as NodeJS.ArrayBufferView)
}
console.timeEnd(label)
console.log(

View File

@@ -1,8 +1,8 @@
import { beforeAll, describe, expect, test } from 'vitest'
import { get } from '#src/tests/helpers/e2etest.js'
import { SURROGATE_ENUMS } from '#src/frame/middleware/set-fastly-surrogate-key.js'
import { latest } from '#src/versions/lib/enterprise-server-releases.js'
import { get } from '@/tests/helpers/e2etest.js'
import { SURROGATE_ENUMS } from '@/frame/middleware/set-fastly-surrogate-key.js'
import { latest } from '@/versions/lib/enterprise-server-releases.js'
const makeURL = (pathname: string): string =>
`/api/article/meta?${new URLSearchParams({ pathname })}`

View File

@@ -1,9 +1,9 @@
import { beforeAll, describe, expect, test } from 'vitest'
import { get } from '#src/tests/helpers/e2etest.js'
import { get } from '@/tests/helpers/e2etest.js'
import { allVersionKeys } from '#src/versions/lib/all-versions.js'
import nonEnterpriseDefaultVersion from '#src/versions/lib/non-enterprise-default-version.js'
import { allVersionKeys } from '@/versions/lib/all-versions.js'
import nonEnterpriseDefaultVersion from '@/versions/lib/non-enterprise-default-version.js'
describe.each(allVersionKeys)('pagelist api for %s', async (versionKey) => {
beforeAll(() => {

View File

@@ -3,8 +3,8 @@ import path from 'path'
import { describe, expect, test, vi } from 'vitest'
import { get } from '#src/tests/helpers/e2etest.js'
import { checkCachingHeaders } from '#src/tests/helpers/caching-headers.js'
import { get } from '@/tests/helpers/e2etest.js'
import { checkCachingHeaders } from '@/tests/helpers/caching-headers.js'
function getNextStaticAsset(directory: string) {
const root = path.join('.next', 'static', directory)

View File

@@ -1,7 +1,7 @@
import { slug } from 'github-slugger'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { useTranslation } from 'src/languages/components/useTranslation'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { useTranslation } from '@/languages/components/useTranslation'
import type { AuditLogEventT } from '../types'
type Props = {

View File

@@ -5,13 +5,13 @@ import {
getMainContext,
MainContext,
MainContextT,
} from 'src/frame/components/context/MainContext'
} from '@/frame/components/context/MainContext'
import {
getAutomatedPageContextFromRequest,
AutomatedPageContext,
AutomatedPageContextT,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import GroupedEvents from '../components/GroupedEvents'
import type { CategorizedEvents } from '../types'
@@ -42,7 +42,7 @@ export default function AuditLogEvents({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAutomatedPageMiniTocItems } = await import('src/frame/lib/get-mini-toc-items')
const { getAutomatedPageMiniTocItems } = await import('@/frame/lib/get-mini-toc-items')
const { getCategorizedAuditLogEvents } = await import('../lib')
const req = context.req as object

View File

@@ -1,7 +1,7 @@
import { describe, expect, test, vi } from 'vitest'
import { getDOM } from '#src/tests/helpers/e2etest.js'
import { allVersions } from '#src/versions/lib/all-versions.js'
import { getDOM } from '@/tests/helpers/e2etest.js'
import { allVersions } from '@/versions/lib/all-versions.js'
import { getCategorizedAuditLogEvents } from '../lib'
describe('audit log events docs', () => {

View File

@@ -1,13 +1,13 @@
import { DefaultLayout } from 'src/frame/components/DefaultLayout'
import { ArticleTitle } from 'src/frame/components/article/ArticleTitle'
import { MarkdownContent } from 'src/frame/components/ui/MarkdownContent'
import { Lead } from 'src/frame/components/ui/Lead'
import { PermissionsStatement } from 'src/frame/components/ui/PermissionsStatement'
import { ArticleGridLayout } from 'src/frame/components/article/ArticleGridLayout'
import { MiniTocs } from 'src/frame/components/ui/MiniTocs'
import { useAutomatedPageContext } from 'src/automated-pipelines/components/AutomatedPageContext'
import { ClientSideHighlight } from 'src/frame/components/ClientSideHighlight'
import { Breadcrumbs } from 'src/frame/components/page-header/Breadcrumbs'
import { DefaultLayout } from '@/frame/components/DefaultLayout'
import { ArticleTitle } from '@/frame/components/article/ArticleTitle'
import { MarkdownContent } from '@/frame/components/ui/MarkdownContent'
import { Lead } from '@/frame/components/ui/Lead'
import { PermissionsStatement } from '@/frame/components/ui/PermissionsStatement'
import { ArticleGridLayout } from '@/frame/components/article/ArticleGridLayout'
import { MiniTocs } from '@/frame/components/ui/MiniTocs'
import { useAutomatedPageContext } from '@/automated-pipelines/components/AutomatedPageContext'
import { ClientSideHighlight } from '@/frame/components/ClientSideHighlight'
import { Breadcrumbs } from '@/frame/components/page-header/Breadcrumbs'
type Props = {
children: React.ReactNode

View File

@@ -1,5 +1,5 @@
import { createContext, useContext } from 'react'
import type { MiniTocItem } from 'src/frame/components/context/ArticleContext'
import type { MiniTocItem } from '@/frame/components/context/ArticleContext'
export type AutomatedPageContextT = {
title: string

View File

@@ -1,6 +1,6 @@
import cx from 'classnames'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { ParameterRow } from './ParameterRow'
import type { ChildParameter } from './types'

View File

@@ -1,6 +1,6 @@
import cx from 'classnames'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { ChildBodyParametersRows } from './ChildBodyParametersRows'
import type { ChildParameter } from './types'

View File

@@ -1,5 +1,5 @@
import cx from 'classnames'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { ParameterRow } from './ParameterRow'
import { BodyParameter, ChildParameter, Parameter } from './types'

View File

@@ -7,8 +7,8 @@ import { rimraf } from 'rimraf'
import { mkdirp } from 'mkdirp'
import { difference, isEqual } from 'lodash-es'
import { allVersions } from '#src/versions/lib/all-versions.js'
import getApplicableVersions from '#src/versions/lib/get-applicable-versions.js'
import { allVersions } from '@/versions/lib/all-versions.js'
import getApplicableVersions from '@/versions/lib/get-applicable-versions.js'
import type { MarkdownFrontmatter } from '@/types'
// Type definitions - extending existing type to add missing fields and make most fields optional

View File

@@ -1,7 +1,7 @@
import { describe, expect, test } from 'vitest'
import { supported } from '#src/versions/lib/enterprise-server-releases.js'
import { allVersionKeys, allVersions } from '#src/versions/lib/all-versions.js'
import { supported } from '@/versions/lib/enterprise-server-releases.js'
import { allVersionKeys, allVersions } from '@/versions/lib/all-versions.js'
import { convertVersionsToFrontmatter } from '../lib/update-markdown.js'
describe('frontmatter versions are generated correctly from automated data', () => {

View File

@@ -3,8 +3,8 @@ import { readFileSync } from 'fs'
import cheerio from 'cheerio'
import { describe, expect, test, vi } from 'vitest'
import { loadPages } from '#src/frame/lib/page-data.js'
import { get } from '#src/tests/helpers/e2etest.js'
import { loadPages } from '@/frame/lib/page-data.js'
import { get } from '@/tests/helpers/e2etest.js'
// Type definitions for page objects
type Page = {

View File

@@ -6,7 +6,7 @@ import path from 'path'
import { afterAll, beforeAll, describe, expect, test } from 'vitest'
import { mkdirp } from 'mkdirp'
import matter from 'gray-matter'
import type { FrontmatterVersions } from '#src/types.js'
import type { FrontmatterVersions } from '@/types.js'
import { updateContentDirectory } from '../lib/update-markdown.js'

View File

@@ -4,7 +4,7 @@ import path from 'path'
import { program } from 'commander'
import readFrontmatter from 'src/frame/lib/read-frontmatter.js'
import readFrontmatter from '@/frame/lib/read-frontmatter.js'
const ROOT = process.env.ROOT || '.'
const CONTENT_ROOT = path.resolve(path.join(ROOT, 'content'))

View File

@@ -1,4 +1,4 @@
import { FeatureData } from '#src/types.js'
import { FeatureData } from '@/types.js'
declare function dataDirectory(dir: string, opts?: Object): FeatureData
export default dataDirectory

View File

@@ -4,10 +4,10 @@ import { execSync } from 'child_process'
import { program } from 'commander'
import type { NextFunction, Response } from 'express'
import type { ExtendedRequest } from '@/types'
import fpt from '#src/versions/lib/non-enterprise-default-version.js'
import { allVersionKeys } from '#src/versions/lib/all-versions.js'
import { liquid } from '#src/content-render/index.js'
import contextualize from '#src/frame/middleware/context/context.js'
import fpt from '@/versions/lib/non-enterprise-default-version.js'
import { allVersionKeys } from '@/versions/lib/all-versions.js'
import { liquid } from '@/content-render/index.js'
import contextualize from '@/frame/middleware/context/context.js'
interface CommandOptions {
openSections?: string | string[]

View File

@@ -10,10 +10,10 @@ import yaml from 'js-yaml'
import { last } from 'lodash-es'
import { program } from 'commander'
import { execFileSync } from 'child_process'
import frontmatter from '#src/frame/lib/read-frontmatter.js'
import patterns from '#src/frame/lib/patterns.js'
import frontmatter from '@/frame/lib/read-frontmatter.js'
import patterns from '@/frame/lib/patterns.js'
import addRedirectToFrontmatter from '@/redirects/scripts/helpers/add-redirect-to-frontmatter'
import walkFiles from '#src/workflows/walk-files.ts'
import walkFiles from '@/workflows/walk-files'
const contentFiles: string[] = walkFiles('content', '.md', { includeEarlyAccess: true })
const contentDir: string = path.posix.join(process.cwd(), 'content')

View File

@@ -8,9 +8,9 @@
import fs from 'fs'
import path from 'path'
import { program } from 'commander'
import walkFiles from '#src/workflows/walk-files.ts'
import walkFiles from '@/workflows/walk-files'
import { escapeRegExp } from 'lodash-es'
import patterns from '#src/frame/lib/patterns.js'
import patterns from '@/frame/lib/patterns.js'
interface ProgramOptions {
add?: boolean

View File

@@ -1,8 +1,8 @@
import { expect, test, vi } from 'vitest'
import { get, getDOM } from '#src/tests/helpers/e2etest.js'
import { get, getDOM } from '@/tests/helpers/e2etest.js'
import { describeIfDocsEarlyAccess } from '#src/tests/helpers/conditional-runs.js'
import languages from '#src/languages/lib/languages.js'
import { describeIfDocsEarlyAccess } from '@/tests/helpers/conditional-runs.js'
import languages from '@/languages/lib/languages.js'
const VALID_EARLY_ACCESS_URI = '/early-access/github/save-time-with-slash-commands'

View File

@@ -3,9 +3,9 @@ import cx from 'classnames'
import { useRouter } from 'next/router'
import { ThumbsdownIcon, ThumbsupIcon } from '@primer/octicons-react'
import { useTranslation } from 'src/languages/components/useTranslation'
import { Link } from 'src/frame/components/Link'
import { sendEvent } from 'src/events/components/events'
import { useTranslation } from '@/languages/components/useTranslation'
import { Link } from '@/frame/components/Link'
import { sendEvent } from '@/events/components/events'
import { EventType } from '../types'
import styles from './Survey.module.scss'

View File

@@ -1,8 +1,8 @@
/* eslint-disable camelcase */
import Cookies from 'src/frame/components/lib/cookies'
import Cookies from '@/frame/components/lib/cookies'
import { parseUserAgent } from './user-agent'
import { Router } from 'next/router'
import { isLoggedIn } from 'src/frame/components/hooks/useHasAccount'
import { isLoggedIn } from '@/frame/components/hooks/useHasAccount'
import { getExperimentVariationForContext } from './experiments/experiment'
import { EventType, EventPropsByType } from '../types'
import { isHeadless } from './is-headless'

View File

@@ -2,9 +2,9 @@ import { createHmac } from 'crypto'
import { Agent } from 'node:https'
import got from 'got'
import { isNil } from 'lodash-es'
import statsd from 'src/observability/lib/statsd.js'
import { report } from 'src/observability/lib/failbot.js'
import { MAX_REQUEST_TIMEOUT } from 'src/frame/lib/constants.js'
import statsd from '@/observability/lib/statsd.js'
import { report } from '@/observability/lib/failbot.js'
import { MAX_REQUEST_TIMEOUT } from '@/frame/lib/constants.js'
const TIME_OUT_TEXT = 'ms has passed since batch creation'
const SERVER_DISCONNECT_TEXT = 'The server disconnected before a response was received'

View File

@@ -1,7 +1,7 @@
import { languageKeys } from '#src/languages/lib/languages.js'
import { allVersionKeys } from '#src/versions/lib/all-versions.js'
import { productIds } from '#src/products/lib/all-products.ts'
import { allTools } from 'src/tools/lib/all-tools.js'
import { languageKeys } from '@/languages/lib/languages.js'
import { allVersionKeys } from '@/versions/lib/all-versions.js'
import { productIds } from '@/products/lib/all-products'
import { allTools } from '@/tools/lib/all-tools.js'
const versionPattern = '^\\d+(\\.\\d+)?(\\.\\d+)?$' // eslint-disable-line

View File

@@ -7,9 +7,9 @@ import type { ExtendedRequest } from '@/types'
import type { Response } from 'express'
import { schemas, hydroNames } from './lib/schema.js'
import catchMiddlewareError from 'src/observability/middleware/catch-middleware-error'
import { noCacheControl } from 'src/frame/middleware/cache-control'
import { getJsonValidator } from 'src/tests/lib/validate-json-schema'
import catchMiddlewareError from '@/observability/middleware/catch-middleware-error'
import { noCacheControl } from '@/frame/middleware/cache-control'
import { getJsonValidator } from '@/tests/lib/validate-json-schema'
import { formatErrors } from './lib/middleware-errors.js'
import { publish as _publish } from './lib/hydro.js'
import { analyzeComment, getGuessedLanguage } from './lib/analyze-comment.js'

View File

@@ -1,6 +1,6 @@
import { describe, test } from 'vitest'
import { validateJson } from 'src/tests/lib/validate-json-schema.js'
import { validateJson } from '@/tests/lib/validate-json-schema.js'
import { formatErrors } from '../lib/middleware-errors.js'
import { schemas } from '../lib/schema.js'

View File

@@ -1,6 +1,6 @@
import { describe, expect, test, vi } from 'vitest'
import { post } from 'src/tests/helpers/e2etest.js'
import { post } from '@/tests/helpers/e2etest.js'
describe('POST /events', () => {
vi.setConfig({ testTimeout: 60 * 1000 })

View File

@@ -1,6 +1,6 @@
import { beforeAll, describe, expect, test } from 'vitest'
import { get } from '#src/tests/helpers/e2etest.js'
import { get } from '@/tests/helpers/e2etest.js'
const makeURL = (pathname: string) => `/api/article/body?${new URLSearchParams({ pathname })}`

View File

@@ -1,9 +1,9 @@
import { useEffect } from 'react'
import { useRouter } from 'next/router'
import { useLanguages } from 'src/languages/components/LanguagesContext'
import Cookies from 'src/frame/components/lib/cookies'
import { USER_LANGUAGE_COOKIE_NAME } from 'src/frame/lib/constants.js'
import { useLanguages } from '@/languages/components/LanguagesContext'
import Cookies from '@/frame/components/lib/cookies'
import { USER_LANGUAGE_COOKIE_NAME } from '@/frame/lib/constants.js'
export function ClientSideLanguageRedirect() {
const { locale, asPath, replace } = useRouter()

View File

@@ -1,19 +1,19 @@
import Head from 'next/head'
import { useRouter } from 'next/router'
import { SidebarNav } from 'src/frame/components/sidebar/SidebarNav'
import { Header } from 'src/frame/components/page-header/Header'
import { LegalFooter } from 'src/frame/components/page-footer/LegalFooter'
import { ScrollButton } from 'src/frame/components/ui/ScrollButton'
import { SupportSection } from 'src/frame/components/page-footer/SupportSection'
import { DeprecationBanner } from 'src/versions/components/DeprecationBanner'
import { RestBanner } from 'src/rest/components/RestBanner'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useTranslation } from 'src/languages/components/useTranslation'
import { Breadcrumbs } from 'src/frame/components/page-header/Breadcrumbs'
import { useLanguages } from 'src/languages/components/LanguagesContext'
import { SidebarNav } from '@/frame/components/sidebar/SidebarNav'
import { Header } from '@/frame/components/page-header/Header'
import { LegalFooter } from '@/frame/components/page-footer/LegalFooter'
import { ScrollButton } from '@/frame/components/ui/ScrollButton'
import { SupportSection } from '@/frame/components/page-footer/SupportSection'
import { DeprecationBanner } from '@/versions/components/DeprecationBanner'
import { RestBanner } from '@/rest/components/RestBanner'
import { useMainContext } from '@/frame/components/context/MainContext'
import { useTranslation } from '@/languages/components/useTranslation'
import { Breadcrumbs } from '@/frame/components/page-header/Breadcrumbs'
import { useLanguages } from '@/languages/components/LanguagesContext'
import { ClientSideLanguageRedirect } from './ClientSideLanguageRedirect'
import { DomainNameEditProvider } from 'src/links/components/useEditableDomainContext'
import { DomainNameEditProvider } from '@/links/components/useEditableDomainContext'
import { SearchOverlayContextProvider } from '@/search/components/context/SearchOverlayContext'
const MINIMAL_RENDER = Boolean(JSON.parse(process.env.MINIMAL_RENDER || 'false'))

View File

@@ -3,7 +3,7 @@ import Link from 'next/link'
import { useRouter } from 'next/router'
import { MarkGithubIcon, CommentDiscussionIcon } from '@primer/octicons-react'
import { Lead } from 'src/frame/components/ui/Lead'
import { Lead } from '@/frame/components/ui/Lead'
export function GenericError() {
return (

View File

@@ -2,7 +2,7 @@ import { useRouter } from 'next/router'
import NextLink from 'next/link'
import { ComponentProps } from 'react'
import { DEFAULT_VERSION, useVersion } from 'src/versions/components/useVersion'
import { DEFAULT_VERSION, useVersion } from '@/versions/components/useVersion'
const { NODE_ENV } = process.env

View File

@@ -3,27 +3,27 @@ import dynamic from 'next/dynamic'
import cx from 'classnames'
import { LinkExternalIcon } from '@primer/octicons-react'
import { DefaultLayout } from 'src/frame/components/DefaultLayout'
import { ArticleTitle } from 'src/frame/components/article/ArticleTitle'
import { useArticleContext } from 'src/frame/components/context/ArticleContext'
import { LearningTrackNav } from 'src/learning-track/components/article/LearningTrackNav'
import { MarkdownContent } from 'src/frame/components/ui/MarkdownContent'
import { Lead } from 'src/frame/components/ui/Lead'
import { PermissionsStatement } from 'src/frame/components/ui/PermissionsStatement'
import { DefaultLayout } from '@/frame/components/DefaultLayout'
import { ArticleTitle } from '@/frame/components/article/ArticleTitle'
import { useArticleContext } from '@/frame/components/context/ArticleContext'
import { LearningTrackNav } from '@/learning-track/components/article/LearningTrackNav'
import { MarkdownContent } from '@/frame/components/ui/MarkdownContent'
import { Lead } from '@/frame/components/ui/Lead'
import { PermissionsStatement } from '@/frame/components/ui/PermissionsStatement'
import { ArticleGridLayout } from './ArticleGridLayout'
import { ArticleInlineLayout } from './ArticleInlineLayout'
import { PlatformPicker } from 'src/tools/components/PlatformPicker'
import { ToolPicker } from 'src/tools/components/ToolPicker'
import { MiniTocs } from 'src/frame/components/ui/MiniTocs'
import { LearningTrackCard } from 'src/learning-track/components/article/LearningTrackCard'
import { RestRedirect } from 'src/rest/components/RestRedirect'
import { Breadcrumbs } from 'src/frame/components/page-header/Breadcrumbs'
import { Link } from 'src/frame/components/Link'
import { useTranslation } from 'src/languages/components/useTranslation'
import { LinkPreviewPopover } from 'src/links/components/LinkPreviewPopover'
import { ReplaceDomain } from 'src/links/components/replace-domain'
import { PlatformPicker } from '@/tools/components/PlatformPicker'
import { ToolPicker } from '@/tools/components/ToolPicker'
import { MiniTocs } from '@/frame/components/ui/MiniTocs'
import { LearningTrackCard } from '@/learning-track/components/article/LearningTrackCard'
import { RestRedirect } from '@/rest/components/RestRedirect'
import { Breadcrumbs } from '@/frame/components/page-header/Breadcrumbs'
import { Link } from '@/frame/components/Link'
import { useTranslation } from '@/languages/components/useTranslation'
import { LinkPreviewPopover } from '@/links/components/LinkPreviewPopover'
import { ReplaceDomain } from '@/links/components/replace-domain'
const ClientSideRefresh = dynamic(() => import('src/frame/components/ClientSideRefresh'), {
const ClientSideRefresh = dynamic(() => import('@/frame/components/ClientSideRefresh'), {
ssr: false,
})
const isDev = process.env.NODE_ENV === 'development'

View File

@@ -1,4 +1,4 @@
import { SupportPortalVaIframeProps } from 'src/frame/components/article/SupportPortalVaIframe'
import { SupportPortalVaIframeProps } from '@/frame/components/article/SupportPortalVaIframe'
import { createContext, useContext } from 'react'
export type LearningTrack = {

View File

@@ -1,11 +1,8 @@
import pick from 'lodash/pick'
import { createContext, useContext } from 'react'
import { LearningTrack } from './ArticleContext'
import {
FeaturedLink,
getFeaturedLinksFromReq,
} from 'src/landings/components/ProductLandingContext'
import { TocItem } from '#src/landings/types.ts'
import { FeaturedLink, getFeaturedLinksFromReq } from '@/landings/components/ProductLandingContext'
import { TocItem } from '@/landings/types'
export type CategoryLandingContextT = {
title: string

View File

@@ -1,8 +1,8 @@
import { createContext, useContext } from 'react'
import pick from 'lodash/pick'
import type { BreadcrumbT } from 'src/frame/components/page-header/Breadcrumbs'
import type { FeatureFlags } from 'src/frame/components/hooks/useFeatureFlags'
import type { BreadcrumbT } from '@/frame/components/page-header/Breadcrumbs'
import type { FeatureFlags } from '@/frame/components/hooks/useFeatureFlags'
export type ProductT = {
external: boolean

View File

@@ -1,10 +1,7 @@
import pick from 'lodash/pick'
import { createContext, useContext } from 'react'
import { LearningTrack } from './ArticleContext'
import {
FeaturedLink,
getFeaturedLinksFromReq,
} from 'src/landings/components/ProductLandingContext'
import { FeaturedLink, getFeaturedLinksFromReq } from '@/landings/components/ProductLandingContext'
export type TocItem = {
fullPath: string

View File

@@ -1,4 +1,4 @@
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useMainContext } from '@/frame/components/context/MainContext'
export type FeatureFlags = {}

View File

@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react'
import Cookies from 'src/frame/components/lib/cookies'
import Cookies from '@/frame/components/lib/cookies'
// Measure if the user has a github.com account and signed in during this session.
// The github.com sends the color_mode cookie every request when you sign in,

View File

@@ -1,6 +1,6 @@
import Cookies from 'src/frame/components/lib/cookies'
import { sendEvent } from 'src/events/components/events'
import { EventType } from 'src/events/types'
import Cookies from '@/frame/components/lib/cookies'
import { sendEvent } from '@/events/components/events'
import { EventType } from '@/events/types'
enum annotationMode {
Beside = 'beside',

View File

@@ -1,7 +1,7 @@
import { GitPullRequestIcon } from '@primer/octicons-react'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useMainContext } from '@/frame/components/context/MainContext'
import { useTranslation } from '@/languages/components/useTranslation'
export const Contribution = () => {
const { relativePath } = useMainContext()

View File

@@ -2,7 +2,7 @@ import Link from 'next/link'
import { useRouter } from 'next/router'
import { LinkExternalIcon } from '@primer/octicons-react'
import cx from 'classnames'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
export const LegalFooter = () => {
const router = useRouter()

View File

@@ -1,7 +1,7 @@
import { PeopleIcon, CommentDiscussionIcon } from '@primer/octicons-react'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useTranslation } from '@/languages/components/useTranslation'
import { useMainContext } from '@/frame/components/context/MainContext'
export const Support = () => {
const { t } = useTranslation('support')

View File

@@ -1,12 +1,12 @@
import cx from 'classnames'
import { Survey } from 'src/events/components/Survey'
import { Contribution } from 'src/frame/components/page-footer/Contribution'
import { Support } from 'src/frame/components/page-footer/Support'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useVersion } from 'src/versions/components/useVersion'
import { Survey } from '@/events/components/Survey'
import { Contribution } from '@/frame/components/page-footer/Contribution'
import { Support } from '@/frame/components/page-footer/Support'
import { useMainContext } from '@/frame/components/context/MainContext'
import { useVersion } from '@/versions/components/useVersion'
import { useRouter } from 'next/router'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { AISearchCTAPopup } from '@/search/components/input/AISearchCTAPopup'
import { useSearchOverlayContext } from '@/search/components/context/SearchOverlayContext'
import { EXPERIMENTS } from '@/events/components/experiments/experiments'

View File

@@ -1,7 +1,7 @@
import cx from 'classnames'
import { useMainContext } from '../context/MainContext'
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import styles from './Breadcrumbs.module.scss'

View File

@@ -4,16 +4,16 @@ import { useRouter } from 'next/router'
import { Dialog, IconButton } from '@primer/react'
import { MarkGithubIcon, ThreeBarsIcon } from '@primer/octicons-react'
import { DEFAULT_VERSION, useVersion } from 'src/versions/components/useVersion'
import { Link } from 'src/frame/components/Link'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { HeaderNotifications } from 'src/frame/components/page-header/HeaderNotifications'
import { ApiVersionPicker } from 'src/rest/components/ApiVersionPicker'
import { useTranslation } from 'src/languages/components/useTranslation'
import { Breadcrumbs } from 'src/frame/components/page-header/Breadcrumbs'
import { VersionPicker } from 'src/versions/components/VersionPicker'
import { SidebarNav } from 'src/frame/components/sidebar/SidebarNav'
import { AllProductsLink } from 'src/frame/components/sidebar/AllProductsLink'
import { DEFAULT_VERSION, useVersion } from '@/versions/components/useVersion'
import { Link } from '@/frame/components/Link'
import { useMainContext } from '@/frame/components/context/MainContext'
import { HeaderNotifications } from '@/frame/components/page-header/HeaderNotifications'
import { ApiVersionPicker } from '@/rest/components/ApiVersionPicker'
import { useTranslation } from '@/languages/components/useTranslation'
import { Breadcrumbs } from '@/frame/components/page-header/Breadcrumbs'
import { VersionPicker } from '@/versions/components/VersionPicker'
import { SidebarNav } from '@/frame/components/sidebar/SidebarNav'
import { AllProductsLink } from '@/frame/components/sidebar/AllProductsLink'
import { SearchBarButton } from '@/search/components/input/SearchBarButton'
import { OldHeaderSearchAndWidgets } from './OldHeaderSearchAndWidgets'
import { HeaderSearchAndWidgets } from './HeaderSearchAndWidgets'

View File

@@ -3,14 +3,14 @@ import { useRouter } from 'next/router'
import cx from 'classnames'
import { XIcon } from '@primer/octicons-react'
import { useLanguages } from 'src/languages/components/LanguagesContext'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { useTranslation } from 'src/languages/components/useTranslation'
import { ExcludesNull } from 'src/frame/components/lib/ExcludesNull'
import { useVersion } from 'src/versions/components/useVersion'
import { useUserLanguage } from 'src/languages/components/useUserLanguage'
import { useLanguages } from '@/languages/components/LanguagesContext'
import { useMainContext } from '@/frame/components/context/MainContext'
import { useTranslation } from '@/languages/components/useTranslation'
import { ExcludesNull } from '@/frame/components/lib/ExcludesNull'
import { useVersion } from '@/versions/components/useVersion'
import { useUserLanguage } from '@/languages/components/useUserLanguage'
import styles from './HeaderNotifications.module.scss'
import { useSharedUIContext } from 'src/frame/components/context/SharedUIContext'
import { useSharedUIContext } from '@/frame/components/context/SharedUIContext'
enum NotificationType {
RELEASE = 'RELEASE',

View File

@@ -1,8 +1,8 @@
import { useRouter } from 'next/router'
import { ArrowLeftIcon } from '@primer/octicons-react'
import { DEFAULT_VERSION, useVersion } from 'src/versions/components/useVersion'
import { Link } from 'src/frame/components/Link'
import { useTranslation } from 'src/languages/components/useTranslation'
import { DEFAULT_VERSION, useVersion } from '@/versions/components/useVersion'
import { Link } from '@/frame/components/Link'
import { useTranslation } from '@/languages/components/useTranslation'
export const AllProductsLink = () => {
const router = useRouter()

View File

@@ -1,12 +1,12 @@
import cx from 'classnames'
import { useRouter } from 'next/router'
import { useMainContext } from 'src/frame/components/context/MainContext'
import { SidebarProduct } from 'src/landings/components/SidebarProduct'
import { SidebarSearchAggregates } from 'src/search/components/results/SidebarSearchAggregates'
import { useMainContext } from '@/frame/components/context/MainContext'
import { SidebarProduct } from '@/landings/components/SidebarProduct'
import { SidebarSearchAggregates } from '@/search/components/results/SidebarSearchAggregates'
import { AllProductsLink } from './AllProductsLink'
import { ApiVersionPicker } from 'src/rest/components/ApiVersionPicker'
import { Link } from 'src/frame/components/Link'
import { ApiVersionPicker } from '@/rest/components/ApiVersionPicker'
import { Link } from '@/frame/components/Link'
type Props = {
variant?: 'full' | 'overlay'

View File

@@ -2,7 +2,7 @@ import { createElement, ReactNode } from 'react'
import cx from 'classnames'
import styles from './Alert.module.scss'
import { InfoIcon, ReportIcon, AlertIcon, LightBulbIcon, StopIcon } from '@primer/octicons-react'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
const alertTypes = {
NOTE: { icon: InfoIcon, color: 'accent' },

View File

@@ -2,8 +2,8 @@ import { Heading, NavList } from '@primer/react'
import { useEffect, useState } from 'react'
import cx from 'classnames'
import type { MiniTocItem } from 'src/frame/components/context/ArticleContext'
import { useTranslation } from 'src/languages/components/useTranslation'
import type { MiniTocItem } from '@/frame/components/context/ArticleContext'
import { useTranslation } from '@/languages/components/useTranslation'
import styles from './Minitocs.module.scss'

View File

@@ -1,7 +1,7 @@
import { Box } from '@primer/react'
import { PersonIcon, BriefcaseIcon } from '@primer/octicons-react'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
type Props = {
product?: string

View File

@@ -1,6 +1,6 @@
import statsd from '#src/observability/lib/statsd.js'
import statsd from '@/observability/lib/statsd.js'
import { loadUnversionedTree, loadSiteTree, loadPages, loadPageMap } from './page-data.js'
import loadRedirects from '#src/redirects/lib/precompile.js'
import loadRedirects from '@/redirects/lib/precompile.js'
// Instrument these functions so that
// it's wrapped in a timer that reports to Datadog

View File

@@ -1,6 +1,6 @@
import type { NextFunction, Response } from 'express'
import statsd from '#src/observability/lib/statsd.js'
import statsd from '@/observability/lib/statsd.js'
import { ExtendedRequest } from '@/types'
class AbortError extends Error {

View File

@@ -5,19 +5,19 @@ import Head from 'next/head'
import { ThemeProvider } from '@primer/react'
import { useRouter } from 'next/router'
import { initializeEvents } from 'src/events/components/events'
import { initializeEvents } from '@/events/components/events'
import {
initializeExperiments,
initializeForwardFeatureUrlParam,
} from 'src/events/components/experiments/experiment'
} from '@/events/components/experiments/experiment'
import {
LanguagesContext,
LanguagesContextT,
LanguageItem,
} from 'src/languages/components/LanguagesContext'
import { useTheme } from 'src/color-schemes/components/useTheme'
import { SharedUIContextProvider } from 'src/frame/components/context/SharedUIContext'
import { CTAPopoverProvider } from 'src/frame/components/context/CTAContext'
} from '@/languages/components/LanguagesContext'
import { useTheme } from '@/color-schemes/components/useTheme'
import { SharedUIContextProvider } from '@/frame/components/context/SharedUIContext'
import { CTAPopoverProvider } from '@/frame/components/context/CTAContext'
type MyAppProps = AppProps & {
isDotComAuthenticated: boolean

View File

@@ -4,9 +4,9 @@ import { Liquid } from 'liquidjs'
import walk from 'walk-sync'
import matter from 'gray-matter'
import { latest, oldestSupported } from '#src/versions/lib/enterprise-server-releases.js'
import { getContents } from '#src/workflows/git-utils.ts'
import github from '#src/workflows/github.ts'
import { latest, oldestSupported } from '@/versions/lib/enterprise-server-releases.js'
import { getContents } from '@/workflows/git-utils'
import github from '@/workflows/github'
interface ReleaseDates {
[releaseNumber: string]: {

View File

@@ -14,10 +14,10 @@ import { rimraf } from 'rimraf'
import http from 'http'
import createApp from '@/frame/lib/app'
import EnterpriseServerReleases from '#src/versions/lib/enterprise-server-releases.js'
import loadRedirects from '#src/redirects/lib/precompile.js'
import { loadPageMap, loadPages } from '#src/frame/lib/page-data.js'
import { languageKeys } from '#src/languages/lib/languages.js'
import EnterpriseServerReleases from '@/versions/lib/enterprise-server-releases.js'
import loadRedirects from '@/redirects/lib/precompile.js'
import { loadPageMap, loadPages } from '@/frame/lib/page-data.js'
import { languageKeys } from '@/languages/lib/languages.js'
import { RewriteAssetPathsPlugin } from '@/ghes-releases/scripts/deprecate/rewrite-asset-paths'
const port = '4001'

View File

@@ -15,7 +15,7 @@ import { rimrafSync } from 'rimraf'
import { difference, intersection } from 'lodash-es'
import { mkdirp } from 'mkdirp'
import { deprecated, supported } from '#src/versions/lib/enterprise-server-releases.js'
import { deprecated, supported } from '@/versions/lib/enterprise-server-releases.js'
const [currentReleaseNumber, previousReleaseNumber] = supported
const pipelines = JSON.parse(await readFile('src/automated-pipelines/lib/config.json', 'utf-8'))[
@@ -55,7 +55,7 @@ export async function updateAutomatedPipelines() {
// src/rest/lib/config.json file. We want to update 'api-versions'
// before the allVersions object is created so we need to import it
// after calling updateAutomatedConfigFiles.
const { allVersions } = await import('#src/versions/lib/all-versions.js')
const { allVersions } = await import('@/versions/lib/all-versions.js')
// Gets all of the base names (e.g., ghes-) in the allVersions object
// Currently, this is only ghes- but if we had more than one type of

View File

@@ -3,10 +3,10 @@ import path from 'path'
import yaml from 'js-yaml'
import walkFiles from 'walk-sync'
import frontmatter from '#src/frame/lib/read-frontmatter.js'
import { supported, deprecated } from '#src/versions/lib/enterprise-server-releases.js'
import frontmatter from '@/frame/lib/read-frontmatter.js'
import { supported, deprecated } from '@/versions/lib/enterprise-server-releases.js'
import { isInAllGhes } from '../version-utils'
import { Versions } from '#src/types.js'
import { Versions } from '@/types.js'
type featureDataType = Versions | undefined

View File

@@ -4,7 +4,7 @@ import walkFiles from 'walk-sync'
import yaml from 'js-yaml'
import { isInAllGhes, isFeatureDeprecated } from '../version-utils'
import type { MarkdownFrontmatter } from '#src/types.ts'
import type { MarkdownFrontmatter } from '@/types.ts'
const contentFiles = walkFiles('content', {
includeBasePath: true,

View File

@@ -7,7 +7,7 @@
import fs from 'fs/promises'
import { program } from 'commander'
import { allVersions } from '#src/versions/lib/all-versions.js'
import { allVersions } from '@/versions/lib/all-versions.js'
const releaseCandidateJSFile = 'src/versions/lib/enterprise-server-releases.js'
const allowedActions = ['create', 'remove'] as const

View File

@@ -9,7 +9,7 @@ import { fileURLToPath } from 'url'
import path from 'path'
import fs from 'fs/promises'
import { getContents } from '#src/workflows/git-utils.ts'
import { getContents } from '@/workflows/git-utils'
interface EnterpriseDates {
[releaseNumber: string]: {

View File

@@ -1,8 +1,8 @@
import semver from 'semver'
import { supported } from '#src/versions/lib/enterprise-server-releases.js'
import getDataDirectory from '#src/data-directory/lib/data-directory.js'
import { FeatureData, FrontmatterVersions } from '#src/types.js'
import { supported } from '@/versions/lib/enterprise-server-releases.js'
import getDataDirectory from '@/data-directory/lib/data-directory.js'
import { FeatureData, FrontmatterVersions } from '@/types.js'
// Return true if lowestSupportedVersion > semVerRange
export function isGhesReleaseDeprecated(lowestSupportedVersion: string, semVerRange: string) {

View File

@@ -2,15 +2,15 @@ import { Fragment } from 'react'
import { useRouter } from 'next/router'
import { slug as githubSlug } from 'github-slugger'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { Link } from 'src/frame/components/Link'
import { MainContext, MainContextT } from 'src/frame/components/context/MainContext'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { Link } from '@/frame/components/Link'
import { MainContext, MainContextT } from '@/frame/components/context/MainContext'
import {
AutomatedPageContext,
AutomatedPageContextT,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
import { RestRedirect } from 'src/rest/components/RestRedirect'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import { RestRedirect } from '@/rest/components/RestRedirect'
type EnabledOperationT = {
slug: string

View File

@@ -3,18 +3,18 @@ import cx from 'classnames'
import { slug as githubSlug } from 'github-slugger'
import { CheckIcon, XIcon } from '@primer/octicons-react'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { useTranslation } from 'src/languages/components/useTranslation'
import { Link } from 'src/frame/components/Link'
import { MainContextT } from 'src/frame/components/context/MainContext'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { useTranslation } from '@/languages/components/useTranslation'
import { Link } from '@/frame/components/Link'
import { MainContextT } from '@/frame/components/context/MainContext'
import {
AutomatedPageContext,
AutomatedPageContextT,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
import { RestRedirect } from 'src/rest/components/RestRedirect'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import { RestRedirect } from '@/rest/components/RestRedirect'
import styles from 'src/github-apps/components/PermissionTable.module.scss'
import styles from '@/github-apps/components/PermissionTable.module.scss'
const IAT_DOCS_REF =
'/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation'
const UAT_DOCS_REF =

View File

@@ -3,10 +3,10 @@ import { GetServerSideProps } from 'next'
import {
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from 'src/frame/components/context/MainContext'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from '@/frame/components/context/MainContext'
import { EnabledList, EnabledListT } from 'src/github-apps/components/EnabledList'
import { EnabledList, EnabledListT } from '@/github-apps/components/EnabledList'
type Props = {
mainContext: MainContextT
@@ -35,7 +35,7 @@ export default function FineGrainedTokenEndpoints({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAppsServerSideProps } = await import('src/github-apps/lib/index.js')
const { getAppsServerSideProps } = await import('@/github-apps/lib/index.js')
const { currentVersion, appsItems, categoriesWithoutSubcategories } =
await getAppsServerSideProps(context, 'fine-grained-pat', { useDisplayTitle: false })

View File

@@ -3,10 +3,10 @@ import { GetServerSideProps } from 'next'
import {
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from 'src/frame/components/context/MainContext'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from '@/frame/components/context/MainContext'
import { EnabledList, EnabledListT } from 'src/github-apps/components/EnabledList'
import { EnabledList, EnabledListT } from '@/github-apps/components/EnabledList'
type Props = {
mainContext: MainContextT
@@ -35,7 +35,7 @@ export default function GitHubAppEndpoints({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAppsServerSideProps } = await import('src/github-apps/lib/index.js')
const { getAppsServerSideProps } = await import('@/github-apps/lib/index.js')
const { currentVersion, appsItems, categoriesWithoutSubcategories } =
await getAppsServerSideProps(context, 'server-to-server-rest', { useDisplayTitle: false })

View File

@@ -3,10 +3,10 @@ import { GetServerSideProps } from 'next'
import {
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from 'src/frame/components/context/MainContext'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { MainContextT, getMainContext } from '@/frame/components/context/MainContext'
import { EnabledList, EnabledListT } from 'src/github-apps/components/EnabledList'
import { EnabledList, EnabledListT } from '@/github-apps/components/EnabledList'
type Props = {
mainContext: MainContextT
@@ -35,7 +35,7 @@ export default function UserGitHubAppEndpoints({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAppsServerSideProps } = await import('src/github-apps/lib/index.js')
const { getAppsServerSideProps } = await import('@/github-apps/lib/index.js')
const { currentVersion, appsItems, categoriesWithoutSubcategories } =
await getAppsServerSideProps(context, 'user-to-server-rest', { useDisplayTitle: false })

View File

@@ -3,9 +3,9 @@ import { GetServerSideProps } from 'next'
import {
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { MainContext, MainContextT, getMainContext } from 'src/frame/components/context/MainContext'
import { PermissionsList, PermissionListT } from 'src/github-apps/components/PermissionsList'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { MainContext, MainContextT, getMainContext } from '@/frame/components/context/MainContext'
import { PermissionsList, PermissionListT } from '@/github-apps/components/PermissionsList'
type Props = {
mainContext: MainContextT
@@ -36,7 +36,7 @@ export default function FineGrainedPatPermissions({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAppsServerSideProps } = await import('src/github-apps/lib/index.js')
const { getAppsServerSideProps } = await import('@/github-apps/lib/index.js')
const { currentVersion, appsItems, categoriesWithoutSubcategories } =
await getAppsServerSideProps(context, 'fine-grained-pat-permissions', { useDisplayTitle: true })

View File

@@ -2,9 +2,9 @@ import { GetServerSideProps } from 'next'
import {
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { MainContext, MainContextT, getMainContext } from 'src/frame/components/context/MainContext'
import { PermissionsList, PermissionListT } from 'src/github-apps/components/PermissionsList'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { MainContext, MainContextT, getMainContext } from '@/frame/components/context/MainContext'
import { PermissionsList, PermissionListT } from '@/github-apps/components/PermissionsList'
type Props = {
mainContext: MainContextT
@@ -36,7 +36,7 @@ export default function GitHubAppPermissions({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getAppsServerSideProps } = await import('src/github-apps/lib/index.js')
const { getAppsServerSideProps } = await import('@/github-apps/lib/index.js')
const { currentVersion, appsItems, categoriesWithoutSubcategories } =
await getAppsServerSideProps(context, 'server-to-server-permissions', { useDisplayTitle: true })

View File

@@ -1,9 +1,9 @@
import React from 'react'
import cx from 'classnames'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { BreakingChangesT } from './types'
import styles from 'src/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
import styles from '@/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
export type HeadingT = {
title: string

View File

@@ -1,9 +1,9 @@
import React from 'react'
import cx from 'classnames'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { ChangelogItemT } from './types'
import styles from 'src/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
import styles from '@/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
type Props = {
changelogItems: ChangelogItemT[]

View File

@@ -1,6 +1,6 @@
import React from 'react'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { GraphqlItem } from './GraphqlItem'
import type { EnumT } from './types'

View File

@@ -1,4 +1,4 @@
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import type { GraphqlT } from './types'
import { Notice } from './Notice'

View File

@@ -19,7 +19,7 @@ import type {
ScalarT,
UnionT,
} from './types'
import styles from 'src/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
import styles from '@/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
type Props = {
schema: Object

View File

@@ -1,6 +1,6 @@
import { GraphqlItem } from './GraphqlItem'
import { Table } from './Table'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import type { InputObjectT } from './types'
type Props = {

View File

@@ -1,7 +1,7 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { GraphqlItem } from './GraphqlItem'
import { Table } from './Table'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import type { ObjectT, InterfaceT } from './types'
type Props = {

View File

@@ -1,7 +1,7 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { GraphqlItem } from './GraphqlItem'
import { Notice } from './Notice'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { Table } from './Table'
import type { MutationT } from './types'
import React from 'react'

View File

@@ -1,6 +1,6 @@
import { Link } from 'src/frame/components/Link'
import { Alert } from 'src/frame/components/ui/Alert'
import { useTranslation } from 'src/languages/components/useTranslation'
import { Link } from '@/frame/components/Link'
import { Alert } from '@/frame/components/ui/Alert'
import { useTranslation } from '@/languages/components/useTranslation'
import type { GraphqlT } from './types'
type Props = {

View File

@@ -1,7 +1,7 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { GraphqlItem } from './GraphqlItem'
import { Table } from './Table'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import type { ObjectT, ImplementsT } from './types'
type Props = {

View File

@@ -2,10 +2,10 @@ import React from 'react'
import GithubSlugger from 'github-slugger'
import cx from 'classnames'
import { HeadingLink } from 'src/frame/components/article/HeadingLink'
import { useTranslation } from 'src/languages/components/useTranslation'
import { HeadingLink } from '@/frame/components/article/HeadingLink'
import { useTranslation } from '@/languages/components/useTranslation'
import { PreviewT } from './types'
import styles from 'src/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
import styles from '@/frame/components/ui/MarkdownContent/MarkdownContent.module.scss'
type Props = {
schema: PreviewT[]

View File

@@ -1,7 +1,7 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { GraphqlItem } from './GraphqlItem'
import { Table } from './Table'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import type { QueryT } from './types'
type Props = {

View File

@@ -1,6 +1,6 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { Notice } from './Notice'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import { FieldT } from './types'
type Props = {

View File

@@ -1,6 +1,6 @@
import { Link } from 'src/frame/components/Link'
import { Link } from '@/frame/components/Link'
import { GraphqlItem } from './GraphqlItem'
import { useTranslation } from 'src/languages/components/useTranslation'
import { useTranslation } from '@/languages/components/useTranslation'
import type { UnionT } from './types'
type Props = {

View File

@@ -1,16 +1,16 @@
import { GetServerSideProps } from 'next'
import GithubSlugger from 'github-slugger'
import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
import { MainContextT, MainContext, getMainContext } from '@/frame/components/context/MainContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import {
AutomatedPageContext,
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import type { HeadingT } from 'src/graphql/components/BreakingChanges'
import { BreakingChanges } from 'src/graphql/components/BreakingChanges'
import { BreakingChangesT } from 'src/graphql/components/types'
} from '@/automated-pipelines/components/AutomatedPageContext'
import type { HeadingT } from '@/graphql/components/BreakingChanges'
import { BreakingChanges } from '@/graphql/components/BreakingChanges'
import { BreakingChangesT } from '@/graphql/components/types'
type Props = {
mainContext: MainContextT
@@ -37,8 +37,8 @@ export default function GraphqlBreakingChanges({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getGraphqlBreakingChanges } = await import('src/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('src/frame/lib/get-mini-toc-items.js')
const { getGraphqlBreakingChanges } = await import('@/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('@/frame/lib/get-mini-toc-items.js')
const req = context.req as any
const res = context.res as any

View File

@@ -1,14 +1,14 @@
import { GetServerSideProps } from 'next'
import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
import { MainContextT, MainContext, getMainContext } from '@/frame/components/context/MainContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import {
AutomatedPageContext,
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { Changelog } from 'src/graphql/components/Changelog'
import { ChangelogItemT } from 'src/graphql/components/types'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { Changelog } from '@/graphql/components/Changelog'
import { ChangelogItemT } from '@/graphql/components/types'
type Props = {
mainContext: MainContextT
@@ -28,8 +28,8 @@ export default function GraphqlChangelog({ mainContext, schema, automatedPageCon
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getGraphqlChangelog } = await import('src/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('src/frame/lib/get-mini-toc-items.js')
const { getGraphqlChangelog } = await import('@/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('@/frame/lib/get-mini-toc-items.js')
const req = context.req as any
const res = context.res as any

View File

@@ -1,12 +1,12 @@
import { GetServerSideProps } from 'next'
import { MainContextT, MainContext, getMainContext } from 'src/frame/components/context/MainContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
import { MainContextT, MainContext, getMainContext } from '@/frame/components/context/MainContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import {
AutomatedPageContext,
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { useEffect, useRef } from 'react'
type Props = {

View File

@@ -1,19 +1,19 @@
import { GetServerSideProps } from 'next'
import { GraphqlPage } from 'src/graphql/components/GraphqlPage'
import { GraphqlPage } from '@/graphql/components/GraphqlPage'
import {
MainContextT,
MainContext,
getMainContext,
addUINamespaces,
} from 'src/frame/components/context/MainContext'
import type { ObjectT, GraphqlT } from 'src/graphql/components/types'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
} from '@/frame/components/context/MainContext'
import type { ObjectT, GraphqlT } from '@/graphql/components/types'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import {
AutomatedPageContext,
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
} from '@/automated-pipelines/components/AutomatedPageContext'
type Props = {
mainContext: MainContextT
@@ -44,7 +44,7 @@ export default function GraphqlReferencePage({
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getGraphqlSchema, getMiniToc } = await import('src/graphql/lib/index.js')
const { getGraphqlSchema, getMiniToc } = await import('@/graphql/lib/index.js')
const req = context.req as any
const res = context.res as any

View File

@@ -5,15 +5,15 @@ import {
MainContext,
getMainContext,
addUINamespaces,
} from 'src/frame/components/context/MainContext'
import { AutomatedPage } from 'src/automated-pipelines/components/AutomatedPage'
} from '@/frame/components/context/MainContext'
import { AutomatedPage } from '@/automated-pipelines/components/AutomatedPage'
import {
AutomatedPageContext,
AutomatedPageContextT,
getAutomatedPageContextFromRequest,
} from 'src/automated-pipelines/components/AutomatedPageContext'
import { Previews } from 'src/graphql/components/Previews'
import { PreviewT } from 'src/graphql/components/types'
} from '@/automated-pipelines/components/AutomatedPageContext'
import { Previews } from '@/graphql/components/Previews'
import { PreviewT } from '@/graphql/components/types'
type Props = {
mainContext: MainContextT
@@ -33,8 +33,8 @@ export default function GraphqlPreviews({ mainContext, schema, automatedPageCont
}
export const getServerSideProps: GetServerSideProps<Props> = async (context) => {
const { getPreviews } = await import('src/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('src/frame/lib/get-mini-toc-items.js')
const { getPreviews } = await import('@/graphql/lib/index.js')
const { getAutomatedPageMiniTocItems } = await import('@/frame/lib/get-mini-toc-items.js')
const req = context.req as any
const res = context.res as any

View File

@@ -1,7 +1,7 @@
import { Label } from '@primer/react'
import { ArticleGuide } from 'src/landings/components/ProductGuidesContext'
import { Link } from 'src/frame/components/Link'
import { ArticleGuide } from '@/landings/components/ProductGuidesContext'
import { Link } from '@/frame/components/Link'
type Props = {
card: ArticleGuide

Some files were not shown because too many files have changed in this diff Show More