chore: Initialiseer monorepo
Configureer package.json met overerving en eenvoudige commandos
This commit is contained in:
		
							parent
							
								
									592cf1acfd
								
							
						
					
					
						commit
						9b52b43f65
					
				
					 5 changed files with 16266 additions and 6898 deletions
				
			
		|  | @ -1,38 +1,33 @@ | |||
| { | ||||
|   "name": "dwengo-1-backend", | ||||
|   "version": "0.0.1", | ||||
|   "description": "Backend for Dwengo-1", | ||||
|   "type": "module", | ||||
|   "private": true, | ||||
|   "main": "src/app.ts", | ||||
|   "scripts": { | ||||
|     "build": "tsc --project tsconfig.json", | ||||
|     "dev": "tsx watch --env-file=.env.development.local src/app.ts", | ||||
|     "start": "node --env-file=.env dist/index.js" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "git+https://github.com/SELab-2/Dwengo-1.git" | ||||
|   }, | ||||
|   "license": "MIT", | ||||
|   "bugs": { | ||||
|     "url": "https://github.com/SELab-2/Dwengo-1/issues" | ||||
|   }, | ||||
|   "homepage": "https://sel2-1.ugent.be/", | ||||
|   "dependencies": { | ||||
|     "@mikro-orm/core": "^6.4.6", | ||||
|     "@mikro-orm/reflection": "^6.4.6", | ||||
|     "@mikro-orm/postgresql": "^6.4.6", | ||||
|     "dotenv": "^16.4.7", | ||||
|     "express": "^5.0.1" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@mikro-orm/cli": "^6.4.6", | ||||
|     "@types/express": "^5.0.0", | ||||
|     "@types/node": "^22.13.4", | ||||
|     "ts-node": "^10.9.2", | ||||
|     "tsx": "^4.19.3", | ||||
|     "typescript": "^5.7.3", | ||||
|     "vitest": "^3.0.6" | ||||
|   } | ||||
|     "name": "dwengo-1-backend", | ||||
|     "version": "0.0.1", | ||||
|     "description": "Backend for Dwengo-1", | ||||
|     "private": true, | ||||
|     "type": "module", | ||||
|     "scripts": { | ||||
|         "build": "tsc --project tsconfig.json", | ||||
|         "dev": "tsx watch --env-file=.env.development.local src/app.ts", | ||||
|         "start": "node --env-file=.env dist/app.js", | ||||
|         "format": "prettier --write src/", | ||||
|         "format-check": "prettier --check src/", | ||||
|         "lint": "eslint . --fix", | ||||
|         "test:unit": "vitest --run" | ||||
|     }, | ||||
|     "dependencies": { | ||||
|         "@mikro-orm/core": "^6.4.6", | ||||
|         "@mikro-orm/postgresql": "^6.4.6", | ||||
|         "@mikro-orm/reflection": "^6.4.6", | ||||
|         "dotenv": "^16.4.7", | ||||
|         "express": "^5.0.1" | ||||
|     }, | ||||
|     "devDependencies": { | ||||
|         "@mikro-orm/cli": "^6.4.6", | ||||
|         "@types/express": "^5.0.0", | ||||
|         "@types/node": "^22.13.4", | ||||
|         "globals": "^15.15.0", | ||||
|         "ts-node": "^10.9.2", | ||||
|         "tsx": "^4.19.3", | ||||
|         "typescript": "^5.7.3", | ||||
|         "vitest": "^3.0.6" | ||||
|     } | ||||
| } | ||||
|  |  | |||
							
								
								
									
										13640
									
								
								frontend/package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										13640
									
								
								frontend/package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -1,44 +1,45 @@ | |||
| { | ||||
|   "name": "dwengo-1-frontend", | ||||
|   "version": "0.0.1", | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "scripts": { | ||||
|     "build": "vite build", | ||||
|     "dev": "vite", | ||||
|     "test:unit": "vitest", | ||||
|     "test:e2e": "playwright test", | ||||
|     "type-check": "vue-tsc --build", | ||||
|     "lint": "eslint . --fix", | ||||
|     "format": "prettier --write src/" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "vue": "^3.5.13", | ||||
|     "vue-router": "^4.5.0", | ||||
|     "vuetify": "^3.7.12" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@playwright/test": "^1.50.1", | ||||
|     "@tsconfig/node22": "^22.0.0", | ||||
|     "@types/jsdom": "^21.1.7", | ||||
|     "@types/node": "^22.13.4", | ||||
|     "@vitejs/plugin-vue": "^5.2.1", | ||||
|     "@vitest/eslint-plugin": "1.1.31", | ||||
|     "@vue/eslint-config-prettier": "^10.2.0", | ||||
|     "@vue/eslint-config-typescript": "^14.4.0", | ||||
|     "@vue/test-utils": "^2.4.6", | ||||
|     "@vue/tsconfig": "^0.7.0", | ||||
|     "eslint": "^9.20.1", | ||||
|     "eslint-plugin-playwright": "^2.2.0", | ||||
|     "eslint-plugin-vue": "^9.32.0", | ||||
|     "jiti": "^2.4.2", | ||||
|     "jsdom": "^26.0.0", | ||||
|     "npm-run-all2": "^7.0.2", | ||||
|     "prettier": "^3.5.1", | ||||
|     "typescript": "~5.7.3", | ||||
|     "vite": "^6.1.0", | ||||
|     "vite-plugin-vue-devtools": "^7.7.2", | ||||
|     "vitest": "^3.0.5", | ||||
|     "vue-tsc": "^2.2.2" | ||||
|   } | ||||
|     "name": "dwengo-1-frontend", | ||||
|     "version": "0.0.1", | ||||
|     "description": "Frontend for Dwengo-1", | ||||
|     "private": true, | ||||
|     "type": "module", | ||||
|     "scripts": { | ||||
|         "build": "vite build", | ||||
|         "dev": "vite", | ||||
|         "preview": "vite preview", | ||||
|         "type-check": "vue-tsc --build", | ||||
|         "format": "prettier --write src/", | ||||
|         "format-check": "prettier --check src/", | ||||
|         "lint": "eslint . --fix", | ||||
|         "test:unit": "vitest --run", | ||||
|         "test:e2e": "playwright test" | ||||
|     }, | ||||
|     "dependencies": { | ||||
|         "vue": "^3.5.13", | ||||
|         "vue-router": "^4.5.0", | ||||
|         "vuetify": "^3.7.12" | ||||
|     }, | ||||
|     "devDependencies": { | ||||
|         "@playwright/test": "^1.50.1", | ||||
|         "@tsconfig/node22": "^22.0.0", | ||||
|         "@types/jsdom": "^21.1.7", | ||||
|         "@types/node": "^22.13.4", | ||||
|         "@vitejs/plugin-vue": "^5.2.1", | ||||
|         "@vitest/eslint-plugin": "1.1.31", | ||||
|         "@vue/eslint-config-prettier": "^10.2.0", | ||||
|         "@vue/eslint-config-typescript": "^14.4.0", | ||||
|         "@vue/test-utils": "^2.4.6", | ||||
|         "@vue/tsconfig": "^0.7.0", | ||||
|         "eslint": "^9.20.1", | ||||
|         "eslint-plugin-playwright": "^2.2.0", | ||||
|         "eslint-plugin-vue": "^9.32.0", | ||||
|         "jsdom": "^26.0.0", | ||||
|         "npm-run-all2": "^7.0.2", | ||||
|         "typescript": "~5.7.3", | ||||
|         "vite": "^6.1.0", | ||||
|         "vite-plugin-vue-devtools": "^7.7.2", | ||||
|         "vitest": "^3.0.5", | ||||
|         "vue-tsc": "^2.2.2" | ||||
|     } | ||||
| } | ||||
|  |  | |||
							
								
								
									
										9334
									
								
								package-lock.json
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										9334
									
								
								package-lock.json
									
										
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
							
								
								
									
										38
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,38 @@ | |||
| { | ||||
|     "name": "dwengo-1-monorepo", | ||||
|     "version": "0.0.1", | ||||
|     "description": "Monorepo for Dwengo-1", | ||||
|     "private": true, | ||||
|     "type": "module", | ||||
|     "scripts": { | ||||
|         "build": "npm run build --ws", | ||||
|         "format": "npm run format --ws", | ||||
|         "format-check": "npm run format-check --ws", | ||||
|         "lint": "npm run lint --ws", | ||||
|         "test:unit": "npm run test:unit --ws" | ||||
|     }, | ||||
|     "workspaces": [ | ||||
|         "backend", | ||||
|         "frontend" | ||||
|     ], | ||||
|     "repository": { | ||||
|         "type": "git", | ||||
|         "url": "git+https://github.com/SELab-2/Dwengo-1.git" | ||||
|     }, | ||||
|     "license": "MIT", | ||||
|     "bugs": { | ||||
|         "url": "https://github.com/SELab-2/Dwengo-1/issues" | ||||
|     }, | ||||
|     "homepage": "https://sel2-1.ugent.be/", | ||||
|     "devDependencies": { | ||||
|         "@eslint/compat": "^1.2.6", | ||||
|         "@eslint/js": "^9.20.0", | ||||
|         "@types/eslint-config-prettier": "^6.11.3", | ||||
|         "@typescript-eslint/eslint-plugin": "^8.24.1", | ||||
|         "@typescript-eslint/parser": "^8.24.1", | ||||
|         "eslint": "^9.20.1", | ||||
|         "eslint-config-prettier": "^10.0.1", | ||||
|         "jiti": "^2.4.2", | ||||
|         "typescript-eslint": "^8.24.1" | ||||
|     } | ||||
| } | ||||
		Reference in a new issue