-
Notifications
You must be signed in to change notification settings - Fork 75
feat: update features/settings automatically W-20268495 #1250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sm/schemas-in-sfdx-core
Are you sure you want to change the base?
Conversation
| SfProject, | ||
| SfProjectJson, | ||
| isPackagingDirectory, | ||
| isNamedPackagingDirectory, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cursor agent review caught that docs referenced these 2 type guards but they weren't exported
| ]) | ||
| ); | ||
|
|
||
| export type Features = z.infer<typeof FeaturesSchema>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some unused exports in the previous pr. this pr adds the knip which we've found really useful at reducing ai slop
| import { simpleFeaturesList } from '../../../src/schema/project-scratch-def/simpleFeaturesList'; | ||
|
|
||
| describe('simpleFeaturesList', () => { | ||
| it('should not contain any features with <value> (those belong in patternFeaturesList)', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of the features had extra whitespace, so this makes sure that no new pattern gets introduced that will not be properly classified between simple vs. pattern features.
What does this PR do?
scripts to update features/settings
loosely based on SDR's https://github.com/forcedotcom/source-deploy-retrieve/blob/main/.github/workflows/supportedMetadataUpdate.yml
What issues does this PR fix or reference?
@W-20268495@
fix forcedotcom/schemas#81