Skip to content

Commit 64b6bb8

Browse files
committed
Allow for internal short codes
1 parent e8025c5 commit 64b6bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pwa-kit-create-app/program.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@
685685
"name": "Valid Short Code",
686686
"description": "Ensures the short code is valid.",
687687
"message": "Invalid format. Use docs to find more information about valid configurations: https://developer.salesforce.com/docs/commerce/commerce-api/guide/commerce-api-configuration-values",
688-
"regex": "^([0-9A-Z]{8})$"
688+
"regex": "^([0-9A-Z]{8}|(performance|staging|development|sandbox)-\\d\\d\\d)$"
689689
},
690690
{
691691
"id": "validClientId",
@@ -723,7 +723,7 @@
723723
{
724724
"name": "--stdio",
725725
"description": "Accept project generation answers from stdin as JSON"
726-
},
726+
},
727727
{
728728
"name": "--displayProgram",
729729
"description": "Display the program.json file detailing the program schema/data and exit"

0 commit comments

Comments
 (0)