Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
6
crates/como_web/scripts/dev.sh
Executable file
6
crates/como_web/scripts/dev.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
zellij run -- sh -c "cuddle x leptos:dev"
|
||||
|
||||
zellij run -- sh -c "cuddle x tailwind:watch"
|
||||
|
3
crates/como_web/scripts/leptos:dev.sh
Executable file
3
crates/como_web/scripts/leptos:dev.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
cargo leptos watch
|
3
crates/como_web/scripts/nodev.sh
Executable file
3
crates/como_web/scripts/nodev.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
tmux kill-window -t dev || true
|
22
crates/como_web/scripts/refresh:schema.sh
Executable file
22
crates/como_web/scripts/refresh:schema.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
graphql-client introspect-schema \
|
||||
http://localhost:3001/graphql \
|
||||
--header "Authorization: Basic $COMO_GATEWAY_PAT" \
|
||||
--output src/api/graphql/schema/schema.json
|
||||
|
||||
graphql-client generate \
|
||||
--schema-path src/api/graphql/schema/schema.json \
|
||||
src/features/navbar_projects/graphql/queries.graphql \
|
||||
--output-directory src/features/navbar_projects/gen \
|
||||
--custom-scalars-module='crate::common::graphql' \
|
||||
--variables-derives='Clone,Debug' \
|
||||
--response-derives='Clone,Debug'
|
||||
|
||||
graphql-client generate \
|
||||
--schema-path src/api/graphql/schema/schema.json \
|
||||
src/features/dashboard_list_view/graphql/queries.graphql \
|
||||
--output-directory src/features/dashboard_list_view/gen \
|
||||
--custom-scalars-module='crate::common::graphql' \
|
||||
--variables-derives='Clone,Debug' \
|
||||
--response-derives='Clone,Debug'
|
3
crates/como_web/scripts/tailwind:build.sh
Executable file
3
crates/como_web/scripts/tailwind:build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx tailwindcss -i ./input.css -o ./style/output.css
|
3
crates/como_web/scripts/tailwind:watch.sh
Executable file
3
crates/como_web/scripts/tailwind:watch.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx tailwindcss -i ./input.css -o ./style/output.css --watch
|
Reference in New Issue
Block a user