Skip to content

Commit

Permalink
Use pre-built textlint image (FerretDB#1366)
Browse files Browse the repository at this point in the history
That removes the need to rebuild it every time, removes node.js dependencies from the repo, etc.
  • Loading branch information
AlekSi authored Nov 3, 2022
1 parent 39f078f commit f084e6a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 3,743 deletions.
14 changes: 0 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ updates:
interval: "weekly"
day: "thursday"
time: "01:42"
- package-ecosystem: "docker"
directory: "/build/deps/textlint"
labels: [deps]
schedule:
interval: "weekly"
day: "thursday"
time: "01:42"
- package-ecosystem: "docker"
directory: "/website"
labels: [deps]
Expand Down Expand Up @@ -60,13 +53,6 @@ updates:
day: "thursday"
time: "01:42"

- package-ecosystem: "npm"
directory: "/build/deps/textlint"
labels: [deps]
schedule:
interval: "weekly"
day: "thursday"
time: "01:42"
- package-ecosystem: "npm"
directory: "/website"
labels: [deps]
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ bin/

# dependencies
vendor/
node_modules/

# task cache
.task/
Expand Down
1 change: 0 additions & 1 deletion .textlintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# https://textlint.github.io/docs/ignore.html
# node_modules are excluded by default.

CHANGELOG.md
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ tasks:
docs-fmt:
desc: "Format and lint documentation"
cmds:
- docker-compose run --rm markdownlint "**/*.md" "#CHANGELOG.md" "#**/node_modules"
- docker-compose run --rm textlint --fix --rule one-sentence-per-line "**/*.md" ".github/**/*.md"
- docker-compose run --rm markdownlint "**/*.md" "#CHANGELOG.md"

docs-dev:
desc: "Start documentation development server"
Expand Down
1 change: 1 addition & 0 deletions build/deps/ferretdb-textlint.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM ghcr.io/ferretdb/ferretdb-textlint:12.2.2-1
9 changes: 0 additions & 9 deletions build/deps/textlint/Dockerfile

This file was deleted.

Loading

0 comments on commit f084e6a

Please sign in to comment.