Skip to content
Draft
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
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,16 @@ jobs:

while IFS= read -r apphost; do
sample_dir="$(dirname "$apphost")"
apphost_name="$(basename "$apphost")"
sample_name="${apphost#./samples/}"
echo "::group::Restore $sample_name"
(
cd "$sample_dir"
"$ASPIRE_CLI" restore --apphost apphost.ts --non-interactive
"$ASPIRE_CLI" restore --apphost "$apphost_name" --non-interactive
npm ci --no-audit --no-fund
)
echo "::endgroup::"
done < <(find ./samples -name apphost.ts | sort)
done < <(find ./samples \( -name apphost.ts -o -name apphost.mts \) | sort)

- name: Build (Ubuntu)
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bld/
# Aspire output directory
aspire-output/
**/.aspire/settings.json
**/.modules/
**/.aspire/modules/
**/dist/apphost/

# Visual Studio 2015/2017 cache/options directory
Expand Down
12 changes: 6 additions & 6 deletions build/Build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<SampleSolutions Include="$(SamplesDir)**/*.slnx" Exclude="$(NodeModules)" />
<AppHostProjects Include="$(SamplesDir)**/*.AppHost/*.AppHost.csproj" Exclude="$(NodeModules)" />
<CandidateSingleFileCSharpAppHostFiles Include="$(SamplesDir)**/apphost.cs" Exclude="$(NodeModules)" />
<SingleFileTypeScriptAppHostFiles Include="$(SamplesDir)**/apphost.ts" Exclude="$(NodeModules)" />
<SingleFileTypeScriptAppHostFiles Include="$(SamplesDir)**/apphost.ts;$(SamplesDir)**/apphost.mts" Exclude="$(NodeModules)" />
</ItemGroup>

<Target Name="BuildSamples" BeforeTargets="Build">
Expand Down Expand Up @@ -62,11 +62,11 @@
<RestoreArgs Include="-bl:%(SampleToBuild.Filename)-restore-{}.binlog" Condition="%(SampleToBuild.Extension) != '.cs'" />
</ItemGroup>
<Message Text="Restoring sample %(SampleToBuild.Identity)" Importance="High" />
<Exec Condition="%(SampleToBuild.Extension) != '.ts'" Command="@(RestoreArgs, ' ')" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
<Exec Condition="'%(SampleToBuild.Extension)' != '.ts' and '%(SampleToBuild.Extension)' != '.mts'" Command="@(RestoreArgs, ' ')" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
StandardOutputImportance="Normal" StandardErrorImportance="Normal" />
<Exec Condition="%(SampleToBuild.Extension) == '.ts' and '$(SkipTypeScriptRestore)' != 'true'" Command="&quot;$(AspireCliCommand)&quot; restore --apphost %(SampleToBuild.Filename)%(SampleToBuild.Extension) --non-interactive" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
<Exec Condition="('%(SampleToBuild.Extension)' == '.ts' or '%(SampleToBuild.Extension)' == '.mts') and '$(SkipTypeScriptRestore)' != 'true'" Command="&quot;$(AspireCliCommand)&quot; restore --apphost %(SampleToBuild.Filename)%(SampleToBuild.Extension) --non-interactive" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
StandardOutputImportance="Normal" StandardErrorImportance="Normal" />
<Exec Condition="%(SampleToBuild.Extension) == '.ts' and '$(SkipTypeScriptRestore)' != 'true'" Command="npm ci --no-audit --no-fund" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
<Exec Condition="('%(SampleToBuild.Extension)' == '.ts' or '%(SampleToBuild.Extension)' == '.mts') and '$(SkipTypeScriptRestore)' != 'true'" Command="npm ci --no-audit --no-fund" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
StandardOutputImportance="Normal" StandardErrorImportance="Normal" />
</Target>

Expand All @@ -82,9 +82,9 @@
<BuildArgs Include="-bl:%(SampleToBuild.Filename)-build-{}.binlog" Condition="%(SampleToBuild.Extension) != '.cs'" />
</ItemGroup>
<Message Text="Building sample %(SampleToBuild.Identity)" Importance="High" />
<Exec Condition="%(SampleToBuild.Extension) != '.ts'" Command="@(BuildArgs, ' ')" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
<Exec Condition="'%(SampleToBuild.Extension)' != '.ts' and '%(SampleToBuild.Extension)' != '.mts'" Command="@(BuildArgs, ' ')" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
StandardOutputImportance="Normal" StandardErrorImportance="Normal" />
<Exec Condition="%(SampleToBuild.Extension) == '.ts'" Command="npm run aspire:build" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
<Exec Condition="'%(SampleToBuild.Extension)' == '.ts' or '%(SampleToBuild.Extension)' == '.mts'" Command="npm run aspire:build" WorkingDirectory="%(SampleToBuild.RootDir)%(SampleToBuild.Directory)"
StandardOutputImportance="Normal" StandardErrorImportance="Normal" />
</Target>

Expand Down
4 changes: 2 additions & 2 deletions samples/Metrics/MetricsApp.AppHost/MetricsApp.AppHost.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\MetricsApp\MetricsApp.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,9 +9,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.Redis" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.Redis" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\AspireShop.BasketService\AspireShop.BasketService.csproj" />
<ProjectReference Include="..\AspireShop.CatalogDbManager\AspireShop.CatalogDbManager.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="Grpc.AspNetCore" Version="2.80.0" />
<PackageReference Include="Grpc.AspNetCore.HealthChecks" Version="2.80.0" />
<PackageReference Include="Aspire.StackExchange.Redis" Version="13.3.5" />
<PackageReference Include="Aspire.StackExchange.Redis" Version="13.4.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="13.3.5" />
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="13.4.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="13.3.5" />
<PackageReference Include="Aspire.Npgsql.EntityFrameworkCore.PostgreSQL" Version="13.4.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
14 changes: 7 additions & 7 deletions samples/aspire-with-azure-functions/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageVersion Include="Aspire.Hosting.Azure" Version="13.3.5" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageVersion Include="Aspire.Hosting.Azure" Version="13.4.0" />
<!-- Aspire Hosting -->
<PackageVersion Include="Aspire.Hosting.Azure.AppContainers" Version="13.3.5" />
<PackageVersion Include="Aspire.Hosting.Azure.Storage" Version="13.3.5" />
<PackageVersion Include="Aspire.Hosting.Azure.Functions" Version="13.3.5" />
<PackageVersion Include="Aspire.Hosting.Azure.AppContainers" Version="13.4.0" />
<PackageVersion Include="Aspire.Hosting.Azure.Storage" Version="13.4.0" />
<PackageVersion Include="Aspire.Hosting.Azure.Functions" Version="13.4.0" />
<!-- Aspire Azure -->
<PackageVersion Include="Aspire.Azure.Storage.Queues" Version="13.3.5" />
<PackageVersion Include="Aspire.Azure.Storage.Blobs" Version="13.3.5" />
<PackageVersion Include="Aspire.Azure.Storage.Queues" Version="13.4.0" />
<PackageVersion Include="Aspire.Azure.Storage.Blobs" Version="13.4.0" />
<!-- Azure Functions -->
<PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="2.52.0" />
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="2.1.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,10 +9,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\AspireJavaScript.MinimalApi\AspireJavaScript.MinimalApi.csproj" />
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.4.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,11 +9,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\AspireWithNode.AspNetCoreApi\AspireWithNode.AspNetCoreApi.csproj" />
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.Redis" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.Redis" Version="13.4.0" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions samples/aspire-with-python/apphost.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#:sdk Aspire.AppHost.Sdk@13.3.3
#:package Aspire.Hosting.JavaScript@13.3.3
#:package Aspire.Hosting.Python@13.3.3
#:package Aspire.Hosting.Redis@13.3.3
#:sdk Aspire.AppHost.Sdk@13.4.0
#:package Aspire.Hosting.JavaScript@13.4.0
#:package Aspire.Hosting.Python@13.4.0
#:package Aspire.Hosting.Redis@13.4.0

var builder = DistributedApplication.CreateBuilder(args);

Expand Down
2 changes: 0 additions & 2 deletions samples/aspire-with-python/apphost.run.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21056",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "https://localhost:23032",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22003"
}
},
Expand All @@ -23,7 +22,6 @@
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19215",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "http://localhost:18255",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20143"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\ClientAppsIntegration.ApiService\ClientAppsIntegration.ApiService.csproj" />
<ProjectReference Include="..\ClientAppsIntegration.WinForms\ClientAppsIntegration.WinForms.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion samples/container-build/apphost.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#:sdk Aspire.AppHost.Sdk@13.3.3
#:sdk Aspire.AppHost.Sdk@13.4.0

using Microsoft.Extensions.Hosting;

Expand Down
1 change: 0 additions & 1 deletion samples/container-build/apphost.run.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21227",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22169",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "http://localhost:15014",
"ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -8,7 +8,7 @@
<UserSecretsId>00d08ee4-b2e0-4d12-827c-d131fda1c6f6</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Microsoft.Data.SqlClient" Version="13.3.5" />
<PackageReference Include="Aspire.Npgsql" Version="13.3.5" />
<PackageReference Include="Aspire.MySqlConnector" Version="13.3.5" />
<PackageReference Include="Aspire.Microsoft.Data.SqlClient" Version="13.4.0" />
<PackageReference Include="Aspire.Npgsql" Version="13.4.0" />
<PackageReference Include="Aspire.MySqlConnector" Version="13.4.0" />
<PackageReference Include="Dapper" Version="2.1.79" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.7" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -17,10 +17,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.MySql" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.SqlServer" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.MySql" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.4.0" />
<PackageReference Include="Aspire.Hosting.SqlServer" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="13.3.5" />
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="13.4.0" />

<ProjectReference Include="..\DatabaseMigrations.ApiModel\DatabaseMigrations.ApiModel.csproj" />
<ProjectReference Include="..\DatabaseMigrations.ServiceDefaults\DatabaseMigrations.ServiceDefaults.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Aspire.AppHost.Sdk/13.3.3">
<Project Sdk="Aspire.AppHost.Sdk/13.4.0">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,11 +9,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.SqlServer" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.SqlServer" Version="13.4.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.3.5" />
<PackageReference Include="Aspire.Hosting.AppHost" Version="13.4.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.8" />
<ProjectReference Include="..\DatabaseMigrations.ApiService\DatabaseMigrations.ApiService.csproj" />
<ProjectReference Include="..\DatabaseMigrations.MigrationService\DatabaseMigrations.MigrationService.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="13.3.5" />
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="13.4.0" />
<ProjectReference Include="..\DatabaseMigrations.ApiModel\DatabaseMigrations.ApiModel.csproj" />
<ProjectReference Include="..\DatabaseMigrations.ServiceDefaults\DatabaseMigrations.ServiceDefaults.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createBuilder } from "./.modules/aspire.js";
import { createBuilder } from "./.aspire/modules/aspire.mjs";

const builder = await createBuilder();
const executionContext = await builder.executionContext();
Expand Down
6 changes: 3 additions & 3 deletions samples/golang-api/aspire.config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"appHost": {
"path": "apphost.ts",
"path": "apphost.mts",
"language": "typescript/nodejs"
},
"sdk": {
"version": "13.3.3"
"version": "13.4.0"
},
"profiles": {
"https": {
Expand All @@ -16,6 +16,6 @@
}
},
"packages": {
"Aspire.Hosting.Docker": "13.3.3"
"Aspire.Hosting.Docker": "13.4.0"
}
}
2 changes: 1 addition & 1 deletion samples/golang-api/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from 'eslint/config';
import tseslint from 'typescript-eslint';

export default defineConfig({
files: ['apphost.ts'],
files: ['apphost.mts'],
extends: [tseslint.configs.base],
languageOptions: {
parserOptions: {
Expand Down
2 changes: 1 addition & 1 deletion samples/golang-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"scripts": {
"aspire:lint": "eslint apphost.ts",
"aspire:lint": "eslint apphost.mts",
"aspire:start": "aspire run",
"aspire:build": "tsc -p tsconfig.apphost.json",
"aspire:dev": "tsc --watch -p tsconfig.apphost.json"
Expand Down
2 changes: 1 addition & 1 deletion samples/golang-api/tsconfig.apphost.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"outDir": "./dist/apphost",
"rootDir": "."
},
"include": ["apphost.ts", ".modules/**/*.ts"],
"include": ["apphost.mts", ".aspire/modules/**/*.mts"],
"exclude": ["node_modules"]
}
Loading
Loading