mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: format yaml internally (#24520)
Uses https://github.com/g-plane/pretty_yaml
This commit is contained in:
parent
e8057bc102
commit
a5f8bfdbfb
5 changed files with 13 additions and 9 deletions
|
@ -8,6 +8,9 @@
|
||||||
"json": {
|
"json": {
|
||||||
"deno": true
|
"deno": true
|
||||||
},
|
},
|
||||||
|
"yaml": {
|
||||||
|
"quotes": "preferSingle"
|
||||||
|
},
|
||||||
"exec": {
|
"exec": {
|
||||||
"commands": [{
|
"commands": [{
|
||||||
"command": "rustfmt --config imports_granularity=item",
|
"command": "rustfmt --config imports_granularity=item",
|
||||||
|
@ -64,6 +67,7 @@
|
||||||
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
||||||
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
|
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
|
||||||
"https://plugins.dprint.dev/toml-0.6.2.wasm",
|
"https://plugins.dprint.dev/toml-0.6.2.wasm",
|
||||||
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7"
|
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7",
|
||||||
|
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.3.0.wasm"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
6
.github/workflows/start_release.yml
vendored
6
.github/workflows/start_release.yml
vendored
|
@ -8,9 +8,9 @@ on:
|
||||||
default: 'patch'
|
default: 'patch'
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- patch
|
- patch
|
||||||
- minor
|
- minor
|
||||||
- major
|
- major
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
6
.github/workflows/version_bump.yml
vendored
6
.github/workflows/version_bump.yml
vendored
|
@ -8,9 +8,9 @@ on:
|
||||||
default: 'patch'
|
default: 'patch'
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- patch
|
- patch
|
||||||
- minor
|
- minor
|
||||||
- major
|
- major
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
2
.github/workflows/wpt_epoch.yml
vendored
2
.github/workflows/wpt_epoch.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Log versions
|
- name: Log versions
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -9,7 +9,7 @@ const cmd = new Deno.Command("deno", {
|
||||||
"run",
|
"run",
|
||||||
"-A",
|
"-A",
|
||||||
"--no-config",
|
"--no-config",
|
||||||
"npm:dprint@0.45.1",
|
"npm:dprint@0.47.2",
|
||||||
subcommand,
|
subcommand,
|
||||||
"--config=" + configFile,
|
"--config=" + configFile,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue