Skip to content

Commit

Permalink
Formatted project using prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Zinka010 committed Dec 1, 2023
1 parent 6bde262 commit 929cbb8
Show file tree
Hide file tree
Showing 24 changed files with 973 additions and 829 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Node.js CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -20,12 +19,12 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run build --if-present
- run: npm test
366 changes: 183 additions & 183 deletions LICENSE.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Install install nodejs and npm for your respective OS.
If you would like to suggest any changes or features, please add them as issues, or if you are so inclined, create a PR with the change from a fork.

### Run Tests

1. Run `npm test`

### To build and push the docker container
Expand All @@ -30,6 +31,7 @@ docker buildx build --platform linux/amd64 \
```

### To run locally

```
docker run -p 8080:80 -d {docker_user_id}/dnd-monster-tracker:X.X.X
```
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: [['@babel/preset-env', {targets: {node: 'current'}}]],
presets: [["@babel/preset-env", { targets: { node: "current" } }]],
};
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
27 changes: 15 additions & 12 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body {
padding-left: 18px;
padding-top: 5px;
column-gap: 20px;
row-gap: 40px;
row-gap: 40px;
}

.header {
Expand All @@ -28,30 +28,33 @@ body {
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[type=number] {
input[type="number"] {
-moz-appearance: textfield;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #3c454e;
opacity: 1; /* Firefox */
::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #3c454e;
opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #3c454e;;
:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: #3c454e;
}

::-ms-input-placeholder { /* Microsoft Edge */
color: #3c454e;;
::-ms-input-placeholder {
/* Microsoft Edge */
color: #3c454e;
}
Loading

0 comments on commit 929cbb8

Please sign in to comment.