0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

Merge pull request #6286 from logto-io/gao-fix-script

chore(elements): move check to build
This commit is contained in:
Gao Sun 2024-07-21 23:51:23 +08:00 committed by GitHub
commit 8c0958ff6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 282 additions and 3 deletions

View file

@ -28,17 +28,16 @@
}, },
"scripts": { "scripts": {
"precommit": "lint-staged", "precommit": "lint-staged",
"build": "lit-localize build && tsup", "build": "pnpm check && lit-localize build && tsup",
"start": "web-dev-server", "start": "web-dev-server",
"dev": "lit-localize build && tsup --watch --no-splitting", "dev": "lit-localize build && tsup --watch --no-splitting",
"lint": "eslint --ext .ts src", "lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json", "lint:report": "pnpm lint --format json --output-file report.json",
"test": "echo \"No tests yet.\"", "test": "echo \"No tests yet.\"",
"test:ci": "pnpm run test --silent --coverage", "test:ci": "pnpm run test --silent --coverage",
"prepublishOnly": "pnpm check",
"prepack": "pnpm build", "prepack": "pnpm build",
"localize": "lit-localize", "localize": "lit-localize",
"check": "lit-localize extract && git add . -N && git diff --exit-code" "check": "if command -v git &> /dev/null; then lit-localize extract && git add . -N && git diff --exit-code; fi"
}, },
"engines": { "engines": {
"node": "^20.9.0" "node": "^20.9.0"

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View file

@ -13,6 +13,26 @@
<trans-unit id="account.profile.personal-info.title"> <trans-unit id="account.profile.personal-info.title">
<source>Personal information</source> <source>Personal information</source>
</trans-unit> </trans-unit>
<trans-unit id="general.title">
<source>Title</source>
</trans-unit>
<trans-unit id="general.content">
<source>Content</source>
</trans-unit>
<trans-unit id="general.actions">
<source>Actions</source>
</trans-unit>
<trans-unit id="general.change">
<source>Change</source>
</trans-unit>
<trans-unit id="account.profile.personal-info.avatar">
<source>Avatar</source>
<note from="lit-localize">The avatar of the user.</note>
</trans-unit>
<trans-unit id="account.profile.personal-info.name">
<source>Name</source>
<note from="lit-localize">The name of the user.</note>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>