JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q60843F
  • License Apache Public License v2

Check all Appcelerator Titanium project and/or global modules for 64-bit iOS support.

Package Exports

  • ti-64

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ti-64) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ti-64 Dependencies

Check all Appcelerator Titanium project and/or global modules for 64-bit iOS support.

screenshot

Install NPM version

As global CLI:

$ npm install -g ti-64

As module:

$ npm install ti-64 --save

Usage

CLI

Check local and global modules required in a project's tiapp.xml:

~/project $ ti-64
$ ti-64 --project-dir ~/project

Check all global modules:

$ ti-64 --global

Get the output as JSON:

$ ti-64 --output json

{
  "err": null,
  "res": {
    "analytics.google": {
      "name": "analytics.google",
      "has64": false,
      "versions": [
        {
          "name": "analytics.google",
          "version": "1.0",
          "path": "/path/to/analytics.google/1.0",
          "global": true,
          "architectures": [
            "armv7",
            "i386"
          ],
          "has64": false
        }
      ]
    }
  }
}

Module

var ti64 = require('ti-64');

ti64({
    projectDir: './project',
    // global: true

}, function handle(err, res) {

  if (err) {
    console.error(err);

  } else {

    for (var module in res) {
      console[module.has64 ? 'log' : 'error'](module.name);

      for (var version in module.version) {
        console[version.has64 ? 'log' : 'error'](version.version + ' (' + (version.global ? 'global' : 'project') + ') ' + version.architectures.join(' '));
      }

    }

  }

});

Changelog

  • 2.0.0: Adds JSON output, Groups results by module, Improves error when ran outside of project, Adds update notification
  • 1.1.0: Improved module API, Fixes #2, Fixes -g still requiring to be run in project
  • 1.0.0: Initial version