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

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

Open
EloiStree opened this issue May 20, 2020 · 2 comments
Open

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

EloiStree opened this issue May 20, 2020 · 2 comments

Comments

@EloiStree
Copy link
Owner

EloiStree commented May 20, 2020

@EloiStree
Copy link
Owner Author

EloiStree commented May 20, 2020

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

 "samples": [
    {
      "displayName": "Cinemachine Example Scenes",
      "description": "Sample scenes illustrating various ways to use Cinemachine",
      "path": "Samples~/Cinemachine Example Scenes"
    }
  ]

Apparently ~ is use to hide folder in unity package manager

Author

"author": {
    "name": "##AUTHORNAME##",
    "email": "##AUTHORMAIL##",
    "url": "##AUTHORURL##"
  } 

Repository

 "repository": {
    "type": "git",
    "url": "https://github.cds.internal.unity3d.com/unity/xr.sdk.oculus.git",
    "revision": "8ae255c850095578305b585fb83c73b95ec644d5"
  },

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
Copy link
Owner Author

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"
    }
  }
}

@EloiStree EloiStree changed the title Question: what are the full format of package.json possibility ? Question: what is the full format of package.json? May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant