Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Сборка для HTML-курсов в HTML Academy

Сборка работает на gulp 4 версии
Сборка работает на gulp 5 версии

## Начало

Expand All @@ -15,7 +15,7 @@
_Git_ примерно ответит

```shell
git version 2.42.0.windows.1
git version 2.51.0
```

![проверка версии git](assets/git.png)
Expand All @@ -31,12 +31,12 @@
_Node.js_ примерно ответит

```shell
v18.18.0
v22.20.0
```

![проверка версии node.js](assets/node.png)

важно, чтобы была действующая LTS версия (первое число — чётное), то есть не ниже 20.9 или не ниже 18.18.
важно, чтобы была действующая LTS версия (первое число — чётное), то есть не ниже 22.9 или не ниже 20.9.

## Установка

Expand Down
Binary file modified assets/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { readFileSync, rmSync } from 'node:fs';

import gulp from 'gulp';
import plumber from 'gulp-plumber';
import htmlmin from 'gulp-htmlmin';
Expand All @@ -14,7 +13,6 @@ import sharp from 'gulp-sharp-responsive';
import svgo from 'gulp-svgmin';
import { stacksvg } from 'gulp-stacksvg';
import server from 'browser-sync';
import bemlinter from 'gulp-html-bemlinter';

const { src, dest, watch, series, parallel } = gulp;
const sass = gulpSass(dartSass);
Expand All @@ -39,10 +37,6 @@ export function processMarkup () {
.pipe(server.stream());
}

export function lintBem () {
return src(`${PATH_TO_SOURCE}**/*.html`)
.pipe(bemlinter());
}

export function processStyles () {
return src(`${PATH_TO_SOURCE}styles/*.scss`, { sourcemaps: isDevelopment })
Expand Down
Loading