From 8edc307ba50668e5fcb4d2cf64cf15040d8e6597 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Mon, 4 Jun 2018 00:42:05 +0300 Subject: [PATCH] Created toastr package. --- .../abp.resourcemapping.js | 4 ++-- npm/packs/aspnetcore.mvc.ui.theme.shared/package.json | 2 +- npm/packs/toastr/abp.resourcemapping.js | 8 ++++++++ npm/packs/toastr/package.json | 11 +++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 npm/packs/toastr/abp.resourcemapping.js create mode 100644 npm/packs/toastr/package.json diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js b/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js index 0f74ebfd45..4009e13c1e 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/abp.resourcemapping.js @@ -5,10 +5,10 @@ "../jquery-form/abp.resourcemapping.js", "../jquery-validation-unobtrusive/abp.resourcemapping.js", "../sweetalert/abp.resourcemapping.js", + "../toastr/abp.resourcemapping.js", "../datatables.net-bs4/abp.resourcemapping.js" ], mappings: { - //Toastr - "@node_modules/toastr/build/*.*": "@libs/toastr/" + } } \ No newline at end of file diff --git a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json index 3dbfc8e88b..e85298db33 100644 --- a/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json +++ b/npm/packs/aspnetcore.mvc.ui.theme.shared/package.json @@ -12,6 +12,6 @@ "@abp/jquery-form": "^0.2.3", "@abp/jquery-validation-unobtrusive": "^0.2.3", "@abp/sweetalert": "^0.2.3", - "toastr": "^2.1.4" + "@abp/toastr": "^0.2.3" } } diff --git a/npm/packs/toastr/abp.resourcemapping.js b/npm/packs/toastr/abp.resourcemapping.js new file mode 100644 index 0000000000..00679b4a79 --- /dev/null +++ b/npm/packs/toastr/abp.resourcemapping.js @@ -0,0 +1,8 @@ +module.exports = { + imports: [ + "../jquery/abp.resourcemapping.js" + ], + mappings: { + "@node_modules/toastr/build/*.*": "@libs/toastr/" + } +} \ No newline at end of file diff --git a/npm/packs/toastr/package.json b/npm/packs/toastr/package.json new file mode 100644 index 0000000000..aeef170d1b --- /dev/null +++ b/npm/packs/toastr/package.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.3", + "name": "@abp/toastr", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@abp/jquery": "^0.2.3", + "toastr": "^2.1.4" + } +}