Commit Graph

58 Commits

Author SHA1 Message Date
renovate[bot]
61be2c68b0 fix(deps): update dependency react-router-dom to v6.9.0 2023-03-12 12:05:26 +00:00
Tom
b950070f80 feat(curriculum): add college algebra cert as upcoming change (#43605)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-10 10:55:50 +00:00
renovate[bot]
a5d31659bc fix(deps): update dependency react-router-dom to v6.8.2 2023-03-04 21:10:50 +00:00
renovate[bot]
6312069bd5 chore(deps): update react monorepo 2023-03-04 14:09:39 +00:00
Oliver Eyton-Williams
d7848ae01a feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
renovate[bot]
0e3059cc9d fix(deps): update dependency react-router-dom to v6.8.1 (#49345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 22:55:32 +05:30
Oliver Eyton-Williams
4ff00922da refactor: fix hidden eslint errors (#49365)
* refactor: explicit types for validate

* refactor: explicit return types for ui-components

* refactor: use exec instead of match

* refactor: add lots more boundary types

* refactor: more eslint warnings

* refactor: more explicit exports

* refactor: more explicit types

* refactor: even more explicit types

* fix: relax type contrainsts for superblock-order

* refactor: final boundaries

* refactor: avoid using 'object' type

* fix: use named import for captureException

This uses TypeScript (which works) instead of import/namespace
(which doesn't) to check if captureException exists in sentry/gatsby
(it does)
2023-02-13 07:13:50 -08:00
Sem Bauke
928dcbe08c feat: transfer The Odin Project to its own superblock (#49202)
* feat: the odin-project superblock

* feat: break everything

* fix: correct meta names

* fix: meta again

* fix: tests

* fix: help category and external curriculum test

* fix: file names again

* fix: help category

* fix: remove console log

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-02-08 15:21:03 +01:00
renovate[bot]
e536ba5224 fix(deps): update dependency typescript to v4.9.5 2023-02-04 19:39:26 +00:00
renovate[bot]
0d90c6810b chore(deps): update dependency @types/express to v4.17.17 2023-02-04 04:35:25 +00:00
Naomi Carrigan
6221b2b1a5 chore: rename files in challenge editor to kebab case (#49224)
chore: rename files
2023-02-02 07:59:02 +01:00
renovate[bot]
71c4a55bf4 fix(deps): update dependency react-router-dom to v6.8.0 (#49190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 11:45:50 +05:30
renovate[bot]
06c4a32202 chore(deps): update dependency @types/codemirror to v5.60.7 2023-01-28 07:46:43 +00:00
renovate[bot]
aac04e93c2 fix(deps): update dependency react-router-dom to v6.7.0 2023-01-22 10:59:01 +00:00
renovate[bot]
fdc429e508 fix(deps): update dependency react-router-dom to v6.6.2 2023-01-15 04:08:22 +00:00
renovate[bot]
4d78b238c6 chore(deps): update dependency @types/codemirror to v5.60.6 2022-12-31 05:07:01 +00:00
renovate[bot]
b1e143a2ef fix(deps): update dependency react-router-dom to v6.6.1 2022-12-25 01:04:19 +00:00
renovate[bot]
288ee08c54 Update dependency react-router-dom to v6.5.0 2022-12-17 18:10:30 +00:00
renovate[bot]
10f052167b chore(deps): update dependency @types/express to v4.17.15 2022-12-17 05:16:57 +00:00
Niraj Nandish
02e2309598 fix(tools): challenge editor - input text color (#48733)
fix(tools): input text color
2022-12-12 14:15:17 +01:00
renovate[bot]
a606203ae4 fix(deps): update dependency typescript to v4.9.4 2022-12-11 05:27:18 +00:00
renovate[bot]
3b6ee26c4f fix(deps): update dependency react-router-dom to v6.4.5 2022-12-10 18:00:02 +00:00
renovate[bot]
661c21441b fix(deps): update dependency react-router-dom to v6.4.4 2022-12-04 20:36:11 +00:00
renovate[bot]
5504a8cbb7 fix(deps): update dependency typescript to v4.9.3 2022-11-20 22:30:54 +00:00
renovate[bot]
368f2d606b fix(deps): update dependency react-router-dom to v6.4.3 2022-11-05 16:14:32 +00:00
renovate[bot]
d0d6d4c3b8 chore(deps): update dependency dotenv to v16.0.3 2022-11-05 09:03:48 +00:00
renovate[bot]
e57e69b4ba fix(deps): update dependency express to v4.18.2 2022-10-08 23:46:56 +00:00
renovate[bot]
aafb0794c9 fix(deps): update dependency react-router-dom to v6.4.2 2022-10-08 16:01:29 +00:00
renovate[bot]
12001a8eb1 fix(deps): update dependency typescript to v4.8.4 2022-10-03 04:26:03 +00:00
renovate[bot]
40acb05642 fix(deps): update dependency react-router-dom to v6.4.1 2022-09-26 22:02:28 +00:00
renovate[bot]
0fe2b24b39 fix(deps): update dependency react-router-dom to v6.4.0 (#47552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 21:31:11 +05:30
renovate[bot]
84d5c0b503 chore(deps): update dependency @types/express to v4.17.14 2022-09-17 14:22:47 +00:00
renovate[bot]
460335599d fix(deps): update dependency typescript to v4.8.3 2022-09-11 09:16:23 +00:00
renovate[bot]
da69ec485a fix(deps): update dependency typescript to v4.8.2 2022-08-29 13:45:42 +00:00
hanswang123456
d2d1bc8dab fix(curriculum): correctly describe insert step in Challenge Editor (#47331)
* Update InsertStep.tsx

* Update Tools.tsx

* Update how-to-work-on-practice-projects.md

* removed redundant example

* Update tools/challenge-editor/client/src/components/tools/Tools.tsx

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-20 10:30:46 +02:00
renovate[bot]
3aca9eee95 chore(deps): update dependency @testing-library/jest-dom to v5.16.5 2022-08-06 18:21:54 +00:00
renovate[bot]
85b009b308 chore(deps): update dependency ts-node to v10.9.1 2022-07-17 03:52:46 +00:00
Oliver Eyton-Williams
9adf9fa9f2 fix: use shx for cross-platform cp (#46847) 2022-07-11 09:30:56 -07:00
Shaun Hamilton
cc7f584b96 feat(challenge-editor): make work in gitpod (#46784)
* feat(challenge-editor): make work in gitpod

* gitpod: make chal-editor ports public

* refactor: use .env files to set variables

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-08 11:25:36 +02:00
renovate[bot]
1fdfd7884b chore(deps): update dependency ts-node to v10.8.2 2022-07-02 21:38:17 +00:00
Oliver Eyton-Williams
11143178f6 fix(challenge-editor): Windows compatibility (#46617)
* fix(challenge-editor): Windows compatibility
2022-06-22 11:46:55 +02:00
renovate[bot]
16c23d0d10 chore(deps): update react monorepo 2022-06-20 23:20:59 +00:00
renovate[bot]
17cc61dfe1 fix(deps): update dependency typescript to v4.7.4 (#46560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:19 +05:30
Renovate Bot
902ca385ee fix(deps): update dependency typescript to v4.7.3 2022-06-05 03:43:47 +00:00
Renovate Bot
b3ed01b226 chore(deps): update dependency ts-node to v10.8.1 2022-06-04 19:54:43 +00:00
Renovate Bot
36bd34f5ca fix(deps): update dependency typescript to v4.7.2 2022-05-30 00:38:12 +00:00
Renovate Bot
5f9fd2c075 chore(deps): update dependency ts-node to v10.8.0 2022-05-22 02:09:40 +00:00
Shaun Hamilton
bcbbf8ace4 chore(client): reorder and rename rwd changes (#45972)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-05-16 19:40:18 +05:30
Naomi Carrigan
fe71a9cf25 feat: new js cert (#45873)
* chore: move files

* wip: i have no idea what i am doing

* feat: finish up the logic

* chore: use order from randy sheet

* chore: standardise titles

* feat: fix layout for new js projects

* fix: utils test

* fix: challenge tests

* fix: ignore show new curriculum on non-english tests

* chore: help category????

* fix: if these tests would fail locally that'd be great

* chore: duplicate ids
2022-05-16 11:53:45 +02:00
Naomi Carrigan
23b4be71d7 feat: release RWD from beta (#45865)
* feat: release RWD from beta

* feat: replace beta banner with legacy banner

* feat: update project links

* fix: cypress tests

* fix: map selector

* chore: legacy verbiage

* chore: remove isBeta flag

* fix: go back url verbiage

* feat: separate order for i18n

* fix: curriculum utils test

* fix: cypress

* tests: use data-cy for robustness

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-10 11:44:23 -05:00