Skip to content

Commit 5a94a2f

Browse files
committed
remove backend dir
1 parent c121b41 commit 5a94a2f

File tree

140 files changed

+116
-5004
lines changed

Some content is hidden

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

140 files changed

+116
-5004
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Please see the documentation for all configuration options:
44
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
55

6-
version: 2
7-
updates:
8-
- package-ecosystem: "" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
schedule:
11-
interval: "weekly"
12-
open-pull-requests-limit: 5
6+
# version: 2
7+
# updates:
8+
# - package-ecosystem: "" # See documentation for possible values
9+
# directory: "/" # Location of package manifests
10+
# schedule:
11+
# interval: "weekly"
12+
# open-pull-requests-limit: 5

.github/workflows/playwright.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Playwright Tests
2-
on:
3-
push:
4-
branches: [ main, master ]
5-
pull_request:
6-
branches: [ main, master ]
7-
jobs:
8-
test:
9-
timeout-minutes: 60
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v3
14-
with:
15-
node-version: "22"
16-
- name: Install dependencies
17-
run: make setup
18-
- name: Install Playwright Browsers
19-
run: npx playwright install --with-deps
20-
- name: Build
21-
run: make build
22-
- name: Run Playwright tests
23-
run: npm run test:ci
24-
- uses: actions/upload-artifact@v4
25-
if: always()
26-
with:
27-
name: playwright-report
28-
path: playwright-report/
29-
retention-days: 30
1+
# name: Playwright Tests
2+
# on:
3+
# push:
4+
# branches: [ main, master ]
5+
# pull_request:
6+
# branches: [ main, master ]
7+
# jobs:
8+
# test:
9+
# timeout-minutes: 60
10+
# runs-on: ubuntu-latest
11+
# steps:
12+
# - uses: actions/checkout@v4
13+
# - uses: actions/setup-node@v3
14+
# with:
15+
# node-version: "22"
16+
# - name: Install dependencies
17+
# run: make setup
18+
# - name: Install Playwright Browsers
19+
# run: npx playwright install --with-deps
20+
# - name: Build
21+
# run: make build
22+
# - name: Run Playwright tests
23+
# run: npm run test:ci
24+
# - uses: actions/upload-artifact@v4
25+
# if: always()
26+
# with:
27+
# name: playwright-report
28+
# path: playwright-report/
29+
# retention-days: 30
3030

31-
- uses: daun/playwright-report-summary@v3
32-
if: always()
33-
with:
34-
report-file: results.json
31+
# - uses: daun/playwright-report-summary@v3
32+
# if: always()
33+
# with:
34+
# report-file: results.json

.github/workflows/pull-request.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
name: On Pull Request
1+
# name: On Pull Request
22

3-
on:
4-
pull_request:
5-
branches:
6-
- main
3+
# on:
4+
# pull_request:
5+
# branches:
6+
# - main
77

8-
jobs:
8+
# jobs:
99

10-
build:
10+
# build:
1111

12-
runs-on: ubuntu-latest
12+
# runs-on: ubuntu-latest
1313

14-
steps:
15-
- uses: actions/checkout@v4
16-
- name: Install deps
17-
run: |
18-
make install
19-
- name: Run lint
20-
run: |
21-
make lint
22-
- name: Run tests
23-
run: |
24-
make test
14+
# steps:
15+
# - uses: actions/checkout@v4
16+
# - name: Install deps
17+
# run: |
18+
# make install
19+
# - name: Run lint
20+
# run: |
21+
# make lint
22+
# - name: Run tests
23+
# run: |
24+
# make test

.github/workflows/push.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: On Push
1+
# name: On Push
22

3-
on:
4-
push:
5-
branches:
6-
- main
3+
# on:
4+
# push:
5+
# branches:
6+
# - main
77

8-
jobs:
8+
# jobs:
99

10-
build:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
- name: Install deps
15-
run: |
16-
make install
17-
- name: Run lint
18-
run: |
19-
make lint
20-
- name: Run tests
21-
run: |
22-
make test
10+
# build:
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - uses: actions/checkout@v4
14+
# - name: Install deps
15+
# run: |
16+
# make install
17+
# - name: Run lint
18+
# run: |
19+
# make lint
20+
# - name: Run tests
21+
# run: |
22+
# make test

.github/workflows/release.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: On Release
1+
# name: On Release
22

3-
on:
4-
push:
5-
tags:
6-
- v*
3+
# on:
4+
# push:
5+
# tags:
6+
# - v*
77

8-
jobs:
8+
# jobs:
99

10-
build:
11-
if: github.repository == 'hexlet-rus/runit'
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- name: Install Heroku CLI
16-
run: |
17-
curl https://cli-assets.heroku.com/install.sh | sh
18-
- uses: akhileshns/[email protected] # This is the action
19-
with:
20-
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
21-
heroku_app_name: hexlet-editor
22-
heroku_email: ${{secrets.HEROKU_EMAIL}}
10+
# build:
11+
# if: github.repository == 'hexlet-rus/runit'
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v4
15+
# - name: Install Heroku CLI
16+
# run: |
17+
# curl https://cli-assets.heroku.com/install.sh | sh
18+
# - uses: akhileshns/[email protected] # This is the action
19+
# with:
20+
# heroku_api_key: ${{secrets.HEROKU_API_KEY}}
21+
# heroku_app_name: hexlet-editor
22+
# heroku_email: ${{secrets.HEROKU_EMAIL}}

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM node:23
1+
# FROM node:23
22

33

4-
RUN apt update && apt install -y make curl
4+
# RUN apt update && apt install -y make curl
55

6-
ENV DOCKER_CHANNEL stable
7-
ENV DOCKER_VERSION 20.10.21
6+
# ENV DOCKER_CHANNEL stable
7+
# ENV DOCKER_VERSION 20.10.21
88

9-
WORKDIR /usr/src/runit
9+
# WORKDIR /usr/src/runit
1010

11-
COPY . .
11+
# COPY . .
1212

13-
RUN make setup
13+
# RUN make setup
1414

15-
CMD [ "make", "start" ]
15+
# CMD [ "make", "start" ]

Dockerfile.production

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
FROM node:23
1+
# FROM node:23
22

3-
RUN apt update && apt install -y make curl
3+
# RUN apt update && apt install -y make curl
44

5-
ENV DOCKER_CHANNEL stable
6-
ENV DOCKER_VERSION 20.10.21
5+
# ENV DOCKER_CHANNEL stable
6+
# ENV DOCKER_VERSION 20.10.21
77

8-
RUN curl -fsSL "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz" \
9-
| tar -xzC /usr/local/bin --strip=1 docker/docker
8+
# RUN curl -fsSL "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz" \
9+
# | tar -xzC /usr/local/bin --strip=1 docker/docker
1010

11-
WORKDIR /usr/src/runit
11+
# WORKDIR /usr/src/runit
1212

13-
COPY . .
13+
# COPY . .
1414

15-
RUN yarn install --frozen-lockfile
16-
RUN make build
15+
# RUN yarn install --frozen-lockfile
16+
# RUN make build
1717

18-
CMD [ "make", "start-prod" ]
18+
# CMD [ "make", "start-prod" ]

backend/.env.example

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

backend/.eslintignore

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

backend/.eslintrc.yml

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

0 commit comments

Comments
 (0)