Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions schema/staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
"dotnet:8.0",
"dotnet-isolated:8.0",
"dotnet-isolated:9.0",
"dotnet-isolated:10.0",
"node:18",
"node:20",
"node:22",
Expand Down
5 changes: 5 additions & 0 deletions src/cli/commands/deploy/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export async function deploy(options: SWACLIConfig) {
apiVersion,
} = options;

// normalize the hyphenated variant to the canonical value used throughout the codebase
if (apiLanguage === "dotnet-isolated") {
apiLanguage = "dotnetisolated";
}

if (dryRun) {
logger.warn("***********************************************************************");
logger.warn("* WARNING: Running in dry run mode. This project will not be deployed *");
Expand Down
2 changes: 1 addition & 1 deletion src/core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export const DEFAULT_VERSION = {
export const SUPPORTED_VERSIONS = {
Node: ["18", "20", "22"],
Dotnet: ["8.0"],
DotnetIsolated: ["8.0", "9.0"],
DotnetIsolated: ["8.0", "9.0", "10.0"],
Python: ["3.9", "3.10", "3.11"],
};

Expand Down
Loading