Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pentialabs/publish.projects
publish projects npm package
https://github.com/pentialabs/publish.projects
build-scripts helix pentia sitecore sitecore-helix
Last synced: about 1 month ago
JSON representation
publish projects npm package
- Host: GitHub
- URL: https://github.com/pentialabs/publish.projects
- Owner: PentiaLabs
- Created: 2016-09-01T18:13:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T09:39:58.000Z (over 7 years ago)
- Last Synced: 2024-10-12T23:20:34.643Z (about 1 month ago)
- Topics: build-scripts, helix, pentia, sitecore, sitecore-helix
- Language: JavaScript
- Size: 24.4 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Publish-projects
> Publish files from your source directory to your sitecore site
```shell
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-layerimport in gulpfile.js
```javascript
var package = require('@pentia/publish-projects')
```use to publish all projects
```shell
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"
}]
}
```