aboutsummaryrefslogtreecommitdiff
path: root/lib/options-handler.ts
Commit message (Collapse)AuthorAge
* eslint root setting and fixes (#6307)gh-11409Patrick Quist2024-04-16
|
* Use CompilerInfo[] in a couple places that were previously any or never (#6029)gh-10312Jeremy Rifkin2024-01-22
| | | Depends on #6028
* Fix semver ordering for libraries (#5959)gh-10113Patrick Quist2024-01-08
| | | | | | | Fix #5951 Fix #5085 Extended the fictitious version number for non-numbers, so that trunk can be listed higher than a `yyyymmdd` as a version (EVE uses this)
* Show up to date version for trunk compilers (#5571)gh-9081Patrick Quist2023-10-15
|
* Common utilities and type work (#5200)gh-8021Jeremy Rifkin2023-06-28
| | | | | This PR refactors some common utilities out of lib/ and into shared/ and eliminates some use of underscore.js, as well as general type improvements done along the way.
* Headers via conan (#5179)gh-7960Patrick Quist2023-06-23
|
* no warning about paths if library version is autodetect (#5108)gh-7555Patrick Quist2023-06-05
| | | Fixes #5053
* Transition to ECMAScript Modules (#4780)gh-6536Mats Jun Larsen2023-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix trailing comma issue (#4775)gh-6504Jeremy Rifkin2023-02-26
| | | | | Make trailing commas more consistent throughout the project, fixes config conflict between eslint and prettier. Resolves an oversight in #4766.
* Turn some auto-fixable eslint rules back on (#4766)gh-6434Jeremy Rifkin2023-02-23
| | | | | | 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.
* Tsify main (#4520)gh-5796Jeremy Rifkin2023-01-13
|
* Support for compiling to binary object (#3232)gh-5742Marc Poulhiès2023-01-11
|
* Slightly more controversial bumpings (#4503)gh-5552Matt Godbolt2022-12-28
| | | | | | | | | - 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
* Add the `result` inside the `CompilationResult` (#4475)gh-5450Matt Godbolt2022-12-20
|
* Separate shareable tool type from server ITool (#4472)gh-5439Matt Godbolt2022-12-19
| | | | | | | * Separate shareable tool type from server ITool I realised we were using the "Tool" on both client and server, but the client only has the JSON-able data of Tool, not the interface/object Tool (now renamed to `ITool`). * Fix tests
* Updated CompilerProps.get typing (#4397)gh-5285Jeremy Rifkin2022-12-06
| | | | | | | * Updated CompilerProps.get typing * Get rid of two any casts in options-handler.ts * Fixed mistaken types
* Tsify options-handler (#4396)gh-5265Jeremy Rifkin2022-12-03
* First pass conversion of options-handler to ts * Small tweaks * Fix tests