BSD 3-Clause "New" or "Revised" License

项目介绍

openupm/openupm-cli 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前获得 305 个 Star、22 次 Fork。

仓库全名
openupm/openupm-cli
开源许可证
BSD 3-Clause "New" or "Revised" License
Star 数
305
Fork 数
22
未关闭 Issue
5

README 摘要

openupm-cli The command-line tool to maintain the Unity manifest file for 3rd-party upm registries, offering a similar but lighter experience like npm or yarn for Node.js. The tool is designed to work with the OpenUPM registry, but can also work with any upm registries, including the official Unity registry. openupm-cli How it works Installation Windows platform troubleshooting Cannot find module 'node:net' Commands…

完整内容见 GitHub 原始 README 或本页 。

常见问题

openupm-cli 用什么语言开发?

主要使用 TypeScript 编写,采用 BSD 3-Clause "New" or "Revised" License 许可证,目前有 305 个 Star。

openupm-cli 可以免费商用吗?

仓库采用 BSD 3-Clause "New" or "Revised" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 openupm-cli 的源码?

可以直接克隆仓库:git clone https://github.com/openupm/openupm-cli.git,默认分支为 master;安装与运行步骤见仓库 README。

openupm-cli 最近还在维护吗?

仓库最近一次更新为 6 天前,当前有 5 个未关闭 Issue;Star 数为 305,可作为社区活跃度的参考。

关于

The OpenUPM-CLI is a command-line interface for maintaining UPM registries.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
357
价值分
190
活跃状态
活跃

README

openupm-cli

npm NPM npm

The command-line tool to maintain the Unity manifest file for 3rd-party upm registries, offering a similar but lighter experience like npm or yarn for Node.js.

The tool is designed to work with the OpenUPM registry, but can also work with any upm registries, including the official Unity registry.

How it works

The command-line tool installs the 3rd-party registry as a scoped registry and maintains the Packages/manifest.json file when adding/removing packages. If the manifest file is modified, the Unity Package Manager will detect the changes and try to resolve the package dependencies.

Notice: the command-line tool does not directly install/uninstall package tarballs, at least for now.

Installation

  • Requires nodejs 18 or above.

  • Install via npm:

    npm install -g openupm-cli
    
  • Or install via yarn:

    yarn global add openupm-cli
    

Windows platform troubleshooting

If npm is not available in your CMD/PowerShell/Git-Bash, please configure your environment variables.

# for npm
c:\Program Files\nodejs

# for npm global bin
C:\Users\{yourName}\AppData\Roaming\npm

Cannot find module ‘node:net’

internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'node:net'

Please install Node.js 18 or above.

Commands

Add packages

Use openupm add to add one or more dependencies to your project.

openupm add [email protected]

Checkout the commands doc page for more information.

Remove packages

Use openupm remove to remove one or more dependencies from your project.

openupm remove com.my.package

Checkout the commands doc page for more information.

Search packages

Use openupm search to search for remote packages by name.

openupm search something

Checkout the commands doc page for more information.

View package information

Use openupm view to view detailed information about a remote package.

openupm view com.my.package

Checkout the commands doc page for more information.

View package dependencies

Use openupm deps to print package dependencies.

openupm deps com.my.package

Checkout the commands doc page for more information.

List installed packages

Use openupm ls to print the names and versions of installed packages.

openupm ls

Checkout the commands doc page for more information.

Global command options

There are also some global options that work for every command. You can read about them here.

General help pages

We also have a few guide pages on specific topics if you need help:

Contributors

Favo Yang
Favo Yang

💻 🚧
Ramon Brullo
Ramon Brullo

💻 🚧
Koji Hasegawa
Koji Hasegawa

💻 🐛
MonoLogueChi
MonoLogueChi

🐛
Masahiro Yamaguchi
Masahiro Yamaguchi

🐛
Max Himmel
Max Himmel

🐛
Wilfredo Velázquez-Rodríguez
Wilfredo Velázquez-Rodríguez

🐛
Christopher Arendt
Christopher Arendt

🐛
Felix Winterhalter
Felix Winterhalter

🐛
Antoine Lelievre
Antoine Lelievre

🐛
Tyler Temp
Tyler Temp

🐛
Marc Bernard
Marc Bernard

📖
Stig Olavsen
Stig Olavsen

💻

评论

暂无评论