feat(curriculum): restore seed + solution to Chinese (#40683)

* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-01-13 03:31:00 +01:00
committed by GitHub
parent 0095583028
commit ee1e8abd87
4163 changed files with 57505 additions and 10540 deletions

View File

@@ -3,6 +3,7 @@ id: a77dbc43c33f39daa4429b4f
title: Boo who
challengeType: 5
forumTopicId: 16000
dashedName: boo-who
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a9bd25c716030ec90084d8a1
title: Chunky Monkey
challengeType: 5
forumTopicId: 16005
dashedName: chunky-monkey
---
# --description--

View File

@@ -3,6 +3,7 @@ id: acda2fb1324d9b0fa741e6b5
title: Confirm the Ending
challengeType: 5
forumTopicId: 16006
dashedName: confirm-the-ending
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 56533eb9ac21ba0edf2244b3
title: Convert Celsius to Fahrenheit
challengeType: 1
forumTopicId: 16806
dashedName: convert-celsius-to-fahrenheit
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a302f7aae1aa3152a5b413bc
title: Factorialize a Number
challengeType: 5
forumTopicId: 16013
dashedName: factorialize-a-number
---
# --description--

View File

@@ -3,6 +3,7 @@ id: adf08ec01beb4f99fc7a68f2
title: Falsy Bouncer
challengeType: 5
forumTopicId: 16014
dashedName: falsy-bouncer
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a26cbbe9ad8655a977e1ceb5
title: Find the Longest Word in a String
challengeType: 5
forumTopicId: 16015
dashedName: find-the-longest-word-in-a-string
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a6e40f1041b06c996f7b2406
title: Finders Keepers
challengeType: 5
forumTopicId: 16016
dashedName: finders-keepers
---
# --description--

View File

@@ -3,6 +3,7 @@ id: af2170cad53daa0770fabdea
title: Mutations
challengeType: 5
forumTopicId: 16025
dashedName: mutations
---
# --description--

View File

@@ -3,6 +3,7 @@ id: afcc8d540bea9ea2669306b6
title: Repeat a String Repeat a String
challengeType: 5
forumTopicId: 16041
dashedName: repeat-a-string-repeat-a-string
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a789b3483989747d63b0e427
title: Return Largest Numbers in Arrays
challengeType: 5
forumTopicId: 16042
dashedName: return-largest-numbers-in-arrays
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a202eed8fc186c8434cb6d61
title: Reverse a String
challengeType: 5
forumTopicId: 16043
dashedName: reverse-a-string
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 579e2a2c335b9d72dd32e05c
title: Slice and Splice
challengeType: 5
forumTopicId: 301148
dashedName: slice-and-splice
---
# --description--

View File

@@ -3,6 +3,7 @@ id: ab6137d4e35944e21037b769
title: Title Case a Sentence
challengeType: 5
forumTopicId: 16088
dashedName: title-case-a-sentence
---
# --description--

View File

@@ -3,6 +3,7 @@ id: ac6993d51946422351508a41
title: Truncate a String
challengeType: 5
forumTopicId: 16089
dashedName: truncate-a-string
---
# --description--

View File

@@ -3,6 +3,7 @@ id: a24c1a4622e3c05097f71d67
title: Where do I Belong
challengeType: 5
forumTopicId: 16094
dashedName: where-do-i-belong
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 5a661e0f1068aca922b3ef17
title: Access an Array's Contents Using Bracket Notation
challengeType: 1
forumTopicId: 301149
dashedName: access-an-arrays-contents-using-bracket-notation
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7c367417b2b2512b1a
title: Access Property Names with Bracket Notation
challengeType: 1
forumTopicId: 301150
dashedName: access-property-names-with-bracket-notation
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d78b2367417b2b2512b0e
title: Add Items to an Array with push() and unshift()
challengeType: 1
forumTopicId: 301151
dashedName: add-items-to-an-array-with-push-and-unshift
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d78b3367417b2b2512b11
title: Add Items Using splice()
challengeType: 1
forumTopicId: 301152
dashedName: add-items-using-splice
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7c367417b2b2512b18
title: Add Key-Value Pairs to JavaScript Objects
challengeType: 1
forumTopicId: 301153
dashedName: add-key-value-pairs-to-javascript-objects
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7b367417b2b2512b14
title: Check For The Presence of an Element With indexOf()
challengeType: 1
forumTopicId: 301154
dashedName: check-for-the-presence-of-an-element-with-indexof
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7d367417b2b2512b1c
title: Check if an Object has a Property
challengeType: 1
forumTopicId: 301155
dashedName: check-if-an-object-has-a-property
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7b367417b2b2512b17
title: Combine Arrays with the Spread Operator
challengeType: 1
forumTopicId: 301156
dashedName: combine-arrays-with-the-spread-operator
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7b367417b2b2512b13
title: Copy an Array with the Spread Operator
challengeType: 1
forumTopicId: 301157
dashedName: copy-an-array-with-the-spread-operator
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7a367417b2b2512b12
title: Copy Array Items Using slice()
challengeType: 1
forumTopicId: 301158
dashedName: copy-array-items-using-slice
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7b367417b2b2512b16
title: Create complex multi-dimensional arrays
challengeType: 1
forumTopicId: 301159
dashedName: create-complex-multi-dimensional-arrays
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7d367417b2b2512b1e
title: Generate an Array of All Object Keys with Object.keys()
challengeType: 1
forumTopicId: 301160
dashedName: generate-an-array-of-all-object-keys-with-object-keys
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7b367417b2b2512b15
title: Iterate Through All an Array's Items Using For Loops
challengeType: 1
forumTopicId: 301161
dashedName: iterate-through-all-an-arrays-items-using-for-loops
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7d367417b2b2512b1d
title: Iterate Through the Keys of an Object with a for...in Statement
challengeType: 1
forumTopicId: 301162
dashedName: iterate-through-the-keys-of-an-object-with-a-for---in-statement
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7d367417b2b2512b1f
title: Modify an Array Stored in an Object
challengeType: 1
forumTopicId: 301163
dashedName: modify-an-array-stored-in-an-object
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7c367417b2b2512b19
title: Modify an Object Nested Within an Object
challengeType: 1
forumTopicId: 301164
dashedName: modify-an-object-nested-within-an-object
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d78b2367417b2b2512b0f
title: Remove Items from an Array with pop() and shift()
challengeType: 1
forumTopicId: 301165
dashedName: remove-items-from-an-array-with-pop-and-shift
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d78b2367417b2b2512b10
title: Remove Items Using splice()
challengeType: 1
forumTopicId: 301166
dashedName: remove-items-using-splice
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7e367417b2b2512b20
title: Use an Array to Store a Collection of Data
challengeType: 1
forumTopicId: 301167
dashedName: use-an-array-to-store-a-collection-of-data
---
# --description--

View File

@@ -3,6 +3,7 @@ id: 587d7b7c367417b2b2512b1b
title: Use the delete Keyword to Remove Object Properties
challengeType: 1
forumTopicId: 301168
dashedName: use-the-delete-keyword-to-remove-object-properties
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5a813321b9e3db6c106a46
title: Part 1
challengeType: 0
dashedName: part-1
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5a8dd907f328a948d398ce
title: Part 2
challengeType: 0
dashedName: part-2
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5a8f1c07f328a948d398cf
title: Part 3
challengeType: 0
dashedName: part-3
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5a903507f328a948d398d0
title: Part 4
challengeType: 0
dashedName: part-4
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5aaa5807f328a948d398d1
title: Part 5
challengeType: 0
dashedName: part-5
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5aab5d07f328a948d398d2
title: Part 6
challengeType: 0
dashedName: part-6
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5aac9c07f328a948d398d3
title: Part 7
challengeType: 0
dashedName: part-7
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5aad2307f328a948d398d4
title: Part 8
challengeType: 0
dashedName: part-8
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5aae1207f328a948d398d5
title: Part 9
challengeType: 0
dashedName: part-9
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5ab57f07f328a948d398d6
title: Part 10
challengeType: 0
dashedName: part-10
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d5b66ce07f328a948d398d7
title: Part 11
challengeType: 0
dashedName: part-11
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d64cf8f853b56a21cd16319
title: Part 12
challengeType: 0
dashedName: part-12
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d651ee1ee291f75bbd738ee
title: Part 13
challengeType: 0
dashedName: part-13
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d652e5a6e6bf7a6a27aa80a
title: Part 14
challengeType: 0
dashedName: part-14
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d653b2d6e6bf7a6a27aa80b
title: Part 15
challengeType: 0
dashedName: part-15
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d653c4d6e6bf7a6a27aa80c
title: Part 16
challengeType: 0
dashedName: part-16
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6542826e6bf7a6a27aa80d
title: Part 17
challengeType: 0
dashedName: part-17
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d65f2c62012114c7d7c57eb
title: Part 18
challengeType: 0
dashedName: part-18
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d65f4cd2012114c7d7c57ec
title: Part 19
challengeType: 0
dashedName: part-19
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d65f6392012114c7d7c57ed
title: Part 20
challengeType: 0
dashedName: part-20
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6606634bab337fbb433884
title: Part 21
challengeType: 0
dashedName: part-21
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d66093c4bab337fbb433885
title: Part 22
challengeType: 0
dashedName: part-22
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d660a32e0696bdec46938d5
title: Part 23
challengeType: 0
dashedName: part-23
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6616d8e0696bdec46938d6
title: Part 24
challengeType: 0
dashedName: part-24
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d661814e0696bdec46938d7
title: Part 25
challengeType: 0
dashedName: part-25
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d66198de0696bdec46938d8
title: Part 26
challengeType: 0
dashedName: part-26
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d661bc6e0696bdec46938d9
title: Part 27
challengeType: 0
dashedName: part-27
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6653d5e0696bdec46938da
title: Part 28
challengeType: 0
dashedName: part-28
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d665983e0696bdec46938dc
title: Part 29
challengeType: 0
dashedName: part-29
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d674fd9e0696bdec46938dd
title: Part 30
challengeType: 0
dashedName: part-30
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6752e3e0696bdec46938de
title: Part 31
challengeType: 0
dashedName: part-31
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6755fce0696bdec46938df
title: Part 32
challengeType: 0
dashedName: part-32
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d675726e0696bdec46938e0
title: Part 33
challengeType: 0
dashedName: part-33
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d678366e0696bdec46938e1
title: Part 34
challengeType: 0
dashedName: part-34
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67845ee0696bdec46938e2
title: Part 35
challengeType: 0
dashedName: part-35
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67880ee0696bdec46938e3
title: Part 36
challengeType: 0
dashedName: part-36
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67ad3de0696bdec46938e4
title: Part 37
challengeType: 0
dashedName: part-37
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67ae95e0696bdec46938e5
title: Part 38
challengeType: 0
dashedName: part-38
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67b284e0696bdec46938e6
title: Part 39
challengeType: 0
dashedName: part-39
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d67b945e0696bdec46938e7
title: Part 40
challengeType: 0
dashedName: part-40
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68c3b1e0696bdec46938e8
title: Part 41
challengeType: 0
dashedName: part-41
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68c51ee0696bdec46938e9
title: Part 42
challengeType: 0
dashedName: part-42
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68c5efe0696bdec46938ea
title: Part 43
challengeType: 0
dashedName: part-43
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68c758e0696bdec46938eb
title: Part 44
challengeType: 0
dashedName: part-44
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68c947e0696bdec46938ec
title: Part 45
challengeType: 0
dashedName: part-45
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68ca40e0696bdec46938ed
title: Part 46
challengeType: 0
dashedName: part-46
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68d3f7e0696bdec46938ee
title: Part 47
challengeType: 0
dashedName: part-47
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68d4fde0696bdec46938ef
title: Part 48
challengeType: 0
dashedName: part-48
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68d631e0696bdec46938f0
title: Part 49
challengeType: 0
dashedName: part-49
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d68dbf7e0696bdec46938f1
title: Part 50
challengeType: 0
dashedName: part-50
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6904b6e0696bdec46938f2
title: Part 51
challengeType: 0
dashedName: part-51
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6905ace0696bdec46938f3
title: Part 52
challengeType: 0
dashedName: part-52
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f6bfc7c812010bf3327cc
title: Part 53
challengeType: 0
dashedName: part-53
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f6e3c7c812010bf3327cd
title: Part 54
challengeType: 0
dashedName: part-54
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f6f747c812010bf3327ce
title: Part 55
challengeType: 0
dashedName: part-55
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f70937c812010bf3327cf
title: Part 56
challengeType: 0
dashedName: part-56
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f72657c812010bf3327d0
title: Part 57
challengeType: 0
dashedName: part-57
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f736b7c812010bf3327d2
title: Part 58
challengeType: 0
dashedName: part-58
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f776c7c812010bf3327d3
title: Part 59
challengeType: 0
dashedName: part-59
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f785f7c812010bf3327d4
title: Part 60
challengeType: 0
dashedName: part-60
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f79667c812010bf3327d6
title: Part 61
challengeType: 0
dashedName: part-61
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f7b917c812010bf3327d7
title: Part 62
challengeType: 0
dashedName: part-62
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f82da7c812010bf3327d8
title: Part 63
challengeType: 0
dashedName: part-63
---
# --description--

View File

@@ -2,6 +2,7 @@
id: 5d6f919f7c812010bf3327d9
title: Part 64
challengeType: 0
dashedName: part-64
---
# --description--

Some files were not shown because too many files have changed in this diff Show More