Dan Allen
898a25a3c5
don't attempt to lint minified vendored JavaScript
2024-02-24 01:45:11 -07:00
Dan Allen
b585af5c0b
use equal sign in option hint so it can be selected with double click
2020-04-28 03:48:56 -06:00
Dan Allen
0538ff99d8
announce path of bundle in the form of the --ui-bundle-url option
2020-04-11 04:21:04 -06:00
Dan Allen
f541f43db1
format source
2020-04-11 03:29:57 -06:00
Dan Allen
f49b50e0e4
configure preview server to allow access from any host
...
- set host of preview server to 0.0.0.0
- move server config to top-level constant
- patch gulp-connect log to report URL with localhost and URL with local IP
2019-06-26 00:52:22 -06:00
Dan Allen
8c150a4a00
move pack task to end of task list; remove description
2019-06-17 13:40:11 -06:00
Dan Allen
6632262dfe
fix check for preview in task plan
2019-06-16 20:18:32 -06:00
Dan Allen
0d1579988d
restore pack task as alias for bundle task
2019-06-06 23:14:55 -06:00
Dan Allen
07780e020e
reorganize build
...
- move gulpfile.js folder to gulp.d
- move gulpfile.js/index.js back to gulpfile.js
- rename task to createTask
- import tasks under task namespace
2019-05-29 03:17:01 -06:00
Dan Allen
865d292114
fix import order
2019-05-29 03:17:01 -06:00
Dan Allen
2fc25c6e3f
format source code
2018-12-31 19:22:23 -07:00
Dan Allen
ce96288637
copy images for preview site
2018-12-31 19:21:12 -07:00
Dan Allen
f8980ea2b3
rename preview-site-src folder to preview-src
2018-12-30 15:08:32 -07:00
Dan Allen
97a1d516e2
add support for writing preview pages in AsciiDoc
2018-12-30 15:08:32 -07:00
Dan Allen
2219755d63
rename previewServe task function to serve
2018-12-30 14:05:46 -07:00
Dan Allen
39efbaff1d
further simplify the preview:serve task
...
- move watch function to third argument of previewServe function
2018-12-30 14:03:39 -07:00
Dan Allen
aacad12db2
add missing file in Gulp build
2018-12-30 05:14:09 -07:00
Dan Allen
31b26d03b4
fix lint error in Gulp build
2018-12-30 04:01:06 -07:00
Dan Allen
715626c643
consolidate Gulp build
...
- move task require to gulpfile.js/tasks/index.js
- abbreviate variable names
- use ospath where appropriate
2018-12-30 03:58:39 -07:00
Dan Allen
7367f6c184
reorganize Gulp build
...
- rename exec argument to call
- pick off and use first argument of exportTasks function as default task
- remove use of path
- use gulp.watch instead of chokidar (which, in turn, uses chokidar)
- add loop and opts arguments to task function (currently unused)
2018-12-30 03:39:35 -07:00
Dan Allen
6155f7fa52
use sync fs operations so fonts get included in bundle
2018-12-29 05:07:35 -07:00
Dan Allen
899d5fb12a
define fallback sink function as default argument [skip ci]
2018-12-28 04:23:12 -07:00
Dan Allen
ba998eab09
enable failAfterError option on stylelint integration
2018-12-28 01:45:05 -07:00
Dan Allen
96bfce53be
remove descriptions for internal tasks
2018-12-28 08:19:21 +00:00
Dan Allen
4d64b2e3bf
rewrite preview:pages task to merge streams instead of promises
2018-12-28 08:19:21 +00:00
Dan Allen
5c982221c9
rename then arg to exec in task definition function
2018-12-28 08:19:21 +00:00
Dan Allen
12493e37c9
move gulpfile.js into gulpfile.js folder
2018-12-28 08:19:21 +00:00
Dan Allen
260cc89833
migrate build to Gulp 4
...
- upgrade to Gulp 4
- refactor tasks to use Gulp 4 task system
- switch from map-stream to through2.obj
- switch from fs to fs-extra
- fix Gulp prettier+eslint integration
- rename tasks
2018-12-28 08:19:21 +00:00
Dan Allen
a2767b5448
upgrade dependencies
...
- upgrade dependencies
- add preview mode to build
- adding missing displayVersion properties in preview model
- exclude no-descending-specificity rule in stylelint
- fixes compatibility with Node 10
2018-12-26 15:40:49 -07:00
Dan Allen
7c11544940
switch from browser-sync to gulp-connect
...
- switch from browser-sync to gulp-connect
- only enable livereload if env var LIVERELOAD=true is set
- add missing return in build preview task
- remove debounce in watch
2018-02-14 00:45:41 +00:00
Dan Allen
c5fb7128c1
configure CI job to publish preview site to GitLab Pages
...
- change output folder for preview site to public (requirement of GitLab Pages)
- add the public folder to .gitignore file
- add job to CI build that publishes preview site from master branch
- add link to preview site to the README
2017-11-27 19:52:47 -07:00
Dan Allen
7b81bf25d8
update eslint rules and format JavaScript
...
- set maximum line length to 120
- don't require a space immediately after the line comment character or inside a block comment
- format JavaScript
2017-10-12 21:44:48 -06:00
Dan Allen
cef34d3def
add lint:css build task
...
- add stylelint Gulp plugin
- add stylelint standard config
- add lint:css build task
- rename previous lint build task to lint:js
2017-10-07 17:05:35 -06:00
Dan Allen
3d81e78d4c
format JavaScript using Prettier w/ ESLint rules
2017-10-07 17:05:35 -06:00
Dan Allen
659a0d617e
add format build task
...
- add Prettier w/ ESLint integration
- add local Gulp plugin to integrate prettier-eslint
- add format build task
- promote JS file globs to constant
2017-10-07 17:05:30 -06:00
Dan Allen
4257abd0e2
add lint build task
...
- add Standard JS variant of ESLint
- add ESLint config based on StandardJS w/ custom rules
- add lint build task
- fix lint violations
2017-10-07 16:28:33 -06:00
Dan Allen
745128a164
resolves #1 add initial Gulp build
...
- add task to compile assets (build)
- add task to package assets (pack)
- add task to build preview site (build:preview)
- add task to preview site with file monitor (preview)
- create minimum required files for preview site (stylesheet, default template, index.html)
2017-10-07 15:58:59 -06:00