Skip to content

Commit

Permalink
feat: upgrade dependencies (#47)
Browse files Browse the repository at this point in the history
* feat: upgrade yarn

* feat: upgrade all deps

* fix: yarn cmd
  • Loading branch information
kenrick95 committed Nov 5, 2023
1 parent a99e9a2 commit a15f643
Show file tree
Hide file tree
Showing 12 changed files with 2,423 additions and 2,589 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Tests
run: yarn workspaces foreach --verbose run test
run: yarn workspaces foreach --all --verbose run test
- name: Run Builds
run: yarn workspaces foreach --verbose --topological run build
run: yarn workspaces foreach --all --verbose --topological run build
550 changes: 0 additions & 550 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.5.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.5.0.cjs
yarnPath: .yarn/releases/yarn-4.0.1.cjs
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY server/package.json ./server/

RUN yarn install --frozen-lockfile
COPY . .
RUN yarn workspaces foreach --verbose --topological run build
RUN yarn workspaces foreach --all --verbose --topological run build

EXPOSE ${PORT}
CMD [ "node", "./server/dist/index.js"]
6 changes: 3 additions & 3 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@kenrick95/c4": "workspace:^"
},
"devDependencies": {
"prettier": "^2.8.7",
"typescript": "~4.8.4",
"vite": "^4.3.1"
"prettier": "^3.0.3",
"typescript": "~5.2.2",
"vite": "^4.5.0"
}
}
10 changes: 5 additions & 5 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
"test": "vitest --watch=false"
},
"devDependencies": {
"prettier": "^2.8.7",
"typescript": "~4.8.4",
"vite": "^4.3.1",
"prettier": "^3.0.3",
"typescript": "~5.2.2",
"vite": "^4.5.0",
"vite-dts": "^1.0.4",
"vite-plugin-dts": "^2.3.0",
"vitest": "^0.30.1"
"vite-plugin-dts": "^3.6.3",
"vitest": "^0.34.6"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"engines": {
"node": "18.x",
"yarn": "3.x"
"yarn": "4.x"
},
"packageManager": "yarn@3.5.0",
"packageManager": "yarn@4.0.1",
"homepage": "https://github.com/kenrick95/c4",
"license": "MIT",
"keywords": [
Expand All @@ -42,6 +42,6 @@
"dev-server": "yarn workspace @kenrick95/c4-server dev"
},
"devDependencies": {
"concurrently": "^8.0.1"
"concurrently": "^8.2.2"
}
}
18 changes: 9 additions & 9 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@
"test": "echo 'OK'"
},
"devDependencies": {
"@types/node": "^18.15.13",
"@types/uuid": "^9.0.1",
"@types/ws": "^8.5.4",
"prettier": "^2.8.7",
"typescript": "~4.8.4",
"vite": "^4.3.1",
"vite-node": "0.30.1"
"@types/node": "^20.8.10",
"@types/uuid": "^9.0.6",
"@types/ws": "^8.5.8",
"prettier": "^3.0.3",
"typescript": "~5.2.2",
"vite": "^4.5.0",
"vite-node": "0.34.6"
},
"dependencies": {
"@kenrick95/c4": "workspace:^",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2",
"uuid": "^9.0.0",
"ws": "^8.13.0"
"uuid": "^9.0.1",
"ws": "^8.14.2"
}
}
Loading

0 comments on commit a15f643

Please sign in to comment.