This package has been deprecated

Author message:

Docker support has been merged into official liferay-themes-sdk project. Please refer to https://github.com/liferay/liferay-themes-sdk

docker-gulp-tasks-4-liferay

1.0.3 • Public • Published

⛔ DEPRECATED ⛔ - Docker Gulp Tasks For Liferay

No Maintenance Intended

Starting with version 8.0.0-rc.0 of official liferay-themes-sdk project, docker support comes OOTB. Please use this project only for Liferay 7.0.0 GAx compatibility.

The docker-gulp-tasks-4-liferay module is intended for use with Yeoman generated Liferay themes. In particular, it allows to use gulp watch features on the host machine when Liferay runs on a local container. Please refer to this blog article for more details.

How to use

The docker-gulp-tasks-4-liferay module should be added as an hook module in your theme's gulpfile.js and in package.json's devDependencies. The dockerContainerName parameter is required.

var gulp = require('gulp');
var liferayThemeTasks = require('liferay-theme-tasks');

liferayThemeTasks.registerTasks({
	gulp: gulp,
	hookModules: [ 'docker-gulp-tasks-4-liferay' ],
	dockerContainerName: 'liferay_docker_container_name'
});

Options

dockerContainerName

type: string required: true

The name of the Liferay container in which theme files should be deployed by gulp watch task.

dockerThemesDir

type: string default: /tmp/themes

Determines a folder into the container into which files are syncronised by gulp watch task. In particular, gulp watch copies theme files into ${dockerThemesDir}/${themeName}/.web_bundle_build directory.

Readme

Keywords

Package Sidebar

Install

npm i docker-gulp-tasks-4-liferay

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

13.2 kB

Total Files

6

Last publish

Collaborators

  • glassofwhiskey