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

@deepkit-community/nx-plugins

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepkit-community/nx-plugins

NX plugins for rapidly scaffolding new Deepkit applications

  • 0.0.3-alpha
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Deepkit Community Nx Plugins

NX plugins for rapidly scaffolding new Deepkit applications

Status

This project is currently in an alpha state and the generators are subject to change as development continues. You should be able to safely use it to scaffold Deepkit applications but as improvements are made to the generators there won't be an effort to provide an upgrade path for older versions of the plugins.

Getting Started

The easiest way to use the generator is to scaffold a new NX monorepo. When prompted, select the empty option unless you are familiar with NX monorepos and would like to add some additional app scaffolding (eg for a front end application).

npx create-nx-workspace@latest test-deepkit

Add the plugins as a dev dependency using your package manager of choice

yarn add -D @deepkit-community/nx-plugins

Generate a new Deepkit application by invoking the NX generator:

yarn nx generate @deepkit-community/nx-plugins:application --name=my-app

If using NPM make sure you add the additional -- as arguments are not automatically forwarded to the underlying script as they are with yarn.

npm run nx generate @deepkit-community/nx-plugins:application -- --name=my-app

This will walk you through a wizard that will help you configure a working Docker Compose database configuration for your application.

Running the App

First, to ensure your docker services are running

docker-compose up -d

Then to start the live reload development server

yarn start

Interacting with the Deepkit CLI

A package.json script entrypoint will be added for you automatically that is derived from the name of your scaffolded application. Based on the example above where we created a new application called my-app the appropriate command for invoking the CLI would be

yarn my-app:cli

Configuration

The default application configuration is managed externally using a .env file at the root of your NX monorepo. If you need to alter the configuration of the Deepkit kernel this is the best place to do it

FAQs

Package last updated on 16 Aug 2021

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