EloiStree / HelloUnityPackage

Exporation of how we can use Git and UnityPackage to create toolbox
https://eloistree.page.link/toolbox
Other
0 stars 1 forks source link

Question: what is the full format of package.json? #7

Open EloiStree opened 4 years ago

EloiStree commented 4 years ago

https://docs.unity3d.com/Packages/com.unity.package-manager-ui@1.8/manual/index.html?_ga=2.241698434.1064320143.1589955333-2089392457.1586257174 Info

EloiStree commented 4 years ago

Classic

 "description": "DESCRIPTION",
  "displayName": "NAMETODISPLAY",
  "keywords": [    "fbx",    "animation",    "modeling",    "maya",    "max"  ],
  "name": "com.autodesk.fbx",
  "unity": "2018.2",
  "unityRelease": "0a12", // very rarely used
  "version": "3.0.1-preview.1",
 "category": "cinematography",

Caterory

Can we put ours or is it link to unity enum table ? "Libraries" - "cinematography" - "Text Rendering"- "Unity Test Framework",

Repository

  "repository": {
    "footprint": "e66202d4c6187ece88310a61e0f744be1ee340b2",
    "type": "git",
    "url": "https://github.com/Unity-Technologies/com.autodesk.fbx.git",
    "revision": "acf0666333735d1d1262aa3b82c119537e5ff753"
  }
"repository": {
    "type": "git",
    "url": "git@github.com:Unity-Technologies/upm-package-cinemachine.git",
    "revision": "286219abad772c9ce300105b37cb3d9a5bc799d3"
  },

Dependencies

None
"dependencies": {},

"dependencies": {
    "com.unity.test-framework": "1.1.1"
  },
  "relatedPackages": {
    "com.unity.ide.rider.tests": "1.2.1"
  },

Samples

upmCi ?

"upmCi": { "footprint": "fd08d5f536aa8058a4748c3c23ac7912d0f8e5e0" }

.sample.json

{
  "displayName": "Cinemachine Example Scenes",
  "interactiveImport": "false",
  "description": "Samples showing various configurations of Cinemachine"
}
{
    "displayName":"Example XR Management implementation",
    "description": "Example code showing how to implement various portions of the XR Management API.",
    "createSeparatePackage": true
}

https://docs.unity3d.com/2020.1/Documentation/ScriptReference/PackageManager.UI.Sample-interactiveImport.html

image

{
  "displayName":"Recorder Editor Sample",
  "description": "This example shows how to add \"Start Recording\" and \"Stop Recording\" menu items .",
  "createSeparatePackage": false
}
EloiStree commented 4 years ago

manifest.json

{
  "dependencies": {
    "be.eloistree.quickgitutility": "https://gitlab.com/eloistree/2019_07_21_QuickGitUtility.git#InDevelopment",
    "be.eloistree.unitypackagefacilitator": "https://gitlab.com/eloistree/2019_07_21_UnityPackageFacilitator.git#InDevelopment",
   ...
  },
  "lock": {
    "be.eloistree.quickgitutility": {
      "revision": "InDevelopment",
      "hash": "3bb0f671489ac1b8b33da1886ecaadfc41cf1fce"
    },
    "be.eloistree.unitypackagefacilitator": {
      "revision": "InDevelopment",
      "hash": "5db15739f2a546cbd40ecbaf879525dc2bfdde76"
    }
  }
}