Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@nx-tools/nx-prisma
Advanced tools
The Nx Plugin for Prisma contains executors, generators, and utilities for managing Prisma applications within an Nx workspace. It provides:
@nx-tools/nx-prisma
The Nx Plugin for Prisma contains executors, generators, and utilities for managing Prisma applications within an Nx workspace. It provides:
Adding the Prisma plugin to an existing Nx workspace can be done with the following:
npm install -D @nx-tools/nx-prisma
yarn add -D @nx-tools/nx-prisma
It's straightforward to setup your application:
nx g @nx-tools/nx-prisma:configuration appName
By default, the application will be configured with:
We can then call generate, deploy, migrate, db pull, db push prisma commands, and even start prisma studio with the following commands:
nx prisma-generate appName
nx prisma-deploy appName
nx prisma-migrate appName
nx prisma-pull appName
nx prisma-push appName
nx prisma-studio appName
nx prisma-validate appName
Tip: You can change the location or rename your prisma file, but should live inside the project folder and the
options.schema
property of your project target needs to be updated with the relative path to the new schema location.
Here is a list of all the executors and generators available from this package:
FAQs
The Nx Plugin for Prisma contains executors, generators, and utilities for managing Prisma applications within an Nx workspace. It provides:
The npm package @nx-tools/nx-prisma receives a total of 9,029 weekly downloads. As such, @nx-tools/nx-prisma popularity was classified as popular.
We found that @nx-tools/nx-prisma demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.