Skip to content

Commit a17c1a0

Browse files
committed
Merge branch 'migrate-vite'
2 parents 57ab804 + 5cc7d27 commit a17c1a0

46 files changed

Lines changed: 3788 additions & 553 deletions

Some content is hidden

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

.babelrc

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

.browserslistrc

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

.gitignore

Lines changed: 14 additions & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -1,183 +1,24 @@
1-
### Node ###
21
# Logs
32
logs
43
*.log
54
npm-debug.log*
65
yarn-debug.log*
76
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
89

9-
# Runtime data
10-
pids
11-
*.pid
12-
*.seed
13-
*.pid.lock
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
1414

15-
# Directory for instrumented libs generated by jscoverage/JSCover
16-
lib-cov
17-
18-
# Coverage directory used by tools like istanbul
19-
coverage
20-
21-
# nyc test coverage
22-
.nyc_output
23-
24-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25-
.grunt
26-
27-
# Bower dependency directory (https://bower.io/)
28-
bower_components
29-
30-
# node-waf configuration
31-
.lock-wscript
32-
33-
# Compiled binary addons (http://nodejs.org/api/addons.html)
34-
build/Release
35-
36-
# Dependency directories
37-
node_modules/
38-
jspm_packages/
39-
40-
# Typescript v1 declaration files
41-
typings/
42-
43-
# Optional npm cache directory
44-
.npm
45-
46-
# Optional eslint cache
47-
.eslintcache
48-
49-
# Optional REPL history
50-
.node_repl_history
51-
52-
# Output of 'npm pack'
53-
*.tgz
54-
55-
# Yarn Integrity file
56-
.yarn-integrity
57-
58-
# dotenv environment variables file
59-
.env
60-
61-
62-
### Sass ###
63-
.sass-cache/
64-
*.css.map
65-
66-
### VisualStudioCode ###
15+
# Editor directories and files
6716
.vscode/*
68-
!.vscode/settings.json
69-
!.vscode/tasks.json
70-
!.vscode/launch.json
7117
!.vscode/extensions.json
72-
.history/
73-
74-
### PhpStorm ###
75-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
76-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
77-
78-
# User-specific stuff:
79-
.idea/**/workspace.xml
80-
.idea/**/tasks.xml
81-
.idea/dictionaries
82-
83-
# Sensitive or high-churn files:
84-
.idea/**/dataSources/
85-
.idea/**/dataSources.ids
86-
.idea/**/dataSources.xml
87-
.idea/**/dataSources.local.xml
88-
.idea/**/sqlDataSources.xml
89-
.idea/**/dynamic.xml
90-
.idea/**/uiDesigner.xml
91-
92-
# Gradle:
93-
.idea/**/gradle.xml
94-
.idea/**/libraries
95-
96-
# CMake
97-
cmake-build-debug/
98-
99-
# Mongo Explorer plugin:
100-
.idea/**/mongoSettings.xml
101-
102-
## File-based project format:
103-
*.iws
104-
105-
## Plugin-specific files:
106-
107-
# IntelliJ
108-
/out/
109-
110-
# mpeltonen/sbt-idea plugin
111-
.idea_modules/
112-
113-
# JIRA plugin
114-
atlassian-ide-plugin.xml
115-
116-
# Cursive Clojure plugin
117-
.idea/replstate.xml
118-
119-
# Ruby plugin and RubyMine
120-
/.rakeTasks
121-
122-
# Crashlytics plugin (for Android Studio and IntelliJ)
123-
com_crashlytics_export_strings.xml
124-
crashlytics.properties
125-
crashlytics-build.properties
126-
fabric.properties
127-
128-
### PhpStorm Patch ###
129-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
130-
131-
# *.iml
132-
# modules.xml
133-
# .idea/misc.xml
134-
# *.ipr
135-
136-
# Sonarlint plugin
137-
.idea/sonarlint
138-
139-
### WebStorm ###
140-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
141-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
142-
143-
# User-specific stuff:
144-
145-
# Sensitive or high-churn files:
146-
147-
# Gradle:
148-
149-
# CMake
150-
151-
# Mongo Explorer plugin:
152-
153-
## File-based project format:
154-
155-
## Plugin-specific files:
156-
157-
# IntelliJ
158-
159-
# mpeltonen/sbt-idea plugin
160-
161-
# JIRA plugin
162-
163-
# Cursive Clojure plugin
164-
165-
# Ruby plugin and RubyMine
166-
167-
# Crashlytics plugin (for Android Studio and IntelliJ)
168-
169-
### WebStorm Patch ###
170-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
171-
172-
# *.iml
173-
# modules.xml
174-
# .idea/misc.xml
175-
# *.ipr
176-
177-
# Sonarlint plugin
178-
179-
# Other
180-
debug.log
181-
undefined/
182-
dist/
183-
package-lock.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true
6+
}

README.RU.md

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

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22

33
This project is a predefined base structure with all files and configured tasks for creating a web site/page.
44

5-
# Version 2.1.1
5+
# Version 3.0.0
66

77
## Technologies
88

9-
- **[Pug](https://pugjs.org/api/getting-started.html)** (formerly *Jade*) is using for creating HTML
10-
- **[Sass](https://sass-scss.ru/)** (*Scss*) is using fro creating CSS
11-
- **[TypeScript](http://www.typescriptlang.org/index.html)** is using for transpaling to plain JavaScript.
9+
- **[Pug](https://pugjs.org/api/getting-started.html)** (formerly _Jade_) - for creating HTML
10+
- **[Sass](https://sass-scss.ru/)** (_Scss_) - for creating CSS
11+
- **[TypeScript](http://www.typescriptlang.org/index.html)** - for transpaling to plain JavaScript.
1212
- For supporting some rare or out of date features you can configure **Modernizr** (all checks, modules are configures in `modernizr-config.json`)
13-
> All settings could be found there: https://modernizr.com/download?setclasses
1413

15-
- **[normalize.css](https://necolas.github.io/normalize.css/)** (its SCSS version) is using for resetting / normalizing browsers stylings to look everything the same
14+
> All settings could be found there: https://modernizr.com/download?setclasses
1615
17-
- **[Gulp](https://gulpjs.com/)** is using to manage build / create/ serve tasks
18-
> Paths for Gulp tasks are configured at `project.config.json`. All Gulp tasks are moved to `./gulp.`. The main `gulpfile.babel.js` is holding only main tasks to working on project
16+
- **[normalize.css](https://github.com/JohnAlbin/normalize-scss)** - project uses fork-version of normalize-css library: https://github.com/JohnAlbin/normalize-scss/tree/main/fork-version
17+
18+
- **[Vite](https://vite.dev/)** - for manage [dev](https://vite.dev/guide/cli.html#dev-server) / [build](https://vite.dev/guide/cli.html#build) / [preview](https://vite.dev/guide/cli.html#vite-preview) tasks
19+
20+
- **[PNPM](https://pnpm.io)** - project uses pnpm as one and only package manager
1921

2022
## TODO
2123

2224
> 3.0.0
2325
24-
- Migrate to WebPack
2526
- Add feature to add new pug pages and scss files via Terminal
2627
- Convert project to GBP-CLI
27-
28-
[Russian version](./README.RU.md)

eslint.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { defineConfig } from 'eslint/config';
2+
3+
export default defineConfig({
4+
rules: {
5+
'@typescript-eslint/no-explicit-any': [
6+
'error',
7+
{
8+
ignoreRestArgs: true,
9+
},
10+
],
11+
},
12+
ignores: ['dist/**/*'],
13+
});

gulp/clean.gulp.js

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

gulp/images.gulp.js

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

gulp/modernizr.gulp.js

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

0 commit comments

Comments
 (0)