From 4a35c45acdd725f829d67003c9f2588691621189 Mon Sep 17 00:00:00 2001 From: shmck Date: Sun, 2 Aug 2020 15:30:35 -0700 Subject: [PATCH] update for cr v0.1.3 --- coderoad.yaml | 11 +++++++---- tutorial.json | 27 ++++++++++++++++----------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/coderoad.yaml b/coderoad.yaml index 6799ca7..0d9bf27 100644 --- a/coderoad.yaml +++ b/coderoad.yaml @@ -1,20 +1,23 @@ -version: "0.4.0" +version: "0.4.1" config: testRunner: command: ./node_modules/.bin/mocha args: filter: --grep tap: --reporter=mocha-tap-reporter - setup: - commands: - - npm install directory: coderoad + setup: + commands: + - cd coderoad && npm install repo: uri: https://github.com/coderoad/fcc-learn-npm branch: v0.4.1 dependencies: - name: node version: '>=10' + reset: + commands: + - echo 'resetting' levels: - id: '1' - id: '2' diff --git a/tutorial.json b/tutorial.json index fd3cccd..1671f59 100644 --- a/tutorial.json +++ b/tutorial.json @@ -1,5 +1,5 @@ { - "version": "0.4.0", + "version": "0.4.1", "summary": { "title": "Learn NPM package json", "description": "The Node Package Manager (NPM) is a command-line tool used by developers to share and control modules (or packages) of JavaScript code written for use with Node.js." @@ -11,17 +11,17 @@ "filter": "--grep", "tap": "--reporter=mocha-tap-reporter" }, - "setup": { - "commands": [ - "npm install" - ], - "commits": [ - "1efa2e74255816a138ea9be998d49a6bdfbd082f", - "a99811c863d561190f92b8aac455117407674880" - ] - }, "directory": "coderoad" }, + "setup": { + "commands": [ + "cd coderoad && npm install" + ], + "commits": [ + "a99811c863d561190f92b8aac455117407674880", + "1efa2e74255816a138ea9be998d49a6bdfbd082f" + ] + }, "repo": { "uri": "https://github.com/coderoad/fcc-learn-npm", "branch": "v0.4.1" @@ -31,7 +31,12 @@ "name": "node", "version": ">=10" } - ] + ], + "reset": { + "commands": [ + "echo 'resetting'" + ] + } }, "levels": [ {