Skip to content

Commit

Permalink
feat: add optional unpackaged metadata to packageDirectories objects (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmuss authored Aug 27, 2020
1 parent 78f8730 commit cef92ab
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/sfdx-project/package-complex.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@
{
"package": "External Apex Library - 1.0.0.4"
}
]
],
"unpackagedMetadata": {
"path": "unpackaged_metadata"
}
},
{
"path": "unpackaged_metadata"
}
],
"plugins": {
Expand Down
17 changes: 17 additions & 0 deletions schemas/sfdx-project.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"postInstallUrl": ["package", "versionNumber"],
"releaseNotesUrl": ["package", "versionNumber"],
"uninstallScript": ["package", "versionNumber"],
"unpackagedMetadata": ["package", "versionNumber"],
"versionDescription": ["package", "versionNumber"],
"versionName": ["package", "versionNumber"],
"versionNumber": ["package"]
Expand Down Expand Up @@ -69,6 +70,9 @@
"uninstallScript": {
"$ref": "#/definitions/packageDirectory.uninstallScript"
},
"unpackagedMetadata": {
"$ref": "#/definitions/packageDirectory.unpackagedMetadata"
},
"versionDescription": {
"$ref": "#/definitions/packageDirectory.versionDescription"
},
Expand Down Expand Up @@ -207,6 +211,19 @@
"title": "Uninstall Script",
"description": "The uninstall script."
},
"packageDirectory.unpackagedMetadata": {
"type": "object",
"title": "Unpackaged Metadata",
"description": "Metadata not meant to be packaged, but deployed when testing packaged metadata",
"required": ["path"],
"properties": {
"path": {
"type": "string",
"title": "Path",
"description": "The path name of the package directory containing the unpackaged metadata"
}
}
},
"packageDirectory.includeProfileUserLicenses": {
"type": "boolean",
"title": "Include Profile User Licenses",
Expand Down

0 comments on commit cef92ab

Please sign in to comment.