Skip to content

Commit

Permalink
Switch to yarn + start MusicBrainz stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
RubberDuckShobe committed May 30, 2023
1 parent 0868a33 commit e586d4e
Show file tree
Hide file tree
Showing 9 changed files with 3,120 additions and 5,474 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public/dist/
cert.pem
key.pem
*.js
.yarn

# Database stuff
*.db
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ WORKDIR /usr/src/wavebreaker
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
COPY yarn.lock ./
COPY .yarnrc.yml ./
COPY prisma ./prisma/

RUN npm install
RUN yarn install
# If you are building your code for production
# RUN npm ci --omit=dev
RUN npm build
Expand Down
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import fs from "fs";
import path from "path";
import WavebreakerConfig from "./config/wavebreaker_config.json";
import { Prisma } from "@prisma/client";
import { mbSongSearch } from "./util/musicbrainz";

globalThis.__basedir = __dirname; //Set global variable for the base directory

Expand Down
Loading

0 comments on commit e586d4e

Please sign in to comment.