Skip to content

Commit

Permalink
fix(ci): back to npmjs.com
Browse files Browse the repository at this point in the history
GitHub's npm feeds only allow publishing scoped packages, but UPM
doesn't support those.
  • Loading branch information
Christopher - Marcel Böddecker committed Oct 14, 2019
1 parent a589b4f commit cb21359
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .devops/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resources:
- repository: templates
type: github
name: ExtendRealityLtd/DevOps
ref: refs/tags/v3.11.3
ref: refs/tags/v3.11.6
endpoint: ExtendRealityLtd

variables:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@ Visit the [VRTK.Academy] for a collection of educational content to help you get

* Navigate to the `Packages` directory of your project.
* Adjust the [project manifest file][Project-Manifest] `manifest.json` in a text editor.
* Ensure `https://npm.pkg.github.com/ExtendRealityLtd` is part of `scopedRegistries`.
* Ensure `@extendrealityltd` is part of `scopes`.
* Add `@extendrealityltd/vrtk` to `dependencies`, stating the latest version.
* Ensure `https://registry.npmjs.org/` is part of `scopedRegistries`.
* Ensure `io.extendreality` is part of `scopes`.
* Add `io.extendreality.vrtk` to `dependencies`, stating the latest version.

A minimal example ends up looking like this. Please note that the version `X.Y.Z` stated here is to be replaced with [the latest released version][Latest-Release].
```json
{
"scopedRegistries": [
{
"name": "ExtendRealityLtd",
"url": "https://npm.pkg.github.com/ExtendRealityLtd",
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"@extendrealityltd"
"io.extendreality"
]
}
],
"dependencies": {
"@extendrealityltd/vrtk": "X.Y.Z",
"io.extendreality.vrtk": "X.Y.Z",
...
}
}
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@extendrealityltd/vrtk",
"name": "io.extendreality.vrtk",
"displayName": "VRTK",
"description": "A productive toolkit for rapidly building spatial computing solutions in the Unity software.",
"version": "4.0.0-beta.1",
Expand All @@ -17,15 +17,18 @@
"bugs": {
"url": "https://github.com/ExtendRealityLtd/VRTK/issues"
},
"repository": "github:ExtendRealityLtd/VRTK",
"repository": {
"type": "git",
"url": "ssh://git@github.com/ExtendRealityLtd/VRTK.git"
},
"license": "MIT",
"author": {
"name": "Extend Reality Ltd",
"email": "hello@extendreality.io",
"url": "https://github.com/ExtendRealityLtd"
},
"dependencies": {
"@extendrealityltd/zinnia.unity": "1.0.0"
"io.extendreality.zinnia.unity": "1.0.1"
},
"files": [
"*.md",
Expand Down

0 comments on commit cb21359

Please sign in to comment.