chore(repo): use nx-cloud conformance (#29062)

This commit is contained in:
James Henry 2024-11-26 03:00:57 +04:00 committed by GitHub
parent cbc19c54ae
commit 8b3f9d883a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 820 additions and 301 deletions

View File

@ -114,6 +114,12 @@ jobs:
pnpm nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD &
pids+=($!)
pnpm nx-cloud record -- nx sync:check
pids+=($!)
pnpm nx-cloud record -- nx-cloud conformance:check
pids+=($!)
pnpm nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte &
pids+=($!)

View File

@ -79,8 +79,9 @@
"@nx/js": "20.2.0-beta.3",
"@nx/next": "20.2.0-beta.3",
"@nx/playwright": "20.2.0-beta.3",
"@nx/powerpack-enterprise-cloud": "1.1.0-beta.4",
"@nx/powerpack-license": "1.1.0-beta.4",
"@nx/powerpack-conformance": "1.1.0-beta.5",
"@nx/powerpack-enterprise-cloud": "1.1.0-beta.5",
"@nx/powerpack-license": "1.1.0-beta.5",
"@nx/react": "20.2.0-beta.3",
"@nx/storybook": "20.2.0-beta.3",
"@nx/vite": "20.2.0-beta.3",

View File

@ -130,7 +130,9 @@
"@nx/nx-linux-arm-gnueabihf",
"@nx/nx-win32-arm64-msvc",
"@nx/nx-freebsd-x64",
"@nx/powerpack-license"
"@nx/powerpack-license",
// Powerpack plugin conditionally available dynamically at runtime
"@nx/powerpack-conformance"
]
}
]

1098
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,13 @@ const importFresh = require('import-fresh');
const sharedCommands = ['generate', 'exec'];
// These commands are hidden from the documentation.
const hiddenCommands = ['$0'];
const hiddenCommands = [
'$0',
// These commands are only applicable to powerpack users
// TODO: Introduce custom formatting for such commands, instead of hiding them
'conformance',
'conformance:check',
];
export async function generateCliDocumentation(
commandsOutputDirectory: string