fix(seed): challenge types (#17229)

Closes #17221
This commit is contained in:
Stuart Taylor
2018-05-24 16:57:09 +01:00
committed by mrugesh mohapatra
parent 3e52c666da
commit 487f7c8153
4 changed files with 20 additions and 20 deletions

View File

@ -21,7 +21,7 @@ Working on your first Pull Request? You can learn how from this *free* series [H
|---|---|
| `npm run test` | run all JS tests in the system, including client, server, lint and challenge tests |
| `npm run test-challenges` | run all challenge tests (for each challenge JSON file, run all `tests` against all `solutions`) |
| `npm run seed` <br>&nbsp;&nbsp;(<small>or</small> `node seed`) | parses all the challenge JSON files and saves them into MongoDB (code is inside [seed/index.js](seed/index.js)) |
| `npm run seed` <br>&nbsp;&nbsp;(<small>or</small> `node seed/index.js`) | parses all the challenge JSON files and saves them into MongoDB (code is inside [seed/index.js](seed/index.js)) |
| `npm run commit` | interactive tool to help you build a good commit message |
| `npm run unpack` | extract challenges from `seed/challenges` into `unpacked` subdirectory, one HTML page per challenge - see [Unpack and Repack](#unpack-and-repack) |
| `npm run repack` | repack challenges from `unpacked` subdirectory into `seed/challenges` |

View File

@ -21,7 +21,7 @@
"prelint-js": "npm run create-rev && gulp generate-migration-map",
"pretest": "npm run create-rev && npm run lint",
"prestart-production": "gulp build -p",
"seed": "node seed",
"seed": "node seed/index.js",
"snyk-protect": "snyk protect",
"start": "babel-node server/server.js",
"start-production": "node pm2Start",

View File

@ -28,7 +28,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 1, 2016",
"translations": {
@ -53,7 +53,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 1, 2016",
"translations": {
@ -86,7 +86,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 1, 2016",
"translations": {
@ -127,7 +127,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "February 17, 2017",
"translations": {
@ -156,7 +156,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 1, 2016",
"translations": {

View File

@ -68,7 +68,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 15, 2017",
"translations": {}
@ -117,7 +117,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 15, 2017",
"translations": {}
@ -174,7 +174,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 15, 2017",
"translations": {}
@ -219,7 +219,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 15, 2017",
"translations": {}
@ -284,7 +284,7 @@
],
"solutions": [],
"hints": [],
"challengeType": 2,
"challengeType": 4,
"isRequired": true,
"releasedOn": "January 15, 2017",
"translations": {}