amplify icon indicating copy to clipboard operation
amplify copied to clipboard

Added updated Nuget package spec and Nuget readme file

Open dcneiner opened this issue 11 years ago • 2 comments
trafficstars

The AmplifyJS NuGet package has been needing to be updated with the latest code for a while. This request adds the nuspec file into Source control (as well as the associated readme) and maps the built output of Amplify to match the existing NuGet structure. The only new addition is the amplify folder with individual components inside. The finished package files look like this:

/content
  /Scripts
    /amplify
       amplify.core.js
       amplify.core.min.js
       amplify.request.js
       amplify.request.min.js
       amplify.store.js
       amplify.store.min.js
    amplify-vsdoc.js
    amplify.js
    amplify.min.js
    GPL-LICENSE.txt
    MIT-LICENSE.txt
    README.txt

After discussing with @elijahmanor I opted to not put the amplify.js and amplify.min.js files in the /amplify directory so those upgrading from an older version of the package wouldn't have trouble with the files moving.

If @jcreamer898 or anyone else with more experience in .NET and NuGet could chime in on this commit, it would be appreciated!

dcneiner avatar Jul 05 '14 17:07 dcneiner

I'll have a look. — Sent from Mailbox

On Sat, Jul 5, 2014 at 12:38 PM, Douglas Neiner [email protected] wrote:

The AmplifyJS Nuget package has been needing to be updated with the latest code for a while. This request adds the nuspec file into Source control (as well as the associated readme) and maps the built output of Amplify to match the existing Nuget structure. The only new addition is the amplify folder with individual components inside. The finished package files look like this:

/content
  /Scripts
    /amplify
       amplify.core.js
       amplify.core.min.js
       amplify.request.js
       amplify.request.min.js
       amplify.store.js
       amplify.store.min.js
    amplify-vsdoc.js
    amplify.js
    amplify.min.js
    GPL-LICENSE.txt
    MIT-LICENSE.txt
    README.txt

After discussing with @elijahmanor I opted to not put the amplify.js and amplify.min.js files in the /amplify directory so those upgrading from an older version of the package wouldn't have trouble with the files moving. If @jcreamer898 or anyone else with more experience in .NET and Nuget could chime in on this commit, it would be appreciated! You can merge this Pull Request by running: git pull https://github.com/appendto/amplify nuget Or you can view, comment on it, or merge it online at: https://github.com/appendto/amplify/pull/100 -- Commit Summary --

  • Added updated Nuget package spec and Nuget readme file -- File Changes -- A AmplifyJS.nuspec (33) A nuget-readme.txt (24) -- Patch Links -- https://github.com/appendto/amplify/pull/100.patch https://github.com/appendto/amplify/pull/100.diff

    Reply to this email directly or view it on GitHub: https://github.com/appendto/amplify/pull/100

jcreamer898 avatar Jul 05 '14 17:07 jcreamer898

Thanks @jcreamer898 – it can wait until next week too… Also, it will only work if you have used anvil to build the output files first.

dcneiner avatar Jul 05 '14 17:07 dcneiner