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

@adonisjs/sink

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/sink

Utilities to create AdonisJs boilerplates and custom providers

  • 2.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.3K
decreased by-50.17%
Maintainers
2
Weekly downloads
 
Created
Source

@adonisjs/sink

A collection of utilities for creating AdonisJs packages and boilerplates.

circleci-image npm-image license-image

AdonisJs sink is a collection of file utilities to mutate the contents of a file with support for partial updates, automatic commits and rollbacks.

Table of contents

Usage

Install the package from npm as follows:

npm i @adonisjs/sink

# Yarn
yarn add @adonisjs/sink

and then use it as follows:

import { PackageFile } from '@adonisjs/sink'

const pkg = new PackageFile(process.cwd())

pkg.setScript('build', 'tsc')
pkg.install(['typescript', 'tslint'])

pkg.commit()

You will use this package when creating your own boilerplates for AdonisJs or when you want to run instructions using instructions.ts file.

In both the places, you will get the basePath of the application from AdonisJs itself.

Maintainers

Harminder virk

Keywords

FAQs

Package last updated on 27 Jul 2019

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