@idealyst/cli 1.2.114 → 1.2.116
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/constants.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.DEPENDENCIES = exports.IGNORE_PATTERNS = exports.TEMPLATE_EXTENSIONS = e
|
|
|
7
7
|
// Package version - updated during build
|
|
8
8
|
exports.VERSION = '0.1.0';
|
|
9
9
|
// Current Idealyst framework version to use in templates
|
|
10
|
-
exports.IDEALYST_VERSION = '1.2.
|
|
10
|
+
exports.IDEALYST_VERSION = '1.2.116';
|
|
11
11
|
// React Native version
|
|
12
12
|
exports.REACT_NATIVE_VERSION = '0.83.0';
|
|
13
13
|
// React version
|
|
@@ -620,7 +620,7 @@ function createHelloWorldComponent() {
|
|
|
620
620
|
*/
|
|
621
621
|
|
|
622
622
|
import { View, Text, Button } from '@idealyst/components';
|
|
623
|
-
import {
|
|
623
|
+
import { useTheme } from '@idealyst/theme';
|
|
624
624
|
|
|
625
625
|
export interface HelloWorldProps {
|
|
626
626
|
name?: string;
|
|
@@ -628,7 +628,7 @@ export interface HelloWorldProps {
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
export function HelloWorld({ name = 'World', onPress }: HelloWorldProps) {
|
|
631
|
-
const
|
|
631
|
+
const theme = useTheme();
|
|
632
632
|
|
|
633
633
|
return (
|
|
634
634
|
<View
|
|
@@ -741,10 +741,10 @@ function createAboutScreen() {
|
|
|
741
741
|
|
|
742
742
|
import { View, Text, Button } from '@idealyst/components';
|
|
743
743
|
import { useNavigator } from '@idealyst/navigation';
|
|
744
|
-
import {
|
|
744
|
+
import { useTheme } from '@idealyst/theme';
|
|
745
745
|
|
|
746
746
|
export default function About() {
|
|
747
|
-
const
|
|
747
|
+
const theme = useTheme();
|
|
748
748
|
const { goBack } = useNavigator();
|
|
749
749
|
|
|
750
750
|
return (
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Constants and default values for the CLI
|
|
3
3
|
*/
|
|
4
4
|
export declare const VERSION = "0.1.0";
|
|
5
|
-
export declare const IDEALYST_VERSION = "1.2.
|
|
5
|
+
export declare const IDEALYST_VERSION = "1.2.116";
|
|
6
6
|
export declare const REACT_NATIVE_VERSION = "0.83.0";
|
|
7
7
|
export declare const REACT_VERSION = "19.1.0";
|
|
8
8
|
export declare const DEFAULT_TIMEOUT = 300000;
|
|
@@ -18,10 +18,10 @@ export declare const TEMPLATE_EXTENSIONS: readonly [".ts", ".tsx", ".js", ".jsx"
|
|
|
18
18
|
export declare const IGNORE_PATTERNS: readonly ["node_modules", ".git", "dist", "build", ".cache", ".DS_Store", "Thumbs.db", "*.log", "*.tmp", "*.bak", "~*"];
|
|
19
19
|
export declare const DEPENDENCIES: {
|
|
20
20
|
readonly core: {
|
|
21
|
-
readonly '@idealyst/components': "^1.2.
|
|
22
|
-
readonly '@idealyst/theme': "^1.2.
|
|
23
|
-
readonly '@idealyst/navigation': "^1.2.
|
|
24
|
-
readonly '@idealyst/config': "^1.2.
|
|
21
|
+
readonly '@idealyst/components': "^1.2.116";
|
|
22
|
+
readonly '@idealyst/theme': "^1.2.116";
|
|
23
|
+
readonly '@idealyst/navigation': "^1.2.116";
|
|
24
|
+
readonly '@idealyst/config': "^1.2.116";
|
|
25
25
|
};
|
|
26
26
|
readonly web: {
|
|
27
27
|
readonly '@mdi/js': "^7.4.47";
|
|
@@ -78,7 +78,7 @@ export declare const DEPENDENCIES: {
|
|
|
78
78
|
readonly prisma: "^7.1.0";
|
|
79
79
|
};
|
|
80
80
|
readonly tooling: {
|
|
81
|
-
readonly '@idealyst/tooling': "^1.2.
|
|
81
|
+
readonly '@idealyst/tooling': "^1.2.116";
|
|
82
82
|
};
|
|
83
83
|
readonly api: {
|
|
84
84
|
readonly express: "^4.21.0";
|