Skip to content

Commit

Permalink
Add local nuget package for headless form packages
Browse files Browse the repository at this point in the history
Fixes: AFORM-4135
Story: AFORM-3507
  • Loading branch information
Linh Hoang committed May 10, 2024
1 parent 21e0550 commit 0a26197
Show file tree
Hide file tree
Showing 26 changed files with 1,025 additions and 27 deletions.
5 changes: 3 additions & 2 deletions samples/ManagementSite/Alloy.ManagementSite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<PackageReference Include="EPiServer.ImageLibrary.ImageSharp" Version="2.0.1" />
</ItemGroup>
<ItemGroup Label="HeadlessForm">
<PackageReference Include="Optimizely.Headless.Form.Service" Version="$(HeadlessFormVersion)" />
<PackageReference Include="Optimizely.Headless.Form.ContentGraph" Version="$(HeadlessFormVersion)" />
<PackageReference Include="Optimizely.Cms.Preview1.Content.EPiServer" Version="$(ContentApiVersion)" />
<PackageReference Include="Optimizely.ContentGraph.Cms" Version="3.5.1" />
</ItemGroup>
Expand All @@ -43,6 +41,9 @@
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="6.0.0" />
<PackageReference Include="Optimizely.Headless.Form.ContentGraph" Version="0.1.1-inte-380" />
<PackageReference Include="Optimizely.Headless.Form.Core" Version="0.1.1-inte-380" />
<PackageReference Include="Optimizely.Headless.Form.Service" Version="0.1.1-inte-380" />
</ItemGroup>
<PropertyGroup>
<ApplicationIcon />
Expand Down
25 changes: 11 additions & 14 deletions samples/ManagementSite/Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="optimizely" value="https://api.nuget.optimizely.com/v3/index.json" />
<add key="github.episerver" value="https://nuget.pkg.github.com/episerver/index.json" />
<add key="headlessform.local" value="..\NugetPackages\" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
<package pattern="*" />
</packageSource>
<packageSource key="optimizely">
<package pattern="EPiServer.*" />
<package pattern="Optimizely.*" />
</packageSource>
<packageSource key="github.episerver">
<package pattern="Optimizely.Headless.Form.*" />
<package pattern="Optimizely.Cms.*" />
<package pattern="EPiServer.*" />
<package pattern="Optimizely.*" />
</packageSource>
<packageSource key="headlessform.local">
<package pattern="Optimizely.Headless.*" />
<package pattern="Optimizely.Cms.*" />
<package pattern="EPiServer.Forms.*" />
<package pattern="EPiServer.Forms" />
<package pattern="EPiServer.AddOns.*" />
</packageSource>
</packageSourceMapping>
<packageSourceCredentials>
<github.episerver>
<add key="Username" value="Ignored" />
<add key="ClearTextPassword" value="%GitHubEpiserverPAT%" />
</github.episerver>
</packageSourceCredentials>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "POJk5uGgMs8gh1B2cmGhY1I0Kw44xaZI+9sa5mGlIRg+68Q6DeByb7E16AwQ8TjVJ/WlX7d5zdcjuy8scQtejA==",
"source": "https://nuget.pkg.github.com/episerver/index.json"
}
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
OPTIMIZELY NUGET PACKAGES
RIGHTS OF USE


For Customers with Software Services Use Terms under an Optimizely Software
Subscription Agreement –
https://www.optimizely.com/legal/software-services-use-terms

For Customers with legacy end user license agreement or legacy end user
services agreement -
https://www.optimizely.com/legal/end-user-licence-agreement, or
https://www.optimizely.com/legal/end-user-services-agreement


Additional license terms and /or notices with respect to this Nuget Package,
if any, are set out below.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
POJk5uGgMs8gh1B2cmGhY1I0Kw44xaZI+9sa5mGlIRg+68Q6DeByb7E16AwQ8TjVJ/WlX7d5zdcjuy8scQtejA==
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Optimizely.Headless.Form.ContentGraph</id>
<version>0.1.1-inte-380</version>
<authors>Optimizely</authors>
<license type="file">license.txt</license>
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
<projectUrl>https://github.com/episerver/content-headless-form</projectUrl>
<description>Package Description</description>
<copyright>© 2023 by Optimizely. All rights reserved</copyright>
<dependencies>
<group targetFramework="net6.0">
<dependency id="Optimizely.Headless.Form.Core" version="0.1.1-inte-380" exclude="Build,Analyzers" />
<dependency id="Optimizely.ContentGraph.Cms" version="3.5.1" exclude="Build,Analyzers" />
<dependency id="EPiServer.CMS.AspNetCore" version="12.20.1" exclude="Build,Analyzers" />
<dependency id="EPiServer.CMS.AspNetCore.HtmlHelpers" version="12.20.1" exclude="Build,Analyzers" />
<dependency id="EPiServer.CMS.AspNetCore.Routing" version="12.20.1" exclude="Build,Analyzers" />
<dependency id="EPiServer.Cms.UI" version="12.26.0" exclude="Build,Analyzers" />
<dependency id="EPiServer.Cms.UI.Core" version="12.26.0" exclude="Build,Analyzers" />
<dependency id="EPiServer.Forms" version="5.8.2-pre-021286" exclude="Build,Analyzers" />
<dependency id="EPiServer.Framework" version="12.20.1" exclude="Build,Analyzers" />
<dependency id="Microsoft.CodeAnalysis.Analyzers" version="3.3.4" exclude="Build,Analyzers" />
<dependency id="Microsoft.CodeAnalysis.CSharp" version="4.6.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
<dependency id="Optimizely.Cms.Preview1.Content.EPiServer" version="12.20.1" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "rD8hUtyTGm+JvkjMxeIMGyM2DjFkbOy26VNMiqvIdmjhPjFmXkE45Fo0HrC3XZXs2mmFBEmOFKfY+X5U/08vnA==",
"source": "https://nuget.pkg.github.com/episerver/index.json"
}
Binary file not shown.
Loading

0 comments on commit 0a26197

Please sign in to comment.