Skip to content

Commit

Permalink
Add Package
Browse files Browse the repository at this point in the history
  • Loading branch information
botaohu committed Nov 25, 2023
1 parent bc4e3e3 commit 8479e22
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: UPM on npsjs.com
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish
working-directory: .
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "com.community.netcode.transport.multipeer-connectivity",
"name": "com.holoi.netcode.transport.multipeer-connectivity",
"displayName": "Multipeer Connectivity for Netcode for GameObjects",
"version": "0.0.1",
"unity": "2021.3",
"version": "1.0.1",
"unity": "2022.3",
"description": "This package implemented the transport layer of Netcode for GameObjects with Apple Multipeer Connectivity, which can enable peer-to-peer communication between nearby devices.\n\nBy using Multipeer Connectivity, nearby devices can connect to each other when there is no WiFi or cellular network. Multipeer Connectivity is the technology behind AirDrop, which means it can transfer large file between devices very fast.\n\nPlease reference Apple's official document for detailed information: https://developer.apple.com/documentation/multipeerconnectivity.",
"author": "Holo Interactive"
}
"author": "Holo Interactive",
"dependencies": {
"com.unity.netcode.gameobjects": "1.7.1"
}
}

0 comments on commit 8479e22

Please sign in to comment.