-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #350 from Yooooomi/release/1.8.0
Release/1.8.0
- Loading branch information
Showing
626 changed files
with
8,749 additions
and
10,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM node:20-alpine AS builder | ||
|
||
WORKDIR /app | ||
|
||
ENV MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
RUN npm install -g nodemon | ||
|
||
COPY yarn.lock yarn.lock | ||
COPY package.json package.json | ||
|
||
COPY apps/dev/package.json apps/dev/package.json | ||
COPY apps/dev/tsconfig.json apps/dev/tsconfig.json | ||
|
||
COPY apps/client/package.json apps/client/package.json | ||
COPY apps/client/tsconfig.json apps/client/tsconfig.json | ||
|
||
RUN yarn --frozen-lockfile | ||
|
||
COPY apps/client/public apps/client/public | ||
COPY apps/client/scripts apps/client/scripts | ||
COPY apps/client/src apps/client/src | ||
|
||
ENTRYPOINT [ "sh", "/app/apps/client/scripts/run/run_dev.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM node:20-alpine AS builder | ||
|
||
WORKDIR /app | ||
|
||
ENV MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
|
||
COPY yarn.lock yarn.lock | ||
COPY package.json package.json | ||
|
||
COPY apps/dev/package.json apps/dev/package.json | ||
COPY apps/dev/tsconfig.json apps/dev/tsconfig.json | ||
|
||
COPY apps/client/package.json apps/client/package.json | ||
COPY apps/client/tsconfig.json apps/client/tsconfig.json | ||
|
||
RUN yarn --frozen-lockfile | ||
|
||
COPY apps/client/public apps/client/public | ||
COPY apps/client/src apps/client/src | ||
COPY apps/client/scripts apps/client/scripts | ||
WORKDIR /app/apps/client | ||
RUN yarn build | ||
|
||
ARG NODE_ENV | ||
ENV NODE_ENV ${NODE_ENV:-production} | ||
|
||
FROM node:20-alpine | ||
|
||
WORKDIR /app | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
|
||
RUN npm install -g serve | ||
|
||
COPY --from=builder /app/node_modules node_modules | ||
COPY --from=builder /app/package.json package.json | ||
COPY --from=builder /app/apps/client/package.json apps/client/package.json | ||
COPY --from=builder /app/apps/client/scripts/ apps/client/scripts/ | ||
COPY --from=builder /app/apps/client/package.json apps/client/package.json | ||
COPY --from=builder /app/apps/client/build/ apps/client/build/ | ||
|
||
ENTRYPOINT [ "sh", "/app/apps/client/scripts/run/run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM node:20-alpine AS builder | ||
|
||
WORKDIR /app | ||
|
||
ENV MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
RUN npm install -g nodemon | ||
|
||
COPY yarn.lock yarn.lock | ||
COPY package.json package.json | ||
|
||
COPY apps/dev/package.json apps/dev/package.json | ||
COPY apps/dev/tsconfig.json apps/dev/tsconfig.json | ||
|
||
COPY apps/server/package.json apps/server/package.json | ||
COPY apps/server/tsconfig.json apps/server/tsconfig.json | ||
|
||
RUN yarn --frozen-lockfile | ||
|
||
COPY apps/server/src apps/server/src | ||
COPY apps/server/scripts apps/server/scripts | ||
|
||
ENTRYPOINT [ "sh", "/app/apps/server/scripts/run/run_dev.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM node:20-alpine AS builder | ||
|
||
WORKDIR /app | ||
|
||
ENV MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
|
||
COPY yarn.lock yarn.lock | ||
COPY package.json package.json | ||
|
||
COPY apps/dev/package.json apps/dev/package.json | ||
COPY apps/dev/tsconfig.json apps/dev/tsconfig.json | ||
|
||
COPY apps/server/package.json apps/server/package.json | ||
COPY apps/server/tsconfig.json apps/server/tsconfig.json | ||
|
||
RUN yarn --frozen-lockfile | ||
|
||
COPY apps/server/src apps/server/src | ||
COPY apps/server/scripts apps/server/scripts | ||
WORKDIR /app/apps/server | ||
RUN yarn build | ||
|
||
ARG NODE_ENV | ||
ENV NODE_ENV ${NODE_ENV:-production} | ||
|
||
RUN rm -r node_modules | ||
RUN yarn --production --frozen-lockfile | ||
|
||
FROM node:20-alpine | ||
|
||
ARG NODE_ENV | ||
ENV NODE_ENV ${NODE_ENV:-production} | ||
|
||
WORKDIR /app | ||
|
||
RUN apk add python3 gcc g++ make cmake | ||
|
||
COPY --from=builder /app/node_modules node_modules | ||
COPY --from=builder /app/package.json package.json | ||
COPY --from=builder /app/apps/server/package.json apps/server/package.json | ||
COPY --from=builder /app/apps/server/scripts/ apps/server/scripts/ | ||
COPY --from=builder /app/apps/server/package.json apps/server/package.json | ||
COPY --from=builder /app/apps/server/lib/ apps/server/lib/ | ||
|
||
ENTRYPOINT [ "sh", "/app/apps/server/scripts/run/run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
extends: [ | ||
"plugin:react-hooks/recommended", | ||
require.resolve("@your_spotify/dev/.eslintrc.js"), | ||
], | ||
rules: { | ||
"react/react-in-jsx-scope": "off", | ||
}, | ||
}; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "@your_spotify/client", | ||
"version": "1.8.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start", | ||
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject", | ||
"lint": "eslint src/ --ext .tsx,.ts" | ||
}, | ||
"dependencies": { | ||
"@emotion/react": "11.11.4", | ||
"@emotion/styled": "11.11.0", | ||
"@mui/icons-material": "5.15.11", | ||
"@mui/material": "5.15.11", | ||
"@mui/system": "5.15.11", | ||
"@mui/x-date-pickers": "6.19.5", | ||
"@reduxjs/toolkit": "2.2.1", | ||
"axios": "1.6.7", | ||
"clsx": "2.1.0", | ||
"date-fns": "3.3.1", | ||
"react": "^18.2.0", | ||
"react-copy-to-clipboard": "^5.1.0", | ||
"react-dom": "^18.2.0", | ||
"react-infinite-scroll-component": "^6.1.0", | ||
"react-redux": "9.1.0", | ||
"react-router-dom": "6.22.2", | ||
"react-scripts": "^5.0.1", | ||
"recharts": "2.12.1", | ||
"redux": "5.0.1", | ||
"web-vitals": "3.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.11.22", | ||
"@types/react-copy-to-clipboard": "5.0.7", | ||
"@types/react-date-range": "1.4.9", | ||
"@types/react-dom": "18.2.19", | ||
"@your_spotify/dev": "*" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
window.API_ENDPOINT = 'http://localhost:8080'; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Setup API variable | ||
source /app/apps/client/scripts/run/variables.sh | ||
|
||
# Host the static website | ||
source /app/apps/client/scripts/run/serve.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
source /app/apps/client/scripts/run/variables.sh | ||
|
||
cd /app/apps/client && yarn start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.