A website for a company OOO «StroyInTekh» (INN 3665827526) specializing in the manufacturing of storage and purification equipment.
v4.1.0
npm install -g corepack@0.31.0
corepack enable
yarn installv10.2.4
v20.9.0. Use NVM:
- nvm current - check current version of Node
- nvm list - show list of available Node versions
- nvm install - to install and use Node version.
- nvm use - set version of Node as current version
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
yarn install
yarn run devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/** files. The page auto-updates as you edit the files.
In the project directory, you can run:
Runs the development server on localhost:3000.It rebuilds automatically when changes are made to the code.
Builds the application for production.
Starts the production server after building the project.
Runs ESLint for static code analysis on TypeScript and TSX files.
Fixes errors found by ESLint in TypeScript and TSX files.
Formats all TypeScript, CSS, and SCSS files in the src and the .storybook folder using Prettier.
Runs Storybook in development mode on port 6006.
Runs unit tests using the Jest configuration.
Runs unit tests with coverage calculation option.
Runs snapshot tests using the Jest configuration.
Runs snapshot tests with coverage calculation option.
Updates snap-data of snapshot tests.
Executes e2e tests (Playwright)
Sequentially executes unit tests, snapshot tests, integration tests, e2e tests.
Generates comprehensive documentation using TypeDoc.
Builds a static version of Storybook for deployment.
Runs Chromatic to check for visual changes in components and exits with a code 0 even if changes are detected.
Increments the major version in package.json and src/app/manifest.json.
For example, changes "version": "1.2.3" to "version": "2.0.0".
Increments the minor version in package.json and src/app/manifest.json.
For example, changes "version": "1.2.3" to "version": "1.3.0".
Increments the patch version in package.json and src/app/manifest.json.
For example, changes "version": "1.2.3" to "version": "1.2.4".
Automates the process of merging branches, increasing the major-version in the package.json file and manifest file, and committing the changes to the designated branch. This ensures the version is updated consistently and the changes are easily trackable in the repository.
Automates the process of merging branches, increasing the minor-version in the package.json file and manifest file, and committing the changes to the designated branch. This ensures the version is updated consistently and the changes are easily trackable in the repository.
Automates the process of merging branches, increasing the patch-version in the package.json file and manifest file, and committing the changes to the designated branch. This ensures the version is updated consistently and the changes are easily trackable in the repository.
Checks for outdated dependencies in the project.
Upgrades all dependencies to their latest versions.
Automatically runs husky hooks for Git management and installs Playwright deps.
Installs Playwright deps.
-
run yarn update-version:patch (or :minor, :major)
-
create PR with message "[Common] Version increase vX.X.X" from "common/version-increase" into "develop"
-
create PR with message "[Testing] Release vX.X.X" from "develop" into "testing"
-
go to Vercel project, wait for the testing server update to complete, go to the testing site and make sure everything is working
-
create PR with message "Release vX.X.X" from "testing" into "main"
-
go to Amvera project, wait for the production server update to complete, go to the production site and make sure everything is working
-
go to Github Repo Home page -> Tags -> Releases -> Draft a new release.
a) create a new tag via "Choose a tag" autocomplete
b) select "develop" branch as a target
c) click the "Generate release notes" button, remove unnecessary notes if necessary, check PR messages and correct the messages if necessary (via PR editing)
d) select "main" branch as a target
e) click the "Publish release"
-
checkout "testing" and pull, then merge "main" into "testing" and push
-
checkout "develop" and pull, then merge "testing" into "develop" and push
-
update RELEASE-NOTES.md with using generated notes in step 7, create PR with from "common/release-notes-update-vX.X.X" to "develop" message "[Common] RELEASE-NOTES.md update vX.X.X"
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
Link to repository https://github.com/a1exevs/stroy-in-tekh.
Link to project https://github.com/users/a1exevs/projects/6
Browser Stack - https://www.browserstack.com/
Nu Html Checker - https://validator.w3.org/nu/
PageSpeed Insights - https://pagespeed.web.dev/
Sitemap Generator - https://www.xml-sitemaps.com/
Robots TXT Generator - https://pr-cy.ru/robots/
Schema Org - https://yandex.ru/support/webmaster/schema-org/what-is-schema-org.html
