mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
chore: standardize repo setup files
This commit is contained in:
1 parent
5819348064
commit
5774f7cd0e
13 files changed
+11
-155
No files matched your search
@@ -1,21 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": ["@commitlint/config-conventional"],
|
"extends": ["@commitlint/config-conventional"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"type-enum": [
|
|
||||||
2,
|
|
||||||
"always",
|
|
||||||
[
|
|
||||||
"feat",
|
|
||||||
"fix",
|
|
||||||
"docs",
|
|
||||||
"style",
|
|
||||||
"refactor",
|
|
||||||
"perf",
|
|
||||||
"test",
|
|
||||||
"chore",
|
|
||||||
"revert"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"subject-case": [0]
|
"subject-case": [0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
charset = utf-8
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
[*.{js,cjs,mjs,jsx,ts,tsx,json,css,scss,md,yml,yaml}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[*.md]
|
|
||||||
trim_trailing_whitespace = false
|
|
||||||
+2
-19
@@ -1,22 +1,5 @@
|
|||||||
* text=auto eol=lf
|
* text=auto eol=lf
|
||||||
|
|
||||||
*.js text eol=lf
|
|
||||||
*.cjs text eol=lf
|
|
||||||
*.mjs text eol=lf
|
|
||||||
*.jsx text eol=lf
|
|
||||||
*.ts text eol=lf
|
|
||||||
*.tsx text eol=lf
|
|
||||||
*.json text eol=lf
|
|
||||||
*.css text eol=lf
|
|
||||||
*.scss text eol=lf
|
|
||||||
*.html text eol=lf
|
|
||||||
*.md text eol=lf
|
|
||||||
*.yaml text eol=lf
|
|
||||||
*.yml text eol=lf
|
|
||||||
|
|
||||||
*.sh text eol=lf
|
|
||||||
*.bash text eol=lf
|
|
||||||
|
|
||||||
*.bat text eol=crlf
|
*.bat text eol=crlf
|
||||||
*.cmd text eol=crlf
|
*.cmd text eol=crlf
|
||||||
*.ps1 text eol=crlf
|
*.ps1 text eol=crlf
|
||||||
@@ -25,10 +8,10 @@
|
|||||||
*.jpg binary
|
*.jpg binary
|
||||||
*.jpeg binary
|
*.jpeg binary
|
||||||
*.gif binary
|
*.gif binary
|
||||||
|
*.webp binary
|
||||||
*.ico binary
|
*.ico binary
|
||||||
*.svg binary
|
*.icns binary
|
||||||
*.woff binary
|
*.woff binary
|
||||||
*.woff2 binary
|
*.woff2 binary
|
||||||
*.ttf binary
|
*.ttf binary
|
||||||
*.eot binary
|
*.eot binary
|
||||||
*.icns binary
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
custom: https://donate.termix.site/
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# Overview
|
|
||||||
|
|
||||||
_Short summary of what this PR does_
|
|
||||||
|
|
||||||
- [ ] Added: ...
|
|
||||||
- [ ] Updated: ...
|
|
||||||
- [ ] Removed: ...
|
|
||||||
- [ ] Fixed: ...
|
|
||||||
|
|
||||||
# Changes Made
|
|
||||||
|
|
||||||
_Detailed explanation of changes (if needed)_
|
|
||||||
|
|
||||||
- ...
|
|
||||||
|
|
||||||
# Related Issues
|
|
||||||
|
|
||||||
_Link any issues this PR addresses_
|
|
||||||
|
|
||||||
- Closes #ISSUE_NUMBER
|
|
||||||
- Related to #ISSUE_NUMBER
|
|
||||||
|
|
||||||
# Screenshots / Demos
|
|
||||||
|
|
||||||
_(Optional: add before/after screenshots, GIFs, or console output)_
|
|
||||||
|
|
||||||
# Checklist
|
|
||||||
|
|
||||||
- [ ] Code follows project style guidelines
|
|
||||||
- [ ] Supports mobile and desktop UI/app (if applicable)
|
|
||||||
- [ ] I have read [Contributing.md](https://github.com/Termix-SSH/Termix/blob/main/CONTRIBUTING.md)
|
|
||||||
- [ ] This is not a translation request. See [docs](https://docs.termix.site/translations)
|
|
||||||
+3
-3
@@ -20,10 +20,10 @@ coverage
|
|||||||
termix-plugin-signing.key
|
termix-plugin-signing.key
|
||||||
/src/**/*.js
|
/src/**/*.js
|
||||||
|
|
||||||
.vscode/*
|
.vscode/
|
||||||
!.vscode/settings.json
|
.idea/
|
||||||
.idea
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
*.suo
|
*.suo
|
||||||
*.ntvs*
|
*.ntvs*
|
||||||
*.njsproj
|
*.njsproj
|
||||||
|
|||||||
+3
-13
@@ -1,24 +1,14 @@
|
|||||||
build
|
build
|
||||||
coverage
|
coverage
|
||||||
dist
|
dist
|
||||||
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
dist-ssr
|
dist-ssr
|
||||||
release
|
release
|
||||||
|
|
||||||
node_modules
|
|
||||||
src/mcp-server/node_modules
|
|
||||||
package-lock.json
|
|
||||||
pnpm-lock.yaml
|
|
||||||
yarn.lock
|
|
||||||
|
|
||||||
db
|
db
|
||||||
|
|
||||||
.env
|
|
||||||
|
|
||||||
*.min.js
|
*.min.js
|
||||||
*.min.css
|
*.min.css
|
||||||
openapi.json
|
openapi.json
|
||||||
|
|
||||||
# Generated by drizzle-kit; formatting is the tool's own
|
|
||||||
drizzle/
|
drizzle/
|
||||||
|
|
||||||
src/ui/settings/settings-search-index.ts
|
src/ui/settings/settings-search-index.ts
|
||||||
Vendored
-22
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
||||||
"prettier.prettierPath": "./node_modules/prettier",
|
|
||||||
"editor.codeActionsOnSave": {
|
|
||||||
"source.fixAll.eslint": "explicit"
|
|
||||||
},
|
|
||||||
"eslint.validate": [
|
|
||||||
"javascript",
|
|
||||||
"javascriptreact",
|
|
||||||
"typescript",
|
|
||||||
"typescriptreact"
|
|
||||||
],
|
|
||||||
"files.eol": "\n",
|
|
||||||
"files.insertFinalNewline": true,
|
|
||||||
"files.trimTrailingWhitespace": true,
|
|
||||||
"[markdown]": {
|
|
||||||
"files.trimTrailingWhitespace": false
|
|
||||||
},
|
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
|
||||||
"typescript.enablePromptUseWorkspaceTsdk": true
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"drips": {
|
|
||||||
"ethereum": {
|
|
||||||
"ownedBy": "0x67e0C779119D9BcC2187564A66B80a58767d05d1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-23
@@ -1,23 +0,0 @@
|
|||||||
# Security Policy
|
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
|
||||||
|
|
||||||
Please report any vulnerabilities to [GitHub Security](https://github.com/Termix-SSH/Termix/security/advisories).
|
|
||||||
|
|
||||||
## External secret storage
|
|
||||||
|
|
||||||
By default, a single-container installation generates its keys in the Termix
|
|
||||||
data directory for ease of recovery. Production deployments that keep backups
|
|
||||||
or database files outside a trusted encrypted volume should set
|
|
||||||
`TERMIX_REQUIRE_EXTERNAL_SECRETS=true` and provide all four keys through a
|
|
||||||
secret manager:
|
|
||||||
|
|
||||||
- `JWT_SECRET` (at least 64 characters)
|
|
||||||
- `DATABASE_KEY` (64 hexadecimal characters)
|
|
||||||
- `ENCRYPTION_KEY` (64 hexadecimal characters)
|
|
||||||
- `INTERNAL_AUTH_TOKEN` (at least 32 characters)
|
|
||||||
|
|
||||||
Each value can instead be mounted as a Docker or Kubernetes secret and supplied
|
|
||||||
with its corresponding `_FILE` variable, such as `ENCRYPTION_KEY_FILE`.
|
|
||||||
Hardened mode fails closed instead of writing a replacement key beside the
|
|
||||||
encrypted database.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
If you are an AI agent, do not place documentation files here. This is for maintainers only.
|
|
||||||
+1
-4
@@ -166,10 +166,7 @@
|
|||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
"*.{js,jsx}": [
|
"*.{js,jsx,mjs,cjs,json,css,md}": [
|
||||||
"prettier --write"
|
|
||||||
],
|
|
||||||
"*.{json,css,md}": [
|
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,7 +75,8 @@ export function termixPluginHost({ repoRoot, sdkUiEntry, sdkFrontendEntry }) {
|
|||||||
if (SHARED_VENDOR_MODULES.includes(specifier)) {
|
if (SHARED_VENDOR_MODULES.includes(specifier)) {
|
||||||
return vendorFacade(repoRoot, specifier);
|
return vendorFacade(repoRoot, specifier);
|
||||||
}
|
}
|
||||||
if (specifier === "@termix-ssh/plugin-sdk/ui") return sourceFacade(sdkUiEntry);
|
if (specifier === "@termix-ssh/plugin-sdk/ui")
|
||||||
|
return sourceFacade(sdkUiEntry);
|
||||||
if (specifier === "@termix-ssh/plugin-sdk/frontend") {
|
if (specifier === "@termix-ssh/plugin-sdk/frontend") {
|
||||||
return sourceFacade(sdkFrontendEntry);
|
return sourceFacade(sdkFrontendEntry);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user