Skip to content

Commit

Permalink
feat(sfdx-project): add name property to project schema (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafreeman authored Apr 6, 2021
1 parent b2fd862 commit 074a2fb
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/sfdx-project/default.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"packageDirectories": [
{
"path": "force-app",
Expand Down
1 change: 1 addition & 0 deletions examples/sfdx-project/min.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"packageDirectories": [
{
"path": "force-app",
Expand Down
1 change: 1 addition & 0 deletions examples/sfdx-project/package-basic.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"packageDirectories": [
{
"path": "force-app",
Expand Down
1 change: 1 addition & 0 deletions examples/sfdx-project/package-complex.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"namespace": "exp-mgr",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "47.0",
Expand Down
1 change: 1 addition & 0 deletions examples/sfdx-project/package-no-path-invalid.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"packageDirectories": [
{
"default": true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "project-name",
"packageDirectories": [
{
"path": "force-app",
Expand Down
5 changes: 5 additions & 0 deletions sfdx-project.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
}
}
},
"name": {
"title": "name",
"type": "string",
"description": "The name of your Salesforce project."
},
"namespace": {
"title": "Namespace",
"type": "string",
Expand Down

0 comments on commit 074a2fb

Please sign in to comment.