@sigx/cli 0.2.4 → 0.2.6
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/templates/lynx-daisyui/src/App.tsx +4 -4
- package/dist/templates/lynx-daisyui/src/styles.css +0 -1
- package/dist/templates/lynx-daisyui/tailwind.config.ts +2 -2
- package/package.json +3 -3
- package/templates/lynx-daisyui/src/App.tsx +4 -4
- package/templates/lynx-daisyui/src/styles.css +0 -1
- package/templates/lynx-daisyui/tailwind.config.ts +2 -2
|
@@ -48,21 +48,21 @@ const App = component(() => {
|
|
|
48
48
|
variant="error"
|
|
49
49
|
outline
|
|
50
50
|
size="sm"
|
|
51
|
-
|
|
51
|
+
onPress={() => count.value > 0 && count.value--}
|
|
52
52
|
>
|
|
53
53
|
−
|
|
54
54
|
</Button>
|
|
55
55
|
<Button
|
|
56
56
|
variant="ghost"
|
|
57
57
|
size="sm"
|
|
58
|
-
|
|
58
|
+
onPress={() => (count.value = 0)}
|
|
59
59
|
>
|
|
60
60
|
Reset
|
|
61
61
|
</Button>
|
|
62
62
|
<Button
|
|
63
63
|
variant="primary"
|
|
64
64
|
size="sm"
|
|
65
|
-
|
|
65
|
+
onPress={() => count.value++}
|
|
66
66
|
>
|
|
67
67
|
+
|
|
68
68
|
</Button>
|
|
@@ -73,7 +73,7 @@ const App = component(() => {
|
|
|
73
73
|
<Toggle
|
|
74
74
|
checked={autoIncrement.value}
|
|
75
75
|
color="success"
|
|
76
|
-
|
|
76
|
+
onChange={(next: boolean) => {
|
|
77
77
|
autoIncrement.value = next;
|
|
78
78
|
syncTimer();
|
|
79
79
|
}}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Config } from 'tailwindcss';
|
|
2
2
|
import LynxPreset from '@lynx-js/tailwind-preset';
|
|
3
|
-
import {
|
|
3
|
+
import { DaisyLynxPreset } from '@sigx/lynx-daisyui/preset';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
content: [
|
|
7
7
|
'./src/**/*.{tsx,ts,jsx,js}',
|
|
8
8
|
],
|
|
9
|
-
presets: [LynxPreset,
|
|
9
|
+
presets: [LynxPreset, DaisyLynxPreset],
|
|
10
10
|
} satisfies Config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigx/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Unified CLI for SignalX — create, dev, build, and run projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"templates"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sigx/terminal": "^0.4.
|
|
30
|
+
"@sigx/terminal": "^0.4.3",
|
|
31
31
|
"citty": "^0.2.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@sigx/vite": "^0.4.
|
|
34
|
+
"@sigx/vite": "^0.4.6",
|
|
35
35
|
"@types/node": "^22.0.0",
|
|
36
36
|
"typescript": "^5.9.3",
|
|
37
37
|
"vite": "^8.0.12"
|
|
@@ -48,21 +48,21 @@ const App = component(() => {
|
|
|
48
48
|
variant="error"
|
|
49
49
|
outline
|
|
50
50
|
size="sm"
|
|
51
|
-
|
|
51
|
+
onPress={() => count.value > 0 && count.value--}
|
|
52
52
|
>
|
|
53
53
|
−
|
|
54
54
|
</Button>
|
|
55
55
|
<Button
|
|
56
56
|
variant="ghost"
|
|
57
57
|
size="sm"
|
|
58
|
-
|
|
58
|
+
onPress={() => (count.value = 0)}
|
|
59
59
|
>
|
|
60
60
|
Reset
|
|
61
61
|
</Button>
|
|
62
62
|
<Button
|
|
63
63
|
variant="primary"
|
|
64
64
|
size="sm"
|
|
65
|
-
|
|
65
|
+
onPress={() => count.value++}
|
|
66
66
|
>
|
|
67
67
|
+
|
|
68
68
|
</Button>
|
|
@@ -73,7 +73,7 @@ const App = component(() => {
|
|
|
73
73
|
<Toggle
|
|
74
74
|
checked={autoIncrement.value}
|
|
75
75
|
color="success"
|
|
76
|
-
|
|
76
|
+
onChange={(next: boolean) => {
|
|
77
77
|
autoIncrement.value = next;
|
|
78
78
|
syncTimer();
|
|
79
79
|
}}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Config } from 'tailwindcss';
|
|
2
2
|
import LynxPreset from '@lynx-js/tailwind-preset';
|
|
3
|
-
import {
|
|
3
|
+
import { DaisyLynxPreset } from '@sigx/lynx-daisyui/preset';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
content: [
|
|
7
7
|
'./src/**/*.{tsx,ts,jsx,js}',
|
|
8
8
|
],
|
|
9
|
-
presets: [LynxPreset,
|
|
9
|
+
presets: [LynxPreset, DaisyLynxPreset],
|
|
10
10
|
} satisfies Config;
|