akanjs 2.0.0-beta.6 → 2.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,6 +142,22 @@
|
|
|
142
142
|
"includes": ["**/*.constant.ts", "**/*.document.ts", "**/*.service.ts", "**/*.store.ts"],
|
|
143
143
|
"plugins": ["./node_modules/akanjs/devkit/lint/no-js-private-class-method.grit"]
|
|
144
144
|
},
|
|
145
|
+
{
|
|
146
|
+
"includes": [
|
|
147
|
+
"**/*.constant.ts",
|
|
148
|
+
"**/*.dictionary.ts",
|
|
149
|
+
"**/*.document.ts",
|
|
150
|
+
"**/*.service.ts",
|
|
151
|
+
"**/*.signal.ts",
|
|
152
|
+
"**/*.store.ts",
|
|
153
|
+
"**/*.Template.tsx",
|
|
154
|
+
"**/*.Unit.tsx",
|
|
155
|
+
"**/*.Util.tsx",
|
|
156
|
+
"**/*.View.tsx",
|
|
157
|
+
"**/*.Zone.tsx"
|
|
158
|
+
],
|
|
159
|
+
"plugins": ["./node_modules/akanjs/devkit/lint/no-deep-internal-import.grit"]
|
|
160
|
+
},
|
|
145
161
|
{
|
|
146
162
|
"includes": [
|
|
147
163
|
"**/page/**/*.ts",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
engine biome(1.0)
|
|
2
|
+
language js(typescript, jsx)
|
|
3
|
+
|
|
4
|
+
or {
|
|
5
|
+
JsModuleSource() as $source where {
|
|
6
|
+
$source <: within JsImport(),
|
|
7
|
+
not $filename <: r".*\.(?:test|spec)\.tsx?",
|
|
8
|
+
$source <: r"\"@(?:apps|libs)/[^/]+/[^/]+/.+\"",
|
|
9
|
+
not $source <: r"\"@apps/[^/]+/env/env\.client\"",
|
|
10
|
+
register_diagnostic(
|
|
11
|
+
span = $source,
|
|
12
|
+
message = "@apps and @libs imports should only reference the first two path segments after the alias."
|
|
13
|
+
)
|
|
14
|
+
},
|
|
15
|
+
JsModuleSource() as $source where {
|
|
16
|
+
$source <: within JsImport(),
|
|
17
|
+
not $filename <: r".*\.(?:test|spec)\.tsx?",
|
|
18
|
+
$filename <: r".*apps/akasys/lib/projectBuild/[^/]+\.(?:constant|dictionary|document|service|signal|store)\.ts|.*apps/akasys/lib/projectBuild/[^/]+\.(?:Template|Unit|Util|View|Zone)\.tsx",
|
|
19
|
+
$source <: r"\"\.\./\.\./.*\"",
|
|
20
|
+
register_diagnostic(
|
|
21
|
+
span = $source,
|
|
22
|
+
message = "projectBuild module files should not import from two or more parent directories."
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ export const SelectLanguage = ({ className, languages = parseAkanI18nEnv().local
|
|
|
22
22
|
id="select-language"
|
|
23
23
|
tabIndex={0}
|
|
24
24
|
role="button"
|
|
25
|
-
className="btn btn-ghost btn-sm mx-2 my-auto min-h-0
|
|
25
|
+
className="btn btn-ghost btn-sm mx-2 my-auto min-h-0 border-none px-3 font-medium text-xs md:mx-4"
|
|
26
26
|
>
|
|
27
27
|
{languageNames[lang as keyof typeof languageNames]}
|
|
28
28
|
</div>
|