Leo McArdle
e15e1595ff
run webpack build in docker
...
remove frontend-base image, do everything in staticfiles image
add STATIC_URL_WEBPACK to jinja context for use by webpack html entrypoint files
2021-07-13 10:57:39 +01:00
Leo McArdle
0e513ef754
load stylesheets through webpack
...
support stylesheet source maps
2021-07-12 16:37:48 +01:00
Leo McArdle
8c774bec27
expose globals in webpack
...
this should get our js working properly
over time we can go through and remove these vars from the global scope,
instead importing them only in the files they're needed,
and take full advantage of what webpack has to offer
2021-07-12 16:37:48 +01:00
Leo McArdle
67bebd8f8f
add basic webpack config, using previously defined entrypoints
...
load all javascript through webpack - it's mostly broken because we haven't exposed globals yet - that's our next step
2021-07-12 16:37:48 +01:00
Leo McArdle
17ca00e233
use eslint to find globals we need to add to webpack ( #4826 )
...
fix some js not using var where it should
2021-06-21 13:08:36 +01:00
Leo McArdle
64b8b8a9c3
delete a bunch of unused js ( #4820 )
2021-06-16 15:18:00 +01:00
Leo McArdle
ecac012956
bump mocha-jsdom and fix tests ( #4687 )
2021-02-19 12:05:41 +00:00
Leo McArdle
a5855b3de3
modify django-pipeline config to apply babel to select files ( #4682 )
...
update babel to latest version
https://github.com/mozilla/sumo-project/issues/768
2021-02-17 14:41:53 +00:00
Leo McArdle
5d06caadb5
remove top_contributors_new and dependencies ( #4482 )
2020-08-19 10:26:55 +01:00
Leo McArdle
ff6efd65ca
run svgo when building staticfiles image ( #4247 )
2020-05-26 11:17:50 +01:00
Leo McArdle
b02252e51e
vscode setup improvements: ( #4381 )
...
* add debug config
* don't launch kitsune on docker startup so it can't crash vscode
* add npm script for running browsersync/asset compilation in docker container
* expose browsersync ports
* add docs
2020-05-18 10:58:38 +01:00
Tasos Katsoulas
30cfe5e615
Handle css through collectstatic
...
* MD5 hashes for css.
2020-04-30 15:57:13 +03:00
Leo McArdle
b1a0b27164
run npm ci when building the prod image
2020-03-20 11:47:26 +00:00
Kasey Kelly
32a6d683b3
CSS custom props polyfill for IE support
2020-03-09 11:37:03 -04:00
Kasey Kelly
3356b94fe1
CSS spacing refactor – using protocol more heavily
...
* spacing cleanup and fixes
2020-03-04 11:28:14 +02:00
Tasos Katsoulas
940f76c91b
Remove LESS bundles.
...
* Remove stylesheet from base template.
2020-02-25 15:40:45 +02:00
Tasos Katsoulas
0f55fb5276
Revert "Remove CSS from django-pipeline."
2020-02-07 17:59:11 +02:00
Tasos Katsoulas
732ab3ae9f
Remove CSS from django-pipeline.
2020-02-06 15:44:13 +02:00
Tasos Katsoulas
f7fee99a4e
Move protocol under js_assets.
2020-02-05 17:10:40 +02:00
Tasos Katsoulas
489a15e084
Move @mozilla-protocol under static/protocol.
2020-02-04 19:30:20 +02:00
Tasos Katsoulas
213a8982bb
Copy protocols assets into static.
...
* Identation fixes.
2020-02-04 13:34:24 +02:00
Kasey Kelly
75d70d4c52
profile pages, including modals and notifications
2019-12-18 13:55:23 -05:00
Kasey Kelly
b2c18e653b
auth pages and nav fixes
2019-12-16 10:31:08 -05:00
Tasos Katsoulas
95a389cd39
Instant reloading through browsersync.
2019-12-11 15:53:10 +02:00
Tasos Katsoulas
e94428396c
Merge pull request #4065 from akatsoulas/docker-scss
...
Add scss files into static.
2019-12-10 17:31:39 +02:00
Tasos Katsoulas
301d6f4a7a
Add scss files into static.
2019-12-10 17:30:37 +02:00
Kasey Kelly
fd295a1645
homepage WIP in styleguide
2019-12-10 13:35:47 +02:00
Tasos Katsoulas
04927ebcc6
Replace uglify-js with uglify-es.
...
* Fixes docker build for responsive redesign branch.
2019-12-10 13:11:24 +02:00
Tasos Katsoulas
d67ea1f16d
Fix variables and paths.
2019-12-02 17:51:26 +02:00
Tasos Katsoulas
5ed1bc978f
Add latest updates from LL.
2019-12-02 14:03:38 +02:00
Tasos Katsoulas
93cf3bf64f
Remove gulp from the project.
2019-11-28 22:17:32 +02:00
John Giannelos
3bec4734af
Add kss config and template
...
* Use variable instead of hardcoded path to styleguide-example
2019-11-28 15:23:55 +01:00
John Giannelos
bd14265079
Add orchestration for building styleguide
2019-11-28 12:59:46 +01:00
John Giannelos
bbbb89a3ad
Add orchestration for building .scss files
2019-11-27 18:33:10 +01:00
Tasos Katsoulas
22230f7a86
Remove bower from the project.
2019-11-27 16:49:52 +02:00
John Giannelos
58e3eb0e1b
Add docker stage to build frontend dependencies
...
* Remove yarn.lock
* Install npm packages that are compatible with Node 12
* Workaround mocha-jsdom incompatibility
* Ensure that mocha tests are still running
2019-11-21 17:21:41 +01:00
Shona
601444e6ec
update bower to latest version for fixing bug 1500894
2018-10-23 14:42:23 -04:00
Jon Petto
2206c51f80
[fix 3289] Update requirements.
2018-08-10 09:53:20 -04:00
Giorgos Logiotatidis
fac1ce026a
Update docker.
2017-11-20 12:54:12 +02:00
Mike Cooper
8bb00b6bd7
Remove vestiges of lockdown. It isn't used in prod.
2016-04-06 09:40:09 -07:00
Mike Cooper
be6fa7e18c
Update pre-commit and friends.
2015-12-15 15:23:27 -08:00
Mike Cooper
cfa3f9982d
Add tests for instant search.
2015-11-12 15:10:55 -08:00
Mike Cooper
9317205d96
[Bug 1203633] Switch to Mocha for JS tests.
2015-09-11 16:06:45 -07:00
Rehan Dalal
915b0cb401
upgrade npm-lockdown
2015-06-09 10:11:35 -04:00
Rehan Dalal
ceba89b6ff
[bug 1172549] Upgrade less-plugin-autoprefixer
2015-06-08 13:39:50 -04:00
Mike Cooper
fbb0803d8b
Pin versions and re-lock.
2015-05-27 16:21:49 -07:00
Rehan Dalal
3a254cdd37
Update bower to 1.4.1
2015-05-12 18:32:37 -04:00
Rehan Dalal
611929fc5f
specific version of less-plugin-autoprefix
2015-04-02 13:29:50 -04:00
Rehan Dalal
3a1d36adc2
Ditch vendors.less and use Autoprefixer
2015-04-02 13:29:47 -04:00
Mike Cooper
5f0ebc8471
[Bug 1139128] Table UI for top questions contributors.
...
Uses React for UI, Babel for ES6+JSX compilation, and Browserify for a
module system.
2015-03-25 10:12:42 -07:00
Rehan Dalal
67be21042b
Use Bower for front-end dependencies
2015-03-24 01:50:13 -04:00
Rehan Dalal
21e1126471
Switch from jingo-minify to django-pipeline
2015-03-23 17:03:47 -04:00
Rehan Dalal
e28af8daa5
Make lockdown a dev dependency
2015-03-17 18:03:44 -04:00
Rehan Dalal
a977812abd
Use npm-lockdown to install Node dependencies
2015-03-17 18:03:44 -04:00
Tim
a460dda31d
[bug 1127834 Replace Firefox Help with Mozilla Support
2015-02-06 12:24:31 -05:00
Rehan Dalal
08d8995f8e
Fix uglifyjs/cleancss version
2014-09-22 17:42:38 -04:00
Rehan Dalal
a57ee9d2c9
[bug 1068212] Drop YUICompressor
2014-09-22 15:54:48 -04:00
Rehan Dalal
2c4ccaa1f5
Update LESS to 1.7.0
2014-07-28 10:25:28 -04:00
Rehan Dalal
8311c86d44
[bug 1039523] Infrastructure for instant search
2014-07-25 11:12:31 -04:00
Mike Cooper
826450fcc1
[Bug 904123] Setup TravisCI testing
2013-08-22 13:44:07 -07:00