Skip to content

Commit

Permalink
Merge pull request #244 from SleeplessByte/chore/regenerate-instructions
Browse files Browse the repository at this point in the history
Regenerate instructions, sync and fix all README.md
  • Loading branch information
masters3d authored Apr 10, 2019
2 parents 216eab6 + c6927be commit da1bbec
Show file tree
Hide file tree
Showing 87 changed files with 969 additions and 471 deletions.
27 changes: 27 additions & 0 deletions config/exercise-readme-insert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Setup

Go through the setup instructions for TypeScript to install the necessary
dependencies:

[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Install assignment dependencies:

```bash
$ yarn install
```

## Making the test suite pass

Execute the tests with:

```bash
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.
33 changes: 7 additions & 26 deletions config/exercise_readme.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,15 @@
{{- with .Hints }}
{{ . }}
{{ end }}
## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:

http://exercism.io/languages/typescript

## Requirements

Install assignment dependencies:

```bash
$ yarn install
```

## Making the test suite pass

Execute the tests with:

```bash
$ yarn test
```


{{ with .Spec.Credits }}
{{- with .TrackInsert }}
{{ . }}
{{ end }}
{{- with .Spec.Credits -}}
## Source

{{ . }}
{{ end }}
## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/accumulate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Solve this one yourself using other basic tools instead.

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -48,11 +48,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/acronym/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ like Portable Network Graphics to its acronym (PNG).

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -30,11 +30,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Julien Vanier [https://github.com/monkbroc](https://github.com/monkbroc)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
14 changes: 10 additions & 4 deletions exercises/all-your-base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ I think you got the idea!

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -54,7 +54,13 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.


## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/allergies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ score is 257, your program should only report the eggs (1) allergy.

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -52,11 +52,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Jumpstart Lab Warm-up [http://jumpstartlab.com](http://jumpstartlab.com)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
18 changes: 10 additions & 8 deletions exercises/alphametics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,34 @@ Write a function to solve alphametics puzzles.

## Setup

Go through the setup instructions for Javascript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

[https://exercism.io/tracks/javascript/installation](https://exercism.io/tracks/javascript/installation)
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Install assignment dependencies:

```bash
$ npm install
$ yarn install
```

## Making the test suite pass

Execute the tests with:

```bash
$ npm test
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by
changing `xtest` to `test`.
Once you get a test passing, you can enable the next one by changing `xit` to
`it`.


## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/anagram/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Given `"listen"` and a list of candidates like `"enlists" "google"

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -29,11 +29,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Inspired by the Extreme Startup game [https://github.com/rchatley/extreme_startup](https://github.com/rchatley/extreme_startup)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
15 changes: 10 additions & 5 deletions exercises/armstrong-numbers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ An [Armstrong number](https://en.wikipedia.org/wiki/Narcissistic_number) is a nu
For example:

- 9 is an Armstrong number, because `9 = 9^1 = 9`
- 10 is *not* an Armstrong number, because `10 != 1^2 + 0^2 = 2`
- 10 is *not* an Armstrong number, because `10 != 1^2 + 0^2 = 1`
- 153 is an Armstrong number, because: `153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153`
- 154 is *not* an Armstrong number, because: `154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190`

Write some code to determine whether a number is an Armstrong number.

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -34,11 +34,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Wikipedia [https://en.wikipedia.org/wiki/Narcissistic_number](https://en.wikipedia.org/wiki/Narcissistic_number)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/atbash-cipher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ things based on word boundaries.

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -51,11 +51,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Wikipedia [http://en.wikipedia.org/wiki/Atbash](http://en.wikipedia.org/wiki/Atbash)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
13 changes: 9 additions & 4 deletions exercises/beer-song/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ experiment make the code better? Worse? Did you learn anything from it?

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:
Go through the setup instructions for TypeScript to install the necessary
dependencies:

http://exercism.io/languages/typescript
[https://exercism.io/tracks/typescript/installation](https://exercism.io/tracks/typescript/installation)

## Requirements

Expand All @@ -343,11 +343,16 @@ Execute the tests with:
$ yarn test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by changing `xit` to
`it`.

## Source

Learn to Program by Chris Pine [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

It's possible to submit an incomplete solution so you can see how others have
completed the exercise.
Loading

0 comments on commit da1bbec

Please sign in to comment.