Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-types-installer

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-types-installer

A utiltiy for Aurelia + TypeScript + JSPM users that installs exact .d.ts versions as external modules.

  • 0.8.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

aurelia-types-installer

GitHub release npm npm npm Build Status Build status

Aurelia Types Installer (ati) is a small command line utility for developers using Aurelia with jspm and TypeScript.

ati parses jspm configuration locates Aurelia package dependencies and installs their exact corresponding .d.ts declarations as proper anonymous external modules into a location of your choosing. As it install declarations, it generates TypeScript path configuratoin and writes it to a file named tsconfig.paths.json by default. If you are using typescript@^2.1.0, you can extend this file from your tsconfig.json

tsconfig.json

{
  "extends": "./tsconfig.paths.json",
  "compilerOptions" : { ... }
}

ati works best when installed as a local "devDependency" and is designed to be run as part of your build process.

Usage:

$ ati install

Runs with optimized default options that looks for local jspm.config.js and tsconfig.json file and installs declarations dependencies into their respective versioned subfolders under jspm_packages.

$ ati install --projectDir Source/GitHub/my-app

runs relative to the specified directory

$ ati install --dest ./type-declarations

specifies the directory where .d.ts files will be installed. This is used to customize generation of tsconfig.paths.json

$ ati install --framework aurelia

specifies the name or prefix of the framework to install declaration files. Currently aurelia is the defualt value and support for other dependencies is experimental.

When run it produces the following output Files: tsconfig.paths.json

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "aurelia-framework": [
        "types/aurelia-framework@x.y.z/index"
      ]
    }
  }
}

Directories: types default .d.ts installation dir external, non-ambiant, module files containing the type declarations for all aurelia jspm dependencies.

Keywords

FAQs

Package last updated on 04 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc