зеркало из https://github.com/github/docs.git
Bump prettier from 2.7.1 to 3.0.0 (#38873)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
Родитель
011819cda9
Коммит
851d40ed03
|
@ -187,9 +187,9 @@ export function generateUpdateProjectV2ItemFieldMutation({
|
|||
// (statistically, this should still give us a unique mutation ID)
|
||||
return `
|
||||
set_${fieldID.slice(1)}_item_${item.replaceAll(
|
||||
/[^a-z0-9]/g,
|
||||
''
|
||||
)}: updateProjectV2ItemFieldValue(input: {
|
||||
/[^a-z0-9]/g,
|
||||
''
|
||||
)}: updateProjectV2ItemFieldValue(input: {
|
||||
projectId: $project
|
||||
itemId: "${item}"
|
||||
fieldId: ${fieldID}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"printWidth": 100,
|
||||
"arrowParens": "always"
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
"npm-merge-driver-install": "^3.0.0",
|
||||
"nth-check": "2.1.1",
|
||||
"postcss": "^8.4.14",
|
||||
"prettier": "^2.7.0",
|
||||
"prettier": "^3.0.0",
|
||||
"rimraf": "^5.0.0",
|
||||
"robots-parser": "^3.0.0",
|
||||
"sass": "^1.52.3",
|
||||
|
@ -16542,14 +16542,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "2.7.1",
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz",
|
||||
"integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"prettier": "bin-prettier.js"
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
"npm-merge-driver-install": "^3.0.0",
|
||||
"nth-check": "2.1.1",
|
||||
"postcss": "^8.4.14",
|
||||
"prettier": "^2.7.0",
|
||||
"prettier": "^3.0.0",
|
||||
"rimraf": "^5.0.0",
|
||||
"robots-parser": "^3.0.0",
|
||||
"sass": "^1.52.3",
|
||||
|
|
|
@ -482,8 +482,8 @@ describe('lint markdown content', () => {
|
|||
const placeholderStr = matches.length === 1 ? 'placeholder' : 'placeholders'
|
||||
const errorMessage = `
|
||||
Found ${matches.length} ${placeholderStr} '${matches.join(
|
||||
', '
|
||||
)}' in this file! Please update all placeholders.
|
||||
', '
|
||||
)}' in this file! Please update all placeholders.
|
||||
`
|
||||
expect(matches.length, errorMessage).toBe(0)
|
||||
})
|
||||
|
|
|
@ -44,9 +44,9 @@ export const LearningTrack = ({ track }: Props) => {
|
|||
<Link
|
||||
{...{ 'aria-label': `${track?.title} - ${t('start_path')}` }}
|
||||
className="d-inline-flex btn no-wrap mt-3 mt-md-0 flex-items-center flex-justify-center"
|
||||
href={`${track?.guides && track?.guides[0].href}?learn=${
|
||||
track?.trackName
|
||||
}&learnProduct=${track?.trackProduct}`}
|
||||
href={`${
|
||||
track?.guides && track?.guides[0].href
|
||||
}?learn=${track?.trackName}&learnProduct=${track?.trackProduct}`}
|
||||
>
|
||||
<span>{t('start_path')}</span>
|
||||
<ArrowRightIcon size={20} className="ml-2" />
|
||||
|
|
|
@ -100,8 +100,8 @@ describe('pages module', () => {
|
|||
|
||||
const message = `
|
||||
Found ${nonMatches.length} ${
|
||||
nonMatches.length === 1 ? 'file' : 'files'
|
||||
} that do not match their slugified titles.\n
|
||||
nonMatches.length === 1 ? 'file' : 'files'
|
||||
} that do not match their slugified titles.\n
|
||||
${nonMatches.join('\n')}\n
|
||||
To fix, run script/reconcile-filenames-with-ids.js\n\n`
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче