Commit graph

21 commits

Author SHA1 Message Date
Adeodato Simó
9a487b0442
Ensure dev-tools uses bookworm
In 1937177e1 ("dev-tools: use apt source for Node instead of setup script"),
I introduced the use of `Signed-By` with a public key block, which is only
supported in bookworm (bullseye only supports fingerprints, TTBOMK).

Python's Docker images already use bookworm by default, but we explicitly
require it now to avoid build errors if someone has a very old image laying
around (see, e.g., #3190).

(This can be dropped after Debian 13 ‘trixie’ is released.)
2024-01-13 17:55:21 +01:00
Dato Simó
09b2dea995 dev-tools: ensure we install Node from upstream
Fixes: #3173 ("`bw-dev build` fails")
2024-01-01 09:01:21 -03:00
Adeodato Simó
b78d51410b
bw-dev: drop use of npm exec by setting PATH in Docker image 2023-10-18 20:37:13 -03:00
Adeodato Simó
6392a8e01d
Merge pull request #2032 from viviicat/bw-dev-npm-fix
Conflicts:
	bw-dev
	dev-tools/Dockerfile
	bookwyrm/static/css/bookwyrm/_all.scss
	bookwyrm/static/css/themes/bookwyrm-dark.scss
	bookwyrm/static/css/themes/bookwyrm-light.scss
2023-10-18 18:54:53 -03:00
Adeodato Simó
1937177e1a
dev-tools: use apt source for Node instead of setup script
Extra bits:

  - use a single RUN instruction
  - silence upgrade notices from pip and npm
2023-10-17 02:26:22 -03:00
Christof Dorner
aecd4d2a4f Upgrade development black to 22.12.0 2023-02-02 12:36:34 +01:00
Mouse Reeve
e1f6110dc8
Merge branch 'main' into bw-dev-npm-fix 2022-11-14 09:11:16 -08:00
Mouse Reeve
bdd75c434b Updates node to version 18 2022-07-26 15:07:40 -07:00
Mouse Reeve
51f445bc72
Merge branch 'main' into bw-dev-npm-fix 2022-06-11 20:39:18 -07:00
Mouse Reeve
ae2006c726 Updates black version 2022-05-23 12:46:45 -07:00
Vivianne Langdon
54b8d2c3f3 add import rule override for styles 2022-03-17 00:50:04 -07:00
Vivianne Langdon
dbd5a02617 specify npm prefix and stylelint configs and adjust ignores 2022-03-17 00:50:04 -07:00
Mouse Reeve
6daaffeaa7
Compiles css framework from sass (#1956)
* Compiles css framework from sass

* Adds watch commands

* Copies existing css to sass file

* Moves sass out of static path

* Removes global linter

I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters

* Reverts invalid change to dockerfile

* Changes stylelint path

* Remove unused bulma files

* Properly minifies generated css

* Fixes regression in thread display

* rgba function only works with percents for whatever reason

* Hush stylelint

* Removes trailing zeros

* Compile sass in Django

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Python formatting

* Updates linter

* Updates commands

* Adds css-config file

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Stylelint fix

* Removes unused compiled bulma files

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 15:29:47 -08:00
Mouse Reeve
7d68c23ce5 Updates dev tools 2022-02-18 08:48:44 -08:00
Mouse Reeve
5d098b3c10 Removes duplicate selector 2022-02-17 17:01:21 -08:00
Mouse Reeve
c04d2d285b Python formatting 2022-02-17 08:42:12 -08:00
Mouse Reeve
6f90c80494 Gets stylelint command working 2022-02-16 13:13:11 -08:00
Mouse Reeve
1412fa507c Gets prettier command working 2022-02-16 12:54:03 -08:00
Mouse Reeve
55177990e3 Adds stylelint-config-recommended 2022-02-15 12:47:15 -08:00
Mouse Reeve
f28d60b94f Tries adding packages 2022-02-15 12:41:22 -08:00
Mouse Reeve
714bb081ea Updates workflows 2022-02-15 12:25:35 -08:00