web: приложение React + Vite с Tailwind

Каркас web-приложения: Vite, Tailwind, ESLint, раздача статики через
Caddy, страница со
статусом и версией проекта.
This commit is contained in:
arswarog committed 2026-10-27 10:43:38 +03:00
1 parent efba11d83f
commit 94e5e09218
21 files changed
+1292

No files matched your search

+88
View File
@@ -0,0 +1,88 @@
{
"name": "web",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/web/src",
"projectType": "application",
"tags": [],
"targets": {
"clean": {
"executor": "nx:run-commands",
"options": {
"commands": [
"rimraf apps/web/dist"
]
}
},
"build": {
"executor": "@nx/vite:build",
"options": {
"outputPath": "apps/web/dist/",
"base": "/",
"viteConfig": "apps/web/vite.config.ts"
}
},
"typecheck": {
"executor": "nx:run-commands",
"options": {
"command": "tsc --noEmit -p tsconfig.spec.json",
"cwd": "apps/web"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": [
"{projectRoot}/**/*.{ts,tsx}"
],
"eslintConfig": "{projectRoot}/eslint.config.mjs",
"fix": true
}
},
"lint-check": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": [
"{projectRoot}/**/*.{ts,tsx}"
],
"eslintConfig": "{projectRoot}/eslint.config.mjs"
}
},
"format": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"commands": [
"prettier --write {projectRoot}",
"stylelint --fix \"{projectRoot}/**/*.{scss,css}\""
]
}
},
"format-check": {
"executor": "nx:run-commands",
"options": {
"parallel": false,
"commands": [
"prettier --check {projectRoot}",
"stylelint \"{projectRoot}/**/*.{scss,css}\""
]
}
},
"serve": {
"executor": "@nx/vite:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "web:build",
"port": 5173
},
"configurations": {}
},
"preview": {
"executor": "@nx/vite:preview-server",
"options": {
"buildTarget": "web:build",
"port": 5173
},
"configurations": {}
}
}
}