@juangcarmona/lighthouse 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +8 -2
  2. package/assets/dotnet-template/Directory.Build.props +22 -0
  3. package/assets/dotnet-template/Directory.Packages.props +16 -0
  4. package/assets/dotnet-template/Lighthouse.Analyzers/BackendContractAnalyzer.cs +72 -0
  5. package/assets/dotnet-template/Lighthouse.Analyzers/Lighthouse.Analyzers.csproj +12 -0
  6. package/assets/dotnet-template/Lighthouse.Analyzers/packages.lock.json +121 -0
  7. package/assets/dotnet-template/Lighthouse.Cqrs/Handlers.cs +11 -0
  8. package/assets/dotnet-template/Lighthouse.Cqrs/Lighthouse.Cqrs.csproj +5 -0
  9. package/assets/dotnet-template/Lighthouse.Cqrs/packages.lock.json +6 -0
  10. package/assets/dotnet-template/Lighthouse.slnx +17 -0
  11. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/CatalogModule.cs +24 -0
  12. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/Features/Entries/CreateEntry.cs +47 -0
  13. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/Features/Entries/EntryStore.cs +17 -0
  14. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/Features/Entries/GetEntry.cs +30 -0
  15. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/Lighthouse.Example.Modules.Catalog.csproj +12 -0
  16. package/assets/dotnet-template/examples/src/modules/Lighthouse.Example.Modules.Catalog/packages.lock.json +10 -0
  17. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.Api/Lighthouse.Example.Api.csproj +6 -0
  18. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.Api/Program.cs +25 -0
  19. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.Api/Properties/launchSettings.json +10 -0
  20. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.Api/packages.lock.json +86 -0
  21. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.AppHost/Lighthouse.Example.AppHost.csproj +13 -0
  22. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.AppHost/Program.cs +3 -0
  23. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.AppHost/Properties/launchSettings.json +15 -0
  24. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.AppHost/aspire.config.json +5 -0
  25. package/assets/dotnet-template/examples/src/root/Lighthouse.Example.AppHost/packages.lock.json +689 -0
  26. package/assets/dotnet-template/global.json +6 -0
  27. package/assets/dotnet-template/tests/Lighthouse.Analyzers.Tests/BackendContractTests.cs +102 -0
  28. package/assets/dotnet-template/tests/Lighthouse.Analyzers.Tests/Lighthouse.Analyzers.Tests.csproj +9 -0
  29. package/assets/dotnet-template/tests/Lighthouse.Analyzers.Tests/packages.lock.json +125 -0
  30. package/assets/dotnet-template/tests/Lighthouse.Example.Tests/CatalogTests.cs +111 -0
  31. package/assets/dotnet-template/tests/Lighthouse.Example.Tests/Lighthouse.Example.Tests.csproj +9 -0
  32. package/assets/dotnet-template/tests/Lighthouse.Example.Tests/packages.lock.json +490 -0
  33. package/assets/profiles/catalog.json +1050 -0
  34. package/assets/profiles/dotnet/README.md +32 -0
  35. package/assets/profiles/dotnet/SKILL.md +18 -0
  36. package/assets/profiles/dotnet/adoption.md +39 -0
  37. package/assets/profiles/dotnet/architecture.md +37 -0
  38. package/assets/profiles/dotnet/guardrails.md +32 -0
  39. package/assets/profiles/dotnet/practices.md +36 -0
  40. package/assets/profiles/dotnet/testing-and-development.md +29 -0
  41. package/assets/profiles/dotnet/use-cases.md +29 -0
  42. package/assets/profiles/mobile-expo/README.md +19 -0
  43. package/assets/profiles/mobile-expo/SKILL.md +14 -0
  44. package/assets/profiles/mobile-expo/adoption.md +11 -0
  45. package/assets/profiles/mobile-expo/guardrails.md +14 -0
  46. package/assets/profiles/mobile-expo/testing.md +13 -0
  47. package/assets/profiles/mobile-maui/README.md +19 -0
  48. package/assets/profiles/mobile-maui/SKILL.md +14 -0
  49. package/assets/profiles/mobile-maui/adoption.md +11 -0
  50. package/assets/profiles/mobile-maui/guardrails.md +13 -0
  51. package/assets/profiles/mobile-maui/testing.md +13 -0
  52. package/assets/profiles/pwa-capability/README.md +19 -0
  53. package/assets/profiles/pwa-capability/SKILL.md +14 -0
  54. package/assets/profiles/pwa-capability/adoption.md +9 -0
  55. package/assets/profiles/pwa-capability/guardrails.md +13 -0
  56. package/assets/profiles/pwa-capability/offline.md +11 -0
  57. package/assets/profiles/pwa-capability/testing.md +15 -0
  58. package/assets/profiles/react-web-platform/README.md +24 -0
  59. package/assets/profiles/react-web-platform/SKILL.md +18 -0
  60. package/assets/profiles/react-web-platform/adoption.md +17 -0
  61. package/assets/profiles/react-web-platform/guardrails.md +17 -0
  62. package/assets/profiles/react-web-platform/structure.md +36 -0
  63. package/assets/profiles/react-web-platform/testing.md +15 -0
  64. package/assets/profiles/web-bff/README.md +22 -0
  65. package/assets/profiles/web-bff/SKILL.md +16 -0
  66. package/assets/profiles/web-bff/adoption.md +9 -0
  67. package/assets/profiles/web-bff/security.md +16 -0
  68. package/assets/profiles/web-bff/testing.md +14 -0
  69. package/assets/schemas/lighthouse-manifest.schema.json +10 -7
  70. package/assets/schemas/profile-catalog.schema.json +329 -0
  71. package/package.json +5 -2
  72. package/src/create-dotnet.mjs +112 -0
  73. package/src/lighthouse.mjs +109 -14
  74. package/src/profiles.mjs +206 -0
  75. package/src/verify-dotnet.mjs +85 -0
@@ -0,0 +1,15 @@
1
+ {
2
+ "profiles": {
3
+ "http": {
4
+ "commandName": "Project",
5
+ "launchBrowser": false,
6
+ "environmentVariables": {
7
+ "ASPNETCORE_ENVIRONMENT": "Development",
8
+ "ASPNETCORE_URLS": "http://127.0.0.1:15820",
9
+ "DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://127.0.0.1:15821",
10
+ "DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://127.0.0.1:15822",
11
+ "ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true"
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "appHost": {
3
+ "path": "Lighthouse.Example.AppHost.csproj"
4
+ }
5
+ }