Skip to content

Commit 17c131a

Browse files
authored
CI: Run prettier (#8140)
1 parent 9b9fea8 commit 17c131a

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
- run: pnpm lint:hbs
168168
- run: pnpm lint:js
169169
- run: pnpm lint:deps
170+
- run: pnpm prettier:check
170171

171172
frontend-test:
172173
name: Frontend / Test

crates_io_cdn_logs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
crates_io_cdn_logs
2-
===============================================================================
1+
# crates_io_cdn_logs
32

43
This package contains code to parse the log files from the crates.io CDNs
54
(AWS CloudFront and Fastly) and to count how often crates/versions are

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"lint:hbs": "ember-template-lint app",
2323
"lint:js": "eslint . --cache",
2424
"precompress": "node ./script/precompress-assets.mjs",
25-
"prettier": "prettier --write package.json '**/*.js' '**/*.mjs' '**/*.md'",
25+
"prettier:check": "prettier --check package.json '**/*.js' '**/*.mjs' '**/*.md'",
26+
"prettier:write": "prettier --write package.json '**/*.js' '**/*.mjs' '**/*.md'",
2627
"start": "ember serve",
2728
"start:live": "PROXY_BACKEND=https://crates.io ember serve",
2829
"start:local": "PROXY_BACKEND=http://127.0.0.1:8888 ember serve",

src/worker/jobs/dump_db/readme_for_tarball.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This is a dump of the public information in the crates.io database.
1717

1818
## Less Obvious Database Fields
1919

20-
* `crate_owners.owner_kind` - if `0`, the crate owner is a user; if `1`, the crate owner is a team. (If another value, you should probably contact the crates.io team.)
21-
* `crate_owners.owner_id` - if the owner is a user, this is their ID in `users.id`, otherwise it's the ID in `teams.id`.
22-
* `teams.login` - this will look something like `github:foo:bar`, referring to the `bar` team in the `foo` organisation. At present, as we only support GitHub, the first component will always be `github`.
20+
- `crate_owners.owner_kind` - if `0`, the crate owner is a user; if `1`, the crate owner is a team. (If another value, you should probably contact the crates.io team.)
21+
- `crate_owners.owner_id` - if the owner is a user, this is their ID in `users.id`, otherwise it's the ID in `teams.id`.
22+
- `teams.login` - this will look something like `github:foo:bar`, referring to the `bar` team in the `foo` organisation. At present, as we only support GitHub, the first component will always be `github`.
2323

2424
## Restoring to a Local crates.io Database
2525

0 commit comments

Comments
 (0)