Update prettier to 3.3.3
This commit is contained in:
parent
1773ad1e11
commit
24a22bf191
109 changed files with 452 additions and 392 deletions
|
@ -266,7 +266,7 @@ async function main() {
|
|||
}
|
||||
|
||||
const prettierConfig = await prettier.resolveConfig(destinationPath);
|
||||
const output = prettier.format(unformattedOutput, {
|
||||
const output = await prettier.format(unformattedOutput, {
|
||||
...prettierConfig,
|
||||
filepath: destinationPath,
|
||||
});
|
||||
|
|
|
@ -87,7 +87,7 @@ async function main(): Promise<void> {
|
|||
join(__dirname, '..', '..', 'build')
|
||||
);
|
||||
|
||||
const output = prettier.format(JSON.stringify(resources, null, 2), {
|
||||
const output = await prettier.format(JSON.stringify(resources, null, 2), {
|
||||
...prettierConfig,
|
||||
filepath: resourcesPath,
|
||||
});
|
||||
|
|
|
@ -81,7 +81,7 @@ async function main(): Promise<void> {
|
|||
);
|
||||
|
||||
{
|
||||
const output = prettier.format(JSON.stringify(jumbomoji, null, 2), {
|
||||
const output = await prettier.format(JSON.stringify(jumbomoji, null, 2), {
|
||||
...prettierConfig,
|
||||
filepath: manifestPath,
|
||||
});
|
||||
|
@ -89,7 +89,7 @@ async function main(): Promise<void> {
|
|||
}
|
||||
|
||||
{
|
||||
const output = prettier.format(JSON.stringify(resources, null, 2), {
|
||||
const output = await prettier.format(JSON.stringify(resources, null, 2), {
|
||||
...prettierConfig,
|
||||
filepath: resourcesPath,
|
||||
});
|
||||
|
|
|
@ -106,7 +106,7 @@ async function main() {
|
|||
delete typedValue.description;
|
||||
}
|
||||
delete json.smartling;
|
||||
const output = prettier.format(JSON.stringify(json, null, 2), {
|
||||
const output = await prettier.format(JSON.stringify(json, null, 2), {
|
||||
...prettierConfig,
|
||||
filepath: targetFile,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue