Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdaming committed Sep 12, 2024
1 parent 0467e8e commit 155ae1f
Show file tree
Hide file tree
Showing 16 changed files with 3,702 additions and 2,273 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 22.x
- name: Yarn install
working-directory: typescript
run: yarn install
run: corepack yarn install
- name: Test
working-directory: typescript
run: yarn jest
run: corepack yarn jest
1 change: 1 addition & 0 deletions cpp/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ Here are the main shortcuts available once TCR utility is running:
| `p` / `P` | Toggle on/off git auto-push |
| `l` / `L` | Pull from remote |
| `s` / `S` | Push to remote |
| `a` / `A` | Abort current command (when in driver role) |
| `q` / `Q` | Quit current role / Quit TCR |
| `?` | List available options |

Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cmake 3.30.0
cmake 3.30.3
1 change: 1 addition & 0 deletions go/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ Here are the main shortcuts available once TCR utility is running:
| `p` / `P` | Toggle on/off git auto-push |
| `l` / `L` | Pull from remote |
| `s` / `S` | Push to remote |
| `a` / `A` | Abort current command (when in driver role) |
| `q` / `Q` | Quit current role / Quit TCR |
| `?` | List available options |
Expand Down
1 change: 1 addition & 0 deletions java/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ Here are the main shortcuts available once TCR utility is running:
| `p` / `P` | Toggle on/off git auto-push |
| `l` / `L` | Pull from remote |
| `s` / `S` | Push to remote |
| `a` / `A` | Abort current command (when in driver role) |
| `q` / `Q` | Quit current role / Quit TCR |
| `?` | List available options |

Expand Down
6 changes: 3 additions & 3 deletions java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {

dependencies {
// JUnit 5
testImplementation("org.junit.jupiter:junit-jupiter:5.10.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.0")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

// Mockito Core
Expand All @@ -25,14 +25,14 @@ dependencies {

// ApprovalTests (for Golden Master tests)
// Uncomment if the kata is using it. Remove otherwise
// testImplementation group: 'com.approvaltests', name: 'approvaltests', version: '24.2.0'
// testImplementation group: 'com.approvaltests', name: 'approvaltests', version: '24.4.0'

// Gson parser
// Uncomment if the kata is using it. Remove otherwise
// implementation group: 'com.google.code.gson', name: 'gson', version: '2.11.0'

// Guava utility package
implementation group: 'com.google.guava', name: 'guava', version: '33.2.1-jre'
implementation group: 'com.google.guava', name: 'guava', version: '33.3.0-jre'
}

test {
Expand Down
Binary file modified java/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion java/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
14 changes: 7 additions & 7 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!-- JUnit 5 BOM -->
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.10.3</version>
<version>5.11.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -40,7 +40,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.1-jre</version>
<version>33.3.0-jre</version>
</dependency>

</dependencies>
Expand Down Expand Up @@ -74,7 +74,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<version>3.10.0</version>
<configuration>
<show>public</show>
<nohelp>true</nohelp>
Expand All @@ -88,22 +88,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
<version>3.20.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
1 change: 1 addition & 0 deletions python/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ Here are the main shortcuts available once TCR utility is running:
| `p` / `P` | Toggle on/off git auto-push |
| `l` / `L` | Pull from remote |
| `s` / `S` | Push to remote |
| `a` / `A` | Abort current command (when in driver role) |
| `q` / `Q` | Quit current role / Quit TCR |
| `?` | List available options |
Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pytest == 8.3.2; python_version >= '3.8'
pytest-parametrization == 2022.2.1
mypy == 0.971; python_version < '3.7'
mypy == 1.4.1; python_version in '3.7'
mypy == 1.11.1; python_version >= '3.8'
mypy == 1.11.2; python_version >= '3.8'
8 changes: 4 additions & 4 deletions tcr/TCR.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# TCR - Test && (Commit || Revert)
# TCR - Test && Commit || Revert

## What is TCR

TCR is a programming workflow, which stands for **Test && (Commit || Revert)**.
Kent Beck and Oddmund Strømme came up with this concept
in [this post](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864).
TCR is a programming workflow, which stands for **Test && Commit || Revert**.
Kent Beck, Oddmund Strømme, Lars Barlindhaug and Ole Johannessen came up with this concept
as described in [this post](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864).

Since then several people experimented with this idea.

Expand Down
2 changes: 1 addition & 1 deletion tcr/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tcr 1.1.0
tcr 1.2.0
13 changes: 12 additions & 1 deletion typescript/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,18 @@ cd Kata-NumberToLcd/typescript

### 3 - Download dependencies

The kata uses `corepack` when configuring `yarn` as
the package manager to be used. You may need to run the
following command beforehand to enable it:

```shell
corepack enable
```

To download the dependencies:

```shell
yarn install
corepack yarn install
```

## Running the kata
Expand Down Expand Up @@ -88,6 +98,7 @@ Here are the main shortcuts available once TCR utility is running:
| `p` / `P` | Toggle on/off git auto-push |
| `l` / `L` | Pull from remote |
| `s` / `S` | Push to remote |
| `a` / `A` | Abort current command (when in driver role) |
| `q` / `Q` | Quit current role / Quit TCR |
| `?` | List available options |

Expand Down
5 changes: 3 additions & 2 deletions typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
"devDependencies": {
"@types/jest": "*",
"jest": "*",
"ts-jest": "*",
"jest-junit": "*",
"ts-jest": "*",
"typescript": "*"
},
"scripts": {
"test": "jest --watchAll"
},
"jest-junit": {
"outputDirectory": "./test_results"
}
},
"packageManager": "yarn@4.4.1"
}
Loading

0 comments on commit 155ae1f

Please sign in to comment.