kaze 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/lib/kaze/commands/app/inertia_react_stack.rb +1 -1
- data/lib/kaze/commands/app/inertia_vue_stack.rb +1 -1
- data/lib/kaze/version.rb +1 -1
- data/stubs/hotwire/app/views/layouts/application.html.erb +2 -3
- data/stubs/hotwire/app/views/layouts/guest.html.erb +2 -3
- data/stubs/hotwire/app/views/welcome/index.html.erb +2 -3
- data/stubs/inertia-react-ts/app/javascript/Pages/Auth/Login.tsx +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 336badecc2e53010ae7f52cee62d408f0b96ecd531d75756e2b5d41a39562705
|
4
|
+
data.tar.gz: 59584c2cc1af205395911e560095118893912880d472a4f34bab62dd19c0e7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be7e44a88f14d01c30678d1496b67812555c0b310929e5ee0076e2e3ce57861252dba469f48c301633fe37d709ce07104cef203f240cfe0273efdfe26f353144
|
7
|
+
data.tar.gz: d6189eea9107e68cd86365296626a2cfa058530c91e33b6e4fcbdca28930a81c1f19d026211f38468b80fda3540b7b560a8fcd974f9b3cdc3d56ac1e3bca76e0
|
@@ -70,7 +70,7 @@ class Kaze::Commands::App::InertiaReactStack < Kaze::Commands::App::BaseStack
|
|
70
70
|
run_commands([ 'pnpm install', 'pnpm run build' ])
|
71
71
|
elsif File.exist?("#{Dir.pwd}/yarn.lock")
|
72
72
|
run_commands([ 'yarn install', 'yarn build' ])
|
73
|
-
elsif File.exist?("#{Dir.pwd}/bun.lockb")
|
73
|
+
elsif File.exist?("#{Dir.pwd}/bun.lock") || File.exist?("#{Dir.pwd}/bun.lockb")
|
74
74
|
run_commands([ 'bun install', 'bun run build' ])
|
75
75
|
else
|
76
76
|
run_commands([ 'npm install', 'npm run build' ])
|
@@ -70,7 +70,7 @@ class Kaze::Commands::App::InertiaVueStack < Kaze::Commands::App::BaseStack
|
|
70
70
|
run_commands([ 'pnpm install', 'pnpm run build' ])
|
71
71
|
elsif File.exist?("#{Dir.pwd}/yarn.lock")
|
72
72
|
run_commands([ 'yarn install', 'yarn build' ])
|
73
|
-
elsif File.exist?("#{Dir.pwd}/bun.lockb")
|
73
|
+
elsif File.exist?("#{Dir.pwd}/bun.lock") || File.exist?("#{Dir.pwd}/bun.lockb")
|
74
74
|
run_commands([ 'bun install', 'bun run build' ])
|
75
75
|
else
|
76
76
|
run_commands([ 'npm install', 'npm run build' ])
|
data/lib/kaze/version.rb
CHANGED
@@ -6,10 +6,9 @@
|
|
6
6
|
<title><%= content_for(:title) || "Rails" %></title>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
<%= csp_meta_tag %>
|
9
|
-
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
10
|
-
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
9
|
+
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
10
|
+
<%= stylesheet_link_tag "application", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
11
11
|
<%= javascript_importmap_tags %>
|
12
|
-
<%= hotwire_livereload_tags if Rails.env.development? %>
|
13
12
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
14
13
|
<%= yield :head %>
|
15
14
|
</head>
|
@@ -6,10 +6,9 @@
|
|
6
6
|
<title><%= content_for(:title) || "Rails" %></title>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
<%= csp_meta_tag %>
|
9
|
-
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
10
|
-
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
9
|
+
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
10
|
+
<%= stylesheet_link_tag "application", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
11
11
|
<%= javascript_importmap_tags %>
|
12
|
-
<%= hotwire_livereload_tags if Rails.env.development? %>
|
13
12
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
14
13
|
</head>
|
15
14
|
<body class="font-sans text-gray-900 antialiased">
|
@@ -6,10 +6,9 @@
|
|
6
6
|
<title><%= content_for(:title) || "Rails" %></title>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
<%= csp_meta_tag %>
|
9
|
-
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
10
|
-
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
9
|
+
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
10
|
+
<%= stylesheet_link_tag "application", "data-turbo-track": Rails.env.production? ? "reload" : "" %>
|
11
11
|
<%= javascript_importmap_tags %>
|
12
|
-
<%= hotwire_livereload_tags if Rails.env.development? %>
|
13
12
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
14
13
|
</head>
|
15
14
|
<body class="font-sans antialiased">
|
@@ -65,7 +65,7 @@ export default function Login({ status }: { status?: string }) {
|
|
65
65
|
|
66
66
|
<div className="block mt-4">
|
67
67
|
<label className="flex items-center">
|
68
|
-
<Checkbox name="remember" checked={data.remember} onChange={(e) => setData('remember', e.target.checked)} />
|
68
|
+
<Checkbox name="remember" checked={data.remember} onChange={(e) => setData('remember', (e.target.checked || false) as false)} />
|
69
69
|
<span className="ms-2 text-sm text-gray-600 dark:text-gray-400">Remember me</span>
|
70
70
|
</label>
|
71
71
|
</div>
|