This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build(rust): optimize binaries for size * style(moon): remove comments from file * build: pin dependencies * chore(react-ui): add react imports to components * ci: use `--all` flag to test all projects * ci: disable pruning of dependencies when running task * build: install moonrepo-cli as dependency * feat(main-db): remove empty test case unit * build: declare chrono as a workspace dependency * build(website): add routes-gen dependencies Also remove remix-routes * feat(website): use routes-gen for route generation * feat(main-db): new library for edgeql string conversion * build(website): add uuid package as dependency * feat(orchestrator): add resolver to get question details * feat(website): display question details on question/:id page * chore: delete useless files * ci: remove log level from check command * ci(devcontainer): install moon directly from source * ci(main-db): make `test` depend on `generate` task * feat(website): remove all tailwind classes * feat(react-ui): remove button and input components * feat(website): add logic handling to authentication routes * ci: add typecheck target to all project * build(orchestrator): update edgedb versions * feat(faker): add library to generate fake data * ci: exclude build task from projects * ci(eslint): add generated files to ignoring eslint * ci(faker): configure watch command * refactor(main-db): handle user data creation from library * refactor(main-db): use fake random generator from library * ci(faker): add moon configuration * ci: move dep to workspace root * build: remove moon dev dep * ci(main-db): mark generate as local task * feat(website): use pre-populate with fake data in dev mode * feat(website): replace using `axios` with `fetch` Using the solution at remix-run/remix#4414 (comment). However, it would be better if we do not have to write a custom fetch function at all. * fix(website): graphql fetch function * fix(website): throw error when unable to get user details * fix(website/auth): broken login flow because of error handling * fix(website): use correct btn label * ci: use correct moon command to check validity * feat: use slug for creating questions * ci(generated): do not emit declarations * fix(learning): return correct error when question not exists * feat(website): handle edge cases while creating questions Also show correct details non existent question is requested. * refactor(website): reference projects directly Using the guide at https://moonrepo.dev/docs/guides/javascript/typescript-project-refs#using-paths-aliases. * ci(website): enable typechecking for project * feat(generated): replace gql zeus with codegen * feat(website): migrate to using graphql codegen * ci: configure tasks for workspace * refactor(main-db): use package source code directly * ci(main-db): try to add workspaces support * fix(website): add connection header to all reqs Apparently due to changes in how node19 works as described in https://nodejs.org/en/blog/announcements/v19-release-announce/#http-s-1-1-keepalive-by-default, we need to add this header to fix the error: `FetchError: request to http://0.0.0.0:8000/graphql failed, reason: socket hang up`. * fix(website/playground): add color to loading icon * build(orchestrator): add comrak deps * feat(orchestrator): return rendered markdown from problem * feat(generated): add additional attributes to fetch from backend * feat(website): add page to solve questions This is just a skeleton. It does not work yet because it does not take into account the test case that is displayed on the screen. * fix(website): redirect to cpp page after question creation * ci: route outDir to project caches * fix(website): add correct types to data * test(main-db): try to fix jest config * ci(moon): remove useless commands Also configure the website's typecheck command to get the correct input files. * test(main-db): fix broken jest config * feat(website): change import path for fake module * ci(vscode): add word to grammar * feat: add handling for testing questions * feat: rewrite how test cases are stored Instead of creating separate models for each test case data type, we will store them all in a string and let the data decide how to work with it. However, this method will result in us losing the ability to do strict output comparisons (we have implemented only string based output correctness checking). I do not think I am willing to give up such a big feature for a little ease of db schema. However I will keep this in commit history so that I can reference it later down the line. * Revert "feat: rewrite how test cases are stored" This reverts commit c9e20c3. * ci(devcontainer): install edgedb for non-root user
- Loading branch information