Skip to content

Commit f87dddf

Browse files
committed
csr-daisyui: wip
1 parent 44f8994 commit f87dddf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+2492
-106
lines changed

packages/csr-daisyui/.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/*.log
2+
**/.DS_Store
3+
dist
4+
build
5+
node_modules

packages/csr-daisyui/.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

packages/csr-daisyui/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PLAUSIBLE_URL=https://plausible.io

packages/csr-daisyui/.env.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PLAUSIBLE_URL=https://plausible.io
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**/*.log
2+
**/.DS_Store
3+
*.
4+
.vscode/settings.json
5+
.history
6+
node_modules
7+
public
8+
.yarn
9+
dist
10+
build
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import defaultConfig from '@epic-web/config/prettier'
2+
3+
/** @type {import("prettier").Options} */
4+
export default {
5+
...defaultConfig,
6+
semi: false,
7+
singleQuote: true,
8+
trailingComma: 'all',
9+
printWidth: 100,
10+
bracketSameLine: true,
11+
plugins: ['prettier-plugin-tailwindcss'],
12+
tailwindFunctions: ['clsx', 'cva', 'cn'],
13+
}

packages/csr-daisyui/.yarnrc.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
compressionLevel: 0
2+
enableGlobalCache: false
3+
enableTelemetry: false
4+
logFilters:
5+
- code: YN0002
6+
level: discard
7+
- code: YN0007
8+
level: discard
9+
- code: YN0013
10+
level: discard
11+
- code: YN0060
12+
level: discard
13+
- code: YN0061
14+
level: discard
15+
nmMode: hardlinks-local
16+
nodeLinker: node-modules
17+
supportedArchitectures:
18+
cpu:
19+
- current
20+
- x64
21+
libc:
22+
- current
23+
- musl
24+
os:
25+
- current
26+
- linux

packages/csr-daisyui/Caddyfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
mydomain.com {
2+
handle {
3+
root * /srv
4+
5+
# Serve static files
6+
file_server
7+
8+
# Attempt to serve file directly, fallback to index.html
9+
@notStatic {
10+
not file
11+
}
12+
rewrite @notStatic /index.html
13+
}
14+
}

packages/csr-daisyui/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM node:22-slim AS build
2+
COPY . .
3+
RUN yarn install
4+
RUN yarn run build:prod
5+
6+
FROM caddy:2
7+
COPY Caddyfile /etc/caddy/Caddyfile
8+
COPY --from=build /app/dist /srv
9+
10+
EXPOSE 80

packages/csr-daisyui/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# React Router Starter
2+
3+
See [./app/md-content/home.en.md](public/md-content/home.en.md) for a detailed description of the project.

0 commit comments

Comments
 (0)