Commit Graph

26 Commits

Author SHA1 Message Date
Mats Jun Larsen
5eea63328f Migrate to Biome for linting and formatting (#7033) 2025-02-02 17:54:31 +00:00
Ofek
63dd5e35a5 Various tsifications (#7025) 2024-10-27 15:28:38 +02:00
Ofek
f6438f9c4d Store times in numbers only (#7023)
Also fixes #4655
2024-10-26 18:43:59 +03:00
Ofek
c1985d64a1 Tsification binge #7 (#6974) 2024-10-25 12:19:04 +03:00
Ofek
2df8d32758 Tsify #6 (#6941)
Another tsification batch. 347 to go and I'm running out of easy fixes
:(
2024-10-22 21:41:44 +03:00
Ofek
f715dc2932 More tsification (#6877)
About half way through. Only 708 tsification errors to go..
2024-09-28 10:32:36 +03:00
Ofek
fecd0fbf11 tsification + small package upgrade (semver) (#6841) 2024-09-10 17:18:48 +03:00
Patrick Quist
3a278ad3b3 Add library lookupname to support binary builds for boost (#6814) 2024-09-04 19:18:37 +02:00
Patrick Quist
b8325cf0c6 eslint root setting and fixes (#6307) 2024-04-16 21:26:53 +02:00
Patrick Quist
4605ebfb4b Add Fortran library support (#5533) 2024-02-09 23:31:05 +01:00
partouf
537e73d937 refactor and bugfix rust crates 2023-07-03 22:41:42 +02:00
Patrick Quist
40ae2261e0 Headers via conan (#5179) 2023-06-23 12:25:30 +02:00
Mats Jun Larsen
633eb82d18 Transition to ECMAScript Modules (#4780)
Makes the Compiler Explorer app, and all the tooling ESM compatible.
Things that have been done:

1. The package.json has `type: module` now
2. All relative imports have a .js ending
3. All directory imports are now directory/index.js to comply with ESM
standards
4. Dependency node-graceful is now imported into tree, because the
package is broken under esm
5. Dependency p-queue has been bumped to 7.x with ESM support
6. Dependency profanities has been bumped to 3.x with ESM support
7. Webpack config is now both ESM and CommonJS compatible
8. Non-ESM compatible imports have been rewritten
9. ESLint configuration has been tweaked to not fail on .js imports
10. Mocha is now hacked together and ran with ts-node-esm
11. Webpack is now hacked together and ran with ts-node-esm
12. Webpack config is now ESM compatible, so that it can be used in the
dev server
13. Cypress code still runs commonjs, and has been excluded from the
tsconfig
14. All sinon mock tests have been commented out, because sinon module
mocks do not work with ESModules (because ESModules are immutable)

A lot of tests are now giving warnings/errors to stdout, yet still pass.
Docenizer codegenerator scripts have been updated, but I did not re-run
them, and instead just changed their code.

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-02-27 18:06:38 -06:00
Jeremy Rifkin
384c297906 Fix trailing comma issue (#4775)
Make trailing commas more consistent throughout the project, fixes
config conflict between eslint and prettier. Resolves an oversight in
#4766.
2023-02-26 12:21:35 -05:00
Jeremy Rifkin
2b06c69111 Turn some auto-fixable eslint rules back on (#4766)
This PR turns comma-dangle and indent eslint rules on for lib/. These
are rules inherited from the eslint config for static/, this PR just
makes things more consistent. Also turned
@typescript-eslint/no-var-requires back on while I was here.
2023-02-23 17:16:17 -05:00
partouf
daba0c2fe2 change check order and add error logging 2023-01-05 01:08:06 +01:00
Patrick Quist
ee82d72364 Update ceconan.ts (#4534) 2023-01-05 00:59:17 +01:00
Matt Godbolt
670a468d89 Handle zero-sized files (#4530)
* Handle zero-sized files

It appears that having a zero-sized file won't call our `next()` handler which means we wedge forever and eventually time out.

This is a workaround. Upstream issue filed as https://github.com/mafintosh/tar-stream/issues/145
2023-01-02 16:55:17 -06:00
Matt Godbolt
0a7a662121 Handle non-200s from conan (#4529)
* Handle non-200s from conan
2023-01-02 15:48:11 -06:00
Patrick Quist
19fad46113 dont query conan if library is autodetect (#4528) 2023-01-02 22:34:08 +01:00
Matt Godbolt
6a92e68325 More catching 2022-12-29 11:20:39 -06:00
Matt Godbolt
fe3e421fea Catch exceptions in tar handling (#4515)
- adds error handlers for all streams
- catches exceptions raised in the non-trivial `entry` handler
- rejects in all cases

Partially addresses #4512
2022-12-29 10:17:03 -06:00
Matt Godbolt
749319f791 Slightly more controversial bumpings (#4503)
- latest sentry, tar-stream, which, some yamljs versions
- latest eslint-* stuff
- latest webpack manifest
- Applies all the automatic fixes for newer lint rules
- Bump the webpack version

applies new tslint stuff
2022-12-28 11:42:14 -06:00
Patrick Quist
f432dcb65d add curl (#3792) 2022-06-25 22:31:57 +02:00
Patrick Quist
ebfa101ef2 Rust library support (#3754) 2022-06-10 01:48:41 +02:00
Patrick Quist
8f79bb54d8 move buildenvsetup to typescript and fix some times (#3735) 2022-06-05 22:51:29 +02:00