2024-03-06 14:38:27 +03:00
|
|
|
{
|
|
|
|
"nodes": {
|
|
|
|
"crane": {
|
|
|
|
"inputs": {
|
Format everything with Prettier. (#530)
I found myself wanting to rewrite JSON files with `sed`. The problem is,
then I want to run a formatter over them afterwards, and this will
change the whole file, not just the area I touched.
I would like to propose the nuclear option in remedying this: format
everything now. This is a very large change that should make it easier
to keep files to a consistent format in the future.
I have chosen to use Prettier for this because (a) it has a useful
`--write` command and (b) it also does GraphQL, Markdown, YAML, etc.
I've elected to exclude two sets of files:
1. `crates/custom-connector/data/*.json`, because they are actually
multiple JSON objects, one per line, which Prettier cannot parse.
2. `crates/lang-graphql/tests/**/*.graphql`, because it contains invalid
GraphQL, and the parser is intended to work with strangely-formatted
GraphQL.
The main changes are standardizing whitespace, adding a newline at the
end of files, and putting JSON arrays on one line when they fit.
V3_GIT_ORIGIN_REV_ID: 92d4a535c34a3cc00721e8ddc6f17c5717e8ff76
2024-04-30 17:58:09 +03:00
|
|
|
"nixpkgs": ["nixpkgs"]
|
2024-03-06 14:38:27 +03:00
|
|
|
},
|
|
|
|
"locked": {
|
2024-05-16 18:06:16 +03:00
|
|
|
"lastModified": 1715274763,
|
|
|
|
"narHash": "sha256-3Iv1PGHJn9sV3HO4FlOVaaztOxa9uGLfOmUWrH7v7+A=",
|
2024-03-06 14:38:27 +03:00
|
|
|
"owner": "ipetkov",
|
|
|
|
"repo": "crane",
|
2024-05-16 18:06:16 +03:00
|
|
|
"rev": "27025ab71bdca30e7ed0a16c88fd74c5970fc7f5",
|
2024-03-06 14:38:27 +03:00
|
|
|
"type": "github"
|
|
|
|
},
|
|
|
|
"original": {
|
|
|
|
"owner": "ipetkov",
|
|
|
|
"repo": "crane",
|
|
|
|
"type": "github"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flake-utils": {
|
|
|
|
"inputs": {
|
|
|
|
"systems": "systems"
|
|
|
|
},
|
|
|
|
"locked": {
|
2024-03-25 11:24:14 +03:00
|
|
|
"lastModified": 1710146030,
|
|
|
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
2024-03-06 14:38:27 +03:00
|
|
|
"owner": "numtide",
|
|
|
|
"repo": "flake-utils",
|
2024-03-25 11:24:14 +03:00
|
|
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
2024-03-06 14:38:27 +03:00
|
|
|
"type": "github"
|
|
|
|
},
|
|
|
|
"original": {
|
|
|
|
"owner": "numtide",
|
|
|
|
"repo": "flake-utils",
|
|
|
|
"type": "github"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nixpkgs": {
|
|
|
|
"locked": {
|
2024-05-16 18:06:16 +03:00
|
|
|
"lastModified": 1715859993,
|
|
|
|
"narHash": "sha256-vLp62qr+t+Kzp4HsLgIlSiGaBF4R28VPUasWhF1RCnA=",
|
2024-03-06 14:38:27 +03:00
|
|
|
"owner": "NixOS",
|
|
|
|
"repo": "nixpkgs",
|
2024-05-16 18:06:16 +03:00
|
|
|
"rev": "2eef017af08b91e353849dfe58436684e169b71d",
|
2024-03-06 14:38:27 +03:00
|
|
|
"type": "github"
|
|
|
|
},
|
|
|
|
"original": {
|
|
|
|
"owner": "NixOS",
|
|
|
|
"repo": "nixpkgs",
|
|
|
|
"type": "github"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root": {
|
|
|
|
"inputs": {
|
|
|
|
"crane": "crane",
|
|
|
|
"flake-utils": "flake-utils",
|
|
|
|
"nixpkgs": "nixpkgs",
|
|
|
|
"rust-overlay": "rust-overlay"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rust-overlay": {
|
|
|
|
"inputs": {
|
Format everything with Prettier. (#530)
I found myself wanting to rewrite JSON files with `sed`. The problem is,
then I want to run a formatter over them afterwards, and this will
change the whole file, not just the area I touched.
I would like to propose the nuclear option in remedying this: format
everything now. This is a very large change that should make it easier
to keep files to a consistent format in the future.
I have chosen to use Prettier for this because (a) it has a useful
`--write` command and (b) it also does GraphQL, Markdown, YAML, etc.
I've elected to exclude two sets of files:
1. `crates/custom-connector/data/*.json`, because they are actually
multiple JSON objects, one per line, which Prettier cannot parse.
2. `crates/lang-graphql/tests/**/*.graphql`, because it contains invalid
GraphQL, and the parser is intended to work with strangely-formatted
GraphQL.
The main changes are standardizing whitespace, adding a newline at the
end of files, and putting JSON arrays on one line when they fit.
V3_GIT_ORIGIN_REV_ID: 92d4a535c34a3cc00721e8ddc6f17c5717e8ff76
2024-04-30 17:58:09 +03:00
|
|
|
"flake-utils": ["flake-utils"],
|
|
|
|
"nixpkgs": ["nixpkgs"]
|
2024-03-06 14:38:27 +03:00
|
|
|
},
|
|
|
|
"locked": {
|
2024-05-16 18:06:16 +03:00
|
|
|
"lastModified": 1715825775,
|
|
|
|
"narHash": "sha256-7np2/EEr5Xm8IuKWQ43q8AA1Lb6Us2BW6rYMxGrInIg=",
|
2024-03-06 14:38:27 +03:00
|
|
|
"owner": "oxalica",
|
|
|
|
"repo": "rust-overlay",
|
2024-05-16 18:06:16 +03:00
|
|
|
"rev": "55f468b3d49c5d3321e85f2f9b1158476a2a90fb",
|
2024-03-06 14:38:27 +03:00
|
|
|
"type": "github"
|
|
|
|
},
|
|
|
|
"original": {
|
|
|
|
"owner": "oxalica",
|
|
|
|
"repo": "rust-overlay",
|
|
|
|
"type": "github"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"systems": {
|
|
|
|
"locked": {
|
|
|
|
"lastModified": 1681028828,
|
|
|
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
|
|
"owner": "nix-systems",
|
|
|
|
"repo": "default",
|
|
|
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
|
|
"type": "github"
|
|
|
|
},
|
|
|
|
"original": {
|
|
|
|
"owner": "nix-systems",
|
|
|
|
"repo": "default",
|
|
|
|
"type": "github"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root": "root",
|
|
|
|
"version": 7
|
|
|
|
}
|