Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@deepkit-community/nx-plugins
Advanced tools
- [@deepkit-community/nx-plugins](#deepkit-communitynx-plugins) - [Getting Started](#getting-started) - [Generators](#generators) - [Application Generator](#application-generator) - [Running the App](#running-the-app) - [Interacting wi
The easiest way to use the generators included with this package 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
To start the live reload development server
yarn start
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
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
This generator will configure an existing Deepkit application to interact with a Postgres database. It can be used to connect to an existing Postgres database on your host machine or to configure a working Docker Compose Postgres instance.
Run the generator providing the app argument for the name of the Deepkit application in your NX workspace which you would like to add Postgres support to.
yarn nx generate @deepkit-community/nx-plugins:db-postgres --app=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 -- --app=my-app
Use the interactive prompt or additional flags to customize your Postgres configuration. The generator will update your application and the .env file for configuration so that you can immediately start interacting with the database.
If you chose to include the Docker Compose option don't forget to start services. From the root of your NX workspace run
docker-compose up -d
FAQs
- [@deepkit-community/nx-plugins](#deepkit-communitynx-plugins) - [Getting Started](#getting-started) - [Generators](#generators) - [Application Generator](#application-generator) - [Running the App](#running-the-app) - [Interacting wi
The npm package @deepkit-community/nx-plugins receives a total of 1 weekly downloads. As such, @deepkit-community/nx-plugins popularity was classified as not popular.
We found that @deepkit-community/nx-plugins demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.