Commit Graph

142 Commits

Author SHA1 Message Date
renovate[bot]
93e4b04e91 chore(deps): update dependency @total-typescript/ts-reset to v0.5.1 (#51724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 16:48:50 +05:30
renovate[bot]
005257b6f6 chore(deps): update dependency chai to v4.3.10 2023-09-30 20:31:10 +00:00
renovate[bot]
195e22689f chore(deps): update dependency chai to v4.3.9 2023-09-28 09:53:08 +00:00
Oliver Eyton-Williams
e149b09087 feat(curriculum): control loop-protect (#51542) 2023-09-19 08:51:43 -07:00
renovate[bot]
dfffaed393 chore(deps): update dependency joi to v17.10.2 2023-09-17 17:18:20 +00:00
Naomi Carrigan
e32a88a6db chore: use new c-sharp help category (#51417)
Co-authored-by: mot01 <tmondloch01@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-11 10:46:51 -07:00
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
569ace00ae fix: stop using env.json outside the client (#51456) 2023-09-06 18:14:53 +05:30
renovate[bot]
25fbeb3e67 chore(deps): update dependency joi to v17.10.1 2023-09-02 07:55:34 +00:00
renovate[bot]
ec33071537 chore(deps): update dependency joi to v17.10.0 2023-08-27 20:49:17 +00:00
Tom
4ed95973d2 feat(client/curriclum): make C# live (#51354) 2023-08-27 08:00:57 -05:00
renovate[bot]
ac4685e423 chore(deps): update dependency chai to v4.3.8 2023-08-26 13:19:46 +00:00
Oliver Eyton-Williams
112c485b12 feat: show upcoming certifications (#51198) 2023-08-14 19:19:10 +02:00
Oliver Eyton-Williams
8d0c3557dd refactor: move client specific scripts inside client (#51123) 2023-08-05 15:43:13 +00:00
Oliver Eyton-Williams
5f475cefa6 refactor: use process.env in node environments (#51110) 2023-07-31 17:25:24 +02:00
Oliver Eyton-Williams
f91b5841d3 feat(client): remove gitHash from api requests (#51083) 2023-07-28 20:35:41 +02:00
Oliver Eyton-Williams
69d6ee32bf feat: python in the browser (#50913)
Co-authored-by: Beau Carnes <1513130+beaucarnes@users.noreply.github.com>
2023-07-28 07:36:25 +02:00
Oliver Eyton-Williams
9441f781fd refactor: move challenge types to config (#51027) 2023-07-24 13:12:47 -07:00
Naomi Carrigan
ab640abee1 chore: detuplication (#50955)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-13 12:46:00 +02:00
Niraj Nandish
06c4ae81e4 fix: superblock order for mobile (#50957) 2023-07-12 14:10:41 -07:00
Sem Bauke
fb1228546e feat(tools): release python certs on mobile (#50832)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-07-10 12:04:16 +02:00
renovate[bot]
a9e8219809 chore(deps): update dependency node-fetch to v2.6.12 2023-07-01 09:04:24 +00:00
renovate[bot]
2cfd71eb57 chore(deps): update dependency dotenv to v16.3.1 2023-06-17 21:58:15 +00:00
Tom
5e04985c93 feat(curriculum): add C# superblock (#50646)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-14 13:36:39 +02:00
renovate[bot]
5717ab9de9 chore(deps): update dependency dotenv to v16.1.4 2023-06-04 18:31:01 +00:00
Tom
373e808938 refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
Niraj Nandish
b688a82f43 feat(client): generate challenge data as static files (#50369)
* feat(client): generate challenge data as static files

* chore: hopefully this is better types

* fix: add declaration file

* fix: schema issues

---------

Co-authored-by: sembauke <semboot699@gmail.com>
2023-05-23 08:37:49 -07:00
renovate[bot]
1b913eba52 chore(deps): update dependency @types/node-fetch to v2.6.4 2023-05-20 11:15:42 +00:00
Tom
4dfca3c560 feat: add exam environment (#50356)
* feat: add exam environment

* fix: cypress

* fix: lint-ts

* fix: lint-js

* fix: codefactor

* fix: don't translate comments from new JS spreadsheet

* fix: more tests

* fix: challenge schema

* fix: external curriculum test?

* fix: add more comments
2023-05-18 13:33:43 +02:00
renovate[bot]
a2cf596599 chore(deps): update dependency node-fetch to v2.6.11 2023-05-13 05:52:28 +00:00
Tom
d02bb663c4 refactor(curriculum): move helpCategory to block meta.json file (#50265)
* refactor: move helpCategory to block meta

* fix: test?
2023-05-04 08:46:58 +02:00
renovate[bot]
83535810e9 chore(deps): update dependency joi to v17.9.2 2023-04-29 14:22:14 +00:00
Oliver Eyton-Williams
5ea1f4fffc feat: add githash as query param (#49960) 2023-04-05 21:15:51 +05:30
renovate[bot]
97325f03b5 chore(deps): update dependency @types/node-fetch to v2.6.3 2023-04-05 04:14:10 +00:00
Mrugesh Mohapatra
e5590e56d7 chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
renovate[bot]
1383e2d943 chore(deps): update dependency joi to v17.9.1 2023-03-25 23:37:06 +00:00
Sem Bauke
87d9ade1a7 fix(curriculum,client): move the Euler Project to its own superBlock (#49294)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-03-23 21:29:13 +05:30
renovate[bot]
1c793d39b7 chore(deps): update dependency joi to v17.8.4 2023-03-18 23:07:53 +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
Mrugesh Mohapatra
9f80ccd8b2 fix(tools): rename and update curriculum scripts (#49620) 2023-03-08 12:02:54 +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]
286573c30d chore(deps): update dependency debug to v4.3.4 2023-02-25 08:01:08 +00:00
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
Oliver Eyton-Williams
0a20f8fd73 refactor: remove a lot of unused code (#48935)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-01-07 10:33:35 +05:30
Oliver Eyton-Williams
0b644afb0e fix(i18n): download english trending for fallback (#48652)
* fix(i18n): download english trending for fallback

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: prevent duplicate download for english

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2022-12-02 17:09:01 +03:00
Tom
60d15e4631 feat: get footer from cdn (#47174)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2022-12-01 15:23:17 +01:00
Tom
5f73773cd4 feat(client): move legacy rwd button to bottom of map (#47596)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/46523
2022-11-08 21:00:46 +05:30
renovate[bot]
d0d6d4c3b8 chore(deps): update dependency dotenv to v16.0.3 2022-11-05 09:03:48 +00:00
Mrugesh Mohapatra
b393d88b9e refactor: s/all-langs/i18n/g (#48258) 2022-10-26 10:08:27 -07:00