Socket
Socket
Sign inDemoInstall

@lightbend/create-akkasls-entity

Package Overview
Dependencies
Maintainers
6
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightbend/create-akkasls-entity

Create an Akka Serverless entity codebase with a single command.


Version published
Maintainers
6
Created
Source

create-akkasls-entity

This repository provides the create-akkasls-entity tool to support Akka Serverless development with the npm/JavaScript toolchain.

Usage

This tool can be used to generate a project suitable for the general development of Akka Serverless applications.

There are two templates available to select from:

  • value-entity (default); provides the starting point to develop a Value Entity
  • event-sourced-entity; provides the starting point to develop an Event Sourced Entity

To create the initial codebase for a new entity with npm:

npx @lightbend/create-akkasls-entity@latest my-entity --template value-entity
cd my-entity
npm install
npm run build

Or using Yarn:

yarn create @lightbend/akkasls-entity@latest my-entity --template value-entity
cd my-entity
yarn
yarn build

This module will be included as a dependency of the created project, providing the akkasls-codegen-js tool binary for your platform.

Building

To build and test locally, first install:

npm install

...then package:

npm pack

...and then install locally (substituting with the version that the above npm pack reports):

npm install -g lightbend-create-akkasls-entity-<some-version>.tgz

As the create-akkasls-entity command is now locally installed, you are able to run:

create-akkasls-entity my-entity

FAQs

Package last updated on 06 Apr 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc