From f2f0bf0883c4a3c7942c83021df748dd7b3cd961 Mon Sep 17 00:00:00 2001 From: exoego Date: Thu, 28 May 2020 15:08:14 +0900 Subject: [PATCH 1/4] Update remark deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6ec875add..7f51a7e20 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ ] }, "dependencies": { - "remark-cli": "^7.0.0", - "remark-preset-lint-recommended": "^3.0.3", + "remark-cli": "^8.0.0", + "remark-preset-lint-recommended": "^4.0.0", "source-map-support": "^0.5.13" } } From eefe2c73db839fc89ced6af408d3cbd1eda5ed41 Mon Sep 17 00:00:00 2001 From: exoego Date: Thu, 28 May 2020 15:08:29 +0900 Subject: [PATCH 2/4] Run lint on CI --- .github/workflows/format.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 54fea8e7d..ce61d720d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,3 +10,5 @@ jobs: - uses: olafurpg/setup-scala@v5 - name: Check Scalafmt/Scaladoc run: sbt ++2.13.2 scalafmtSbtCheck scalafmtCheck test:scalafmtCheck current/doc core/doc + - name: Check README + run: npm run lint-md From f539eb6f225962e92e76903d36a9e4183c754c86 Mon Sep 17 00:00:00 2001 From: exoego Date: Thu, 28 May 2020 15:08:52 +0900 Subject: [PATCH 3/4] Reformat README.md using remark --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 90ef4a655..79ce9e9b3 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ Scala.js type facades for Node.js v10 and v12. ## Support matrix -| | ScalaJS 0.6.28+ | ScalaJS 1.x | -| ---------- | :----------------: | :------------: | +| | ScalaJS 0.6.28+ | ScalaJS 1.x | +| ---------- | :----------------: | :-----------------------------: | | Scala 2.13 | :heavy_check_mark: | :heavy_check_mark: from v0.10.0 | | Scala 2.12 | :heavy_check_mark: | :heavy_check_mark: from v0.10.0 | -| Scala 2.11 | N/A | N/A | -| Scala 2.10 | N/A | N/A | +| Scala 2.11 | N/A | N/A | +| Scala 2.10 | N/A | N/A | - :heavy_check_mark: Supported - :construction: Not supported but planned From 14625ecf7f4ca599f20ed77042dbd20e04afb25a Mon Sep 17 00:00:00 2001 From: exoego Date: Thu, 28 May 2020 15:26:02 +0900 Subject: [PATCH 4/4] Instll npm dependencies before checking --- .github/workflows/format.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index ce61d720d..844c7605c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,5 +10,7 @@ jobs: - uses: olafurpg/setup-scala@v5 - name: Check Scalafmt/Scaladoc run: sbt ++2.13.2 scalafmtSbtCheck scalafmtCheck test:scalafmtCheck current/doc core/doc + - name: Install NPM deps + run: npm install - name: Check README run: npm run lint-md