Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
generator-liferay-elm
Advanced tools
A Yeoman generator for creating Liferay Elm projects, using the amazing Create Elm App for a fast and easy development with no build configuration. To create a build for Liferay, it uses the liferay-npm-bundler
from the very useful Liferay JS Toolkit.
First, install Yeoman and generator-liferay-elm using npm (assuming you have pre-installed node.js).
npm install -g yo generator-liferay-elm
Then generate your new project:
yo liferay-elm
You can also try it locally by cloning the repo and running
npm link
inside the project.
Once the project generated:
cd my-elm-project
yarn start
Build your app for Liferay:
yarn build:liferay
Deploy your app to Liferay:
yarn deploy:liferay
Run tests:
yarn test
# or in watch mode
yarn test --watch
The first time, you might see this message:
INFO: Running elmi-to-json for the first time; downloading the actual binary
. Simply run the command again.
Install a new package (e.g. elm/svg
):
yarn run install elm/svg
This generator gives you scripts that are aliases to the one provided by Create Elm App (e.g. yarn start
for elm-app start
).
To learn more about the tasks available for your project, directly checkout this guide.
If you to try this generator on your local machine, feel free to clone this repo and run the following commands:
# install dependencies:
yarn
# make it available for yeoman:
npm link
As the official site states, Elm is a delightful language for reliable webapps. How? By providing features such as:
The best way to learn Elm is to follow the official guide. You can try Elm with this online editor.
You can also checkout this non-exhaustive list of nice talks about Elm:
FAQs
Yeoman generator for creating Liferay projects with Elm.
The npm package generator-liferay-elm receives a total of 0 weekly downloads. As such, generator-liferay-elm popularity was classified as not popular.
We found that generator-liferay-elm 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.