Socket
Socket
Sign inDemoInstall

@pentia/publish-projects

Package Overview
Dependencies
336
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pentia/publish-projects

runs publish on csproj files via msbuild


Version published
Maintainers
3
Install size
12.6 MB
Created

Readme

Source

Publish-projects

Publish files from your source directory to your sitecore site

npm install publish-projects --save

usage

The module exports the following gulp tasks:

  • publish-all-layers
  • publish-project-layer
  • publish-context-layer
  • publish-feature-layer
  • publish-foundation-layer

import in gulpfile.js

var package = require('@pentia/publish-projects')

use to publish all projects

gulp publish-all-layers

use publish-project-layer to publish only projects in the project folder

use publish-feature-layer to publish only projects in the feature folder

use publish-foundation-layer to publish only projects in the foundation folder

Note: The publishing is done using the web publish feature of visual studio

configuration files

solution-config.json:

{
    "msbuild": {
        "showError": false, //controls if errors should be shown in the output
        "showStandardOutput": false, //controls if the standard output of msbuild should be shown
        "toolsversion": 14.0, //controls the msbuild tool version
        "verbosity": "minimal" //sets the verbosity of the msbuild
        "maxcpucount": 0, 
        "nodeReuse": true 
    },
    "configs": [{
        "name": "debug",
        "rootFolder": "C:\\websites\\pentia.boilerplate.local",
        "websiteRoot": "C:\\websites\\pentia.boilerplate.local\\Website", //where all the files are published to
        "websiteDataRoot": "C:\\websites\\pentia.boilerplate.local\\Website\\Data"
    }]
}

Keywords

FAQs

Last updated on 17 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc