Skip to content

Commit

Permalink
Sorted out Node/pnpm versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kvlinden committed Jul 24, 2024
1 parent 0b29250 commit 4457b84
Show file tree
Hide file tree
Showing 5 changed files with 8,747 additions and 7,086 deletions.
2 changes: 1 addition & 1 deletion .vscode/course-schedulizer.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"cSpell.dictionaries": ["en_US", "typescript", "node", "html", "css", "npm"],
"cSpell.enableFiletypes": ["html", "js", "json", "jsx", "markdown", "md", "scss", "ts", "tsx"],
"cSpell.words": ["Pruim", "Schedulizer", "VanderLinden"],
"cSpell.words": ["Corepack", "Pruim", "Schedulizer", "VanderLinden"],
"cSpell.blockCheckingWhenTextChunkSizeGreaterThan": 1500 // Allow checking of files with long base64 strings.
},
"extensions": {
Expand Down
1 change: 1 addition & 0 deletions client-course-schedulizer/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use-node-version=20.15.1
5 changes: 5 additions & 0 deletions client-course-schedulizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ The Course Schedulizer is a single-page application that allows users to view an
1. `git checkout` the branch you want to work on (e.g., your dedicated feature branch).
1. `cd client-course-schedulizer` to move into the monorepo’s client application sub-directory.
1. `pnpm install` to install the required NodeJS packages as specified in `package.json`.
- Use the version of NodeJS specified in `.nvmrc`. You can install it manually
using [nvm](https://github.com/nvm-sh/nvm), or let pnpm
[do it automatically](https://pnpm.io/npmrc#use-node-version).
- Use the version of pnpm specified in `package.json`. You can [install it manually](https://pnpm.io/installation), or, if enabled,
[Corepack](https://nodejs.org/api/corepack.html) will do it automatically.
1. `pnpm start` to run the website on [localhost:3000](http://localhost:3000).

Edits you make to the code will automatically update the website in your browser.
Expand Down
159 changes: 78 additions & 81 deletions client-course-schedulizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
"homepage": ".",
"scripts": {
"build": "react-scripts build",
"predeploy": "npm run build",
"predeploy": "pnpm run build",
"deploy": "gh-pages -d build",
"eject": "react-scripts eject",
"start": "react-scripts start",
"test": "react-scripts test"
},
"packageManager": "[email protected]",
"engines": {
"node": "20"
},
"packageManager": "[email protected]",
"husky": {
"hooks": {}
},
Expand All @@ -37,86 +34,86 @@
"extends": "react-app"
},
"dependencies": {
"@fullcalendar/core": "^6.1.11",
"@fullcalendar/daygrid": "^6.1.11",
"@fullcalendar/interaction": "^6.1.11",
"@fullcalendar/moment": "^6.1.11",
"@fullcalendar/react": "^6.1.11",
"@fullcalendar/resource": "^6.1.11",
"@fullcalendar/resource-timeline": "^6.1.11",
"@fullcalendar/timegrid": "^6.1.11",
"@harmoniously/react": "^0.2.4",
"@hookform/resolvers": "^1.0.0",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@mui/icons-material": "^5.15.14",
"@fullcalendar/core": "6.1.11",
"@fullcalendar/daygrid": "6.1.11",
"@fullcalendar/interaction": "6.1.11",
"@fullcalendar/moment": "6.1.11",
"@fullcalendar/react": "6.1.11",
"@fullcalendar/resource": "6.1.11",
"@fullcalendar/resource-timeline": "6.1.11",
"@fullcalendar/timegrid": "6.1.11",
"@harmoniously/react": "0.2.4",
"@hookform/resolvers": "1.0.0",
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/lab": "4.0.0-alpha.61",
"@mui/icons-material": "5.15.14",
"@mui/lab": "5.0.0-alpha.169",
"@mui/material": "^5.15.14",
"@mui/styled-engine": "^5.15.14",
"@mui/styles": "^5.15.14",
"@mui/material": "5.15.14",
"@mui/styled-engine": "5.15.14",
"@mui/styles": "5.15.14",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/testing-library__react": "^10.2.0",
"fs": "^0.0.1-security",
"immer": "^9.0.6",
"isomorphic-fetch": "^3.0.0",
"js-file-download": "^0.4.12",
"lodash": "^4.17.21",
"material-ui-image": "^3.3.1",
"material-ui-popup-state": "^1.7.0",
"moment": "^2.30.1",
"moment-range": "^4.0.2",
"object-hash": "^3.0.0",
"papaparse": "^5.4.1",
"path": "^0.12.7",
"randomcolor": "^0.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^6.9.6",
"react-router-dom": "^5.2.0",
"react-spring": "^8.0.27",
"react-stick": "^4.1.1",
"react-stickynode": "^3.0.4",
"react-table": "^7.8.0",
"react-visibility-sensor": "^5.1.1",
"@testing-library/react": "14.2.1",
"@testing-library/user-event": "14.5.2",
"@types/testing-library__react": "10.2.0",
"fs": "0.0.1-security",
"immer": "9.0.6",
"isomorphic-fetch": "3.0.0",
"js-file-download": "0.4.12",
"lodash": "4.17.21",
"material-ui-image": "3.3.1",
"material-ui-popup-state": "1.7.0",
"moment": "2.30.1",
"moment-range": "4.0.2",
"object-hash": "3.0.0",
"papaparse": "5.4.1",
"path": "0.12.7",
"randomcolor": "0.6.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "6.9.6",
"react-router-dom": "5.2.0",
"react-spring": "8.0.27",
"react-stick": "4.1.1",
"react-stickynode": "3.0.4",
"react-table": "7.8.0",
"react-visibility-sensor": "5.1.1",
"runtypes": "5.0.1",
"sass": "^1.71.1",
"xlsx": "^0.18.5",
"yup": "^1.3.3",
"zustand": "^3.4.1"
"sass": "1.71.1",
"xlsx": "0.18.5",
"yup": "1.3.3",
"zustand": "3.4.1"
},
"devDependencies": {
"@types/isomorphic-fetch": "^0.0.39",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.165",
"@types/node": "^12.12.62",
"@types/object-hash": "^1.3.4",
"@types/papaparse": "^5.2.4",
"@types/randomcolor": "^0.5.5",
"@types/react": "^17.0.0",
"@types/react-dom": "^18.2.19",
"@types/react-router-dom": "^5.1.6",
"@types/react-stickynode": "^3.0.1",
"@types/react-table": "^7.7.0",
"@types/yup": "^0.29.9",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"eslint": "^7.0.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-sort-keys-fix": "^1.1.1",
"eslint-plugin-typescript-sort-keys": "^1.5.0",
"gh-pages": "^3.1.0",
"husky": "^4.3.8",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"react-scripts": "^5.0.1",
"typescript": "^3.7.5"
"@types/isomorphic-fetch": "0.0.39",
"@types/jest": "24.9.1",
"@types/lodash": "4.14.165",
"@types/node": "12.12.62",
"@types/object-hash": "1.3.4",
"@types/papaparse": "5.2.4",
"@types/randomcolor": "0.5.5",
"@types/react": "17.0.0",
"@types/react-dom": "18.2.19",
"@types/react-router-dom": "5.1.6",
"@types/react-stickynode": "3.0.1",
"@types/react-table": "7.7.0",
"@types/yup": "0.29.9",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "4.0.0",
"eslint": "7.0.0",
"eslint-config-airbnb": "18.2.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-react": "7.21.3",
"eslint-plugin-react-hooks": "2.3.0",
"eslint-plugin-sort-keys-fix": "1.1.1",
"eslint-plugin-typescript-sort-keys": "1.5.0",
"gh-pages": "3.1.0",
"husky": "4.3.8",
"lint-staged": "10.4.0",
"prettier": "2.1.2",
"react-scripts": "5.0.1",
"typescript": "3.7.5"
}
}
Loading

0 comments on commit 4457b84

Please sign in to comment.