kaze 0.17.0 → 0.19.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.
- 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/default/Procfile.dev +2 -0
- data/stubs/inertia-react-ts/app/javascript/Pages/Auth/Login.tsx +1 -1
- data/stubs/inertia-react-ts/package.json +2 -2
- data/stubs/inertia-vue-ts/package.json +2 -2
- data/stubs/inertia-vue-ts/tsconfig.json +1 -1
- metadata +3 -4
- data/stubs/default/db/migrate/20240101000001_create_delayed_jobs.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa6a78f69e128906909327d2233d5fd252568c806350bc6d5cec5e69bc06b219
|
4
|
+
data.tar.gz: 7740b4d8df943b329f17da7d8a87661a6c8ae1797de45a2fed02f02954e0020b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c46e489d3b97cf507582aa86ce8fc22c91e144cd1e4ec62d227578a8b7bac80e39d2f499f129816439dcfb35423e7b9b438adb452e54b777b41a42977444180b
|
7
|
+
data.tar.gz: 8528922d6e3d8b5b11d8d4c25c0523140ab50632c55292c0a204df19e2974511e242a3fd75487e0a76489e593991c8fc9147627797b4bd6fe253f55dff72774b
|
@@ -58,7 +58,7 @@ class Kaze::Commands::App::InertiaReactStack < Kaze::Commands::App::BaseStack
|
|
58
58
|
FileUtils.copy_file("#{stubs_path}/default/bin/dev", "#{Dir.pwd}/bin/dev")
|
59
59
|
FileUtils.copy_file("#{stubs_path}/inertia-common/bin/vite", "#{Dir.pwd}/bin/vite")
|
60
60
|
FileUtils.copy_file("#{stubs_path}/default/Procfile.dev", "#{Dir.pwd}/Procfile.dev")
|
61
|
-
|
61
|
+
replace_in_file('#vite: bin/vite dev', 'vite: bin/vite dev', "#{Dir.pwd}/Procfile.dev")
|
62
62
|
run_command("#{Dir.pwd}/bin/rails generate js_routes:middleware")
|
63
63
|
run_command("#{Dir.pwd}/bin/rails tailwindcss:build")
|
64
64
|
|
@@ -58,7 +58,7 @@ class Kaze::Commands::App::InertiaVueStack < Kaze::Commands::App::BaseStack
|
|
58
58
|
FileUtils.copy_file("#{stubs_path}/default/bin/dev", "#{Dir.pwd}/bin/dev")
|
59
59
|
FileUtils.copy_file("#{stubs_path}/inertia-common/bin/vite", "#{Dir.pwd}/bin/vite")
|
60
60
|
FileUtils.copy_file("#{stubs_path}/default/Procfile.dev", "#{Dir.pwd}/Procfile.dev")
|
61
|
-
|
61
|
+
replace_in_file('#vite: bin/vite dev', 'vite: bin/vite dev', "#{Dir.pwd}/Procfile.dev")
|
62
62
|
run_command("#{Dir.pwd}/bin/rails generate js_routes:middleware")
|
63
63
|
run_command("#{Dir.pwd}/bin/rails tailwindcss:build")
|
64
64
|
|
data/lib/kaze/version.rb
CHANGED
data/stubs/default/Procfile.dev
CHANGED
@@ -12,7 +12,7 @@ export default function Login({ status }: { status?: string }) {
|
|
12
12
|
const { data, setData, post, processing, errors, reset } = useForm({
|
13
13
|
email: '',
|
14
14
|
password: '',
|
15
|
-
remember: false,
|
15
|
+
remember: false as boolean,
|
16
16
|
})
|
17
17
|
|
18
18
|
const submit: FormEventHandler = (e) => {
|
@@ -7,7 +7,7 @@
|
|
7
7
|
},
|
8
8
|
"devDependencies": {
|
9
9
|
"@headlessui/react": "^2.0.4",
|
10
|
-
"@inertiajs/react": "^
|
10
|
+
"@inertiajs/react": "^2.0.0",
|
11
11
|
"@tailwindcss/forms": "^0.5.7",
|
12
12
|
"@types/node": "^18.13.0",
|
13
13
|
"@types/react": "^18.0.28",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"react": "^18.2.0",
|
20
20
|
"react-dom": "^18.2.0",
|
21
21
|
"tailwindcss": "^3.2.1",
|
22
|
-
"typescript": "
|
22
|
+
"typescript": "~5.5.3",
|
23
23
|
"vite": "^5.2.11",
|
24
24
|
"vite-plugin-rails": "^0.5.0"
|
25
25
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
},
|
8
8
|
"devDependencies": {
|
9
9
|
"@headlessui/vue": "^1.7.22",
|
10
|
-
"@inertiajs/vue3": "^
|
10
|
+
"@inertiajs/vue3": "^2.0.0",
|
11
11
|
"@tailwindcss/forms": "^0.5.7",
|
12
12
|
"@types/node": "^18.13.0",
|
13
13
|
"@vitejs/plugin-vue": "^5.0.5",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"axios": "^1.6.4",
|
16
16
|
"postcss": "^8.4.31",
|
17
17
|
"tailwindcss": "^3.2.1",
|
18
|
-
"typescript": "
|
18
|
+
"typescript": "~5.5.3",
|
19
19
|
"vite": "^5.2.11",
|
20
20
|
"vite-plugin-rails": "^0.5.0",
|
21
21
|
"vue": "^3.4.27",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cuong Giang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -102,7 +102,6 @@ files:
|
|
102
102
|
- stubs/default/bin/dev
|
103
103
|
- stubs/default/config/routes.rb
|
104
104
|
- stubs/default/db/migrate/20240101000000_create_users.rb
|
105
|
-
- stubs/default/db/migrate/20240101000001_create_delayed_jobs.rb
|
106
105
|
- stubs/default/test/factories/users.rb
|
107
106
|
- stubs/default/test/integration/auth/authentication_test.rb
|
108
107
|
- stubs/default/test/integration/auth/email_verification_test.rb
|
@@ -272,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
271
|
- !ruby/object:Gem::Version
|
273
272
|
version: '0'
|
274
273
|
requirements: []
|
275
|
-
rubygems_version: 3.5.
|
274
|
+
rubygems_version: 3.5.16
|
276
275
|
signing_key:
|
277
276
|
specification_version: 4
|
278
277
|
summary: Opinionated minimal Rails authentication scaffolding with Hotwire, React,
|
@@ -1,22 +0,0 @@
|
|
1
|
-
class CreateDelayedJobs < ActiveRecord::Migration
|
2
|
-
def self.up
|
3
|
-
create_table :delayed_jobs do |table|
|
4
|
-
table.integer :priority, default: 0, null: false # Allows some jobs to jump to the front of the queue
|
5
|
-
table.integer :attempts, default: 0, null: false # Provides for retries, but still fail eventually.
|
6
|
-
table.text :handler, null: false # YAML-encoded string of the object that will do work
|
7
|
-
table.text :last_error # reason for last failure (See Note below)
|
8
|
-
table.datetime :run_at # When to run. Could be Time.zone.now for immediately, or sometime in the future.
|
9
|
-
table.datetime :locked_at # Set when a client is working on this object
|
10
|
-
table.datetime :failed_at # Set when all retries have failed (actually, by default, the record is deleted instead)
|
11
|
-
table.string :locked_by # Who is working on this object (if locked)
|
12
|
-
table.string :queue # The name of the queue this job is in
|
13
|
-
table.timestamps null: true
|
14
|
-
end
|
15
|
-
|
16
|
-
add_index :delayed_jobs, [ :priority, :run_at ], name: 'delayed_jobs_priority'
|
17
|
-
end
|
18
|
-
|
19
|
-
def self.down
|
20
|
-
drop_table :delayed_jobs
|
21
|
-
end
|
22
|
-
end
|