mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
refactor: update project config files
This commit is contained in:
committed by
Rainer Killinger
parent
30a2d3dcf4
commit
9512bca329
96
.gitignore
vendored
96
.gitignore
vendored
@@ -1,5 +1,95 @@
|
|||||||
lib/
|
# Logs
|
||||||
start.sh
|
logs/
|
||||||
.idea/
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov/
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage/
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components/
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
node_modules/
|
node_modules/
|
||||||
|
jspm_packages/
|
||||||
|
|
||||||
|
# TypeScript v1 declaration files
|
||||||
|
typings/
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm/
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variables file
|
||||||
|
.env
|
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# next.js build output
|
||||||
|
.next
|
||||||
|
|
||||||
|
# nuxt.js build output
|
||||||
|
.nuxt
|
||||||
|
|
||||||
|
# vuepress build output
|
||||||
|
.vuepress/dist
|
||||||
|
|
||||||
|
# Serverless directories
|
||||||
|
.serverless/
|
||||||
|
|
||||||
|
# FuseBox cache
|
||||||
|
.fusebox/
|
||||||
|
|
||||||
|
#DynamoDB Local files
|
||||||
|
.dynamodb/
|
||||||
|
|
||||||
|
########## end of https://github.com/github/gitignore/blob/master/Node.gitignore
|
||||||
|
|
||||||
|
# ignore ide files
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
# ignore lib
|
||||||
|
lib/
|
||||||
|
|
||||||
|
# ignore docs
|
||||||
docs/
|
docs/
|
||||||
|
|
||||||
|
# Certificates
|
||||||
|
*.crt
|
||||||
|
*.key
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
# See https://stackoverflow.com/a/29932318
|
# See https://stackoverflow.com/a/29932318
|
||||||
/*
|
/*
|
||||||
# Except these files/folders
|
# Except these files/folders
|
||||||
!docs
|
|
||||||
!lib
|
!lib
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!package.json
|
!package.json
|
||||||
|
|||||||
30
nginx.conf
30
nginx.conf
@@ -1,26 +1,26 @@
|
|||||||
worker_processes 1;
|
worker_processes 1;
|
||||||
|
|
||||||
error_log stderr;
|
error_log stderr;
|
||||||
pid nginx.pid;
|
pid nginx.pid;
|
||||||
daemon off;
|
daemon off;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
include mime.types;
|
include mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
access_log /dev/stdout;
|
access_log /dev/stdout;
|
||||||
|
|
||||||
proxy_temp_path /tmp/proxy;
|
proxy_temp_path /tmp/proxy;
|
||||||
client_body_temp_path /tmp/body;
|
client_body_temp_path /tmp/body;
|
||||||
fastcgi_temp_path /tmp/fastcgi;
|
fastcgi_temp_path /tmp/fastcgi;
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
#tcp_nopush on;
|
# tcp_nopush on;
|
||||||
gzip on;
|
gzip on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*;
|
include /etc/nginx/conf.d/*;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,12 +6,11 @@
|
|||||||
limit_req_zone $binary_remote_addr zone=customstappslimit:10m rate=20r/s;
|
limit_req_zone $binary_remote_addr zone=customstappslimit:10m rate=20r/s;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
{{{ listener }}}
|
{{{ listener }}}
|
||||||
|
|
||||||
{{{ visibleRoutes }}}
|
{{{ visibleRoutes }}}
|
||||||
|
|
||||||
{{{ hiddenRoutes }}}
|
{{{ hiddenRoutes }}}
|
||||||
|
|
||||||
{{{ staticRoute }}}
|
{{{ staticRoute }}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"extends": "./node_modules/@openstapps/configuration/tsconfig.json",
|
"extends": "./node_modules/@openstapps/configuration/tsconfig.json",
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"./config/",
|
"./config/",
|
||||||
"./test/",
|
"./lib/",
|
||||||
"./lib/"
|
"./test/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"extends": ["./node_modules/@openstapps/configuration/tslint.json"]
|
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user