Add nuspec (#31)
This commit is contained in:
Родитель
c81e95adc5
Коммит
6c54903e9f
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.jQuery.Unobtrusive.Ajax</id>
|
||||
<version>$version$</version>
|
||||
<title>Microsoft jQuery Unobtrusive Ajax</title>
|
||||
<authors>Microsoft</authors>
|
||||
<owners>Microsoft,aspnet</owners>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
|
||||
<projectUrl>https://www.asp.net/</projectUrl>
|
||||
<iconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
|
||||
<description>jQuery plugin that unobtrusively sets up jQuery Ajax.</description>
|
||||
<summary>jQuery plugin that unobtrusively sets up jQuery Ajax.</summary>
|
||||
<releaseNotes>Please visit https://go.microsoft.com/fwlink/?LinkId=389866 to view the release notes.</releaseNotes>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<tags>jQuery Unobtrusive Ajax</tags>
|
||||
<dependencies>
|
||||
<dependency id="jQuery" version="1.8.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="dist\jquery.unobtrusive-ajax.js" target="Content\Scripts"/>
|
||||
<file src="dist\jquery.unobtrusive-ajax.min.js" target="Content\Scripts"/>
|
||||
</files>
|
||||
</package>
|
34
bower.json
34
bower.json
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
"name": "jquery-ajax-unobtrusive",
|
||||
"version": "3.2.4",
|
||||
"homepage": "https://github.com/aspnet/jquery-ajax-unobtrusive",
|
||||
"description": "Add-on to jQuery Ajax to enable unobtrusive options in data-* attributes",
|
||||
"main": [
|
||||
"dist/jquery.unobtrusive-ajax.js"
|
||||
],
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"*.json",
|
||||
"*.md",
|
||||
"*.txt",
|
||||
"!LICENSE.txt"
|
||||
],
|
||||
"keywords": [
|
||||
"jquery",
|
||||
"asp.net",
|
||||
"mvc",
|
||||
"ajax",
|
||||
"unobtrusive"
|
||||
],
|
||||
"authors": [
|
||||
"Microsoft"
|
||||
],
|
||||
"license": "https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/aspnet/jquery-ajax-unobtrusive.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"jquery": ">=1.8"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
@ECHO OFF
|
||||
PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE"
|
|
@ -0,0 +1,17 @@
|
|||
<Project>
|
||||
<ItemGroup>
|
||||
<VersionFile Include="version.props"/>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<NuspecPath>Microsoft.jQuery.Unobtrusive.Ajax.nuspec</NuspecPath>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
<ReadLinesFromFile File="@(VersionFile)">
|
||||
<Output TaskParameter="Lines" PropertyName="PackageVersion"/>
|
||||
</ReadLinesFromFile>
|
||||
<Exec Command="npm install" />
|
||||
<Exec Command="npm version --no-git-tag-version --allow-same-version $(PackageVersion)" />
|
||||
<Exec Command="gulp" />
|
||||
<Exec Command="nuget pack $(NuspecPath) -Version $(PackageVersion)" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,6 +1,6 @@
|
|||
// Unobtrusive Ajax support library for jQuery
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
// @version v3.2.4
|
||||
// @version v3.2.5
|
||||
//
|
||||
// Microsoft grants you the right to use these script files for the sole
|
||||
// purpose of either: (i) interacting through your browser with the Microsoft
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Unobtrusive Ajax support library for jQuery
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
// @version v3.2.4
|
||||
// @version v3.2.5
|
||||
//
|
||||
// Microsoft grants you the right to use these script files for the sole
|
||||
// purpose of either: (i) interacting through your browser with the Microsoft
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jquery-ajax-unobtrusive",
|
||||
"version": "3.2.4",
|
||||
"version": "3.2.5",
|
||||
"description": "Add-on to jQuery Ajax to enable unobtrusive options in data-* attributes",
|
||||
"main": "dist/jquery.unobtrusive-ajax.js",
|
||||
"repository": {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
msbuild .\build.msbuild
|
|
@ -0,0 +1 @@
|
|||
3.2.5
|
Загрузка…
Ссылка в новой задаче