From 3db4456d71cfc87c7d3265b4625443d3aade97e1 Mon Sep 17 00:00:00 2001 From: EngincanV Date: Fri, 11 Dec 2020 12:59:24 +0300 Subject: [PATCH] Create @abp/cms-kit npm package --- .../Mvc/UI/Packages/CmsKit/CmsKitScriptContributor.cs | 11 +++++++++++ .../Mvc/UI/Packages/CmsKit/CmsKitStyleContributor.cs | 11 +++++++++++ npm/packs/cms-kit/abp.resourcemapping.js | 4 ++++ npm/packs/cms-kit/package.json | 11 +++++++++++ 4 files changed, 37 insertions(+) create mode 100644 framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitScriptContributor.cs create mode 100644 framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitStyleContributor.cs create mode 100644 npm/packs/cms-kit/abp.resourcemapping.js create mode 100644 npm/packs/cms-kit/package.json diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitScriptContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitScriptContributor.cs new file mode 100644 index 00000000000..9d022fb85e9 --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitScriptContributor.cs @@ -0,0 +1,11 @@ +using Volo.Abp.AspNetCore.Mvc.UI.Bundling; +using Volo.Abp.AspNetCore.Mvc.UI.Packages.StarRatingSvg; +using Volo.Abp.Modularity; + +namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.CmsKit +{ + [DependsOn(typeof(StarRatingSvgScriptContributor))] + public class CmsKitScriptContributor : BundleContributor + { + } +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitStyleContributor.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitStyleContributor.cs new file mode 100644 index 00000000000..e2654827e4c --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/CmsKit/CmsKitStyleContributor.cs @@ -0,0 +1,11 @@ +using Volo.Abp.AspNetCore.Mvc.UI.Bundling; +using Volo.Abp.AspNetCore.Mvc.UI.Packages.StarRatingSvg; +using Volo.Abp.Modularity; + +namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.CmsKit +{ + [DependsOn(typeof(StarRatingSvgStyleContributor))] + public class CmsKitStyleContributor : BundleContributor + { + } +} \ No newline at end of file diff --git a/npm/packs/cms-kit/abp.resourcemapping.js b/npm/packs/cms-kit/abp.resourcemapping.js new file mode 100644 index 00000000000..4fffec9f110 --- /dev/null +++ b/npm/packs/cms-kit/abp.resourcemapping.js @@ -0,0 +1,4 @@ +module.exports = { + mappings: { + } +} \ No newline at end of file diff --git a/npm/packs/cms-kit/package.json b/npm/packs/cms-kit/package.json new file mode 100644 index 00000000000..12a5faa97c3 --- /dev/null +++ b/npm/packs/cms-kit/package.json @@ -0,0 +1,11 @@ +{ + "version": "4.0.0", + "name": "@abp/cms-kit", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@abp/star-rating-svg": "~4.0.0" + }, + "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" +}