소스 검색

add nodemon package and .gitignore

mehmet.kirkoca 2 년 전
부모
커밋
5224004795
3개의 변경된 파일74개의 추가작업 그리고 3개의 파일을 삭제
  1. 70 0
      .gitignore
  2. 2 1
      services/gateway/package.json
  3. 2 2
      services/twitter/package.json

+ 70 - 0
.gitignore

@@ -0,0 +1,70 @@
+# Logs
+logs
+*.log
+
+# Node.js related
+node_modules/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Dependency directories
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Dependency testing
+lib-cov
+
+# Compiled binary addons
+*.o
+*.lo
+*.la
+*.al
+
+# Output of `npm build`
+build/
+
+# Output of `node-gyp`
+build/Release
+
+# .lock-wscript
+.lock-wscript
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variables file
+.env
+
+# npm package lock
+package-lock.json
+
+# macOS files
+.DS_Store
+
+# Windows thumbnail cache files
+Thumbs.db
+
+# Editor-specific files
+.vscode/
+.idea/
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+# Sublime Text specific files
+*.sublime-workspace
+*.sublime-project
+
+# WebStorm workspace
+.idea/workspace.xml
+
+# JetBrains IDEs (PyCharm, PhpStorm, RubyMine, etc)
+.idea/
+
+# Test coverage directory used by tools like istanbul
+coverage/

+ 2 - 1
services/gateway/package.json

@@ -8,7 +8,8 @@
     },
     "dependencies": {
         "amqplib": "^0.10.3",
-        "fastify": "^3.22.0"
+        "fastify": "^3.22.0",
+        "nodemon": "^3.0.1"
     },
     "engines": {
         "node": ">=12.0.0"

+ 2 - 2
services/twitter/package.json

@@ -7,10 +7,10 @@
         "start": "nodemon index.js"
     },
     "dependencies": {
-        "amqplib": "^0.10.3"
+        "amqplib": "^0.10.3",
+        "nodemon": "^3.0.1"
     },
     "engines": {
         "node": ">=12.0.0"
     }
 }
-