diff --git a/README.md b/README.md index eda3889..0a344c8 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ ref: https://docs.developers.optimizely.com/content-management-system/v1.2.0-for ### Installation **From Azure Artifacts** -Source https://dev.azure.com/EpiserverEngineering/netCore/_artifacts/feed/headless_forms_beta +Source https://dev.azure.com/EpiserverEngineering/netCore/_artifacts/feed/HeadlessForms To use packages from Azure Artifacts, configure your project to reference this feed. Create a new text file called .npmrc in the same directory as your package.json, then copy the snippet below. ``` - @episerver:registry=https://pkgs.dev.azure.com/EpiserverEngineering/netCore/_packaging/headless_forms_beta/npm/registry/ + @episerver:registry=https://pkgs.dev.azure.com/EpiserverEngineering/netCore/_packaging/HeadlessForms/npm/registry/ ``` Install from the command line ``` @@ -28,7 +28,16 @@ Install from the command line ``` **OR** clone source code and install dependencies, then build and view the site on the browser. - +#### Sample site structures +This repository contains two sample sites +* Site render using Headless Form Api + - `/samples/ManagementSite` Backend decouples site that hosts the Headless Form API + - `/samples/sample-react-app` Frontend React site that render form using Headless Form API +* Site render using Content Graph + - `/samples/musicfestival-backend-dotnet` Backend site that fully index using Content Graph + - `/samples/musicfestival-frontend-react` Frontend React site that renders the full site, including the Form, using Content Graph + +#### Installing and running sample sites 1. Clone repo ```sh diff --git a/package-lock.json b/package-lock.json index 6e38982..2855b08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23737,7 +23737,7 @@ } }, "src/@episerver/forms-react": { - "version": "0.1.1", + "version": "1.0.0", "license": "ISC", "dependencies": { "@episerver/forms-sdk": "file:../forms-sdk" @@ -23757,7 +23757,7 @@ } }, "src/@episerver/forms-sdk": { - "version": "0.1.1", + "version": "1.0.0", "license": "ISC", "devDependencies": { "@types/jest": "^29.5.6", diff --git a/samples/ManagementSite/Alloy.ManagementSite.csproj b/samples/ManagementSite/Alloy.ManagementSite.csproj index ff64536..a722db2 100644 --- a/samples/ManagementSite/Alloy.ManagementSite.csproj +++ b/samples/ManagementSite/Alloy.ManagementSite.csproj @@ -4,7 +4,7 @@ NU5100;NU1803;NU1605;NU1504; 12.30.0 12.21.4 - 1.0.0-pre-541 + 1.0.0 12.20.1 5.9.0 diff --git a/samples/ManagementSite/Nuget.config b/samples/ManagementSite/Nuget.config index 75cfdc2..d669013 100644 --- a/samples/ManagementSite/Nuget.config +++ b/samples/ManagementSite/Nuget.config @@ -4,7 +4,6 @@ - @@ -17,8 +16,6 @@ - - diff --git a/samples/NugetPackages/optimizely.cms.forms.contentgraph.1.0.0-pre-541.nupkg b/samples/NugetPackages/optimizely.cms.forms.contentgraph.1.0.0-pre-541.nupkg deleted file mode 100644 index 1f751c1..0000000 Binary files a/samples/NugetPackages/optimizely.cms.forms.contentgraph.1.0.0-pre-541.nupkg and /dev/null differ diff --git a/samples/NugetPackages/optimizely.cms.forms.core.1.0.0-pre-541.nupkg b/samples/NugetPackages/optimizely.cms.forms.core.1.0.0-pre-541.nupkg deleted file mode 100644 index 80dcd0a..0000000 Binary files a/samples/NugetPackages/optimizely.cms.forms.core.1.0.0-pre-541.nupkg and /dev/null differ diff --git a/samples/NugetPackages/optimizely.cms.forms.service.1.0.0-pre-541.nupkg b/samples/NugetPackages/optimizely.cms.forms.service.1.0.0-pre-541.nupkg deleted file mode 100644 index b6bdb4a..0000000 Binary files a/samples/NugetPackages/optimizely.cms.forms.service.1.0.0-pre-541.nupkg and /dev/null differ diff --git a/samples/musicfestival-backend-dotnet/App_Data/db.mdf b/samples/musicfestival-backend-dotnet/App_Data/db.mdf index eb2c7f0..76fa99c 100644 Binary files a/samples/musicfestival-backend-dotnet/App_Data/db.mdf and b/samples/musicfestival-backend-dotnet/App_Data/db.mdf differ diff --git a/samples/musicfestival-backend-dotnet/MusicFestival.Backend.csproj b/samples/musicfestival-backend-dotnet/MusicFestival.Backend.csproj index 1f4f4b7..b980c01 100644 --- a/samples/musicfestival-backend-dotnet/MusicFestival.Backend.csproj +++ b/samples/musicfestival-backend-dotnet/MusicFestival.Backend.csproj @@ -8,7 +8,7 @@ 12.30.0 12.21.4 5.9.0 - 1.0.0-pre-541 + 1.0.0 diff --git a/samples/musicfestival-backend-dotnet/nuget.config b/samples/musicfestival-backend-dotnet/nuget.config index 5efc96f..678d238 100644 --- a/samples/musicfestival-backend-dotnet/nuget.config +++ b/samples/musicfestival-backend-dotnet/nuget.config @@ -3,7 +3,6 @@ - @@ -16,8 +15,6 @@ - -