lite: run prettier on js + json files
This commit is contained in:
parent
4242f6ee3d
commit
bb1c84e101
23 changed files with 23 additions and 23 deletions
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "لا تسأل مرةً أخرى",
|
||||
"vscode.file-open.desc": "تم إنشاء هذا الملف باستخدام إصدار سابق من tldraw. هل ترغب في تحديث الملف للعمل مع الإصدار الجديد؟",
|
||||
"context.pages.new-page": "صفحة جديدة"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "No preguntar-ho més",
|
||||
"vscode.file-open.desc": "Aquest fitxer es va crear amb una versió anterior de tldraw. Vols actualitzar-lo perquè funcioni amb la nova versió?",
|
||||
"context.pages.new-page": "Nova pàgina"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -191,4 +191,4 @@
|
|||
"vscode.file-open.dont-show-again": "Spørg ikke igen",
|
||||
"vscode.file-open.desc": "Denne fil blev oprettet med en tidligere version af tldraw. Vil du opdatere filen så den virker med den nye version?",
|
||||
"context.pages.new-page": "Ny side"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -326,4 +326,4 @@
|
|||
"toast.error.copy-fail.title": "Kopieren fehlgeschlagen",
|
||||
"toast.error.copy-fail.desc": "Bild kann nicht kopiert werden",
|
||||
"file-system.shared-document-file-open-error.title": "Konnte die Datei nicht öffnen"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "No volver a preguntar",
|
||||
"vscode.file-open.desc": "Este archivo se creó con una versión anterior de tldraw. ¿Desea actualizarlo para que funcione con la nueva versión?",
|
||||
"context.pages.new-page": "Nueva página"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -347,4 +347,4 @@
|
|||
"action.stop-following": "Lopeta seuraaminen",
|
||||
"people-menu.follow": "Seuraa",
|
||||
"style-panel.position": "Sijainti"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "Ne plus demander",
|
||||
"vscode.file-open.desc": "Ce fichier a été créé avec une version antérieure de tldraw. Souhaitez-vous le mettre à jour pour qu’il fonctionne avec la nouvelle version ?",
|
||||
"context.pages.new-page": "Nouvelle page"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -337,4 +337,4 @@
|
|||
"vscode.file-open.backup-saved": "Copia de seguridade gardada",
|
||||
"vscode.file-open.backup-failed": "Fallou a copia de seguridade: este non é un arquivo .tldr.",
|
||||
"style-panel.position": "Posición"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -325,4 +325,4 @@
|
|||
"toast.error.export-fail.desc": "इमेज एक्सपोर्ट करने में विफल",
|
||||
"toast.error.copy-fail.title": "विफल कॉपी",
|
||||
"toast.error.copy-fail.desc": "इमेज कॉपी करने में विफल"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "Non chiedere di nuovo",
|
||||
"vscode.file-open.desc": "Questo file è stato creato con una versione precedente di tldraw. Desideri aggiornarlo per farlo funzionare con la nuova versione?",
|
||||
"context.pages.new-page": "Nuova Pagina"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -336,4 +336,4 @@
|
|||
"vscode.file-open.backup": "백업",
|
||||
"vscode.file-open.backup-saved": "백업 저장완료",
|
||||
"vscode.file-open.backup-failed": "백업에 실패했습니다: .tldr 파일이 아닙니다."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -313,4 +313,4 @@
|
|||
"vscode.file-open.backup-saved": "Backup saved",
|
||||
"vscode.file-open.backup-failed": "Backup failed: this is not a .tldr file.",
|
||||
"vscode.file-open.dont-show-again": "Don't ask again"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "फेरि नसोध्नुहोस्",
|
||||
"vscode.file-open.desc": "यो फाइल tldraw को पुरानो संस्करणबाट सिर्जना गरिएको थियो। के तपाइँ नयाँ संस्करण संग काम गर्न यसलाई upgrade गर्न चाहनुहुन्छ?",
|
||||
"context.pages.new-page": "नयाँ पृष्ठ"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "Nu mai întreba",
|
||||
"vscode.file-open.desc": "Acest fișier a fost creat cu o versiune anterioară de tldraw. Vrei să îl actualizezi pentru a funcționa cu noua versiune?",
|
||||
"context.pages.new-page": "Pagină nouă"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -347,4 +347,4 @@
|
|||
"action.stop-following": "Перестать следовать",
|
||||
"people-menu.follow": "Следовать",
|
||||
"style-panel.position": "Позиция"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "ไม่ต้องถามอีก",
|
||||
"vscode.file-open.desc": "ไฟล์นี้ถูกสร้างขึ้นด้วย tldraw รุ่นก่อนหน้า คุณต้องการอัปเดตเพื่อทํางานกับรุ่นใหม่หรือไม่",
|
||||
"context.pages.new-page": "หน้าใหม่"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -329,4 +329,4 @@
|
|||
"vscode.file-open.dont-show-again": "Bir daha sorma",
|
||||
"vscode.file-open.desc": "Bu dosya daha önceki bir tldraw versiyonu ile oluşturulmuştur. Yeni versiyonla çalışmak için güncellemek ister misiniz?",
|
||||
"context.pages.new-page": "Yeni sayfa"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -347,4 +347,4 @@
|
|||
"action.stop-following": "Припинити стежити",
|
||||
"people-menu.follow": "Стежити",
|
||||
"style-panel.position": "Позиція"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,4 +330,4 @@
|
|||
"vscode.file-open.dont-show-again": "Đừng hỏi lại",
|
||||
"vscode.file-open.desc": "Tệp này được tạo bằng phiên bản cũ hơn của tldraw. Bạn có muốn cập nhật nó để hoạt động với phiên bản mới không?",
|
||||
"context.pages.new-page": "Trang mới"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -325,4 +325,4 @@
|
|||
"toast.error.export-fail.desc": "无法导出图像",
|
||||
"toast.error.copy-fail.title": "复制失败",
|
||||
"toast.error.copy-fail.desc": "无法复制图像"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -347,4 +347,4 @@
|
|||
"action.stop-following": "取消追蹤",
|
||||
"people-menu.follow": "追蹤",
|
||||
"style-panel.position": "位置"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
"build-api": "lazy build-api",
|
||||
"build-package": "lazy build-package",
|
||||
"lint": "lazy lint",
|
||||
"format": "prettier --write \"**/*.{ts,tsx}\"",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json}\"",
|
||||
"typecheck": "yarn refresh-assets && tsx scripts/typecheck.ts",
|
||||
"check-scripts": "tsx scripts/check-scripts.ts",
|
||||
"api-check": "lazy api-check",
|
||||
|
|
|
@ -15,7 +15,7 @@ async function main() {
|
|||
'prettier',
|
||||
shouldFix ? '--write' : '--check',
|
||||
// we have to run prettier from root so it picks up the ignore file
|
||||
join(relative(REPO_ROOT, process.cwd()), '**', '*.{ts,tsx}'),
|
||||
join(relative(REPO_ROOT, process.cwd()), '**', '*.{ts,tsx,js,jsx,json}'),
|
||||
],
|
||||
{ pwd: REPO_ROOT }
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue