From fbb64e1576657b978e62f2c87031cec8641f8974 Mon Sep 17 00:00:00 2001 From: ilias Date: Sat, 27 May 2017 19:56:31 +0200 Subject: [PATCH] Support for new elm-test version --- README.md | 10 - bin/build.sh | 8 +- elm-package.json | 3 +- exercises/accumulate/elm-package.json | 4 +- exercises/accumulate/package.json | 2 +- exercises/accumulate/{ => tests}/Tests.elm | 12 +- exercises/accumulate/tests/elm-package.json | 16 + exercises/allergies/elm-package.json | 5 +- exercises/allergies/package.json | 2 +- exercises/allergies/{ => tests}/Tests.elm | 14 +- exercises/allergies/tests/elm-package.json | 16 + exercises/anagram/elm-package.json | 5 +- exercises/anagram/package.json | 2 +- exercises/anagram/{ => tests}/Tests.elm | 14 +- exercises/anagram/tests/elm-package.json | 16 + exercises/atbash-cipher/elm-package.json | 5 +- exercises/atbash-cipher/package.json | 2 +- exercises/atbash-cipher/{ => tests}/Tests.elm | 12 +- .../atbash-cipher/tests/elm-package.json | 16 + exercises/bob/elm-package.json | 5 +- exercises/bob/package.json | 2 +- exercises/bob/{ => tests}/Tests.elm | 12 +- exercises/bob/tests/elm-package.json | 16 + .../difference-of-squares/elm-package.json | 5 +- exercises/difference-of-squares/package.json | 2 +- .../{ => tests}/Tests.elm | 12 +- .../tests/elm-package.json | 16 + exercises/gigasecond/elm-package.json | 5 +- exercises/gigasecond/package.json | 2 +- exercises/gigasecond/{ => tests}/Tests.elm | 12 +- exercises/gigasecond/tests/elm-package.json | 16 + exercises/grade-school/elm-package.json | 5 +- exercises/grade-school/package.json | 2 +- exercises/grade-school/{ => tests}/Tests.elm | 12 +- exercises/grade-school/tests/elm-package.json | 16 + exercises/hamming/elm-package.json | 5 +- exercises/hamming/package.json | 2 +- exercises/hamming/{ => tests}/Tests.elm | 12 +- exercises/hamming/tests/elm-package.json | 16 + exercises/hello-world/elm-package.json | 5 +- exercises/hello-world/package.json | 2 +- exercises/hello-world/{ => tests}/Tests.elm | 12 +- exercises/hello-world/tests/elm-package.json | 16 + exercises/hello-world/yarn.lock | 1136 ----------------- .../largest-series-product/elm-package.json | 5 +- exercises/largest-series-product/package.json | 2 +- .../{ => tests}/Tests.elm | 12 +- .../tests/elm-package.json | 16 + exercises/leap/elm-package.json | 5 +- exercises/leap/package.json | 2 +- exercises/leap/{ => tests}/Tests.elm | 12 +- exercises/leap/tests/elm-package.json | 16 + exercises/list-ops/elm-package.json | 5 +- exercises/list-ops/package.json | 2 +- exercises/list-ops/{ => tests}/Tests.elm | 12 +- exercises/list-ops/tests/elm-package.json | 16 + exercises/nucleotide-count/elm-package.json | 5 +- exercises/nucleotide-count/package.json | 2 +- .../nucleotide-count/{ => tests}/Tests.elm | 12 +- .../nucleotide-count/tests/elm-package.json | 16 + exercises/pangram/elm-package.json | 5 +- exercises/pangram/package.json | 2 +- exercises/pangram/{ => tests}/Tests.elm | 12 +- exercises/pangram/tests/elm-package.json | 16 + exercises/phone-number/elm-package.json | 5 +- exercises/phone-number/package.json | 2 +- exercises/phone-number/{ => tests}/Tests.elm | 12 +- exercises/phone-number/tests/elm-package.json | 16 + exercises/raindrops/elm-package.json | 5 +- exercises/raindrops/package.json | 2 +- exercises/raindrops/{ => tests}/Tests.elm | 12 +- exercises/raindrops/tests/elm-package.json | 16 + exercises/rna-transcription/elm-package.json | 5 +- exercises/rna-transcription/package.json | 2 +- .../rna-transcription/{ => tests}/Tests.elm | 12 +- .../rna-transcription/tests/elm-package.json | 16 + exercises/robot-simulator/elm-package.json | 5 +- exercises/robot-simulator/package.json | 2 +- .../robot-simulator/{ => tests}/Tests.elm | 12 +- .../robot-simulator/tests/elm-package.json | 16 + exercises/roman-numerals/elm-package.json | 5 +- exercises/roman-numerals/package.json | 2 +- .../roman-numerals/{ => tests}/Tests.elm | 12 +- .../roman-numerals/tests/elm-package.json | 16 + .../run-length-encoding/elm-package.json | 5 +- exercises/run-length-encoding/package.json | 2 +- .../run-length-encoding/{ => tests}/Tests.elm | 12 +- .../tests/elm-package.json | 16 + exercises/say/elm-package.json | 5 +- exercises/say/package.json | 2 +- exercises/say/{ => tests}/Tests.elm | 12 +- exercises/say/tests/elm-package.json | 16 + exercises/scrabble-score/elm-package.json | 5 +- exercises/scrabble-score/package.json | 2 +- .../scrabble-score/{ => tests}/Tests.elm | 12 +- .../scrabble-score/tests/elm-package.json | 16 + exercises/series/elm-package.json | 5 +- exercises/series/package.json | 2 +- exercises/series/{ => tests}/Tests.elm | 12 +- exercises/series/tests/elm-package.json | 16 + exercises/space-age/elm-package.json | 5 +- exercises/space-age/package.json | 2 +- exercises/space-age/{ => tests}/Tests.elm | 12 +- exercises/space-age/tests/elm-package.json | 16 + exercises/strain/elm-package.json | 5 +- exercises/strain/package.json | 2 +- exercises/strain/{ => tests}/Tests.elm | 12 +- exercises/strain/tests/elm-package.json | 16 + exercises/sublist/elm-package.json | 5 +- exercises/sublist/package.json | 2 +- exercises/sublist/{ => tests}/Tests.elm | 12 +- exercises/sublist/tests/elm-package.json | 16 + exercises/sum-of-multiples/elm-package.json | 5 +- exercises/sum-of-multiples/package.json | 2 +- .../sum-of-multiples/{ => tests}/Tests.elm | 12 +- .../sum-of-multiples/tests/elm-package.json | 16 + exercises/triangle/elm-package.json | 5 +- exercises/triangle/package.json | 2 +- exercises/triangle/{ => tests}/Tests.elm | 12 +- exercises/triangle/tests/elm-package.json | 16 + exercises/word-count/elm-package.json | 5 +- exercises/word-count/package.json | 2 +- exercises/word-count/{ => tests}/Tests.elm | 12 +- exercises/word-count/tests/elm-package.json | 16 + 124 files changed, 604 insertions(+), 1606 deletions(-) rename exercises/accumulate/{ => tests}/Tests.elm (78%) create mode 100644 exercises/accumulate/tests/elm-package.json rename exercises/allergies/{ => tests}/Tests.elm (88%) create mode 100644 exercises/allergies/tests/elm-package.json rename exercises/anagram/{ => tests}/Tests.elm (93%) create mode 100644 exercises/anagram/tests/elm-package.json rename exercises/atbash-cipher/{ => tests}/Tests.elm (86%) create mode 100644 exercises/atbash-cipher/tests/elm-package.json rename exercises/bob/{ => tests}/Tests.elm (95%) create mode 100644 exercises/bob/tests/elm-package.json rename exercises/difference-of-squares/{ => tests}/Tests.elm (87%) create mode 100644 exercises/difference-of-squares/tests/elm-package.json rename exercises/gigasecond/{ => tests}/Tests.elm (84%) create mode 100644 exercises/gigasecond/tests/elm-package.json rename exercises/grade-school/{ => tests}/Tests.elm (91%) create mode 100644 exercises/grade-school/tests/elm-package.json rename exercises/hamming/{ => tests}/Tests.elm (89%) create mode 100644 exercises/hamming/tests/elm-package.json rename exercises/hello-world/{ => tests}/Tests.elm (72%) create mode 100644 exercises/hello-world/tests/elm-package.json delete mode 100644 exercises/hello-world/yarn.lock rename exercises/largest-series-product/{ => tests}/Tests.elm (94%) create mode 100644 exercises/largest-series-product/tests/elm-package.json rename exercises/leap/{ => tests}/Tests.elm (78%) create mode 100644 exercises/leap/tests/elm-package.json rename exercises/list-ops/{ => tests}/Tests.elm (93%) create mode 100644 exercises/list-ops/tests/elm-package.json rename exercises/nucleotide-count/{ => tests}/Tests.elm (80%) create mode 100644 exercises/nucleotide-count/tests/elm-package.json rename exercises/pangram/{ => tests}/Tests.elm (90%) create mode 100644 exercises/pangram/tests/elm-package.json rename exercises/phone-number/{ => tests}/Tests.elm (88%) create mode 100644 exercises/phone-number/tests/elm-package.json rename exercises/raindrops/{ => tests}/Tests.elm (86%) create mode 100644 exercises/raindrops/tests/elm-package.json rename exercises/rna-transcription/{ => tests}/Tests.elm (81%) create mode 100644 exercises/rna-transcription/tests/elm-package.json rename exercises/robot-simulator/{ => tests}/Tests.elm (95%) create mode 100644 exercises/robot-simulator/tests/elm-package.json rename exercises/roman-numerals/{ => tests}/Tests.elm (91%) create mode 100644 exercises/roman-numerals/tests/elm-package.json rename exercises/run-length-encoding/{ => tests}/Tests.elm (87%) create mode 100644 exercises/run-length-encoding/tests/elm-package.json rename exercises/say/{ => tests}/Tests.elm (93%) create mode 100644 exercises/say/tests/elm-package.json rename exercises/scrabble-score/{ => tests}/Tests.elm (84%) create mode 100644 exercises/scrabble-score/tests/elm-package.json rename exercises/series/{ => tests}/Tests.elm (87%) create mode 100644 exercises/series/tests/elm-package.json rename exercises/space-age/{ => tests}/Tests.elm (82%) create mode 100644 exercises/space-age/tests/elm-package.json rename exercises/strain/{ => tests}/Tests.elm (91%) create mode 100644 exercises/strain/tests/elm-package.json rename exercises/sublist/{ => tests}/Tests.elm (92%) create mode 100644 exercises/sublist/tests/elm-package.json rename exercises/sum-of-multiples/{ => tests}/Tests.elm (78%) create mode 100644 exercises/sum-of-multiples/tests/elm-package.json rename exercises/triangle/{ => tests}/Tests.elm (90%) create mode 100644 exercises/triangle/tests/elm-package.json rename exercises/word-count/{ => tests}/Tests.elm (87%) create mode 100644 exercises/word-count/tests/elm-package.json diff --git a/README.md b/README.md index c3dce3a..8d604be 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,6 @@ Please keep the following in mind: ```elm port module Main exposing (..) -import Test.Runner.Node exposing (run) -import Json.Encode exposing (Value) import Test exposing (..) import Expect @@ -77,14 +75,6 @@ tests = False |> Expect.equal False ] - - -main : Program Value -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg ``` - All the tests for xElm exercises can be run from the top level of the repo with `bin/build.sh`. Please run this command before submitting your PR. diff --git a/bin/build.sh b/bin/build.sh index 8d2f58e..854be87 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -12,7 +12,7 @@ if [ $? -ne 0 ]; then exit 1 fi -elm-format --yes --validate exercises/**/{*.example.elm,Tests.elm} +elm-format --yes --validate exercises/**/*.example.elm exercises/**/tests/Tests.elm if [ $? -ne 0 ]; then echo "*******************************************************************" @@ -42,10 +42,7 @@ do echo '-------------------------------------------------------' echo "Testing $exercise_name" - # prevent elm-test from installing dependencies - mv $exercise_dir/elm-package.json $exercise_dir/elm-package.json.disabled - - npm test -- $exercise_dir/Tests.elm + npm test -- $exercise_dir/tests/Tests.elm # capture result from last command (elm-test) if [ $? -ne 0 ]; then @@ -54,7 +51,6 @@ do fi # be kind, rewind - mv $exercise_dir/elm-package.json.disabled $exercise_dir/elm-package.json mv "$exercise_dir/$exercise_name.elm" "$exercise_dir/$exercise_name.example.elm" mv "$exercise_dir/$exercise_name.impl" "$exercise_dir/$exercise_name.elm" done diff --git a/elm-package.json b/elm-package.json index 1366765..077e09c 100644 --- a/elm-package.json +++ b/elm-package.json @@ -39,8 +39,7 @@ "exposed-modules": [], "dependencies": { "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } diff --git a/exercises/accumulate/elm-package.json b/exercises/accumulate/elm-package.json index 8939a5d..894b41f 100644 --- a/exercises/accumulate/elm-package.json +++ b/exercises/accumulate/elm-package.json @@ -8,9 +8,7 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } diff --git a/exercises/accumulate/package.json b/exercises/accumulate/package.json index 68d7329..eb00cac 100644 --- a/exercises/accumulate/package.json +++ b/exercises/accumulate/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/accumulate/Tests.elm b/exercises/accumulate/tests/Tests.elm similarity index 78% rename from exercises/accumulate/Tests.elm rename to exercises/accumulate/tests/Tests.elm index ed9e0f5..33af1dc 100644 --- a/exercises/accumulate/Tests.elm +++ b/exercises/accumulate/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Accumulate exposing (accumulate) @@ -29,11 +27,3 @@ tests = Expect.equal [ "olleh", "dlrow" ] (accumulate String.reverse [ "hello", "world" ]) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/accumulate/tests/elm-package.json b/exercises/accumulate/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/accumulate/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/allergies/elm-package.json b/exercises/allergies/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/allergies/elm-package.json +++ b/exercises/allergies/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/allergies/package.json b/exercises/allergies/package.json index 68d7329..eb00cac 100644 --- a/exercises/allergies/package.json +++ b/exercises/allergies/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/allergies/Tests.elm b/exercises/allergies/tests/Tests.elm similarity index 88% rename from exercises/allergies/Tests.elm rename to exercises/allergies/tests/Tests.elm index 6e855d8..4d98793 100644 --- a/exercises/allergies/Tests.elm +++ b/exercises/allergies/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Allergies exposing (isAllergicTo, toList) @@ -42,17 +40,9 @@ tests = (255 |> toList |> List.sort) , test "ignore non allergen score parts" <| \() -> Expect.equal [ "eggs" ] (toList 257) - , test "ignore non allergen score parts" <| + , test "ignore all non allergen score parts" <| \() -> Expect.equal (List.sort [ "eggs", "shellfish", "strawberries", "tomatoes", "chocolate", "pollen", "cats" ]) (509 |> toList |> List.sort) ] ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/allergies/tests/elm-package.json b/exercises/allergies/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/allergies/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/anagram/elm-package.json b/exercises/anagram/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/anagram/elm-package.json +++ b/exercises/anagram/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/anagram/package.json b/exercises/anagram/package.json index 68d7329..eb00cac 100644 --- a/exercises/anagram/package.json +++ b/exercises/anagram/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/anagram/Tests.elm b/exercises/anagram/tests/Tests.elm similarity index 93% rename from exercises/anagram/Tests.elm rename to exercises/anagram/tests/Tests.elm index 4f12847..6d8773c 100644 --- a/exercises/anagram/Tests.elm +++ b/exercises/anagram/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Anagram exposing (detect) @@ -34,7 +32,7 @@ tests = \() -> Expect.equal [ "inlets" ] (detect "listen" [ "enlists", "google", "inlets", "banana" ]) - , test "detects multiple anagrams" <| + , test "detects even more anagrams" <| \() -> Expect.equal [ "gallery", "regally", "largely" ] (detect "allergy" [ "gallery", "ballerina", "regally", "clergy", "largely", "leading" ]) @@ -91,11 +89,3 @@ tests = Expect.equal [] (detect "patter" [ "tapper" ]) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/anagram/tests/elm-package.json b/exercises/anagram/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/anagram/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/atbash-cipher/elm-package.json b/exercises/atbash-cipher/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/atbash-cipher/elm-package.json +++ b/exercises/atbash-cipher/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/atbash-cipher/package.json b/exercises/atbash-cipher/package.json index 68d7329..eb00cac 100644 --- a/exercises/atbash-cipher/package.json +++ b/exercises/atbash-cipher/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/atbash-cipher/Tests.elm b/exercises/atbash-cipher/tests/Tests.elm similarity index 86% rename from exercises/atbash-cipher/Tests.elm rename to exercises/atbash-cipher/tests/Tests.elm index d9ec5ff..aab83a0 100644 --- a/exercises/atbash-cipher/Tests.elm +++ b/exercises/atbash-cipher/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import AtbashCipher exposing (encode, decode) @@ -35,11 +33,3 @@ tests = Expect.equal "anobstacleisoftenasteppingstone" (decode "zmlyh gzxov rhlug vmzhg vkkrm thglm v") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/atbash-cipher/tests/elm-package.json b/exercises/atbash-cipher/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/atbash-cipher/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/bob/elm-package.json b/exercises/bob/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/bob/elm-package.json +++ b/exercises/bob/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/bob/package.json b/exercises/bob/package.json index 68d7329..eb00cac 100644 --- a/exercises/bob/package.json +++ b/exercises/bob/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/bob/Tests.elm b/exercises/bob/tests/Tests.elm similarity index 95% rename from exercises/bob/Tests.elm rename to exercises/bob/tests/Tests.elm index eec7564..6ae1d1f 100644 --- a/exercises/bob/Tests.elm +++ b/exercises/bob/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import String @@ -148,11 +146,3 @@ uppercaseGibberish length = gibberishQuestion : Int -> String gibberishQuestion length = (gibberish length anyCharacter) ++ "?" - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/bob/tests/elm-package.json b/exercises/bob/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/bob/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/difference-of-squares/elm-package.json b/exercises/difference-of-squares/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/difference-of-squares/elm-package.json +++ b/exercises/difference-of-squares/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/difference-of-squares/package.json b/exercises/difference-of-squares/package.json index 68d7329..eb00cac 100644 --- a/exercises/difference-of-squares/package.json +++ b/exercises/difference-of-squares/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/difference-of-squares/Tests.elm b/exercises/difference-of-squares/tests/Tests.elm similarity index 87% rename from exercises/difference-of-squares/Tests.elm rename to exercises/difference-of-squares/tests/Tests.elm index 268e5ac..1aca0a6 100644 --- a/exercises/difference-of-squares/Tests.elm +++ b/exercises/difference-of-squares/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import DifferenceOfSquares exposing (squareOfSum, sumOfSquares, difference) @@ -37,11 +35,3 @@ tests = \() -> Expect.equal 25164150 (difference 100) ] ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/difference-of-squares/tests/elm-package.json b/exercises/difference-of-squares/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/difference-of-squares/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/gigasecond/elm-package.json b/exercises/gigasecond/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/gigasecond/elm-package.json +++ b/exercises/gigasecond/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/gigasecond/package.json b/exercises/gigasecond/package.json index 68d7329..eb00cac 100644 --- a/exercises/gigasecond/package.json +++ b/exercises/gigasecond/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/gigasecond/Tests.elm b/exercises/gigasecond/tests/Tests.elm similarity index 84% rename from exercises/gigasecond/Tests.elm rename to exercises/gigasecond/tests/Tests.elm index c355bf7..1a84b5d 100644 --- a/exercises/gigasecond/Tests.elm +++ b/exercises/gigasecond/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Date @@ -39,11 +37,3 @@ date input = Err reason -> Debug.crash reason - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/gigasecond/tests/elm-package.json b/exercises/gigasecond/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/gigasecond/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/grade-school/elm-package.json b/exercises/grade-school/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/grade-school/elm-package.json +++ b/exercises/grade-school/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/grade-school/package.json b/exercises/grade-school/package.json index 68d7329..eb00cac 100644 --- a/exercises/grade-school/package.json +++ b/exercises/grade-school/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/grade-school/Tests.elm b/exercises/grade-school/tests/Tests.elm similarity index 91% rename from exercises/grade-school/Tests.elm rename to exercises/grade-school/tests/Tests.elm index ce60a9a..a21537b 100644 --- a/exercises/grade-school/Tests.elm +++ b/exercises/grade-school/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import GradeSchool exposing (addStudent, studentsInGrade, allStudents) @@ -59,11 +57,3 @@ tests = , test "get students in a non-existent grade" <| \() -> Expect.equal [] (studentsInGrade 1 GradeSchool.empty) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/grade-school/tests/elm-package.json b/exercises/grade-school/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/grade-school/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/hamming/elm-package.json b/exercises/hamming/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/hamming/elm-package.json +++ b/exercises/hamming/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/hamming/package.json b/exercises/hamming/package.json index 68d7329..eb00cac 100644 --- a/exercises/hamming/package.json +++ b/exercises/hamming/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/hamming/Tests.elm b/exercises/hamming/tests/Tests.elm similarity index 89% rename from exercises/hamming/Tests.elm rename to exercises/hamming/tests/Tests.elm index 8694212..b81d33e 100644 --- a/exercises/hamming/Tests.elm +++ b/exercises/hamming/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Hamming exposing (distance) @@ -39,11 +37,3 @@ tests = , test "disallow second strand longer" <| \() -> Expect.equal Nothing (distance "ATA" "AGTG") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/hamming/tests/elm-package.json b/exercises/hamming/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/hamming/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/hello-world/elm-package.json b/exercises/hello-world/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/hello-world/elm-package.json +++ b/exercises/hello-world/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/hello-world/package.json b/exercises/hello-world/package.json index 68d7329..eb00cac 100644 --- a/exercises/hello-world/package.json +++ b/exercises/hello-world/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/hello-world/Tests.elm b/exercises/hello-world/tests/Tests.elm similarity index 72% rename from exercises/hello-world/Tests.elm rename to exercises/hello-world/tests/Tests.elm index 4da801b..6017392 100644 --- a/exercises/hello-world/Tests.elm +++ b/exercises/hello-world/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import HelloWorld exposing (helloWorld) @@ -20,11 +18,3 @@ tests = \() -> Expect.equal "Hello, Bob!" (helloWorld (Just "Bob")) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/hello-world/tests/elm-package.json b/exercises/hello-world/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/hello-world/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/hello-world/yarn.lock b/exercises/hello-world/yarn.lock deleted file mode 100644 index b971c06..0000000 --- a/exercises/hello-world/yarn.lock +++ /dev/null @@ -1,1136 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -abbrev@1: - version "1.0.9" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" - -ansi-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.0.0.tgz#c5061b6e0ef8a81775e50f5d66151bf6bf371107" - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - -anymatch@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" - dependencies: - arrify "^1.0.0" - micromatch "^2.1.5" - -aproba@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.0.4.tgz#2713680775e7614c8ba186c065d4e2e52d1072c0" - -are-we-there-yet@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.0 || ^1.1.13" - -arr-diff@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" - dependencies: - arr-flatten "^1.0.1" - -arr-flatten@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" - -array-unique@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" - -arrify@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - -asap@~2.0.3: - version "2.0.5" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.5.tgz#522765b50c3510490e52d7dcfe085ef9ba96958f" - -asn1@~0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" - -assert-plus@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" - -assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - -async-each@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - -async@^2.0.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" - dependencies: - lodash "^4.14.0" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - -aws-sign2@~0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" - -aws4@^1.2.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.5.0.tgz#0a29ffb79c31c9e712eeb087e8e7a64b4a56d755" - -balanced-match@^0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" - -bcrypt-pbkdf@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.0.tgz#3ca76b85241c7170bf7d9703e7b9aa74630040d4" - dependencies: - tweetnacl "^0.14.3" - -binary-extensions@^1.0.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" - -bl@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.1.2.tgz#fdca871a99713aa00d19e3bbba41c44787a65398" - dependencies: - readable-stream "~2.0.5" - -block-stream@*: - version "0.0.9" - resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" - dependencies: - inherits "~2.0.0" - -boom@2.x.x: - version "2.10.1" - resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" - dependencies: - hoek "2.x.x" - -brace-expansion@^1.0.0: - version "1.1.6" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" - dependencies: - balanced-match "^0.4.1" - concat-map "0.0.1" - -braces@^1.8.2: - version "1.8.5" - resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" - dependencies: - expand-range "^1.8.1" - preserve "^0.2.0" - repeat-element "^1.1.2" - -buffer-shims@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" - -caseless@~0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" - -chalk@1.1.3, chalk@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chokidar@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.0.tgz#90c32ad4802901d7713de532dc284e96a63ad058" - dependencies: - anymatch "^1.3.0" - async-each "^1.0.0" - glob-parent "^2.0.0" - inherits "^2.0.1" - is-binary-path "^1.0.0" - is-glob "^2.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.0.0" - optionalDependencies: - fsevents "^1.0.0" - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - -combined-stream@^1.0.5, combined-stream@~1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" - dependencies: - delayed-stream "~1.0.0" - -commander@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" - dependencies: - graceful-readlink ">= 1.0.0" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - -core-util-is@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - -cross-spawn@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.0.tgz#8254774ab4786b8c5b3cf4dfba66ce563932c252" - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - -cryptiles@2.x.x: - version "2.0.5" - resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" - dependencies: - boom "2.x.x" - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - dependencies: - assert-plus "^1.0.0" - -debug@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" - dependencies: - ms "0.7.1" - -deep-extend@~0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - -ecc-jsbn@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" - dependencies: - jsbn "~0.1.0" - -elm-test@^0.18.0: - version "0.18.2" - resolved "https://registry.yarnpkg.com/elm-test/-/elm-test-0.18.2.tgz#1e94bd292de42a4960c6fdbe64eacee30669040a" - dependencies: - chalk "1.1.3" - chokidar "1.6.0" - cross-spawn "4.0.0" - find-up "^1.1.2" - firstline "^1.2.0" - fs-extra "0.30.0" - lodash "4.13.1" - minimist "^1.2.0" - node-elm-compiler "4.1.0" - temp "0.8.3" - -elm@^0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/elm/-/elm-0.18.0.tgz#919b8309cd939dfe2ff9d252d961b6c89509b970" - dependencies: - mkdirp "0.5.1" - promise "7.1.1" - request "2.74.0" - tar "2.2.1" - -escape-string-regexp@^1.0.2: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - -expand-brackets@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" - dependencies: - is-posix-bracket "^0.1.0" - -expand-range@^1.8.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" - dependencies: - fill-range "^2.1.0" - -extend@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" - -extglob@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" - dependencies: - is-extglob "^1.0.0" - -extsprintf@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" - -filename-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" - -fill-range@^2.1.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" - dependencies: - is-number "^2.1.0" - isobject "^2.0.0" - randomatic "^1.1.3" - repeat-element "^1.1.2" - repeat-string "^1.5.2" - -find-up@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" - -firstline@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/firstline/-/firstline-1.2.1.tgz#b88673c42009f8821fac2926e99720acee924fae" - -for-in@^0.1.5: - version "0.1.6" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.6.tgz#c9f96e89bfad18a545af5ec3ed352a1d9e5b4dc8" - -for-own@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.4.tgz#0149b41a39088c7515f51ebe1c1386d45f935072" - dependencies: - for-in "^0.1.5" - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - -form-data@~1.0.0-rc4: - version "1.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-1.0.1.tgz#ae315db9a4907fa065502304a66d7733475ee37c" - dependencies: - async "^2.0.1" - combined-stream "^1.0.5" - mime-types "^2.1.11" - -form-data@~2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4" - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.5" - mime-types "^2.1.12" - -fs-extra@0.30.0: - version "0.30.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" - dependencies: - graceful-fs "^4.1.2" - jsonfile "^2.1.0" - klaw "^1.0.0" - path-is-absolute "^1.0.0" - rimraf "^2.2.8" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - -fsevents@^1.0.0: - version "1.0.15" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.0.15.tgz#fa63f590f3c2ad91275e4972a6cea545fb0aae44" - dependencies: - nan "^2.3.0" - node-pre-gyp "^0.6.29" - -fstream-ignore@~1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" - dependencies: - fstream "^1.0.0" - inherits "2" - minimatch "^3.0.0" - -fstream@^1.0.0, fstream@^1.0.2, fstream@~1.0.10: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.10.tgz#604e8a92fe26ffd9f6fae30399d4984e1ab22822" - dependencies: - graceful-fs "^4.1.2" - inherits "~2.0.0" - mkdirp ">=0.5 0" - rimraf "2" - -gauge@~2.7.1: - version "2.7.2" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.2.tgz#15cecc31b02d05345a5d6b0e171cdb3ad2307774" - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - supports-color "^0.2.0" - wide-align "^1.1.0" - -generate-function@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" - -generate-object-property@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" - dependencies: - is-property "^1.0.0" - -getpass@^0.1.1: - version "0.1.6" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" - dependencies: - assert-plus "^1.0.0" - -glob-base@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" - dependencies: - glob-parent "^2.0.0" - is-glob "^2.0.0" - -glob-parent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" - dependencies: - is-glob "^2.0.0" - -glob@^7.0.5: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.2" - once "^1.3.0" - path-is-absolute "^1.0.0" - -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - -"graceful-readlink@>= 1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" - -har-validator@~2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" - dependencies: - chalk "^1.1.1" - commander "^2.9.0" - is-my-json-valid "^2.12.4" - pinkie-promise "^2.0.0" - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - dependencies: - ansi-regex "^2.0.0" - -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - -hawk@~3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" - dependencies: - boom "2.x.x" - cryptiles "2.x.x" - hoek "2.x.x" - sntp "1.x.x" - -hoek@2.x.x: - version "2.16.3" - resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" - -http-signature@~1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" - dependencies: - assert-plus "^0.2.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - -ini@~1.3.0: - version "1.3.4" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" - -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - dependencies: - binary-extensions "^1.0.0" - -is-buffer@^1.0.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.4.tgz#cfc86ccd5dc5a52fa80489111c6920c457e2d98b" - -is-dotfile@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" - -is-equal-shallow@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" - dependencies: - is-primitive "^2.0.0" - -is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - -is-extglob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - dependencies: - number-is-nan "^1.0.0" - -is-glob@^2.0.0, is-glob@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" - dependencies: - is-extglob "^1.0.0" - -is-my-json-valid@^2.12.4: - version "2.15.0" - resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz#936edda3ca3c211fd98f3b2d3e08da43f7b2915b" - dependencies: - generate-function "^2.0.0" - generate-object-property "^1.1.0" - jsonpointer "^4.0.0" - xtend "^4.0.0" - -is-number@^2.0.2, is-number@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" - dependencies: - kind-of "^3.0.2" - -is-posix-bracket@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" - -is-primitive@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" - -is-property@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - -isexe@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-1.1.2.tgz#36f3e22e60750920f5e7241a476a8c6a42275ad0" - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - dependencies: - isarray "1.0.0" - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - -jodid25519@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" - dependencies: - jsbn "~0.1.0" - -jsbn@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.0.tgz#650987da0dd74f4ebf5a11377a2aa2d273e97dfd" - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - -jsonfile@^2.1.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" - optionalDependencies: - graceful-fs "^4.1.6" - -jsonpointer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.0.tgz#6661e161d2fc445f19f98430231343722e1fcbd5" - -jsprim@^1.2.2: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.3.1.tgz#2a7256f70412a29ee3670aaca625994c4dcff252" - dependencies: - extsprintf "1.0.2" - json-schema "0.2.3" - verror "1.3.6" - -kind-of@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" - dependencies: - is-buffer "^1.0.2" - -klaw@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" - optionalDependencies: - graceful-fs "^4.1.9" - -lodash@4.13.1: - version "4.13.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.13.1.tgz#83e4b10913f48496d4d16fec4a560af2ee744b68" - -lodash@4.14.2, lodash@^4.14.0: - version "4.14.2" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.14.2.tgz#bbccce6373a400fbfd0a8c67ca42f6d1ef416432" - -lru-cache@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" - dependencies: - pseudomap "^1.0.1" - yallist "^2.0.0" - -micromatch@^2.1.5: - version "2.3.11" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" - dependencies: - arr-diff "^2.0.0" - array-unique "^0.2.1" - braces "^1.8.2" - expand-brackets "^0.1.4" - extglob "^0.3.1" - filename-regex "^2.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.1" - kind-of "^3.0.2" - normalize-path "^2.0.1" - object.omit "^2.0.0" - parse-glob "^3.0.4" - regex-cache "^0.4.2" - -mime-db@~1.25.0: - version "1.25.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.25.0.tgz#c18dbd7c73a5dbf6f44a024dc0d165a1e7b1c392" - -mime-types@^2.1.11, mime-types@^2.1.12, mime-types@~2.1.7: - version "2.1.13" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.13.tgz#e07aaa9c6c6b9a7ca3012c69003ad25a39e92a88" - dependencies: - mime-db "~1.25.0" - -minimatch@^3.0.0, minimatch@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" - dependencies: - brace-expansion "^1.0.0" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - -mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@~0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - dependencies: - minimist "0.0.8" - -ms@0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098" - -nan@^2.3.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.4.0.tgz#fb3c59d45fe4effe215f0b890f8adf6eb32d2232" - -node-elm-compiler@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/node-elm-compiler/-/node-elm-compiler-4.1.0.tgz#1b00244902f3f6e5cd5f6a3abadfb0f55b6c35dd" - dependencies: - cross-spawn "4.0.0" - lodash "4.14.2" - temp "^0.8.3" - -node-pre-gyp@^0.6.29: - version "0.6.32" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.32.tgz#fc452b376e7319b3d255f5f34853ef6fd8fe1fd5" - dependencies: - mkdirp "~0.5.1" - nopt "~3.0.6" - npmlog "^4.0.1" - rc "~1.1.6" - request "^2.79.0" - rimraf "~2.5.4" - semver "~5.3.0" - tar "~2.2.1" - tar-pack "~3.3.0" - -node-uuid@~1.4.7: - version "1.4.7" - resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.7.tgz#6da5a17668c4b3dd59623bda11cf7fa4c1f60a6f" - -nopt@~3.0.6: - version "3.0.6" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" - dependencies: - abbrev "1" - -normalize-path@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.0.1.tgz#47886ac1662760d4261b7d979d241709d3ce3f7a" - -npmlog@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.1" - set-blocking "~2.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - -oauth-sign@~0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" - -object-assign@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.0.tgz#7a3b3d0e98063d43f4c03f2e8ae6cd51a86883a0" - -object.omit@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" - dependencies: - for-own "^0.1.4" - is-extendable "^0.1.1" - -once@^1.3.0, once@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" - dependencies: - wrappy "1" - -os-tmpdir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - -parse-glob@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" - dependencies: - glob-base "^0.3.0" - is-dotfile "^1.0.0" - is-extglob "^1.0.0" - is-glob "^2.0.0" - -path-exists@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - dependencies: - pinkie-promise "^2.0.0" - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - -preserve@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" - -process-nextick-args@~1.0.6: - version "1.0.7" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" - -promise@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/promise/-/promise-7.1.1.tgz#489654c692616b8aa55b0724fa809bb7db49c5bf" - dependencies: - asap "~2.0.3" - -pseudomap@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - -punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - -qs@~6.2.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.2.1.tgz#ce03c5ff0935bc1d9d69a9f14cbd18e568d67625" - -qs@~6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.0.tgz#f403b264f23bc01228c74131b407f18d5ea5d442" - -randomatic@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" - dependencies: - is-number "^2.0.2" - kind-of "^3.0.2" - -rc@~1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.6.tgz#43651b76b6ae53b5c802f1151fa3fc3b059969c9" - dependencies: - deep-extend "~0.4.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~1.0.4" - -"readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.2.tgz#a9e6fec3c7dda85f8bb1b3ba7028604556fc825e" - dependencies: - buffer-shims "^1.0.0" - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - string_decoder "~0.10.x" - util-deprecate "~1.0.1" - -readable-stream@~2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - string_decoder "~0.10.x" - util-deprecate "~1.0.1" - -readable-stream@~2.1.4: - version "2.1.5" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0" - dependencies: - buffer-shims "^1.0.0" - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - string_decoder "~0.10.x" - util-deprecate "~1.0.1" - -readdirp@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" - dependencies: - graceful-fs "^4.1.2" - minimatch "^3.0.2" - readable-stream "^2.0.2" - set-immediate-shim "^1.0.1" - -regex-cache@^0.4.2: - version "0.4.3" - resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" - dependencies: - is-equal-shallow "^0.1.3" - is-primitive "^2.0.0" - -repeat-element@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" - -repeat-string@^1.5.2: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - -request@2.74.0: - version "2.74.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.74.0.tgz#7693ca768bbb0ea5c8ce08c084a45efa05b892ab" - dependencies: - aws-sign2 "~0.6.0" - aws4 "^1.2.1" - bl "~1.1.2" - caseless "~0.11.0" - combined-stream "~1.0.5" - extend "~3.0.0" - forever-agent "~0.6.1" - form-data "~1.0.0-rc4" - har-validator "~2.0.6" - hawk "~3.1.3" - http-signature "~1.1.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.7" - node-uuid "~1.4.7" - oauth-sign "~0.8.1" - qs "~6.2.0" - stringstream "~0.0.4" - tough-cookie "~2.3.0" - tunnel-agent "~0.4.1" - -request@^2.79.0: - version "2.79.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" - dependencies: - aws-sign2 "~0.6.0" - aws4 "^1.2.1" - caseless "~0.11.0" - combined-stream "~1.0.5" - extend "~3.0.0" - forever-agent "~0.6.1" - form-data "~2.1.1" - har-validator "~2.0.6" - hawk "~3.1.3" - http-signature "~1.1.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.7" - oauth-sign "~0.8.1" - qs "~6.3.0" - stringstream "~0.0.4" - tough-cookie "~2.3.0" - tunnel-agent "~0.4.1" - uuid "^3.0.0" - -rimraf@2, rimraf@^2.2.8, rimraf@~2.2.6: - version "2.2.8" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582" - -rimraf@~2.5.1, rimraf@~2.5.4: - version "2.5.4" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04" - dependencies: - glob "^7.0.5" - -semver@~5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" - -set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - -set-immediate-shim@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - -sntp@1.x.x: - version "1.0.9" - resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" - dependencies: - hoek "2.x.x" - -sshpk@^1.7.0: - version "1.10.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.10.1.tgz#30e1a5d329244974a1af61511339d595af6638b0" - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - dashdash "^1.12.0" - getpass "^0.1.1" - optionalDependencies: - bcrypt-pbkdf "^1.0.0" - ecc-jsbn "~0.1.1" - jodid25519 "^1.0.0" - jsbn "~0.1.0" - tweetnacl "~0.14.0" - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - -stringstream@~0.0.4: - version "0.0.5" - resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - dependencies: - ansi-regex "^2.0.0" - -strip-json-comments@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" - -supports-color@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - -tar-pack@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.3.0.tgz#30931816418f55afc4d21775afdd6720cee45dae" - dependencies: - debug "~2.2.0" - fstream "~1.0.10" - fstream-ignore "~1.0.5" - once "~1.3.3" - readable-stream "~2.1.4" - rimraf "~2.5.1" - tar "~2.2.1" - uid-number "~0.0.6" - -tar@2.2.1, tar@~2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" - dependencies: - block-stream "*" - fstream "^1.0.2" - inherits "2" - -temp@0.8.3, temp@^0.8.3: - version "0.8.3" - resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59" - dependencies: - os-tmpdir "^1.0.0" - rimraf "~2.2.6" - -tough-cookie@~2.3.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" - dependencies: - punycode "^1.4.1" - -tunnel-agent@~0.4.1: - version "0.4.3" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - -uid-number@~0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - -util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - -uuid@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" - -verror@1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" - dependencies: - extsprintf "1.0.2" - -which@^1.2.9: - version "1.2.12" - resolved "https://registry.yarnpkg.com/which/-/which-1.2.12.tgz#de67b5e450269f194909ef23ece4ebe416fa1192" - dependencies: - isexe "^1.1.1" - -wide-align@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" - dependencies: - string-width "^1.0.1" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - -xtend@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" - -yallist@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.0.0.tgz#306c543835f09ee1a4cb23b7bce9ab341c91cdd4" diff --git a/exercises/largest-series-product/elm-package.json b/exercises/largest-series-product/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/largest-series-product/elm-package.json +++ b/exercises/largest-series-product/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/largest-series-product/package.json b/exercises/largest-series-product/package.json index 68d7329..eb00cac 100644 --- a/exercises/largest-series-product/package.json +++ b/exercises/largest-series-product/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/largest-series-product/Tests.elm b/exercises/largest-series-product/tests/Tests.elm similarity index 94% rename from exercises/largest-series-product/Tests.elm rename to exercises/largest-series-product/tests/Tests.elm index a326520..598863d 100644 --- a/exercises/largest-series-product/Tests.elm +++ b/exercises/largest-series-product/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import LargestSeriesProduct exposing (largestProduct) @@ -45,11 +43,3 @@ tests = , test "rejects negative span" <| \() -> Expect.equal Nothing (largestProduct -1 "12345") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/largest-series-product/tests/elm-package.json b/exercises/largest-series-product/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/largest-series-product/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/leap/elm-package.json b/exercises/leap/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/leap/elm-package.json +++ b/exercises/leap/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/leap/package.json b/exercises/leap/package.json index 68d7329..eb00cac 100644 --- a/exercises/leap/package.json +++ b/exercises/leap/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/leap/Tests.elm b/exercises/leap/tests/Tests.elm similarity index 78% rename from exercises/leap/Tests.elm rename to exercises/leap/tests/Tests.elm index 99b37de..1e4b7cf 100644 --- a/exercises/leap/Tests.elm +++ b/exercises/leap/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Leap @@ -25,11 +23,3 @@ tests = , test "y2k" <| \() -> Expect.equal True (Leap.isLeapYear 2000) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/leap/tests/elm-package.json b/exercises/leap/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/leap/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/list-ops/elm-package.json b/exercises/list-ops/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/list-ops/elm-package.json +++ b/exercises/list-ops/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/list-ops/package.json b/exercises/list-ops/package.json index 68d7329..eb00cac 100644 --- a/exercises/list-ops/package.json +++ b/exercises/list-ops/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/list-ops/Tests.elm b/exercises/list-ops/tests/Tests.elm similarity index 93% rename from exercises/list-ops/Tests.elm rename to exercises/list-ops/tests/Tests.elm index 325acdf..f01b561 100644 --- a/exercises/list-ops/Tests.elm +++ b/exercises/list-ops/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import ListOps exposing (..) @@ -67,11 +65,3 @@ tests = \() -> Expect.equal (List.range 1 10) (ListOps.concat [ List.range 1 3, [], List.range 4 7, List.range 8 10 ]) ] ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/list-ops/tests/elm-package.json b/exercises/list-ops/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/list-ops/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/nucleotide-count/elm-package.json b/exercises/nucleotide-count/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/nucleotide-count/elm-package.json +++ b/exercises/nucleotide-count/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/nucleotide-count/package.json b/exercises/nucleotide-count/package.json index 68d7329..eb00cac 100644 --- a/exercises/nucleotide-count/package.json +++ b/exercises/nucleotide-count/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/nucleotide-count/Tests.elm b/exercises/nucleotide-count/tests/Tests.elm similarity index 80% rename from exercises/nucleotide-count/Tests.elm rename to exercises/nucleotide-count/tests/Tests.elm index 0800470..bb19367 100644 --- a/exercises/nucleotide-count/Tests.elm +++ b/exercises/nucleotide-count/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import NucleotideCount exposing (nucleotideCounts, version) @@ -25,11 +23,3 @@ tests = Expect.equal { a = 20, t = 21, c = 12, g = 17 } (nucleotideCounts "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/nucleotide-count/tests/elm-package.json b/exercises/nucleotide-count/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/nucleotide-count/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/pangram/elm-package.json b/exercises/pangram/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/pangram/elm-package.json +++ b/exercises/pangram/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/pangram/package.json b/exercises/pangram/package.json index 68d7329..eb00cac 100644 --- a/exercises/pangram/package.json +++ b/exercises/pangram/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/pangram/Tests.elm b/exercises/pangram/tests/Tests.elm similarity index 90% rename from exercises/pangram/Tests.elm rename to exercises/pangram/tests/Tests.elm index 05fd7ed..81825c6 100644 --- a/exercises/pangram/Tests.elm +++ b/exercises/pangram/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Pangram exposing (isPangram) @@ -51,11 +49,3 @@ tests = Expect.equal True (isPangram "Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich.") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/pangram/tests/elm-package.json b/exercises/pangram/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/pangram/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/phone-number/elm-package.json b/exercises/phone-number/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/phone-number/elm-package.json +++ b/exercises/phone-number/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/phone-number/package.json b/exercises/phone-number/package.json index 68d7329..eb00cac 100644 --- a/exercises/phone-number/package.json +++ b/exercises/phone-number/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/phone-number/Tests.elm b/exercises/phone-number/tests/Tests.elm similarity index 88% rename from exercises/phone-number/Tests.elm rename to exercises/phone-number/tests/Tests.elm index a655e7b..bd4020d 100644 --- a/exercises/phone-number/Tests.elm +++ b/exercises/phone-number/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import PhoneNumber exposing (getNumber, prettyPrint) @@ -35,11 +33,3 @@ tests = , test "pretty print with full us phone number" <| \() -> Expect.equal (Just "(123) 456-7890") (prettyPrint "11234567890") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/phone-number/tests/elm-package.json b/exercises/phone-number/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/phone-number/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/raindrops/elm-package.json b/exercises/raindrops/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/raindrops/elm-package.json +++ b/exercises/raindrops/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/raindrops/package.json b/exercises/raindrops/package.json index 68d7329..eb00cac 100644 --- a/exercises/raindrops/package.json +++ b/exercises/raindrops/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/raindrops/Tests.elm b/exercises/raindrops/tests/Tests.elm similarity index 86% rename from exercises/raindrops/Tests.elm rename to exercises/raindrops/tests/Tests.elm index 09e86a6..fd72720 100644 --- a/exercises/raindrops/Tests.elm +++ b/exercises/raindrops/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Raindrops exposing (raindrops) @@ -41,11 +39,3 @@ tests = , test "105" <| \() -> Expect.equal "PlingPlangPlong" (raindrops 105) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/raindrops/tests/elm-package.json b/exercises/raindrops/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/raindrops/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/rna-transcription/elm-package.json b/exercises/rna-transcription/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/rna-transcription/elm-package.json +++ b/exercises/rna-transcription/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/rna-transcription/package.json b/exercises/rna-transcription/package.json index 68d7329..eb00cac 100644 --- a/exercises/rna-transcription/package.json +++ b/exercises/rna-transcription/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/rna-transcription/Tests.elm b/exercises/rna-transcription/tests/Tests.elm similarity index 81% rename from exercises/rna-transcription/Tests.elm rename to exercises/rna-transcription/tests/Tests.elm index 965108d..14dcf24 100644 --- a/exercises/rna-transcription/Tests.elm +++ b/exercises/rna-transcription/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import RNATranscription exposing (toRNA) @@ -25,11 +23,3 @@ tests = , test "correctly handles partially invalid input" <| \() -> Expect.equal (Err 'U') (toRNA "UGAAXXXGACAUG") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/rna-transcription/tests/elm-package.json b/exercises/rna-transcription/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/rna-transcription/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/robot-simulator/elm-package.json b/exercises/robot-simulator/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/robot-simulator/elm-package.json +++ b/exercises/robot-simulator/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/robot-simulator/package.json b/exercises/robot-simulator/package.json index 68d7329..eb00cac 100644 --- a/exercises/robot-simulator/package.json +++ b/exercises/robot-simulator/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/robot-simulator/Tests.elm b/exercises/robot-simulator/tests/Tests.elm similarity index 95% rename from exercises/robot-simulator/Tests.elm rename to exercises/robot-simulator/tests/Tests.elm index 804de7d..864413d 100644 --- a/exercises/robot-simulator/Tests.elm +++ b/exercises/robot-simulator/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import RobotSimulator exposing (defaultRobot, Robot, Bearing(North, East, West, South), turnRight, turnLeft, advance, simulate) @@ -140,11 +138,3 @@ generate a list of Assert Equal assertions. assertionList : List a -> List a -> List Expect.Expectation assertionList xs ys = List.map2 Expect.equal xs ys - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/robot-simulator/tests/elm-package.json b/exercises/robot-simulator/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/robot-simulator/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/roman-numerals/elm-package.json b/exercises/roman-numerals/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/roman-numerals/elm-package.json +++ b/exercises/roman-numerals/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/roman-numerals/package.json b/exercises/roman-numerals/package.json index 68d7329..eb00cac 100644 --- a/exercises/roman-numerals/package.json +++ b/exercises/roman-numerals/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/roman-numerals/Tests.elm b/exercises/roman-numerals/tests/Tests.elm similarity index 91% rename from exercises/roman-numerals/Tests.elm rename to exercises/roman-numerals/tests/Tests.elm index eed0449..5ca51a3 100644 --- a/exercises/roman-numerals/Tests.elm +++ b/exercises/roman-numerals/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import RomanNumerals exposing (toRoman) @@ -83,11 +81,3 @@ tests = Expect.equal ("MMM") (toRoman 3000) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/roman-numerals/tests/elm-package.json b/exercises/roman-numerals/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/roman-numerals/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/run-length-encoding/elm-package.json b/exercises/run-length-encoding/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/run-length-encoding/elm-package.json +++ b/exercises/run-length-encoding/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/run-length-encoding/package.json b/exercises/run-length-encoding/package.json index 68d7329..eb00cac 100644 --- a/exercises/run-length-encoding/package.json +++ b/exercises/run-length-encoding/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/run-length-encoding/Tests.elm b/exercises/run-length-encoding/tests/Tests.elm similarity index 87% rename from exercises/run-length-encoding/Tests.elm rename to exercises/run-length-encoding/tests/Tests.elm index 4744d74..2424a60 100644 --- a/exercises/run-length-encoding/Tests.elm +++ b/exercises/run-length-encoding/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import RunLengthEncoding exposing (version, decode, encode) @@ -37,11 +35,3 @@ tests = , test "decode unicode" <| \() -> Expect.equal "⏰⚽⚽⚽⭐⭐⏰" (decode "⏰3⚽2⭐⏰") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/run-length-encoding/tests/elm-package.json b/exercises/run-length-encoding/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/run-length-encoding/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/say/elm-package.json b/exercises/say/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/say/elm-package.json +++ b/exercises/say/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/say/package.json b/exercises/say/package.json index 68d7329..eb00cac 100644 --- a/exercises/say/package.json +++ b/exercises/say/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/say/Tests.elm b/exercises/say/tests/Tests.elm similarity index 93% rename from exercises/say/Tests.elm rename to exercises/say/tests/Tests.elm index 7193601..9204a33 100644 --- a/exercises/say/Tests.elm +++ b/exercises/say/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Say exposing (say, SayError(Negative, TooLarge)) @@ -86,11 +84,3 @@ tests = ) (say 987654321123) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/say/tests/elm-package.json b/exercises/say/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/say/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/scrabble-score/elm-package.json b/exercises/scrabble-score/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/scrabble-score/elm-package.json +++ b/exercises/scrabble-score/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/scrabble-score/package.json b/exercises/scrabble-score/package.json index 68d7329..eb00cac 100644 --- a/exercises/scrabble-score/package.json +++ b/exercises/scrabble-score/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/scrabble-score/Tests.elm b/exercises/scrabble-score/tests/Tests.elm similarity index 84% rename from exercises/scrabble-score/Tests.elm rename to exercises/scrabble-score/tests/Tests.elm index bdf711e..8e3e5b0 100644 --- a/exercises/scrabble-score/Tests.elm +++ b/exercises/scrabble-score/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import ScrabbleScore exposing (scoreWord) @@ -33,11 +31,3 @@ tests = , test "empty input" <| \() -> Expect.equal 0 (scoreWord "") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/scrabble-score/tests/elm-package.json b/exercises/scrabble-score/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/scrabble-score/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/series/elm-package.json b/exercises/series/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/series/elm-package.json +++ b/exercises/series/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/series/package.json b/exercises/series/package.json index 68d7329..eb00cac 100644 --- a/exercises/series/package.json +++ b/exercises/series/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/series/Tests.elm b/exercises/series/tests/Tests.elm similarity index 87% rename from exercises/series/Tests.elm rename to exercises/series/tests/Tests.elm index 57b53c4..bbfa35e 100644 --- a/exercises/series/Tests.elm +++ b/exercises/series/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Series exposing (slices) @@ -43,11 +41,3 @@ tests = Expect.equal (Err "could not convert string 'a' to an Int") (slices 2 "0123abc") ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/series/tests/elm-package.json b/exercises/series/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/series/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/space-age/elm-package.json b/exercises/space-age/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/space-age/elm-package.json +++ b/exercises/space-age/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/space-age/package.json b/exercises/space-age/package.json index 68d7329..eb00cac 100644 --- a/exercises/space-age/package.json +++ b/exercises/space-age/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/space-age/Tests.elm b/exercises/space-age/tests/Tests.elm similarity index 82% rename from exercises/space-age/Tests.elm rename to exercises/space-age/tests/Tests.elm index 47e8b0f..4fd2aa4 100644 --- a/exercises/space-age/Tests.elm +++ b/exercises/space-age/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import SpaceAge exposing (Planet(..), ageOn) @@ -27,11 +25,3 @@ tests = , test "age on neptune" <| \() -> Expect.equal 2 (round (ageOn Neptune 8210123456)) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/space-age/tests/elm-package.json b/exercises/space-age/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/space-age/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/strain/elm-package.json b/exercises/strain/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/strain/elm-package.json +++ b/exercises/strain/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/strain/package.json b/exercises/strain/package.json index 68d7329..eb00cac 100644 --- a/exercises/strain/package.json +++ b/exercises/strain/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/strain/Tests.elm b/exercises/strain/tests/Tests.elm similarity index 91% rename from exercises/strain/Tests.elm rename to exercises/strain/tests/Tests.elm index 2d89227..93a40c6 100644 --- a/exercises/strain/Tests.elm +++ b/exercises/strain/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Strain exposing (keep, discard) @@ -80,11 +78,3 @@ tests = Expect.equal [ "apple", "banana", "cherimoya" ] (discard (isFirstLetter "z") [ "apple", "zebra", "banana", "zombies", "cherimoya", "zealot" ]) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/strain/tests/elm-package.json b/exercises/strain/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/strain/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/sublist/elm-package.json b/exercises/sublist/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/sublist/elm-package.json +++ b/exercises/sublist/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/sublist/package.json b/exercises/sublist/package.json index 68d7329..eb00cac 100644 --- a/exercises/sublist/package.json +++ b/exercises/sublist/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/sublist/Tests.elm b/exercises/sublist/tests/Tests.elm similarity index 92% rename from exercises/sublist/Tests.elm rename to exercises/sublist/tests/Tests.elm index 892e93e..5970ff7 100644 --- a/exercises/sublist/Tests.elm +++ b/exercises/sublist/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Sublist exposing (version, sublist, ListComparison(..)) @@ -49,11 +47,3 @@ tests = , test "recurring values unequal" <| \() -> Expect.equal Unequal (sublist [ 1, 2, 1, 2, 3 ] [ 1, 2, 3, 1, 2, 3, 2, 3, 2, 1 ]) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/sublist/tests/elm-package.json b/exercises/sublist/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/sublist/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/sum-of-multiples/elm-package.json b/exercises/sum-of-multiples/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/sum-of-multiples/elm-package.json +++ b/exercises/sum-of-multiples/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/sum-of-multiples/package.json b/exercises/sum-of-multiples/package.json index 68d7329..eb00cac 100644 --- a/exercises/sum-of-multiples/package.json +++ b/exercises/sum-of-multiples/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/sum-of-multiples/Tests.elm b/exercises/sum-of-multiples/tests/Tests.elm similarity index 78% rename from exercises/sum-of-multiples/Tests.elm rename to exercises/sum-of-multiples/tests/Tests.elm index d7fbc28..16e22d9 100644 --- a/exercises/sum-of-multiples/Tests.elm +++ b/exercises/sum-of-multiples/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import SumOfMultiples exposing (sumOfMultiples) @@ -23,11 +21,3 @@ tests = , test "[5, 25] 51" <| \() -> Expect.equal 275 (sumOfMultiples [ 5, 25 ] 51) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/sum-of-multiples/tests/elm-package.json b/exercises/sum-of-multiples/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/sum-of-multiples/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/triangle/elm-package.json b/exercises/triangle/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/triangle/elm-package.json +++ b/exercises/triangle/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/triangle/package.json b/exercises/triangle/package.json index 68d7329..eb00cac 100644 --- a/exercises/triangle/package.json +++ b/exercises/triangle/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/triangle/Tests.elm b/exercises/triangle/tests/Tests.elm similarity index 90% rename from exercises/triangle/Tests.elm rename to exercises/triangle/tests/Tests.elm index cf42686..861d60e 100644 --- a/exercises/triangle/Tests.elm +++ b/exercises/triangle/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Triangle exposing (triangleKind, Triangle(..)) @@ -39,11 +37,3 @@ tests = , test "triangles violating triangle inequality are illegal 2" <| \() -> Expect.equal (Err "Violates inequality") (triangleKind 7 3 2) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/triangle/tests/elm-package.json b/exercises/triangle/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/triangle/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +} diff --git a/exercises/word-count/elm-package.json b/exercises/word-count/elm-package.json index 8939a5d..0c3a324 100644 --- a/exercises/word-count/elm-package.json +++ b/exercises/word-count/elm-package.json @@ -8,9 +8,8 @@ ], "exposed-modules": [], "dependencies": { - "elm-lang/core": "5.0.0 <= v < 6.0.0", - "elm-community/elm-test": "3.0.0 <= v < 4.0.0", - "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0" + "elm-lang/core": "5.0.0 <= v < 6.0.0" }, "elm-version": "0.18.0 <= v < 0.19.0" } + diff --git a/exercises/word-count/package.json b/exercises/word-count/package.json index 68d7329..eb00cac 100644 --- a/exercises/word-count/package.json +++ b/exercises/word-count/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "postinstall": "elm-package install -y", - "test": "elm-test Tests.elm" + "test": "elm-test" }, "dependencies": { "elm": "^0.18.0", diff --git a/exercises/word-count/Tests.elm b/exercises/word-count/tests/Tests.elm similarity index 87% rename from exercises/word-count/Tests.elm rename to exercises/word-count/tests/Tests.elm index 5c11ae3..3ac5873 100644 --- a/exercises/word-count/Tests.elm +++ b/exercises/word-count/tests/Tests.elm @@ -1,7 +1,5 @@ -port module Main exposing (..) +module Tests exposing (..) -import Test.Runner.Node exposing (run, TestProgram) -import Json.Encode exposing (Value) import Test exposing (..) import Expect import Dict exposing (Dict) @@ -36,11 +34,3 @@ tests = Expect.equal [ ( "go", 3 ), ( "stop", 2 ) ] (wordCount "go Go GO Stop stop" |> Dict.toList) ] - - -main : TestProgram -main = - run emit tests - - -port emit : ( String, Value ) -> Cmd msg diff --git a/exercises/word-count/tests/elm-package.json b/exercises/word-count/tests/elm-package.json new file mode 100644 index 0000000..2e70ae6 --- /dev/null +++ b/exercises/word-count/tests/elm-package.json @@ -0,0 +1,16 @@ +{ + "version": "3.0.0", + "summary": "Exercism problems in Elm.", + "repository": "https://github.com/exercism/xelm.git", + "license": "BSD3", + "source-directories": [ + ".", + ".." + ], + "exposed-modules": [], + "dependencies": { + "elm-lang/core": "5.0.0 <= v < 6.0.0", + "elm-community/elm-test": "4.0.0 <= v < 5.0.0" + }, + "elm-version": "0.18.0 <= v < 0.19.0" +}