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

depsync

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depsync

Automatically synchronize the dependencies of a project by the DEPS configuration file.

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
232
decreased by-23.18%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Version License TypeScript

Introduction

Depsync is a command line tool for automatically synchronizing the dependencies of a project by the DEPS configuration file.

Installation

npm install depsync -g

Usage

Run the following command in the directory with a DEPS file:

depsync [platform]

For example, if you want to synchronize the mac platform, run:

depsync mac

If you don't pass any platform parameter, it will automatically choose the host platform as the target platform. So that the result of running depsync in macOS is the same as running depsync mac.

The available platform names are defined in the DEPS file, you can also define any other platform names as you want, such as ios, android, linux... but only the mac and win can be automatically chosen.

Here is an example of DEPS file:

{
  "vars": {
    "SKIA_ROOT": "https://raw.githubusercontent.com/domchen/libskia/release",
    "V8_ROOT": "https://raw.githubusercontent.com/domchen/libv8/release"
  },
  "files": {
    "common": [
      {
        "url": "${SKIA_ROOT}/m58/include.zip",
        "dir": "third_party/skia",
        "unzip": true
      },
      {
        "url": "${V8_ROOT}/5.7.492/include.zip",
        "dir": "third_party/v8",
        "unzip": "true"
      }
    ],
    "mac": [
      {
        "url": "${SKIA_ROOT}/m58/darwin-x64.zip",
        "dir": "third_party/skia",
        "unzip": true
      },
      {
        "url": "${V8_ROOT}/5.7.492/darwin-x64.zip",
        "multipart": [
          ".001",
          ".002",
          ".003"
        ],
        "dir": "third_party/v8",
        "unzip": true
      }
    ],
    "win": [
      {
        "url": "${SKIA_ROOT}/m58/win-ia32.zip",
        "dir": "third_party/skia",
        "unzip": true
      },
      {
        "url": "${V8_ROOT}/5.7.492/win-ia32.zip",
        "dir": "third_party/v8",
        "unzip": true
      }
    ]
  },
  "actions": {
       "common": [
         {
           "command": "npm install tspack",
           "dir": "./"
         },
         {
           "command": "node node_modules/tspack/bin/tspack",
           "dir": "./"
         }
       ]
     }
}

Keywords

FAQs

Package last updated on 13 Apr 2017

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