Skip to content

Commit

Permalink
🎉 Init project
Browse files Browse the repository at this point in the history
  • Loading branch information
toridoriv committed Oct 2, 2023
0 parents commit dfdcc1f
Show file tree
Hide file tree
Showing 80 changed files with 5,697 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy Server

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

permissions:
id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.
contents: read

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: duofiction # the name of the project on Deno Deploy
entrypoint: server/bin/www.ts # the entrypoint to deploy
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.tmp
node_modules
*.pem
*.key
*.csr*
*.crt
*.srl
v3.ext
26 changes: 26 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"[javascript][json][jsonc][typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[handlebars]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"deno.cacheOnSave": true,
"deno.config": "./deno.json",
"deno.enable": true,
"deno.unstable": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": false
},
"editor.formatOnSave": true,
"prettier.configPath": "./prettier.config.mjs",
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": false,
"editor.linkedEditing": true,
"html.format.templating": true,
"html.format.wrapLineLength": 80
}
62 changes: 62 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"compilerOptions": {
"strictNullChecks": true,
"noImplicitThis": false
},
"fmt": {
"exclude": [
"node_modules"
],
"indentWidth": 2,
"lineWidth": 80,
"proseWrap": "preserve",
"semiColons": true,
"singleQuote": false,
"useTabs": false
},
"imports": {
"@deps": "./deps.ts"
},
"lint": {
"exclude": [
"node_modules"
],
"rules": {
"exclude": [
"no-empty-interface",
"no-namespace"
]
}
},
"lock": "deno.lock",
"nodeModulesDir": true,
"scopes": {
"./node_modules/": {
"express-serve-static-core": "./typings/express-serve-static-core.d.ts"
},
"./server/api/": {
"@packageJson": "./server/packageJson.ts",
"@endpoint": "./server/api/@endpoint.ts"
},
"./server/web/": {
"@packageJson": "./server/packageJson.ts",
"@endpoint": "./server/web/@endpoint.ts"
},
"./server/": {
"@errors": "./server/@errors.ts",
"@schemas": "./server/@schemas.ts",
"@constants": "./server/@constants.ts",
"@lib/": "./lib/",
"@deps": "./server/@deps.ts",
"@utils": "./server/@utils.ts"
},
"./server/@deps.ts": {
"@deps": "./deps.ts"
},
"./bin/": {
"@deps": "./bin/@deps.ts",
"@utils": "./bin/@utils.ts",
"@lib/": "./lib/"
}
}
}
Loading

0 comments on commit dfdcc1f

Please sign in to comment.