Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Mark Stacey
f5d4ab1cc1
Include relative time polyfill locale data ( #8896 )
...
We were including the polyfill for the `Intl.RelativeTimeFormat` API,
but we weren't including any locale data. This polyfill doesn't work
without the locale data for whichever locale you're formatting.
The data for all locales we support is now included. The locale data
is loaded from disk as-needed (during app startup, and upon each change
in locale).
4 years ago
Mark Stacey
b30a352acb
Use `@fortawesome/fontawesome-free` npm package ( #8256 )
...
The official npm package for Font Awesome Free is now used instead of
the vendored styles. Previously we had been using v4.4.0, now we're
using v5.13.0.
We're now importing the Font Awesome SCSS modules instead of using the
minified CSS bundle. This integrates more cleanly into our build
system, and it lets us use their mixins directly in the future if we
need to.
The variable `fa-font-path` has been set to reference our font
directory, as instructed here:
https://fontawesome.com/how-to-use/on-the-web/using-with/sass#compile
5 years ago
kumavis
7686edadb0
Build system refactor ( #8140 )
...
* build - start static asset task cleanup
* build - simplify manifest tasks
* build - refactor + rename some tasks
* build - various cleanups
* manifest - fix ref from controller
* build - drop gulp for simple async tasks
* build - breakout gulpfile into multiple files
* build - rename some tasks
* build - use task fn refs instead of string names
* build - bundle all scripts first, except for contentscript
* build - improve task timeline
* deps - update lock
* build - improve task time printout
* build/scripts - remove intermediate named task
* build - use 'yarn build' for task entry points
* build - properly run tasks via runTask for timeline display
* development/announcer - fix manifest path + clean
* build - lint fix
* build - make all defined tasks possible entry points
* build/task - properly report errors during task
* ci - fix sesify/lavamoat-viz build command
* build/scripts - run each bundle in separate processes
* lint fix
* build - forward childProcess logs to console
* build/task - fix parallel/series stream end event
* build/scripts refactor contentscript+inpage into a single task
* build/static - use the fs for 150x speedup zomg
* lint fix
* build/static - fix css copy
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/index.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* deps - remove redundant mkdirp
* deps - remove unused pumpify
* deps - remove redundant merge-deep
* deps - prefer is-stream of isstream
* deps - remove clone for lodash.cloneDeep
* clean - remove commented code
* build/static - use fs.copy + fast-glob instead of linux cp for better platform support
* build/manifest - standardize task naming
* build/display - clean - remove unused code
* bugfix - fix fs.promises import
* build - create "clean" as named task for use as entrypoint
* build/static - fix for copying dirs
* Update development/build/task.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build - use task refs, tasks only return promises not streams, etc
* lint fi bad merge + lint
* build - one last cleanup + refactor
* build - add comments introducing file
* build/manifest - fix bug + subtasks dont beed to be named
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build/task - remove unused fn
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
5 years ago