Compare commits
5 Commits
f839d215f3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d1d625dd4 | |||
| 3f67c79cca | |||
| c489417874 | |||
| cee79e205c | |||
| 43005b7d15 |
17
.drone.yml
17
.drone.yml
@ -35,22 +35,7 @@ steps:
|
|||||||
- apk add --no-cache bash yq kubectl helm
|
- apk add --no-cache bash yq kubectl helm
|
||||||
- bash .ci/scripts/deploy.sh
|
- 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:
|
trigger:
|
||||||
branch: [master, develop]
|
branch: [main, master, develop]
|
||||||
event: [push, custom]
|
event: [push, custom]
|
||||||
|
|||||||
1
.npmrc
Normal file
1
.npmrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
@vigdorov:registry=https://git.vigdorov.ru/api/packages/vigdorov/npm/
|
||||||
@ -1,4 +1 @@
|
|||||||
{
|
"@vigdorov/prettier-config"
|
||||||
"singleQuote": true,
|
|
||||||
"trailingComma": "all"
|
|
||||||
}
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
- **Database:** PostgreSQL (shared-db) + TypeORM
|
- **Database:** PostgreSQL (shared-db) + TypeORM
|
||||||
- **CI/CD:** Drone CI + ci-templates
|
- **CI/CD:** Drone CI + ci-templates
|
||||||
|
|
||||||
|
|
||||||
## Структура
|
## Структура
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@ -1,35 +1,2 @@
|
|||||||
// @ts-check
|
import {node} from '@vigdorov/eslint-config';
|
||||||
import eslint from '@eslint/js';
|
export default node();
|
||||||
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'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|||||||
1981
package-lock.json
generated
1981
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -39,6 +39,9 @@
|
|||||||
"@eslint/eslintrc": "^3.2.0",
|
"@eslint/eslintrc": "^3.2.0",
|
||||||
"@eslint/js": "^9.18.0",
|
"@eslint/js": "^9.18.0",
|
||||||
"@nestjs/cli": "^11.0.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/schematics": "^11.0.0",
|
||||||
"@nestjs/testing": "^11.0.1",
|
"@nestjs/testing": "^11.0.1",
|
||||||
"@swc/cli": "^0.6.0",
|
"@swc/cli": "^0.6.0",
|
||||||
|
|||||||
@ -17,7 +17,7 @@ env:
|
|||||||
- name: DATABASE_USER
|
- name: DATABASE_USER
|
||||||
value: "simple_storage_user"
|
value: "simple_storage_user"
|
||||||
- name: DATABASE_PASSWORD
|
- name: DATABASE_PASSWORD
|
||||||
value: "S1mpl3_St0r@g3_DB_2025!"
|
value: "SimpleStorage_DB_2025"
|
||||||
- name: DATABASE_NAME
|
- name: DATABASE_NAME
|
||||||
value: "simple_storage_db"
|
value: "simple_storage_db"
|
||||||
- name: CORS_ORIGIN
|
- name: CORS_ORIGIN
|
||||||
|
|||||||
@ -1,19 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vigdorov/typescript-config/node",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
|
||||||
"declaration": true,
|
|
||||||
"removeComments": true,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"target": "ES2023",
|
|
||||||
"sourceMap": true,
|
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"incremental": true,
|
"strict": false,
|
||||||
"skipLibCheck": true,
|
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"strictBindCallApply": false,
|
"strictBindCallApply": false,
|
||||||
"noFallthroughCasesInSwitch": false
|
"noFallthroughCasesInSwitch": false
|
||||||
|
|||||||
Reference in New Issue
Block a user