Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrated to Turborepo (Monorepo Structure) #8

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.turbo
node_modules
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
296 changes: 296 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,28 @@
"version": "1.0.0",
"description": "Enketo",
"scripts": {
"start": "npm i && npm run concurrent",
"build": "turbo run build",
"docker-cleanup": "docker rm -f enketo-redis-main enketo-redis-cache",
"enketo-core": "cd packages/enketo-core && npm i && npm start",
"enketo-express": "cd packages/enketo-express && docker run --name enketo-redis-main -p 6379:6379 -d redis && docker run --name enketo-redis-cache -p 6380:6379 -d redis && npm i && npm i -g grunt && grunt develop",
"form-manager": "cd packages/form-manager && npm i && npm start",
"wrapper": "cd apps/wrapper && npm i && npm start",
"concurrent-packages": "concurrently \"npm run enketo-core\" \"npm run enketo-express\" \"npm run form-manager\"",
"concurrent-applications": "concurrently \"npm run wrapper\"",
"concurrent": "npm run docker-cleanup && concurrently \"npm run concurrent-packages\" \"npm run concurrent-applications\"",
"start-redis-cache": "docker run --name enketo-redis-cache -p 6380:6379 -d redis",
"start-redis-main": "docker run --name enketo-redis-main -p 6379:6379 -d redis",
"start-ec": "cd enketo-core && npm start",
"start-ee": "cd enketo-express && grunt develop",
"start-fm": "cd form-manager && npm run start:dev",
"start-web": "cd wrapper && npm start"
},
"workspaces": [
"docs",
"apps/*",
"packages/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ChakshuGautam/enketo.git"
Expand All @@ -22,5 +37,9 @@
"homepage": "https://github.com/ChakshuGautam/enketo#readme",
"dependencies": {
"xmldom": "^0.6.0"
},
"devDependencies": {
"concurrently": "^7.4.0",
"turbo": "^1.5.3"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading