Skip to content

Commit d9af884

Browse files
committed
New template
1 parent ae6cc33 commit d9af884

24 files changed

Lines changed: 1425 additions & 755 deletions

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NODE_ENV="development"

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI Deploy
2+
3+
on:
4+
#push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
run:
9+
runs-on: self-hosted
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Docker Compose Up
15+
run: docker compose -f docker/prod/main.compose.yaml up -d --build

.github/workflows/validate.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run-name: Docker Build Test
44
on:
55
push:
66
schedule:
7-
- cron: '0 0 * * 0'
7+
- cron: "0 0 * * 0"
88
workflow_dispatch:
99

1010
jobs:
@@ -13,5 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- run: docker build --tag ninjaninja140/ts-template .
17-
name: Running test docker build
16+
- run: docker compose -f docker/dev/main.compose.yaml build
17+
name: Running test Docker dev build
18+
- run: docker compose -f docker/prod/main.compose.yaml build
19+
name: Running test Docker production build

.gitignore

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8-
.pnpm-debug.log*
98

109
# Diagnostic reports (https://nodejs.org/api/report.html)
1110
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -42,9 +41,6 @@ build/Release
4241
node_modules/
4342
jspm_packages/
4443

45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
47-
4844
# TypeScript cache
4945
*.tsbuildinfo
5046

@@ -54,9 +50,6 @@ web_modules/
5450
# Optional eslint cache
5551
.eslintcache
5652

57-
# Optional stylelint cache
58-
.stylelintcache
59-
6053
# Microbundle cache
6154
.rpt2_cache/
6255
.rts2_cache_cjs/
@@ -72,41 +65,28 @@ web_modules/
7265
# Yarn Integrity file
7366
.yarn-integrity
7467

75-
# dotenv environment variable files
76-
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
80-
.env.local
68+
# dotenv environment variables file
69+
.env.test
8170

8271
# parcel-bundler cache (https://parceljs.org/)
8372
.cache
84-
.parcel-cache
8573

8674
# Next.js build output
8775
.next
88-
out
8976

9077
# Nuxt.js build / generate output
9178
.nuxt
9279
dist
9380

9481
# Gatsby files
9582
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
83+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
9784
# https://nextjs.org/blog/next-9-1#public-directory-support
9885
# public
9986

10087
# vuepress build output
10188
.vuepress/dist
10289

103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Docusaurus cache and generated files
108-
.docusaurus
109-
11090
# Serverless directories
11191
.serverless/
11292

@@ -119,12 +99,43 @@ dist
11999
# TernJS port file
120100
.tern-port
121101

122-
# Stores VSCode versions used for testing VSCode extensions
123-
.vscode-test
102+
# Typescript Things
103+
lib-cov
104+
*.seed
105+
*.log
106+
*.csv
107+
*.dat
108+
*.out
109+
*.pid
110+
*.gz
111+
*.swp
112+
113+
pids
114+
logs
115+
results
116+
tmp
117+
118+
# Build
119+
public/css/main.css
120+
121+
# Coverage reports
122+
coverage
123+
124+
# Dependency directory
125+
node_modules
126+
bower_components
127+
128+
# Editors
129+
.idea
130+
*.iml
131+
132+
# OS metadata
133+
.DS_Store
134+
Thumbs.db
135+
136+
# Ignore built ts files
137+
dist/**/*
124138

125-
# yarn v2
139+
# Yarn stuff
126140
.yarn/cache
127-
.yarn/unplugged
128-
.yarn/build-state.yml
129-
.yarn/install-state.gz
130-
.pnp.*
141+
prisma/client
File renamed without changes.

.prettierrc

Lines changed: 0 additions & 22 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Start Docker Services",
6+
"type": "shell",
7+
"command": "docker compose --file docker/dev/services.compose.yaml down && docker compose --file docker/dev/services.compose.yaml up -d --force-recreate --remove-orphans",
8+
"runOptions": {
9+
"runOn": "folderOpen"
10+
},
11+
"presentation": {
12+
"reveal": "always",
13+
"panel": "new"
14+
}
15+
},
16+
]
17+
}
Lines changed: 328 additions & 328 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
enableGlobalCache: true
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
24

35
nodeLinker: node-modules
46

5-
yarnPath: .yarn/releases/yarn-4.9.2.cjs
7+
yarnPath: .yarn/releases/yarn-4.12.0.cjs

Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)