Dateien nach "/" hochladen

This commit is contained in:
tipi 2025-07-01 16:11:55 +00:00
parent bcb3e754bc
commit 6ea8bf542f
5 changed files with 1146 additions and 0 deletions

45
biome.json Normal file
View File

@ -0,0 +1,45 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "origin/master"
},
"files": {
"includes": ["**/*.ts", "**/*.tsx", "**/*.json", "**/*.js", "**/*.jsx"],
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 150,
"attributePosition": "auto"
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}

1071
bun.lock Normal file

File diff suppressed because it is too large Load Diff

3
commitlint.config.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
};

21
config.js Normal file
View File

@ -0,0 +1,21 @@
export default {
allowedCommands: ["bun ./scripts/update-config.ts", "bunx @biomejs/biome@2.0.0 check --write", "bun install && bun run test"],
hostRules: [
{
hostType: "docker",
matchHost: "index.docker.io",
username: process.env.DOCKERHUB_USERNAME,
password: process.env.DOCKERHUB_TOKEN,
},
{
hostType: "docker",
matchHost: "hub.docker.com",
username: process.env.DOCKERHUB_USERNAME,
password: process.env.DOCKERHUB_TOKEN,
},
{
matchHost: "docker.io",
concurrentRequestLimit: 2,
},
],
};

6
jest.config.js Normal file
View File

@ -0,0 +1,6 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
export default {
preset: "ts-jest",
testEnvironment: "node",
testMatch: ["**/__tests__/**/*.test.ts"],
};