@kalel1500/kalion-js 0.10.0-beta.0 → 0.10.1-beta.0
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.
- package/dist/cli/stubs/resources/js/app.ts +1 -1
- package/dist/cli/stubs/resources/js/config/bootstrap.ts +3 -3
- package/dist/cli/stubs/resources/js/config/routes.ts +1 -1
- package/dist/cli/stubs/resources/js/config/translations.ts +2 -2
- package/dist/cli/stubs/resources/js/src/home/infrastructure/HomeController.ts +1 -1
- package/dist/cli/stubs/tsconfig.json +6 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'flowbite';
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
2
|
+
import '@/config/constants';
|
|
3
|
+
import '@/config/translations';
|
|
4
4
|
import { EnvVariables, Route, UtilitiesServiceProvider } from '@kalel1500/kalion-js';
|
|
5
|
-
import { defineRoutes } from '
|
|
5
|
+
import { defineRoutes } from '@/config/routes';
|
|
6
6
|
|
|
7
7
|
// Declare .env variables
|
|
8
8
|
declare global {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Route } from '@kalel1500/kalion-js';
|
|
2
|
-
import HomeController from '
|
|
2
|
+
import HomeController from '@/src/home/infrastructure/HomeController';
|
|
3
3
|
|
|
4
4
|
export function defineRoutes(): void {
|
|
5
5
|
Route.page('home', [HomeController, 'home']);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import es from '
|
|
2
|
-
import en from '
|
|
1
|
+
import es from '@/config/lang/es.json';
|
|
2
|
+
import en from '@/config/lang/en.json';
|
|
3
3
|
import { DefaultTranslations, TranslationReplacements, Translator } from '@kalel1500/kalion-js';
|
|
4
4
|
|
|
5
5
|
export interface AppTranslations extends DefaultTranslations {
|
|
@@ -19,7 +19,12 @@
|
|
|
19
19
|
"strict": true, /* Enable all strict type-checking options. */
|
|
20
20
|
|
|
21
21
|
/* Completeness */
|
|
22
|
-
"skipLibCheck": true
|
|
22
|
+
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
|
23
|
+
|
|
24
|
+
/* Paths */
|
|
25
|
+
"paths": {
|
|
26
|
+
"@/*": ["./resources/js/*"]
|
|
27
|
+
}
|
|
23
28
|
},
|
|
24
29
|
"exclude": ["vendor"]
|
|
25
30
|
}
|