chore: инициализация Nx-монорепозитория

Каркас воркспейса: конфигурация Nx и TypeScript, манифест yarn
workspaces, EditorConfig,
параметры docker-сборки и инструкции со скиллами для ИИ-агентов
(AGENTS.md).
This commit is contained in:
arswarog committed 2026-10-26 20:30:59 +03:00
1 parent 231dd48844
commit 8c368cd68f
12 files changed
+13391 -78

No files matched your search

+103 -20
View File
@@ -1,23 +1,106 @@
{
"name": "@org/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"dependencies": {},
"devDependencies": {
"@nx/js": "24.0.0",
"@swc-node/register": "1.11.1",
"@swc/core": "1.15.8",
"@swc/helpers": "0.5.18",
"@types/node": "^24.0.0",
"nx": "24.0.0",
"prettier": "^3.8.1",
"tslib": "^2.3.0",
"typescript": "~6.0.3"
},
"workspaces": [
"packages/*"
],
"packageManager": "npm@12.0.2"
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "nx run-many -t build",
"clean": "nx run-many -t clean",
"db-drop": "nx run api:db-drop",
"db-migrate": "nx run api:db-migrate",
"db-migrations-list": "nx run api:db-migrations-list",
"db-restore": "nx run api:db-restore",
"db-revert": "nx run api:db-revert",
"db-show": "nx run api:db-show",
"db-snapshot": "nx run api:db-snapshot",
"lint": "run-s lint:fix",
"lint:fix": "run-s lint:*:fix lint:typecheck",
"lint:branch-name": "validate-branch-name",
"lint:check": "run-s lint:typecheck lint:*:check",
"lint:eslint:check": "nx run-many -t lint-check",
"lint:eslint:fix": "nx run-many -t lint",
"lint:format:check": "nx run-many -t format-check",
"lint:format:fix": "nx run-many -t format",
"lint:typecheck": "nx run-many -t typecheck",
"prepare": "husky",
"rebuild": "nx run-many -t clean && nx run-many -t build",
"start": "nx run-many -t serve --parallel"
},
"lint-staged": {
"*.{json,ts,tsx,js,jsx,js,mjs,md,mdx,yaml,yml}": "prettier --write",
"{src,e2e}/**/*.{ts,tsx}": "eslint --quiet --fix",
"*.{scss,css}": "stylelint --fix",
"package.json": "sort-package-json"
},
"resolutions": {
"vite": "^7.0.0"
},
"dependencies": {
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@nx/eslint": "^22.5.1",
"@nx/eslint-plugin": "^22.5.1",
"@nx/js": "^22.5.1",
"@nx/nest": "^22.5.1",
"@nx/node": "^22.5.1",
"@nx/react": "^22.5.1",
"@nx/vite": "^22.5.1",
"@nx/vitest": "^22.5.1",
"@nx/web": "^22.5.1",
"@nx/webpack": "^22.5.1",
"@swc-node/register": "^1.11.1",
"@swc/cli": "~0.8.0",
"@swc/core": "^1.15.8",
"@swc/helpers": "^0.5.18",
"@types/lodash": "^4.17.24",
"@types/node": "^20.19.9",
"@types/pg": "^8.20.0",
"@vitest/coverage-v8": "^4.0.0",
"@vitest/ui": "^4.0.0",
"autoprefixer": "^10.4.13",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"npm-run-all": "^4.1.5",
"nx": "^22.5.1",
"pg": "^8.20.0",
"prettier": "^3.3.3",
"rimraf": "^6.1.3",
"sort-package-json": "^3.6.1",
"stylelint": "^17.14.1",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-recess-order": "^7.8.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-order": "^8.1.1",
"stylelint-prettier": "^5.0.3",
"stylelint-scss": "^7.2.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.3.0",
"typescript": "~5.9.2",
"typescript-eslint": "^8.40.0",
"unplugin-swc": "^1.5.10",
"validate-branch-name": "=1.3.1",
"vite": "^7.0.0",
"vitest": "^4.0.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"nx": {
"includedScripts": []
},
"validate-branch-name": {
"pattern": "(^(i\\d+-)?[a-z0-9-]{2,40}$|^\\(.*)",
"errorMsg": "branch name must be like 'i777-short-description'"
}
}