Skip to content

Commit 7b96aea

Browse files
authored
Merge pull request #274 from PROCOLLAB-github/dev
documentation & features for docs & refactor to facades & use-cases
2 parents 4944af6 + 12c4415 commit 7b96aea

2,170 files changed

Lines changed: 102041 additions & 85364 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/deploy-dev.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# @format
2+
3+
name: Deploy to dev-stage
4+
5+
on:
6+
push:
7+
branches: [dev]
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js 20.x
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: "npm"
19+
cache-dependency-path: package-lock.json
20+
- run: npm ci
21+
- run: npm run format:check
22+
- run: npm run lint:ts
23+
- run: npm run test:ci
24+
- run: npm run build:pr
25+
- name: Deploy to dev-stage
26+
uses: burnett01/rsync-deployments@5.2.1
27+
with:
28+
switches: -avzr --delete
29+
path: dist/social_platform/
30+
remote_path: /home/front/app
31+
remote_user: front
32+
remote_key: ${{ secrets.DEPLOY_KEY_FRONT_DEV }}
33+
remote_host: dev.procollab.ru

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Setup node
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
24-
node-version: 18.16
24+
node-version: 20
2525
cache: "npm"
2626
- run: npm ci
2727
- run: npm run format:check
2828
- run: npm run lint:ts
29+
- run: npm run test:ci
2930
- run: npm run build:prod
3031
- name: deploy to server
3132
uses: burnett01/rsync-deployments@5.2.1

.github/workflows/pull_request.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ testem.log
4242
# System files
4343
.DS_Store
4444
Thumbs.db
45+
46+
*storybook.log

README.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,15 @@
22

33
# Procollab
44

5-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.5.
5+
Frontend-монорепозиторий для социальной платформы Procollab: Angular 17 приложение (`social_platform`) плюс две разделяемые библиотеки (`core`, `ui`).
66

7-
## Development server
7+
📖 **Вся документация лежит в [`docs/`](docs/).** Начни с [`docs/PROJECT.md`](docs/PROJECT.md) — там обзор воркспейса (стек, под-проекты, слои, окружения, build/CI), а дальше иди по модулям в [`docs/modules/`](docs/modules/).
88

9-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
9+
## Быстрый старт
1010

11-
## Code scaffolding
11+
```bash
12+
npm ci
13+
npm run start:social # ng serve social_platform --open
14+
```
1215

13-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
14-
15-
## Build
16-
17-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
18-
19-
## Running unit tests
20-
21-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
22-
23-
## Running end-to-end tests
24-
25-
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
26-
27-
## Further help
28-
29-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
16+
Полный список скриптов и команд — в [`docs/PROJECT.md`](docs/PROJECT.md).

0 commit comments

Comments
 (0)