npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dno-client

v0.9.7

Published

Command line tools for the D Number SDK client

Downloads

9

Readme

dno-client

About

Helper tools for building and deploying Unity applications for your desired platforms.

Installation

Install tools by running npm i dno-client in the root of your game project. Once this is done you should be able to use the tools by running npx dno-client.

      _                                  _   _                  _
   __| |  _ __     ___             ___  | | (_)   ___   _ __   | |_
  / _` | | '_ \   / _ \   _____   / __| | | | |  / _ \ | '_ \  | __|
 | (_| | | | | | | (_) | |_____| | (__  | | | | |  __/ | | | | | |_
  \__,_| |_| |_|  \___/           \___| |_| |_|  \___| |_| |_|  \__|

Usage: dno-client [options] [command]

Options:
  -V, --version                                                output the version number
  -h, --help                                                   display help for command

Commands:
  unity:android:build [env] [debug] [version] [versionCode]    perform Android build
  unity:android:publish [env] [debug] [version] [buildNumber]  perform Android build and then publish
  unity:config:write [env]                                     copy SDK config file to Unity project
  unity:osx:build [env] [debug] [version] [buildNumber]        perform Standalone OSX build
  unity:osx:publish [env] [debug] [version] [buildNumber]      perform Standalone OSX build and then publish to
                                                               GDrive
  unity:webGL:publish [env] [dist] [debug]                     build Unity project for WebGL. (dist defaults to
                                                               false)
  unity:windows:build [env] [debug] [version] [buildNumber]    perform Standalone Windows64 build
  unity:windows:publish [env] [debug] [version] [buildNumber]  perform Standalone Windows64 build and then publish
                                                               to GDrive
  help [command]                                               display help for command

Usage

There are some external dependencies that need to be satisfied for the tools to work;

  • /sdk-config/settings.json - this file contains project specific values that dno-client expects.

    {
        "netlifySiteId": "xxxxxx-xxxxx-xxxxx-xxxxxx-xxxxxx",
        "projectName": "ProjectName",
        "unityProjectPath": "client/unity",
        "unityBuildClass": "com.Example.AppBuilder",
        "version": "1.0.0"
    }
    • netlifySiteId - the Netlify site ID for the project. This can be found in the Netlify dashboard.
    • projectName - the name of the project. This is used to name the build artifacts.
    • unityProjectPath - the path to the Unity project. This is used to run Unity builds.
    • unityBuildClass - the name of the class that is used to run Unity builds. This is used to run Unity builds; expected endpoints are Build_Android(), Build_StandaloneOSX(), Build_StandaloneWindows64() and Build_WebGL() where applicable.
    • version - the version of the project. This is used to name the build artifacts.
  • firebase-tools - we use Firebase CLI tools for Mobile app distribution. This is expected to be installed globally.

  • DNO_CLIENT_GOOGLE_CREDENTIAL_PATH - environment variable pointing at the path of a service account file used to deploy Windows and Mac builds to Google Drive. This service account file can be found in our Password Manager.

Mac Publishing Variables

If you are looking to publish to the Mac OSX then you'll also require the following environment variables;

  • MAC_APPLE_ID - the Apple ID used to create the app-specific password used in the Notorization process.
  • MAC_APP_PWD - the app-specific password for the notorization process.
  • MAC_TEAM_ID - the Team ID can be found in the Apple Developer portal for the app.
  • MAC_SIGNING_IDENTITY - the name of the credentials found in Keychain Access to code sign the published .app

As well as the above environmental variables; the code signing process requires an entitlements file at /sdk-config/<env>/<projectName>.entitlements. The contents of this plist file varies depending on the platform you are deploying to.