Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
radmin-free
Advanced tools
RedwoodJS Admin Panel Generator
yarn start --base ../project ../project-admin
node ./dist/radmin.js --base ../project ../project-admin
Needs Node 16.7 (released 18-Aug-2021) or later because of use of fs.cp
.
Radmin doesn't support compound IDs yet.
This will not work
model CategoryToProduct {
product Product @relation(fields: [productId], references: [id])
productId String @db.Uuid
category Category @relation(fields: [categoryId], references: [id])
categoryId Int
@@id([productId, categoryId])
}
You'll have to add an id
key, and make the compound id a compound unique
constraint instead
model CategoryToProduct {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
product Product @relation(fields: [productId], references: [id])
productId String @db.Uuid
category Category @relation(fields: [categoryId], references: [id])
categoryId Int
@@unique([productId, categoryId])
}
If you do it exactly like that you should be able to migrate your DB without losing any data
If you have additional prisma generators defined in your schema, radmin will error out when you run it. The solution is to manually install the generators in the admin project, and then rerun radmin.
FAQs
RedwoodJS Admin Panel Generator
The npm package radmin-free receives a total of 0 weekly downloads. As such, radmin-free popularity was classified as not popular.
We found that radmin-free 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.