create-unity-package
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

semantic-release: angular

Create Unity Package

This tool automates the process of creating a Unity Package compatible with Package Manager. Complete the form and the tool will create the new unity project, folders, and Assembly for you.

Open Source Midi Player - Unity HGS ToneERE

Installation

Just type npx create-unity-package, npm auto install all dependencies for you.

Template structure

Assets/
├── Package -------------------------- Package content
│   ├── Editor ----------------------- Editor only
│   ├── Tests ------------------------ Editor only + Unit Tests
│   └── Runtime ---------------------- MultiPlatform assets, 
│       └── Samples ------------------ Samples is renamed to ~Samples in CI
│           ├── SampleA
│           └── SampleB
├── Scripts -------------------------- Stagging files
├── Sprites -------------------------- Stagging files
└── Models --------------------------- Stagging files

CI

When CI is enabled, Package folder inside Assets will be deployed to branch upm.

You can install deployed package in Unity Package Manager using:

https://github.com/USER_NAME/REPO.git#upm

Change USER_NAME and REPO to you git

Generated project uses semantic-release to auto create tags, releases and change log, therefore, you also can specifiy version code:

https://github.com/USER_NAME/REPO.git#VERSION

Change VERSION to 1.0.0 or other release from you repo.

See semantic-release for more details.

GITHUB_TOKEN

CI's needs GitHub token to create releases and tags in your name.

Go to Personal Tokens https://github.com/settings/tokens and create new Classic Token with this permissions:

Token permissions

Before, paste token content in github secrets with name GITHUB_TOKEN

Projects using this

Readme

Keywords

none

Package Sidebar

Install

npm i create-unity-package

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

1.31 MB

Total Files

38

Last publish

Collaborators

  • matheusmoura17