Skip to content

Commit

Permalink
Remove yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd committed Dec 18, 2021
1 parent 0fd5843 commit 290472b
Show file tree
Hide file tree
Showing 9 changed files with 4,847 additions and 1,850 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deployAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
with:
node-version: '14'
cache: 'yarn'
cache-dependency-path: ./server/yarn.lock

- name: Install dependencies
run: yarn
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deployClient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
node-version: '14'
cache: 'yarn'
cache-dependency-path: ./client/yarn.lock

- name: Install dependencies
run: yarn
Expand Down
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"test": "jest"
},
"dependencies": {
"cross-env": "5.0.5",
"server": "1.0.0",
"@apollo/client": "^3.4.8",
"@testing-library/react": "^12.1.2",
"apollo-upload-client": "^16.0.0",
Expand Down
1,888 changes: 47 additions & 1,841 deletions yarn.lock → client/yarn.lock

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions package.json

This file was deleted.

2 changes: 2 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM node:14
# Create app directory
WORKDIR /usr/src/app

# Ensure package.json AND yarn-lock.json are copied
COPY package.json ./
COPY yarn.lock ./

# Install dependencies on first build/when dependencies
# change
Expand Down
2 changes: 0 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"gen-env": "npx gen-env-types .env -o src/env.d.ts -e ."
},
"devDependencies": {
"cross-env": "5.0.5",
"@types/connect-redis": "^0.0.17",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/faker": "^5.5.8",
Expand Down
4,796 changes: 4,796 additions & 0 deletions server/yarn.lock

Large diffs are not rendered by default.

0 comments on commit 290472b

Please sign in to comment.