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", |     "name": "dwengo-1-backend", | ||||||
|   "version": "0.0.1", |     "version": "0.0.1", | ||||||
|   "description": "Backend for Dwengo-1", |     "description": "Backend for Dwengo-1", | ||||||
|   "type": "module", |     "private": true, | ||||||
|   "private": true, |     "type": "module", | ||||||
|   "main": "src/app.ts", |     "scripts": { | ||||||
|   "scripts": { |         "build": "tsc --project tsconfig.json", | ||||||
|     "build": "tsc --project tsconfig.json", |         "dev": "tsx watch --env-file=.env.development.local src/app.ts", | ||||||
|     "dev": "tsx watch --env-file=.env.development.local src/app.ts", |         "start": "node --env-file=.env dist/app.js", | ||||||
|     "start": "node --env-file=.env dist/index.js" |         "format": "prettier --write src/", | ||||||
|   }, |         "format-check": "prettier --check src/", | ||||||
|   "repository": { |         "lint": "eslint . --fix", | ||||||
|     "type": "git", |         "test:unit": "vitest --run" | ||||||
|     "url": "git+https://github.com/SELab-2/Dwengo-1.git" |     }, | ||||||
|   }, |     "dependencies": { | ||||||
|   "license": "MIT", |         "@mikro-orm/core": "^6.4.6", | ||||||
|   "bugs": { |         "@mikro-orm/postgresql": "^6.4.6", | ||||||
|     "url": "https://github.com/SELab-2/Dwengo-1/issues" |         "@mikro-orm/reflection": "^6.4.6", | ||||||
|   }, |         "dotenv": "^16.4.7", | ||||||
|   "homepage": "https://sel2-1.ugent.be/", |         "express": "^5.0.1" | ||||||
|   "dependencies": { |     }, | ||||||
|     "@mikro-orm/core": "^6.4.6", |     "devDependencies": { | ||||||
|     "@mikro-orm/reflection": "^6.4.6", |         "@mikro-orm/cli": "^6.4.6", | ||||||
|     "@mikro-orm/postgresql": "^6.4.6", |         "@types/express": "^5.0.0", | ||||||
|     "dotenv": "^16.4.7", |         "@types/node": "^22.13.4", | ||||||
|     "express": "^5.0.1" |         "globals": "^15.15.0", | ||||||
|   }, |         "ts-node": "^10.9.2", | ||||||
|   "devDependencies": { |         "tsx": "^4.19.3", | ||||||
|     "@mikro-orm/cli": "^6.4.6", |         "typescript": "^5.7.3", | ||||||
|     "@types/express": "^5.0.0", |         "vitest": "^3.0.6" | ||||||
|     "@types/node": "^22.13.4", |     } | ||||||
|     "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", |     "name": "dwengo-1-frontend", | ||||||
|   "version": "0.0.1", |     "version": "0.0.1", | ||||||
|   "private": true, |     "description": "Frontend for Dwengo-1", | ||||||
|   "type": "module", |     "private": true, | ||||||
|   "scripts": { |     "type": "module", | ||||||
|     "build": "vite build", |     "scripts": { | ||||||
|     "dev": "vite", |         "build": "vite build", | ||||||
|     "test:unit": "vitest", |         "dev": "vite", | ||||||
|     "test:e2e": "playwright test", |         "preview": "vite preview", | ||||||
|     "type-check": "vue-tsc --build", |         "type-check": "vue-tsc --build", | ||||||
|     "lint": "eslint . --fix", |         "format": "prettier --write src/", | ||||||
|     "format": "prettier --write src/" |         "format-check": "prettier --check src/", | ||||||
|   }, |         "lint": "eslint . --fix", | ||||||
|   "dependencies": { |         "test:unit": "vitest --run", | ||||||
|     "vue": "^3.5.13", |         "test:e2e": "playwright test" | ||||||
|     "vue-router": "^4.5.0", |     }, | ||||||
|     "vuetify": "^3.7.12" |     "dependencies": { | ||||||
|   }, |         "vue": "^3.5.13", | ||||||
|   "devDependencies": { |         "vue-router": "^4.5.0", | ||||||
|     "@playwright/test": "^1.50.1", |         "vuetify": "^3.7.12" | ||||||
|     "@tsconfig/node22": "^22.0.0", |     }, | ||||||
|     "@types/jsdom": "^21.1.7", |     "devDependencies": { | ||||||
|     "@types/node": "^22.13.4", |         "@playwright/test": "^1.50.1", | ||||||
|     "@vitejs/plugin-vue": "^5.2.1", |         "@tsconfig/node22": "^22.0.0", | ||||||
|     "@vitest/eslint-plugin": "1.1.31", |         "@types/jsdom": "^21.1.7", | ||||||
|     "@vue/eslint-config-prettier": "^10.2.0", |         "@types/node": "^22.13.4", | ||||||
|     "@vue/eslint-config-typescript": "^14.4.0", |         "@vitejs/plugin-vue": "^5.2.1", | ||||||
|     "@vue/test-utils": "^2.4.6", |         "@vitest/eslint-plugin": "1.1.31", | ||||||
|     "@vue/tsconfig": "^0.7.0", |         "@vue/eslint-config-prettier": "^10.2.0", | ||||||
|     "eslint": "^9.20.1", |         "@vue/eslint-config-typescript": "^14.4.0", | ||||||
|     "eslint-plugin-playwright": "^2.2.0", |         "@vue/test-utils": "^2.4.6", | ||||||
|     "eslint-plugin-vue": "^9.32.0", |         "@vue/tsconfig": "^0.7.0", | ||||||
|     "jiti": "^2.4.2", |         "eslint": "^9.20.1", | ||||||
|     "jsdom": "^26.0.0", |         "eslint-plugin-playwright": "^2.2.0", | ||||||
|     "npm-run-all2": "^7.0.2", |         "eslint-plugin-vue": "^9.32.0", | ||||||
|     "prettier": "^3.5.1", |         "jsdom": "^26.0.0", | ||||||
|     "typescript": "~5.7.3", |         "npm-run-all2": "^7.0.2", | ||||||
|     "vite": "^6.1.0", |         "typescript": "~5.7.3", | ||||||
|     "vite-plugin-vue-devtools": "^7.7.2", |         "vite": "^6.1.0", | ||||||
|     "vitest": "^3.0.5", |         "vite-plugin-vue-devtools": "^7.7.2", | ||||||
|     "vue-tsc": "^2.2.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