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:
commit
8c0958ff6c
15 changed files with 282 additions and 3 deletions
|
@ -28,17 +28,16 @@
|
|||
},
|
||||
"scripts": {
|
||||
"precommit": "lint-staged",
|
||||
"build": "lit-localize build && tsup",
|
||||
"build": "pnpm check && lit-localize build && tsup",
|
||||
"start": "web-dev-server",
|
||||
"dev": "lit-localize build && tsup --watch --no-splitting",
|
||||
"lint": "eslint --ext .ts src",
|
||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||
"test": "echo \"No tests yet.\"",
|
||||
"test:ci": "pnpm run test --silent --coverage",
|
||||
"prepublishOnly": "pnpm check",
|
||||
"prepack": "pnpm build",
|
||||
"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": {
|
||||
"node": "^20.9.0"
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -13,6 +13,26 @@
|
|||
<trans-unit id="account.profile.personal-info.title">
|
||||
<source>Personal information</source>
|
||||
</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>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
Loading…
Reference in a new issue