|
|
@@ -290,6 +290,15 @@ export function gatesForMode(selected: Mode): Gate[] {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+function clientStaticGates(): Gate[] {
|
|
|
+ return [
|
|
|
+ pnpmScript('client-packages', 'verify-client-packages', { label: 'client packages' }),
|
|
|
+ pnpmScript('client-ui-i18n', 'verify-client-ui-i18n', { label: 'client UI i18n' }),
|
|
|
+ pnpmScript('host-command-descriptions', 'verify-host-command-descriptions', { label: 'Host command descriptions' }),
|
|
|
+ pnpmScript('no-bare-dispatcher', 'verify-no-bare-dispatcher', { label: 'proxy-aware dispatchers' }),
|
|
|
+ ]
|
|
|
+}
|
|
|
+
|
|
|
function ciSharedStaticGates(): Gate[] {
|
|
|
return [
|
|
|
pnpmScript('runtime-closure', 'verify-runtime-closure', { label: 'runtime closure' }),
|
|
|
@@ -302,10 +311,7 @@ function ciSharedStaticGates(): Gate[] {
|
|
|
pnpmScript('optional-dependency-imports', 'verify-optional-dependency-imports', {
|
|
|
label: 'optional dependency imports',
|
|
|
}),
|
|
|
- pnpmScript('client-packages', 'verify-client-packages', { label: 'client packages' }),
|
|
|
- pnpmScript('client-ui-i18n', 'verify-client-ui-i18n', { label: 'client UI i18n' }),
|
|
|
- pnpmScript('host-command-descriptions', 'verify-host-command-descriptions', { label: 'Host command descriptions' }),
|
|
|
- pnpmScript('no-bare-dispatcher', 'verify-no-bare-dispatcher', { label: 'proxy-aware dispatchers' }),
|
|
|
+ ...clientStaticGates(),
|
|
|
pnpmScript('issue-management', 'test:issue-management', { label: 'Issue management policy' }),
|
|
|
]
|
|
|
}
|
|
|
@@ -699,10 +705,7 @@ function hygieneLeafGates(options: { artifactNeeds?: string[] } = {}): Gate[] {
|
|
|
pnpmScript('optional-dependency-imports', 'verify-optional-dependency-imports', {
|
|
|
label: 'optional dependency imports',
|
|
|
}),
|
|
|
- pnpmScript('client-packages', 'verify-client-packages', { label: 'client packages' }),
|
|
|
- pnpmScript('client-ui-i18n', 'verify-client-ui-i18n', { label: 'client UI i18n' }),
|
|
|
- pnpmScript('host-command-descriptions', 'verify-host-command-descriptions', { label: 'Host command descriptions' }),
|
|
|
- pnpmScript('no-bare-dispatcher', 'verify-no-bare-dispatcher', { label: 'proxy-aware dispatchers' }),
|
|
|
+ ...clientStaticGates(),
|
|
|
]
|
|
|
}
|
|
|
|