Skip to content

Commit

Permalink
Merge pull request #1 from metabrainz/master
Browse files Browse the repository at this point in the history
[FEAT]: DARK MODE THEME ADDED TO BOOKBRAINZ WEBSITE
  • Loading branch information
Thuraabtech authored Sep 10, 2023
2 parents 7f7f6c8 + 6f1372e commit 2fd1062
Show file tree
Hide file tree
Showing 108 changed files with 2,808 additions and 2,980 deletions.
14 changes: 3 additions & 11 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
# Cross-platform line endings configuration
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# all text files follow Unix end-of-line convention
* text eol=lf

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.sh text

# Declare files that will always have CRLF line endings on checkout.
# *.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
# avoid modifying binary files
*.png binary
*.jpg binary
*.svg binary
Expand Down
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<!--
Before making a pull request, please:
1. Read the guidelines for contributing
1. Read the guidelines for contributing: https://github.com/metabrainz/guidelines/blob/master/GitHub.md
2. Verify that your changes match our coding style
3. Fill out the requested information
-->

### Problem
<!-- What are you trying to solve? -->
<!-- What are you trying to solve?
Add the JIRA ticket number if you are working on one -->


### Solution
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: bookbrainz_test
POSTGRES_HOST: localhost

- name: Set up node
uses: actions/setup-node@v1
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
/config/config.json
/config/config.local.json

# Directory designated to store local compose overrides and related files
/local/

# react-hot-loader files
/static/hot
*.hot-update.js
Expand Down
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Docker: Attach to Node",
"port": 9229,
"localRoot": "${workspaceFolder}/src/server/",
"remoteRoot": "/home/bookbrainz/bookbrainz-site/src/server/",
"restart": true,
"sourceMaps": true,
"smartStep": true,
"outFiles": [
"${workspaceFolder}/**/*.js",
"!**/node_modules/**"
],
"skipFiles": [
"/home/bookbrainz/bookbrainz-site/node_modules/**/*.js",
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ to BookBrainz:
* Use [JSDoc](http://usejsdoc.org/) for commenting code
* Use [TypeScript](https://www.typescriptlang.org/) everywhere - static type checking is useful

## Pull requests

Please read carefully the [MetaBrainz Github guidelines](https://github.com/metabrainz/guidelines/blob/master/GitHub.md)

## Commits

We try to keep our commit messages readable and concise, this is especially important as they can't be rewritten—unlike
Expand Down
78 changes: 0 additions & 78 deletions DEPENDENCIES_MANUAL_INSTALL.md

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ARG BB_ROOT=/home/bookbrainz/bookbrainz-site
WORKDIR $BB_ROOT
RUN chown bookbrainz:bookbrainz $BB_ROOT

RUN echo $GIT_COMMIT_SHA > .git-version
ENV GIT_COMMIT_SHA=$GIT_COMMIT_SHA

# Files necessary to complete the JavaScript build
COPY --chown=bookbrainz scripts/ scripts/
Expand Down
139 changes: 0 additions & 139 deletions INSTALLATION_TROUBLESHOOTING.md

This file was deleted.

78 changes: 0 additions & 78 deletions NODEJS_SETUP.md

This file was deleted.

Loading

0 comments on commit 2fd1062

Please sign in to comment.