[Unity]/[Unity]

package-lock.json

극꼼 2022. 11. 1. 23:08
반응형


유니티 버전을 업데이트하거나 할 때 생기는 package-lock.json 파일이 무엇인지 알아보았습니다. 

뭔가 싶어서 제거하고 커밋에 포함시키지 않았었는데, package-lock.json 은 프로젝트에 설치된 노드 모듈들의 의존성 트리를 기록하고 있기 때문에 커밋에 꼭 포함시켜 주어야 합니다. 

 

"com.unity.services.core": {
  "version": "1.4.2",
  "version": "1.4.3",
  "depth": 1,
  "source": "registry",
  "dependencies": {
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.nuget.newtonsoft-json": "3.0.2",
    "com.unity.modules.androidjni": "1.0.0"
  },
  "url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
  "version": "12.1.7",
  "depth": 1,
  "source": "builtin",
  "dependencies": {
    "com.unity.render-pipelines.core": "12.1.7",
    "com.unity.searcher": "4.9.1"
  }
},
반응형