Skip to content
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

feat: pushPackageDirectoriesSequentially #42

Merged
merged 2 commits into from
Mar 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 72 additions & 20 deletions sfdx-project.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"description": "The properties and shape of the SFDX project",
"type": "object",
"additionalProperties": false,
"required": ["packageDirectories"],
"required": [
"packageDirectories"
],
"properties": {
"packageDirectories": {
"title": "Package Directories",
Expand All @@ -17,22 +19,64 @@
"items": {
"type": "object",
"dependencies": {
"ancestorId": ["package", "versionNumber"],
"ancestorVersion": ["package", "versionNumber"],
"apexTestAccess": ["package", "versionNumber"],
"definitionFile": ["package", "versionNumber"],
"dependencies": ["package", "versionNumber"],
"package": ["versionNumber"],
"postInstallScript": ["package", "versionNumber"],
"postInstallUrl": ["package", "versionNumber"],
"releaseNotesUrl": ["package", "versionNumber"],
"uninstallScript": ["package", "versionNumber"],
"unpackagedMetadata": ["package", "versionNumber"],
"versionDescription": ["package", "versionNumber"],
"versionName": ["package", "versionNumber"],
"versionNumber": ["package"]
"ancestorId": [
"package",
"versionNumber"
],
"ancestorVersion": [
"package",
"versionNumber"
],
"apexTestAccess": [
"package",
"versionNumber"
],
"definitionFile": [
"package",
"versionNumber"
],
"dependencies": [
"package",
"versionNumber"
],
"package": [
"versionNumber"
],
"postInstallScript": [
"package",
"versionNumber"
],
"postInstallUrl": [
"package",
"versionNumber"
],
"releaseNotesUrl": [
"package",
"versionNumber"
],
"uninstallScript": [
"package",
"versionNumber"
],
"unpackagedMetadata": [
"package",
"versionNumber"
],
"versionDescription": [
"package",
"versionNumber"
],
"versionName": [
"package",
"versionNumber"
],
"versionNumber": [
"package"
]
},
"required": ["path"],
"required": [
"path"
],
"additionalProperties": false,
"properties": {
"ancestorId": {
Expand All @@ -41,7 +85,7 @@
"ancestorVersion": {
"$ref": "#/definitions/packageDirectory.ancestorVersion"
},
"apexTestAccess" : {
"apexTestAccess": {
"$ref": "#/definitions/packageDirectory.apexTestAccess"
},
"default": {
Expand Down Expand Up @@ -122,6 +166,10 @@
"type": "number",
"description": "By default, the OAuth port is 1717. However, change this port if this port is already in use, and you plan to create a connected app in your Dev Hub org to support JWT-based authorization."
},
"pushPackageDirectoriesSequentially": {
"type": "boolean",
"description": "Whether to push package directories sequentially. If true, the package directories are pushed in the order they are listed in the project file. By default, the package directories are pushed in one deployment."
},
"plugins": {
"title": "CLI Plugins custom settings",
"type": "object",
Expand Down Expand Up @@ -182,7 +230,9 @@
"description": "To specify dependencies for 2GP within the same Dev Hub, use either the package version alias or a combination of the package name and the version number.",
"items": {
"type": "object",
"required": ["package"],
"required": [
"package"
],
"properties": {
"package": {
"type": "string"
Expand Down Expand Up @@ -230,7 +280,9 @@
"type": "object",
"title": "Unpackaged Metadata",
"description": "Metadata not meant to be packaged, but deployed when testing packaged metadata",
"required": ["path"],
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
Expand Down Expand Up @@ -299,4 +351,4 @@
"description": "The name of the branch to be assigned to the package version"
}
}
}
}