-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from jcdcdev/dev/v14
14.1.5
- Loading branch information
Showing
12 changed files
with
520 additions
and
500 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...braco.Community.BackOfficeOrganiser/Composing/BackOfficeOrganiserPackageManifestReader.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using jcdcdev.Umbraco.Core.Extensions; | ||
using jcdcdev.Umbraco.Core.Web.Models.Manifests; | ||
using Umbraco.Cms.Core.Manifest; | ||
using Umbraco.Cms.Infrastructure.Manifest; | ||
|
||
namespace Umbraco.Community.BackOfficeOrganiser.Composing; | ||
|
||
public class BackOfficeOrganiserPackageManifestReader : IPackageManifestReader | ||
{ | ||
public async Task<IEnumerable<PackageManifest>> ReadPackageManifestsAsync() | ||
{ | ||
var extensions = new List<IManifest>(); | ||
var packageManifest = new PackageManifest | ||
{ | ||
Name = Constants.PackageName, | ||
Version = EnvironmentExtensions.CurrentAssemblyVersion().ToSemVer()?.ToString() ?? "0.1.0", | ||
AllowPublicAccess = false, | ||
AllowTelemetry = false, | ||
Extensions = [] | ||
}; | ||
|
||
extensions.Add(new EntryPointManifest | ||
{ | ||
Name = "backoffice-organiser.entrypoint", | ||
Alias = "backoffice-organiser.entrypoint", | ||
Js = "/App_Plugins/Umbraco.Community.BackOfficeOrganiser/dist/index.js" | ||
}); | ||
|
||
packageManifest.Extensions = extensions.OfType<object>().ToArray(); | ||
return [packageManifest]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Umbraco.Community.BackOfficeOrganiser; | ||
|
||
public class Constants | ||
{ | ||
public const string PackageName = "Umbraco.Community.BackOfficeOrganiser"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
...eOrganiser/wwwroot/App_Plugins/Umbraco.Community.BackOfficeOrganiser/umbraco-package.json
This file was deleted.
Oops, something went wrong.