From 3f32839ffc5cb483a5f95fe5ae65b3e66cde83b1 Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Thu, 26 Oct 2023 14:55:16 -0600 Subject: [PATCH] fix: add scopeProfiles property to package directories (#80) * fix: add scopeProfile property to package directories * fix: update descriptions --- sfdx-project.schema.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/sfdx-project.schema.json b/sfdx-project.schema.json index 157976f..a29f537 100644 --- a/sfdx-project.schema.json +++ b/sfdx-project.schema.json @@ -125,6 +125,9 @@ "releaseNotesUrl": { "$ref": "#/definitions/packageDirectory.releaseNotesUrl" }, + "scopeProfiles": { + "$ref": "#/definitions/packageDirectory.scopeProfiles" + }, "seedMetadata": { "$ref": "#/definitions/packageDirectory.seedMetadata" }, @@ -157,12 +160,12 @@ "namespace": { "title": "Namespace", "type": "string", - "description": "The global namespace that is used with a package. The namespace must be registered with an org that is associated with your Dev Hub org. This namespace is assigned to scratch orgs created with the org:create command. If you’re creating an unlocked package, you have the option to create a package with no namespace." + "description": "A namespace is an alphanumeric identifier that distinguishes your package and its contents from other packages in your customer’s org. For steps on how to register a namespace and link it to your Dev Hub org, see Create and Register Your Namespace for Second-Generation Managed Packages on developer.salesforce.com. If you’re creating an unlocked package, you can create it without a namespace." }, "sourceApiVersion": { "title": "Source API Version", "type": "string", - "description": "The API version that the source is compatible with. The default is the same version as the Salesforce CLI.", + "description": "The API version that the source is compatible with. By default it matches the API version.", "default": "48.0" }, "sfdcLoginUrl": { @@ -621,6 +624,12 @@ "title": "Post Install Script", "description": "The post install script." }, + "packageDirectory.scopeProfiles": { + "type": "boolean", + "title": "Scope Profiles", + "description": "Determines whether to include profile settings from only the directory being packaged (true), or whether to include profile settings from all package directories (false). If not specified, the default is false.", + "default": false + }, "packageDirectory.seedMetadata": { "type": "object", "title": "Seed Metadata", @@ -659,7 +668,8 @@ "packageDirectory.includeProfileUserLicenses": { "type": "boolean", "title": "Include Profile User Licenses", - "description": "Whether to include elements in profile metadata " + "description": "Whether to include elements in profile metadata. Defaults to false.", + "default": false }, "packageDirectory.apexTestAccess": { "type": "object",