Have ideas to improve npm?Join in the discussion! »

    @titanium/sdk-manager

    0.0.6 • Public • Published

    @titanium/sdk-manager

    @titanium/sdk-manager Dependabot Status

    This is not an official Axway product.
    It is an experiment by Brenton House using open-source projects. You are welcome to try it out but be aware of the risks

    📝 Description

    Library for installing Axway Titanium SDKs
    Fork of https://github.com/appcelerator/titaniumlib

    Install Titanium SDKs from any source.

    Key differences from titaniumlib module:

    1. This module is focused only on managing SDKs
    2. Additional support for @geek/config (coming soon)
    3. Allow setting of repo URL for SDKs (in addition to official Axway repo)

    🚀 Getting Started

    Install Titanium SDK Manager

    npm install @titanium/sdk-manager

    Get available SDK releases

    Using Official Axway Repository

    sdk.getReleases()
        .then(releases => {
            console.log(`releases: ${JSON.stringify(releases, null, 2)}`);
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    Get available SDK releases (Alternate Repo)

    Using Alternate Repository

    sdk.getReleases({ releasesUrl: 'https://brentonhouse.github.io/titanium-sdk-repo/releases.json'  })
        .then(releases => {
            console.log(`releases: ${JSON.stringify(releases, null, 2)}`);
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    Get available SDK branches

    Using Official Axway Repository

    sdk.getBranches()
        .then(branches => {
            console.log(`branches: ${JSON.stringify(branches, null, 2)}`);
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    Get available SDK builds

    Using Official Axway Repository

    sdk.getBuilds()
        .then(builds => {
            console.log(`builds: ${JSON.stringify(builds, null, 2)}`);
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    Install latest SDK release

    Using Official Axway Repository

    sdk.install()
        .then(result => {
            console.log('** SDK Installed **');
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    Install SDK Release Candidate (RC)

    Using Alternate Repository

    sdk.getReleases({ releasesUrl: 'https://brentonhouse.github.io/titanium-sdk-repo/releases.json'  })
        .then(releases => {
            console.log('** SDK Installed **');
        })
        .catch(error => {
            console.error('you are here → Error occurred!');
            console.error(error);
        });

    🔗 Related Links

    • Titanium Mobile - Open-source tool for building powerful, cross-platform native apps with JavaScript.
    • Alloy - MVC framework built on top of Titanium Mobile.
    • Turbo - Variation of Titanium Alloy that adds some enhancements and customizations for rapid development.
    • Appcelerator - Installer for the Appcelerator Platform tool

    📚 Learn More

    📣 Feedback

    Have an idea or a comment? Join in the conversation here!

    ©️ Legal

    Copyright 2014-2019 by Axway, Inc.

    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0
    

    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

    Install

    npm i @titanium/sdk-manager

    DownloadsWeekly Downloads

    4

    Version

    0.0.6

    License

    Apache-2.0

    Unpacked Size

    30.7 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar