Leo McArdle
3134dec758
Merge branch 'master' into webpack
2021-10-18 13:56:24 +01:00
Tasos Katsoulas
f6c6a60bb8
Bump npm packages.
...
* postcss, locutus, path-parse, color-string
2021-09-02 14:49:59 +03:00
Leo McArdle
a5d506f2bc
Merge branch 'master' into webpack
2021-08-04 12:11:20 +01:00
Leo McArdle
6fa71d4ecd
remove moment.js ( #4863 )
...
https://github.com/mozilla/sumo-project/issues/921
2021-08-04 11:57:11 +01:00
Leo McArdle
4f0f4dcbf2
update docs to match our new frontend stack ( #4860 )
...
https://github.com/mozilla/sumo-project/issues/885
2021-08-04 11:52:54 +01:00
Leo McArdle
6d795dbc6a
remove django-pipeline ( #4855 )
...
https://github.com/mozilla/sumo-project/issues/884
2021-07-28 12:32:54 +01:00
Leo McArdle
8b3dd6ce28
fix npm install-related commands ( #4845 )
...
prepare_django_assets.js was still referenced in the npm postinstall hook
2021-07-19 16:40:00 +01:00
Tasos Katsoulas
5e4e5bafac
Remove prepare_django_assets script
...
* Add nvmrc into the project
* Set engines in package.json
2021-07-14 15:21:02 +03:00
Leo McArdle
bfcd6bb250
replicate existing postcss setup in webpack ( #4840 )
...
https://github.com/mozilla/sumo-project/issues/877
2021-07-13 14:34:23 +01:00
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