@pentia/generator-sc-package

Sitecore Package generator for npm module sitecore-package-manager


Keywords
yeoman-generator, sitecore, package, generator, build-scripts, nuget, pentia
License
ISC
Install
npm install @pentia/generator-sc-package@0.1.1

Documentation

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.