Commit Graph

34 Commits

Author SHA1 Message Date
Maddison Hellstrom 2abef7195e [docs:fix] correct keymap count calculation 2020-06-09 07:30:18 -07:00
Maddison Hellstrom 2f0c28ca0c [tools/conf-serve:feat] add access control headers 2020-05-25 21:33:21 -07:00
Maddison Hellstrom 128d311b6c [docs:feat] auto-generate copyright/license info 2020-04-26 01:44:55 -07:00
Maddison Hellstrom 7b8f8eab65 [tools/gulp:refactor] improve favicon scraping 2020-04-26 00:00:48 -07:00
Maddison Hellstrom c8dc27f017 [source:style] apply eslint --fix 2019-09-11 04:51:27 -07:00
Maddison Hellstrom 58e21d12ca [tools:feat] add lint-fix gulp task
apply eslint fixes to source files in-place
2019-09-11 04:50:18 -07:00
Maddison Hellstrom 2ddaa0806e tweak: change output filename to surfingkeys.js
installdir is now ~/.config/ rather than ~/
2019-06-02 22:25:50 -07:00
Maddison Hellstrom 6b1ccc0288 tools(gulp): add serve task
change:
BREAKING - install .surfingkeys to user config directory, e.g.
~/.config/.surfingkeys, rather than ~/.surfingkeys

feat:
- add `gulp serve` which serves a built config on localhost:9919, useful
for configuring surfingkeys in firefox

refactor:
- clean up and improve stability of gulpfile
2019-06-01 18:55:21 -07:00
Maddison Hellstrom 8f6e2d5f0c fix(gulp): minimize issues w/referencing SK code
Because all source files are required by the gulpfile during the build
stage in order to auto-generate documentation, code cannot exist at the
top execution level which assumes that SurfingKeys- or browser-related
code is defined.

Two steps were taken to minimize the issues caused by this:

1. The source files are now only included during documentation
generation, and not during normal builds.

2. Any occurrences of references to SK-specific code have been removed
from the top level of the source files.

There still remains the issue of selectively accessing SK code from the
top level of source files, e.g. as a user wishes to do in #14, but as
long as the ability to generate documentation is not desired, this
should be a lesser issue. The workaround remains to wrap SK-dependent
code in a block which is only executed in a real browser and not gulp.
[TODO: Perhaps there is a simple way to detect this, and/or we can
provide a helper function for doing so]

The Hints.js stub file is no longer necessary after this change, and so
it has been removed.
2019-05-23 17:48:57 -07:00
Maddison Hellstrom 531b503f3c tweak: only clean favicons before favicon task 2019-03-14 10:42:52 -07:00
Maddison Hellstrom 59fced5674 tweak(gulpfile): log errors fetching favicon 2019-03-10 10:36:27 -07:00
Maddison Hellstrom a7297cb25a tweak(gulpfile): refine task ordering 2019-03-10 10:31:30 -07:00
Maddison Hellstrom 525416f577 docs: add favicons to readme 2019-03-09 19:28:48 -08:00
Maddison Hellstrom 716ee9d604 fix(gulp): upgrade to Gulp 4
fixes #13
2019-03-07 14:13:49 -08:00
Maddison Hellstrom 0a89c5ee94 style: make eslint happy 2018-11-16 01:04:51 -08:00
Maddison Hellstrom 4be41fdf4c style: remove unneeded console.log 2018-11-09 17:54:04 -08:00
Maddison Hellstrom 9a559a143f refactor: improve documentation generation 2018-11-09 17:47:39 -08:00
Maddison Hellstrom f1535b2668 refactor: add lots of stuff
sorry I changed too much and don't wanna go back and split it all into
separate commits.....
2018-11-02 17:22:41 -07:00
Maddison Hellstrom 23fd923066 chore(gulp): improve documentation and installation procedure
Simplifies the installation procedure by making the private configuration setup optional. Adds more
clarity to the README
2018-08-23 03:47:38 -07:00
Maddison Hellstrom eaf74cc4f1 Use parcel-bundler instead of gulp-concat 2018-08-12 19:18:52 -07:00
Maddison Hellstrom b60e17432c Use <!--{{...}}--> for placeholders in README 2017-12-01 19:10:34 -08:00
Maddison Hellstrom 880fea4a39 Use emojis for screenshot links 2017-12-01 19:02:57 -08:00
Maddison Hellstrom 4fa76c7b0b Make eslint happy & fix gulpfile 2017-12-01 18:58:06 -08:00
Maddison Hellstrom f047497398 Migrate from jshint to eslint 2017-12-01 18:48:58 -08:00
Maddison Hellstrom 5a718243d3 Improve README auto-generation
Now screenshots are automatically embedded into the README
2017-11-17 06:31:29 -08:00
Maddison Hellstrom 1df3f4b76f Add gulp-autoreload: reload gulpfile on change 2017-11-17 06:29:09 -08:00
Maddison Hellstrom d41e3673d2 Add binding to check repo star status 2017-11-14 00:14:46 -08:00
Maddison Hellstrom 0e2e9ee1f2 Reformat completions.js 2017-11-13 23:22:07 -08:00
Maddison Hellstrom db8c4319a1 Return gulp.src result 2017-10-31 00:41:45 -07:00
Maddison Hellstrom f4b6ac907b Simplify gulpfile 2017-10-31 00:36:11 -07:00
Maddison Hellstrom b0796fc4b9 Clean up gulpfile
- Improve formatting
- Gulpfile is now linted by jshint
2017-10-31 00:27:41 -07:00
Maddison Hellstrom 207072e2a4 Slight refactor, add automatic README generation
- The table containing the list of search engines in README.md is now automatically
generated from the template `README.tmpl.md`. This is accomplished inside the
'readme' task of gulpfile.js.

- Improved installation instructions
2017-10-30 22:39:21 -07:00
Maddison Hellstrom 0dccf3ea76 Add gulp-jshint 2017-09-17 16:25:38 -07:00
Maddison Hellstrom 42a6af06d4 Initial commit 2017-08-27 20:24:24 -07:00