Skip to content

Commit

Permalink
Merge pull request #56 from eugene-serb/dev
Browse files Browse the repository at this point in the history
Release 2.0.5
  • Loading branch information
eugene-serb authored Oct 26, 2024
2 parents 5d29d23 + f25124d commit a65400a
Show file tree
Hide file tree
Showing 12 changed files with 2,284 additions and 3,541 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Use Aurora Game Engine **[[rep](https://github.com/eugene-serb/aurora-game-engin

## Commands:

- npm run start — run with watcher
- npm run dev — run dev server
- npm run build — build in production mode,
- npm run build:dev — build in development mode,
- npm run lint — run lint check,
- npm run lint:fix — run lint fix,
- npm run format — run prettier check,
- npm run format:fix — run prettier fix,
- npm run test — run tests
- `npm run start` — run with watcher
- `npm run dev` — run dev server
- `npm run build`run build in production mode
- `npm run build:dev`run build in development mode
- `npm run lint` — run lint check
- `npm run lint:fix` — run lint fix
- `npm run format` — run prettier check
- `npm run format:fix` — run prettier fix
- `npm run test` — run tests
5,756 changes: 2,242 additions & 3,514 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "2048-game",
"version": "2.0.4",
"version": "2.0.5",
"description": "Game 2048 with support for keyboard, gamepad and mouse. Let's play!",
"keywords": [
"2048-game",
Expand Down Expand Up @@ -34,24 +34,24 @@
"test": "jest tests"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.11.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-cli": "^1.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-webpack-plugin": "^4.1.0",
"html-webpack-plugin": "^5.6.0",
"eslint-webpack-plugin": "^4.2.0",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"style-loader": "^3.3.4",
"webpack": "^5.91.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
"webpack-dev-server": "^5.1.0"
}
}
8 changes: 4 additions & 4 deletions static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ body {
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
background: var(--color-background);
background-color: var(--color-background);
}

::selection {
background: var(--color-selection);
background-color: var(--color-selection);
}

:focus {
Expand All @@ -44,8 +44,8 @@ h5,
h6 {
color: var(--color-text-header);
font-weight: 500;
margin-block-start: 0.382em;
margin-block-end: 0.618em;
margin-top: 0.382em;
margin-bottom: 0.618em;
line-height: 1.382em;
}

Expand Down
2 changes: 0 additions & 2 deletions static/css/declarations.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@charset 'UTF-8';

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
/* Base numbers */
--number-border-radius: 8px;
Expand Down
16 changes: 16 additions & 0 deletions static/css/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@charset 'UTF-8';

@font-face {
font-family: 'Press Start 2P';
src: url('../fonts/PressStart2P-Regular.eot');
src:
local('Press Start 2P Regular'),
local('PressStart2P-Regular'),
url('../fonts/PressStart2P-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/PressStart2P-Regular.woff2') format('woff2'),
url('../fonts/PressStart2P-Regular.woff') format('woff'),
url('../fonts/PressStart2P-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
2 changes: 1 addition & 1 deletion static/css/header-mini.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

.header-mini ::selection {
background: var(--color-header-selection);
background-color: var(--color-header-selection);
}

.header-mini :focus {
Expand Down
1 change: 1 addition & 0 deletions static/css/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@charset 'UTF-8';

@import url('fonts.css');
@import url('declarations.css');
@import url('base.css');
@import url('services.css');
Expand Down
Binary file added static/fonts/PressStart2P-Regular.eot
Binary file not shown.
Binary file added static/fonts/PressStart2P-Regular.ttf
Binary file not shown.
Binary file added static/fonts/PressStart2P-Regular.woff
Binary file not shown.
Binary file added static/fonts/PressStart2P-Regular.woff2
Binary file not shown.

0 comments on commit a65400a

Please sign in to comment.