1 Commits

Author SHA1 Message Date
0809f45d61 chore: add a default merge message template
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 6s
checkov check / checkov check (pull_request) Successful in 56s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 4s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 2s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 6s
GitLeaks check / GitLeaks check (pull_request) Successful in 8s
hadolint check / hadolint check (pull_request) Successful in 8s
htmlhint check / htmlhint check (pull_request) Successful in 10s
markdownlint check / markdownlint check (pull_request) Successful in 11s
Prettier check / Prettier check (pull_request) Failing after 12s
Rust check / Rust check (pull_request) Successful in 15m15s
ShellCheck check / ShellCheck check (pull_request) Successful in 16s
Stylelint check / Stylelint check (pull_request) Successful in 11s
yamllint check / yamllint check (pull_request) Successful in 13s
2024-12-30 12:48:20 +01:00
8 changed files with 31 additions and 44 deletions

View File

@ -5,8 +5,5 @@
/node_modules/ /node_modules/
/static/ /static/
/target/ /target/
.dockerignore /docker-compose-dev.yaml
/docker-compose-dev.yml /docker-compose-prod.yaml
/docker-compose-prod.yml
/docker/dev/app/Dockerfile
/docker/prod/app/Dockerfile

View File

@ -1,2 +1,2 @@
DATABASE_URL=postgres://app:app@localhost:5432/todo_baggins DATABASE_URL=postgres://app:app@db/todo_baggins
LANGUAGE_CODE=en-US LANGUAGE_CODE=en-US

11
Cargo.lock generated
View File

@ -3677,15 +3677,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "300.4.1+3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.104" version = "0.9.104"
@ -3694,7 +3685,6 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
"openssl-src",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]
@ -5143,7 +5133,6 @@ dependencies = [
"dioxus-query", "dioxus-query",
"dotenvy", "dotenvy",
"feruca", "feruca",
"openssl",
"serde", "serde",
"serde_json", "serde_json",
"serde_with", "serde_with",

View File

@ -22,22 +22,21 @@ diesel_migrations = { version = "2.2.0", features = ["postgres"], optional = tru
dotenvy = { version = "0.15.7", optional = true } dotenvy = { version = "0.15.7", optional = true }
time = { version = "0.3.36", optional = true } time = { version = "0.3.36", optional = true }
async-std = { version = "1.12.0" } async-std = { version = "1.12.0", optional = true }
dioxus-i18n = { version = "0.3.0" } dioxus-i18n = { version = "0.3.0", optional = true }
dioxus-query = { version = "0.6.0" } dioxus-query = { version = "0.6.0", optional = true }
voca_rs = { version = "1.15.2" } voca_rs = { version = "1.15.2", optional = true }
[target.'cfg(target_os = "android")'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[features] [features]
default = ["mobile"] default = ["web"]
desktop = ["dioxus/desktop"] desktop = ["dioxus/desktop"]
mobile = [ mobile = ["dioxus/mobile"]
"dioxus/mobile",
]
web = [ web = [
"dioxus/web", "dioxus/web",
"dep:async-std",
"dep:dioxus-query",
"dep:dioxus-i18n",
"dep:voca_rs"
] ]
server = [ server = [
"dioxus/server", "dioxus/server",

View File

@ -13,11 +13,11 @@ stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
redirect_stderr=true redirect_stderr=true
# [program:dx] [program:dx]
# command=dx serve --addr 0.0.0.0 --port 8000 command=dx serve --addr 0.0.0.0 --port 8000
# directory=/srv/app directory=/srv/app
# autostart=true autostart=true
# autorestart=true autorestart=true
# stdout_logfile=/dev/fd/1 stdout_logfile=/dev/fd/1
# stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
# redirect_stderr=true redirect_stderr=true

View File

@ -1,9 +1,11 @@
FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b AS builder FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b AS builder
RUN cargo install dioxus-cli diesel_cli \ RUN rustup target add wasm32-unknown-unknown \
&& cargo install dioxus-cli diesel_cli \
&& apt-get update && apt-get install -y --no-install-recommends \ && apt-get update && apt-get install -y --no-install-recommends \
nodejs=18.19.0+dfsg-6~deb12u2 \ nodejs=18.19.0+dfsg-6~deb12u2 \
npm=9.2.0~ds1-1 \ npm=9.2.0~ds1-1 \
supervisor=4.2.5-1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

12
package-lock.json generated
View File

@ -5,14 +5,14 @@
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"tailwindcss": "3.4.10" "tailwindcss": "^3.4.10"
}, },
"devDependencies": { "devDependencies": {
"htmlhint": "1.1.4", "htmlhint": "^1.1.4",
"markdownlint-cli": "0.43.0", "markdownlint-cli": "^0.43.0",
"prettier": "3.4.2", "prettier": "^3.4.2",
"stylelint": "16.12.0", "stylelint": "^16.12.0",
"stylelint-config-standard": "36.0.1" "stylelint-config-standard": "^36.0.1"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {