Compare commits

...

3 Commits

Author SHA1 Message Date
c098f39dd5 chore: migrate to @vigdorov/* shared configs (eslint, prettier, typescript)
All checks were successful
continuous-integration/drone/push Build is passing
Replace project-local ESLint, Prettier, and TypeScript configs
with shared packages from dev-configs monorepo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 00:57:46 +03:00
9eaf58aca5 rm
All checks were successful
continuous-integration/drone/push Build is passing
2026-02-08 21:19:23 +03:00
a9ce5cc03b fix
Some checks failed
continuous-integration/drone/push Build is failing
2026-02-08 21:14:45 +03:00
8 changed files with 1629 additions and 66 deletions

View File

@ -35,21 +35,6 @@ steps:
- apk add --no-cache bash yq kubectl helm
- bash .ci/scripts/deploy.sh
- name: notify
image: appleboy/drone-telegram
depends_on: [deploy]
settings:
token:
from_secret: TELEGRAM_TOKEN
to:
from_secret: TELEGRAM_CHAT_ID
format: markdown
message: >
{{#success build.status}}✅{{else}}❌{{/success}} **{{repo.name}}**
Branch: `{{commit.branch}}`
{{commit.message}}
when:
status: [success, failure]
trigger:
branch: [master, develop]

1
.npmrc Normal file
View File

@ -0,0 +1 @@
@vigdorov:registry=https://git.vigdorov.ru/api/packages/vigdorov/npm/

View File

@ -1,4 +1 @@
{
"singleQuote": true,
"trailingComma": "all"
}
"@vigdorov/prettier-config"

View File

@ -1,35 +1,2 @@
// @ts-check
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: ['eslint.config.mjs'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
eslintPluginPrettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn',
},
},
);
import {node} from '@vigdorov/eslint-config';
export default node();

1619
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,9 @@
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@vigdorov/eslint-config": "^1.0.1",
"@vigdorov/prettier-config": "^1.0.0",
"@vigdorov/typescript-config": "^1.1.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@swc/cli": "^0.6.0",

View File

@ -17,7 +17,7 @@ env:
- name: DATABASE_USER
value: "image_list_user"
- name: DATABASE_PASSWORD
value: "Im@g3L1st_DB_P@ss_2025!"
value: "ImageList_DB_2025"
- name: DATABASE_NAME
value: "image_list_db"
- name: CORS_ORIGIN

View File

@ -1,19 +1,10 @@
{
"extends": "@vigdorov/typescript-config/node",
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strict": false,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false