Commit Graph
294 Commits
Author SHA1 Message Date
Rubén Rincón Blanco e98d428030 Make check and npm run check now run similar steps (#3722) 2022-05-27 22:54:36 +02:00
Rubén Rincón Blanco c42ec3bd87 Set reporter minimal in mocha test check (#3723) 2022-05-27 22:53:20 +02:00
Jeremy Rifkin 4fc7fb1a8f Update vim keybinds (#3694) 2022-05-20 12:57:43 +02:00
Mats Larsen e24b2f72be Remove unused prettier format script (#3646) 2022-05-15 20:36:13 +01:00
Matt Godboltandpartouf 31104f3230 Use our own fork of approvals to fix a bunch of security warnings. (#3651)
* Use our own fork of approvals to fix a bunch of security warnings.
* use node 16

Co-authored-by: partouf <partouf@gmail.com>
2022-05-13 07:44:29 -05:00
Matt Godbolt f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
Ofek 29b6e4a462 Fix #3275 : move from compiler-opt-info to compiler-opt-info2 (#3615)
* Fix #3275 : move from compiler-opt-info to compiler-opt-info2

* Add OfekShilon to contributors

* Migrate llvm opt-info processing from a lib inside CE

* Add MIT license text to new file
2022-05-04 18:16:34 +02:00
A S E e8b8173007 format files before linting in git hook (#3594)
Lets eg long lines be fixed before lint complains about them.
2022-04-29 12:21:25 +02:00
Matt Godbolt 58337bb5bf Improvements to policy handling (#3595)
* Use webpack loaders to generate both the pug output and the SHA256 hash of it
* Uniformly use pug for HTML templating
* Policy hashes are entirely client-side
* No longer need to have the policy documents available to the server side
2022-04-28 15:19:06 -05:00
Matt Godbolt 7828576a5b Reverts the reversion of the "make" being more prod-like, and fixes it. (#3591)
* Use webpack to autogenerate the files.

That way, we always generate them consistently, be it through
`make` or building for prod. This fixes the `make` issue, and also
means we've further unified the way we build and run with `make`
vs prod.

Unfortunately this doesn't work for `make dev`; which sees the
handlebars content only. That's probably ok though, I think.
2022-04-28 12:59:25 -05:00
Mats Larsen 15b57aef0e Create npm script for noEmit compiling frontend and backend to catch errors (#3580) 2022-04-27 10:05:27 +02:00
Matt Godbolt cfbabc9212 Remove sentry tracing (#3565)
* Remove sentry tracing
2022-04-26 09:44:14 -05:00
Matt Godbolt 21b764f392 Unify comma configuration; and apply format to some files. (#3559) 2022-04-25 18:22:11 -05:00
Matt Godbolt d64a8d7e89 Sanitize filename (#3560)
Hushes "Uncontrolled data used in path expression".
2022-04-25 18:15:11 -05:00
Mats Larsen 4f9a34c511 Also enable prettier for recursive directories in static (#3539)
* Also enable prettier for recursive directories in static

* Fix formatting

* Fixes
2022-04-24 19:11:48 +02:00
Mats Larsen c199b54440 Enable Prettier for TypeScript frontend (#3524) 2022-04-20 22:39:10 +02:00
Rubén Rincón Blanco 045c68d1bc Add strict tsc flag for the backend ts code (#3355) 2022-02-12 02:41:24 +01:00
Rubén Rincón Blanco f9ccdd6fd8 Update Monaco to 0.32.1 (#3348) 2022-02-08 17:30:13 +01:00
Patrick Quist 51047b6ad7 Frontend testing (#3169) 2022-02-04 18:35:04 +01:00
Rubén Rincón Blanco 42c7b2b694 Make eslint work on static ts files (#3304) 2022-02-03 18:04:50 +01:00
Austin Morton 93dfe4812c Remove es6-shim (#3316)
The shim was only ever loaded for internet explorer
2022-02-03 10:12:57 +01:00
Austin Morton d883a0f3a1 Run npm update (#3315) 2022-02-02 08:04:18 -06:00
Matt Godbolt fc99556c9b Upgrade to vis-network 2022-01-31 22:06:41 -06:00
Matt Godbolt 2c58603eb6 Remove unnecessary bootstrap-slider (thanks @rubenrbs!) 2022-01-31 17:30:49 -06:00
Matt Godbolt 483018b2e0 Force a newer version of simple-get to fix GH warning https://github.com/advisories/GHSA-wpg7-2c88-r8xv (we don't use it directly) 2022-01-31 08:35:45 -06:00
Matt Godbolt 3727994a23 Bump sinon to latest 2022-01-31 08:19:53 -06:00
Matt Godbolt a6682987dc New build and deploy setup (#3269)
* New build and deploy setup

* kills a lot of makefile complexity
* users will only ever use node-env=development for all practical
  purposes. Hopefully fixes issues where something node_modules
  is missing non-dev dependencies
* script building now pulled into a bash file
2022-01-18 20:46:33 -06:00
Matt Godbolt 8bd3945bbb Upgrade eslint-plugin-unicorn, and fix issues it ponted out 2022-01-18 07:57:57 -06:00
Matt Godbolt 177bee6dc1 Disable ESM caching.
Hopefully fixes #3226.  Ported from PR #3269 so we have it
separately from the other changes.
2022-01-17 23:21:23 -06:00
Matt Godbolt da26521aac Update our node version in other places 2022-01-17 14:14:12 -06:00
Patrick Quist b03f6a7e7b Makefixes (#3227)
* move ts-node to normal dependencies

* always install everything

* need node things to precommit
2022-01-01 15:18:13 +01:00
Matt Godbolt e0c22edb7f Update deps 2021-12-22 17:51:12 -06:00
Patrick QuistandMatt Godbolt 6e79e098c4 Minimal backend typescript support (#3207)
* minimal ts support

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-12-22 20:44:51 +01:00
Patrick Quist b11155c792 just the packagejson changes (#3209) 2021-12-22 18:44:10 +01:00
Matt Godbolt 8a941f5037 Bump aws-sdk 2021-12-21 16:17:50 -06:00
Matt Godbolt 4eccbf8742 Upgrade monaco and monaco-webpack-plugin (#3204) 2021-12-21 16:09:40 -06:00
Matt Godbolt f512fe7484 Update some webpack things 2021-12-21 12:49:29 -06:00
Matt Godbolt 674ead666a Update eslint-plugin-promise 2021-12-21 11:23:14 -06:00
Matt Godbolt a619af73e8 Update prom-client 2021-12-21 11:20:40 -06:00
Matt Godbolt 8c6cea96b0 Update winston-loki 2021-12-21 11:15:04 -06:00
Matt Godbolt 8b54945e4c Update html-loader 2021-12-21 10:46:50 -06:00
Matt Godbolt 7c20613c5d Move to using webpack5 (#3197)
* Bumps a lot of the auxiliary webpack projects to latest
* Minor tweaks to get webpack5 working
* Replace css minimizer with new https://webpack.js.org/plugins/css-minimizer-webpack-plugin/
* es6 shim uniquely named
2021-12-21 10:20:15 -06:00
partouf b74a8dfcfe Revert "Update vis"
This reverts commit 2b2d324d3a.
2021-12-15 22:02:16 +00:00
Matt Godbolt eb002af78f Update prettier, reformat json files 2021-12-13 23:12:25 -06:00
Matt Godbolt 91f52c6c98 Latest js-cookies 2021-12-13 23:04:41 -06:00
Matt Godbolt 4814e97351 Bump lint-staged 2021-12-13 22:53:38 -06:00
Matt Godbolt 9e3773c895 Bump sinon 2021-12-13 22:51:00 -06:00
Matt Godbolt 2b2d324d3a Update vis 2021-12-13 22:47:45 -06:00
Matt Godbolt cf88e16018 Update typescript eslint stuff 2021-12-13 22:44:18 -06:00
Matt Godbolt 73c758671a Update eslint et al 2021-12-13 22:40:03 -06:00