@pentia/sitecore-package-manager

Package installer npm package

Showing:

Popularity

Downloads/wk

0

GitHub Stars

1

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

7

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Sitecore-package-manager

The sitecore package manager

npm install sitecore-package-manager --save

usage

The module exports a gulp task called install-packages

import in gulpfile.js

var package = require('@pentia/sitecore-package-manager')

use

gulp install-packages

Note: The package requires WMF 5.1 this is built in, in windows 10 Anniversary edition. For earlier editions of windows use the link below: https://www.microsoft.com/en-us/download/details.aspx?id=53347

configuration files

solution-config.json

Contains the environment specific paths for the packages to be installed to

{
    "configs": [{ //is a array of the build configurations and their settings
        "name": "debug", //is the name of the configuration, this should match the name of the build configuration in visual studio
        "rootFolder": "C:\\websites\\pentia.boilerplate.local", 
        "websiteRoot": "C:\\websites\\pentia.boilerplate.local\\Website", //the path to root of the website - this is where the website folder of the package will be copied to
        "websiteDataRoot": "C:\\websites\\pentia.boilerplate.local\\Website\\Data" //the path to the root of the data folder for the website - this is where the data folder of the nuget package will be copied to
    }]
}

solution-packages.json:

Contains the list of packages nessecary for the solution to run.

All packages needs to be a NuGet Package. The nuget package needs to have two folders inside it, one called data and one called website. The data folder will be copied to the path in the solution-config.json setting called websiteDataRoot The website folder will be copied to the path in the solution-config.json setting called websiteRoot

{
    "credentials": "c:\\buildagent\\creds\\credentials.json", //needs to be set, this i used for having a file with credentials for the endpoints
    "packages": [{
        "packageName": "Sitecore.Full", //name of the package in the feed
        "version": "8.1.160519", //version of the package
        "location": "http://feedserver/nuget/feedname" //feed location, it is using nuget, so this can be a local folder or a http feed.
    }]
}

Creating a package

In order to create a package the nuget package must contains two folders; one called website, and one called data. In order to help you create the package, there is a yeoman generator. https://github.com/PentiaLabs/generator-sc-package

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial