GitHunt
PE

PentiaLabs/generator-sc-package

Sitecore Package generator for npm module sitecore-package-manager

Sitecore package generator

This is the yeoman generator for sitecore packages to use with the NPM package sitecore-package-manager
Its main usage is to give a structure and a nuspec file for generating the nuget package correctly.

usage

Since yeoman.io doesnt support scoped generators yet. you need to install it yourself.

npm install -g yo @pentia/generator-sc-package 

yo @pentia/sc-package

greating package

find an empty folder

run:

yo sc-package

follow instructions:
This will create a nuspec file and two folders: website and data

now add your files to the folders, forexample config files in the website\App_Config\Include\ folder
and data files in the data folder.

run:

yo sc-package:pack

this will download the latest nuget.exe and package the file to a nupkg file.

Languages

JavaScript100.0%
Created October 6, 2016
Updated September 14, 2017
PentiaLabs/generator-sc-package | GitHunt