Skip to content

Commit

Permalink
feat: major update for 56 and Functions fix (#63)
Browse files Browse the repository at this point in the history
* chore: add major update changes

* chore: manually add Functions feature

Co-authored-by: gbockus-sf <[email protected]>
  • Loading branch information
randi274 and gbockus-sf authored Nov 9, 2022
1 parent f297538 commit 5107300
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const projectJsonSchema = require('@salesforce/schema/sfdx-project-schema.json']

## Updating project-scratch-def.schema.json

Run the `update-scratch-def-*.js` scripts on every major release and open a PR with the new changes against the `main` branch to keep the schema files up to date.
Run the `features-update` and `settings-update` scripts on every major release and open a PR with the new changes against the `main` branch to keep the schema files up to date

## Bugs and Feedback

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
],
"scripts": {
"build": "node ./scripts/build.js",
"features-update": "node ./scripts/update-scratch-def-features.js",
"settings-update": "node ./scripts/update-scratch-def-settings.js",
"commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
"commit": "git-cz",
"test": "jest",
Expand Down Expand Up @@ -50,4 +52,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
134 changes: 132 additions & 2 deletions project-scratch-def.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,36 @@
"title": "HoursBetweenCoverageJob:<value>",
"pattern": "^(HoursBetweenCoverageJob:[0-9]+$)"
},
{
"type": "string",
"title": "LoyaltyMaximumPartners:<value>",
"pattern": "^(LoyaltyMaximumPartners:[0-9]+$)"
},
{
"type": "string",
"title": "LoyaltyMaximumPrograms:<value>",
"pattern": "^(LoyaltyMaximumPrograms:[0-9]+$)"
},
{
"type": "string",
"title": "LoyaltyMaxOrderLinePerHour:<value>",
"pattern": "^(LoyaltyMaxOrderLinePerHour:[0-9]+$)"
},
{
"type": "string",
"title": "LoyaltyMaxProcExecPerHour:<value>",
"pattern": "^(LoyaltyMaxProcExecPerHour:[0-9]+$)"
},
{
"type": "string",
"title": "LoyaltyMaxTransactions:<value>",
"pattern": "^(LoyaltyMaxTransactions:[0-9]+$)"
},
{
"type": "string",
"title": "MaxActiveDPEDefs:<value>",
"pattern": "^(MaxActiveDPEDefs:[0-9]+$)"
},
{
"type": "string",
"title": "MaxApexCodeSize:<value>",
Expand All @@ -212,16 +242,61 @@
"title": "MaxCustomLabels:<value>",
"pattern": "^(MaxCustomLabels:[0-9]+$)"
},
{
"type": "string",
"title": "MaxDatasetLinksPerDT:<value>",
"pattern": "^(MaxDatasetLinksPerDT:[0-9]+$)"
},
{
"type": "string",
"title": "MaxDataSourcesPerDPE:<value>",
"pattern": "^(MaxDataSourcesPerDPE:[0-9]+$)"
},
{
"type": "string",
"title": "MaxDecisionTableAllowed:<value>",
"pattern": "^(MaxDecisionTableAllowed:[0-9]+$)"
},
{
"type": "string",
"title": "MaxFavoritesAllowed:<value>",
"pattern": "^(MaxFavoritesAllowed:[0-9]+$)"
},
{
"type": "string",
"title": "MaxFieldsPerNode:<value>",
"pattern": "^(MaxFieldsPerNode:[0-9]+$)"
},
{
"type": "string",
"title": "MaxInputColumnsPerDT:<value>",
"pattern": "^(MaxInputColumnsPerDT:[0-9]+$)"
},
{
"type": "string",
"title": "MaxLoyaltyProcessRules:<value>",
"pattern": "^(MaxLoyaltyProcessRules:[0-9]+$)"
},
{
"type": "string",
"title": "MaxNodesPerDPE:<value>",
"pattern": "^(MaxNodesPerDPE:[0-9]+$)"
},
{
"type": "string",
"title": "MaxNoOfLexThemesAllowed:<value>",
"pattern": "^(MaxNoOfLexThemesAllowed:[0-9]+$)"
},
{
"type": "string",
"title": "MaxOutputColumnsPerDT:<value>",
"pattern": "^(MaxOutputColumnsPerDT:[0-9]+$)"
},
{
"type": "string",
"title": "MaxSourceObjectPerDSL:<value>",
"pattern": "^(MaxSourceObjectPerDSL:[0-9]+$)"
},
{
"type": "string",
"title": "MaxStreamingTopics:<value>",
Expand All @@ -237,6 +312,11 @@
"title": "MaxUserStreamingChannels:<value>",
"pattern": "^(MaxUserStreamingChannels:[0-9]+$)"
},
{
"type": "string",
"title": "MaxWritebacksPerDPE:<value>",
"pattern": "^(MaxWritebacksPerDPE:[0-9]+$)"
},
{
"type": "string",
"title": "MedVisDescriptorLimit:<value>",
Expand Down Expand Up @@ -283,8 +363,14 @@
"API",
"AnalyticsAdminPerms",
"AnalyticsAppEmbedded",
"Assessments",
"AuthorApex",
"B2BCommerce",
"B2BLoyaltyManagement",
"B2CCommerceGMV",
"B2CLoyaltyManagement",
"B2CLoyaltyManagementPlus",
"BatchManagement",
"BigObjectsBulkAPI",
"Briefcase",
"CMSMaxContType",
Expand All @@ -306,14 +392,18 @@
"DataComDnbAccounts",
"DataComFullClean",
"DataMaskUser",
"DataProcessingEngine",
"DebugApex",
"DecisionTable",
"DefaultWorkflowUser",
"DeferSharingCalc",
"DevOpsCenter",
"DevelopmentWave",
"DeviceTrackingEnabled",
"DisableManageIdConfAPI",
"Division",
"DocumentChecklist",
"DocumentReaderPageLimit",
"DurableClassicStreamingAPI",
"DurableGenericStreamingAPI",
"DynamicClientCreationLimit",
Expand All @@ -335,14 +425,18 @@
"FinanceLogging",
"FlowSites",
"ForceComPlatform",
"Functions",
"GenericStreaming",
"HealthCloudUser",
"HealthCloudAddOn",
"HealthCloudForCmty",
"HealthCloudMedicationReconciliation",
"HealthCloudPNMAddOn",
"HighVelocitySales",
"IdentityProvisioningFeatures",
"IndustriesActionPlan",
"IndustriesManufacturing",
"IndustriesManufacturingCmty",
"IndustriesMfgAccountForecast",
"IndustriesMfgTargets",
"InsightsPlatform",
"Interaction",
"IoT",
Expand All @@ -354,6 +448,9 @@
"LightningServiceConsole",
"LiveAgent",
"LiveMessage",
"LoyaltyAnalytics",
"LoyaltyEngine",
"LoyaltyManagementStarter",
"Macros",
"MarketingUser",
"MaxAudTypeCriterionPerAud",
Expand Down Expand Up @@ -381,13 +478,15 @@
"PublicSectorSiteTemplate",
"RecordTypes",
"RefreshOnInvalidSession",
"RevSubscriptionManagement",
"S1ClientComponentCacheSize",
"SAML20SingleLogout",
"SCIMProtocol",
"SFDOInsightsDataIntegrityUser",
"SalesCloudEinstein",
"SalesUser",
"SalesforceContentUser",
"SalesforceFeedbackManagementStarter",
"SalesforceIdentityForCommunities",
"SecurityEventEnabled",
"ServiceCatalog",
Expand All @@ -400,8 +499,14 @@
"SocialCustomerService",
"StateAndCountryPicklist",
"StreamingAPI",
"SurveyAdvancedFeatures",
"SustainabilityApp",
"SustainabilityCloud",
"TCRMforSustainability",
"TimeSheetTemplateSettings",
"TimelineConditionsLimit",
"TimelineEventLimit",
"TimelineRecordTypeLimit",
"TransactionFinalizers",
"WavePlatform",
"WorkThanksPref",
Expand Down Expand Up @@ -551,6 +656,11 @@
"title": "CurrencySettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_currencysettings.htm"
},
"customAddressFieldSettings": {
"type": "object",
"title": "CustomAddressFieldSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customaddressfieldsettings.htm"
},
"dataDotComSettings": {
"type": "object",
"title": "DataDotComSettings",
Expand Down Expand Up @@ -766,6 +876,11 @@
"title": "NotificationsSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_notificationssettings.htm"
},
"oauthOidcSettings": {
"type": "object",
"title": "OauthOidcSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_oauthoidcsettings.htm"
},
"omniChannelSettings": {
"type": "object",
"title": "OmniChannelSettings",
Expand Down Expand Up @@ -866,6 +981,16 @@
"title": "RecordPageSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_recordpagesettings.htm"
},
"retailExecutionSettings": {
"type": "object",
"title": "RetailExecutionSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata_api_retexset.htm"
},
"sandboxSettings": {
"type": "object",
"title": "SandboxSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sandboxsettings.htm"
},
"schemaSettings": {
"type": "object",
"title": "SchemaSettings",
Expand Down Expand Up @@ -951,6 +1076,11 @@
"title": "VoiceSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_voicesettings.htm"
},
"warrantyLifeCycleMgmtSettings": {
"type": "object",
"title": "WarrantyLifeCycleMgmtSettings",
"description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mfg_warrantylifecyclemgmtsettings.htm"
},
"workDotComSettings": {
"type": "object",
"title": "WorkDotComSettings",
Expand Down

0 comments on commit 5107300

Please sign in to comment.