86 Commits

Author SHA1 Message Date
5bdf6159f5 chore(deps): update dependency prettier to v2.4.0 2021-09-09 13:38:43 +00:00
6fd628f338 fix(tools): correct files -> challengeFiles (#43385) 2021-09-07 20:24:11 +05:30
24c482b18c chore(deps): update dependency ts-node to v10.2.1 2021-08-18 19:58:44 +00:00
c2a11ad00d feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

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

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
e0abfc5cf6 chore(deps): update dependency ts-node to v10.2.0 2021-08-09 05:33:19 +00:00
e118dda13a fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
cefb973c14 fix(tools): fix insert-erms helper script (#42903)
* fix(tools): fix insert-erms helper script

* only throw if undefined erms

* revert last two commits

* fix insertErms the correct way
2021-07-21 11:14:22 -05:00
505c3b7c6c chore(deps): update dependency inquirer to v8.1.2 2021-07-14 18:00:36 +00:00
a3395269a0 chore(deps): update dependency ts-node to v10.1.0 2021-07-09 23:13:46 +00:00
3cbb0275ae chore(deps): update dependency @types/inquirer to v7.3.3 2021-07-07 03:33:06 +00:00
82d09bd593 feat: refactor and test tools steps utilities (#42693) 2021-07-07 02:22:12 +02:00
d5c1bb1233 chore(deps): update dependency typescript to v4.3.5 2021-07-01 02:33:02 +00:00
6b64502317 chore(deps): update dependency prettier to v2.3.2 (#42645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 13:15:02 +02:00
d1ac6d7a3a chore(deps): update dependency @types/inquirer to v7.3.2 (#42569)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 18:48:22 +05:30
3499c2b08e chore(deps): update dependency typescript to v4.3.4 (#42550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 17:34:46 +05:30
964b4204d3 chore(deps): update dependency typescript to v4.3.3 (#42542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:44:07 +05:30
e1ca0ce1f6 chore(deps): update dependency inquirer to v8.1.1 (#42513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 16:06:03 +05:30
87830f3a9c docs: add helpers to contribute docs (#42417)
* docs: add helpers to contribute docs

* chore: remove helper script readme

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

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

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

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

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

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

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-10 14:11:11 +05:30
f11dfe8203 chore(deps): pin dependencies (#42413)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:02:36 +02:00
bd4d46915a feat(curriculum): add project creation tool (#42410)
* refactor: extract help category map as JSON

* refactor: extract block names as json

* feat: add create-project script

* fix: correct case for tsconfig target

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-09 00:57:45 +05:30
4ace78e0f7 chore(deps): pin dependencies (#42002)
chore(deps): pin dependencies
2021-05-05 20:52:14 +05:30
e5908ef281 chore(deps): bson-objectid 2021-05-05 18:12:50 +05:30
d434a8bde5 fix(deps): update dependency gray-matter to v4.0.3 2021-05-03 10:35:09 +00:00
17a7a84b48 fix(tools): update helper scripts (#41923) 2021-04-27 11:29:49 -07:00
5bb773fcec fix(tools): Update createStepFile function in new curriculum helper script (#41693)
* feat: add parseMDSync to parser

* fix: update createStepFile function

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-31 18:19:46 +03:00
3a1dd37586 chore(deps): update dependency cross-env to v7.0.3 2021-03-28 19:04:32 +00:00
08114292c3 fix(deps): pin dependencies (#41589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 20:57:57 +05:30
42365dd172 fix: update package files, lerna config (#41599)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-27 07:46:20 -07:00
b7bfacc114 chore(deps): update dependency yargs-parser to 5.0.0-security.0 [security] (#41588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 15:57:29 +05:30
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
0a53a1d7f0 chore(deps): upgrade lerna to v4 2021-03-11 12:19:42 +05:30
d87d8f3dff fix(helpers): move to lockfile v2 2021-02-27 03:25:51 +05:30
94f0cf0ef8 chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00
90f6d23639 feat(learn): Create tool to delete an existing project step in project-based curriculum (#39786)
* feat: created tool to delete step

* docs: update README.md with delete-step instructions

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-03 11:54:19 +02:00
aecbc28798 fix(tools): helper utils (#39603) 2020-09-17 18:22:55 +05:30
85925b5a30 chore: move to tools/challenge-helper-scripts 2020-09-17 16:17:37 +05:30