From 1379df5819d9f9e9249c75a4b2ffe8b0a4d1feac Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 21 Aug 2026 17:08:47 +0800 Subject: [PATCH] Add missing dependencies and license file to vendored npm packs --- .../framework/ui/mvc-razor-pages/theming.md | 2 +- npm/packs/bootstrap-datepicker/package.json | 1 + .../bootstrap-daterangepicker/package.json | 1 + .../package.json | 3 ++- .../src/License.txt | 23 +++++++++++++++++++ 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 npm/packs/jquery-validation-unobtrusive/src/License.txt diff --git a/docs/en/framework/ui/mvc-razor-pages/theming.md b/docs/en/framework/ui/mvc-razor-pages/theming.md index 2508ccb851..dafbfcb2d3 100644 --- a/docs/en/framework/ui/mvc-razor-pages/theming.md +++ b/docs/en/framework/ui/mvc-razor-pages/theming.md @@ -57,7 +57,7 @@ These libraries are selected as the base libraries and available to the applicat There are some abstractions in the ABP to make your code independent from some of these libraries too. Examples; * [Tag Helpers](tag-helpers) makes it easy to generate the Bootstrap UIs. -* JavaScript [Message](javascript-api/message.md) and [Notification](javascript-api/notify.md) APIs provides abstractions to use the Sweetalert and the built-in toast implementation. +* JavaScript [Message](javascript-api/message.md) and [Notification](javascript-api/notify.md) APIs provide abstractions to use the SweetAlert and the built-in toast implementations. * [Forms & Validation](forms-validation.md) system automatically handles the validation, so you mostly don't directly type any validation code. ### The Standard Layouts diff --git a/npm/packs/bootstrap-datepicker/package.json b/npm/packs/bootstrap-datepicker/package.json index 525b4a7d76..5441b1c1ef 100644 --- a/npm/packs/bootstrap-datepicker/package.json +++ b/npm/packs/bootstrap-datepicker/package.json @@ -10,6 +10,7 @@ "access": "public" }, "dependencies": { + "@abp/jquery": "~10.7.0-rc.3", "bootstrap-datepicker": "1.10.1" }, "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", diff --git a/npm/packs/bootstrap-daterangepicker/package.json b/npm/packs/bootstrap-daterangepicker/package.json index 644e7e7070..4bd07722cd 100644 --- a/npm/packs/bootstrap-daterangepicker/package.json +++ b/npm/packs/bootstrap-daterangepicker/package.json @@ -10,6 +10,7 @@ "access": "public" }, "dependencies": { + "@abp/jquery": "~10.7.0-rc.3", "@abp/moment": "~10.7.0-rc.3" }, "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", diff --git a/npm/packs/jquery-validation-unobtrusive/package.json b/npm/packs/jquery-validation-unobtrusive/package.json index 36af757c80..26fe0c5f3c 100644 --- a/npm/packs/jquery-validation-unobtrusive/package.json +++ b/npm/packs/jquery-validation-unobtrusive/package.json @@ -10,7 +10,8 @@ "access": "public" }, "dependencies": { - "@abp/jquery-validation": "~10.7.0-rc.3" + "@abp/jquery-validation": "~10.7.0-rc.3", + "jquery-validation": "^1.22.1" }, "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", "homepage": "https://abp.io", diff --git a/npm/packs/jquery-validation-unobtrusive/src/License.txt b/npm/packs/jquery-validation-unobtrusive/src/License.txt new file mode 100644 index 0000000000..984713a496 --- /dev/null +++ b/npm/packs/jquery-validation-unobtrusive/src/License.txt @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.