UNPKG

mf-hosting-frontend

Version:

hosting definitions of frontend projects @MF

172 lines (171 loc) 5.16 kB
{ "name": "mf-hosting-frontend", "version": "3.9.2", "files": [ ".releaserc.json", "pkg/compress-hooks.sh", "pkg/nginx-static.conf", "pkg/nginx-spa.conf" ], "main": ".releaserc.json", "description": "hosting definitions of frontend projects @MF", "keywords": [ "npm-pkgbuild", "semantic-release-config" ], "devDependencies": { "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/exec": "^6.0.3", "@semantic-release/github": "^11.0.1", "@semantic-release/release-notes-generator": "^14.0.1", "semantic-release": "^24.2.0" }, "repository": { "type": "git", "url": "git+https://github.com/arlac77/mf-hosting-frontend.git" }, "bugs": { "url": "https://github.com/arlac77/mf-hosting-frontend/issues" }, "homepage": "https://github.com/arlac77/mf-hosting-frontend#readme", "pkgbuild": [ { "requires": { "properties": { "frontend": true } }, "output": { "arch": { "properties": { "nginx": true, "nginx.sites.dir": "/etc/nginx/sites/common/", "nginx.content.dir": "/srv/http/", "nginx.location.header": " brotli_static on;\n" }, "dependencies": { "nginx-mainline": ">=1.27.4", "node": "-", "bun": "-" } }, "debian": { "properties": { "nginx": true, "nginx.content.dir": "/var/www/html/" }, "dependencies": { "nginx": ">=1.22.1", "node": "-", "bun": "-" } }, "rpm": { "properties": { "nginx": true }, "dependencies": { "nginx": ">=1.22.2", "node": "-", "bun": "-" } } }, "content": { "${nginx.locations.dir}${nginx.location.category}/${name}.conf": "pkg/nginx-${nginx.type}.conf" }, "vendor": "MF", "groups": "services", "csp.endpoint": "/services/csp/upload", "csp.connect-src": "connect-src 'self' {{wss.origins}};", "csp.style-src": "style-src 'self' 'unsafe-inline';", "csp.script-src": "script-src 'self';", "csp.script-src-elem": "", "csp.default-src": "default-src 'self' data:;", "csp.report-uri": "report-uri {{csp.endpoint}}", "csp.header": "{{csp.connect-src}}{{csp.script-src}}{{csp.script-src-elem}}{{csp.style-src}}{{csp.default-src}}{{csp.report-uri}}", "domain1": "mfelten.dynv6.net", "domain2": "mfelten.dedyn.io", "domain3": "mfelten.ddnss.de", "html.base.href": "<base href=\"{{http.path}}/\"/>", "http.api": "${http.origin}${http.api.path}", "http.api.path": "${http.path}/api", "http.base.path": "/services", "http.origin": "https://${domain1}", "http.path": "${http.base.path}/${name}", "http.path.lonesome": "${http.path}", "http.header.alt-svc": "'h3=\":443\";ma=86400;persist=1'", "http.try_files.extra": "", "install.base.dir": "/services/", "install.dir": "${install.base.dir}${name}${install.sub.dir}", "install.sub.dir": "/", "journal.endpoint": "/services/journal", "public.base.url": "https://${domain1}/", "variant": "mf.linux.frontend", "well-known.content.dir": "${nginx.content.dir}.well-known/", "wss.api": "${wss.origin}${http.api.path}", "wss.origin": "wss://${domain1}", "wss.origins": "${wss.origin} wss://${domain2} wss://${domain3}", "nginx.location.header": "", "nginx.location.trailer": "", "nginx.server.extra": "", "nginx.locations.dir": "/etc/nginx/locations/", "nginx.location.category": "common", "nginx.sites.dir": "/etc/nginx/sites-available/", "nginx.type": "spa" }, { "requires": { "properties": { "compress-on-install": true } }, "hooks": "pkg/compress-hooks.sh" }, { "requires": { "properties": { "frontend": true, "example": true } }, "install.base.dir": "/examples/", "http.base.path": "/examples", "groups": "examples", "description": "example showing ${name} features in action", "variant": "mf.linux.frontend", "nginx.location.trailer": " access_log off;\n", "nginx.location.category": "examples" }, { "requires": { "properties": { "frontend": true, "static": true } }, "install.base.dir": "${nginx.content.dir}", "http.base.path": "", "variant": "mf.linux.frontend", "groups": "static", "description": "static content of ${name}", "nginx.location.category": "static" }, { "requires": { "properties": { "frontend": true, "mode": "development" } }, "http.path": "", "variant": "mf.linux.frontend" } ], "template": { "inheritFrom": [ "arlac77/template-npm", "arlac77/template-semantic-release" ] } }