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/
/static/
/target/
.dockerignore
/docker-compose-dev.yml
/docker-compose-prod.yml
/docker/dev/app/Dockerfile
/docker/prod/app/Dockerfile
/docker-compose-dev.yaml
/docker-compose-prod.yaml

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

View File

@ -1 +1 @@
${PullRequestTitle} (${PullRequestReference})
${PullRequestTitle} (${PullRequestReference})

11
Cargo.lock generated
View File

@ -3677,15 +3677,6 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
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]]
name = "openssl-sys"
version = "0.9.104"
@ -3694,7 +3685,6 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
@ -5143,7 +5133,6 @@ dependencies = [
"dioxus-query",
"dotenvy",
"feruca",
"openssl",
"serde",
"serde_json",
"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 }
time = { version = "0.3.36", optional = true }
async-std = { version = "1.12.0" }
dioxus-i18n = { version = "0.3.0" }
dioxus-query = { version = "0.6.0" }
voca_rs = { version = "1.15.2" }
[target.'cfg(target_os = "android")'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
async-std = { version = "1.12.0", optional = true }
dioxus-i18n = { version = "0.3.0", optional = true }
dioxus-query = { version = "0.6.0", optional = true }
voca_rs = { version = "1.15.2", optional = true }
[features]
default = ["mobile"]
default = ["web"]
desktop = ["dioxus/desktop"]
mobile = [
"dioxus/mobile",
]
mobile = ["dioxus/mobile"]
web = [
"dioxus/web",
"dep:async-std",
"dep:dioxus-query",
"dep:dioxus-i18n",
"dep:voca_rs"
]
server = [
"dioxus/server",

View File

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

View File

@ -1,9 +1,11 @@
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 \
nodejs=18.19.0+dfsg-6~deb12u2 \
npm=9.2.0~ds1-1 \
supervisor=4.2.5-1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

12
package-lock.json generated
View File

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