
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@lightningrodlabs/create-we-applet
Advanced tools
Easily scaffold a [We Applet](https://npmjs.com/package/@lightningrodlabs/we-applet) UI package.
Easily scaffold a We Applet UI package.
Run this in the project subfolder where you want to create the applet:
npx @lightningrodlabs/create-we-applet [APPLET NAME]
For example:
npx @lightningrodlabs/create-we-applet notebooks
This will create a we-applet
folder, with the necessary setup to create a We Applet. This would usually be a small NPM workspace inside a bigger repository.
If your project was scaffolded using npm init @holochain
, here are your next steps:
In your root package.json
:
workspaces
field.In the we-applet
package, add the dependency to your local package where your elements and store live, and run npm install
from the root folder of the repository.
In the we-applet/src/[APPLET NAME]-applet.ts
file:
firstUpdated
function.static get scopedElements()
getter.In the workdir/dna.yaml
file for the generated applet, change the location of the zome.
In the package.json
file for the generated applect, change the CARGO_TARGET_DIR
directory to which you will be compiling.
Change the icon.png
to the icon you would like this applet to have.
FAQs
Easily scaffold a [We Applet](https://npmjs.com/package/@lightningrodlabs/we-applet) UI package.
We found that @lightningrodlabs/create-we-applet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.