Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

generator-intraactive

jsadk10MIT0.18.0

Yeoman generator for a ProActive IntraActive project.

not-real-yeoman-generator

readme

generator-intraactive

Yeoman generator for a ProActive IntraActive project.

Prerequisites

node.js (for installing npm)

  • go to https://nodejs.org/en/ and download LTS installer
  • run install wizard Yeoman (for generating a new scaffolding project)
  • start a new cmd or PowerShell (run as Administrator)
  • type: npm install yo -g

Installation (master branch - released code)

You can install via npm:

npm install -g generator-intraactive

Installation (dev, bug og feature branch)

Navigate to folder where generator-intraactive is located and run the command

npm link

Usage

Create a folder named after the project you want to create, e.g. SharePoint.TestModule. Inside that folder, run:

yo intraactive
yo intraactive:theme
yo intraactive:theme-v2
yo intraactive:moduleparts
yo intraactive:pagelayouts
yo intraactive:searchtemplates
yo intraactive:birthdayview
yo intraactive:accordionview
yo intraactive:notificationview

You will be asked to enter:

  • the project name (by default it is the folder name you're in)
  • a description in english
  • a description in danish
  • the company prefix
  • which folder you want the solution created in

This command will create a IntraActive ModulePart skeleton with:

  • code of a sample ModulePart (with editor)
  • setup for generating the NuGet Package (with resources and webpart file)
  • setup for generating the NuGet Package for sample content (adding webpart to front page)