Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@levimc-lse/scaffold

leoweyr50MIT0.2.2

A utility for assisting in the development of Legacy Script Engine plugins.

levilamina, minecraft, bedrock-dedicated-server, utility, scaffold, cli, npx

readme

Legacy Script Engine Scaffold

A utility for assisting in the development of Legacy Script Engine plugins, supporting a native development experience on the Node.js platform.

Only TypeScript projects are supported at the moment.

📦 Prepare

It is a non-intrusive tool, meaning it does not require any mandatory files to be kept in your project. However, it is recommended to add it as a development dependency to your environment for convenient usage:

npm install @levimc-lse/scaffold --save-dev

🚀 Usage

Generate manifest.json for the Legacy Script Engine plugin:

npx lses manifest

Package the Legacy Script Engine plugin:

npx lses pack

Deploy the Legacy Script Engine plugin package to the local LeviLamina server:

npx lses deploy <path>
Argument Description Type
<path> Specific LeviLamina server working directory. String

❗ Important

The main configuration entry file in package.json should be relative to the project's working directory, not the directory of the Legacy Script Engine plugin package.

For example, in a TypeScript project where index.ts is defined as the entry point in source code and the TypeScript compiler is configured via tsconfig.json to emit to the build directory named dist, you should set the main field in package.json to dist/index.js.

This ensures that the entry field in the manifest.json generated by npx lses manifest can be correctly identified and located by LeviLamina.

changelog

0.2.2 (2025-06-15)

Bug Fixes

  • enable proper handling of multi-repo projects (7f95b9b)

0.2.1 (2025-01-27)

Bug Fixes

  • correct entry resolution in manifest.json handling based on package.json (d597bab)
  • scripts: correct local deployment to prevent npm install override (ea61ebd)

0.2.0 (2025-01-25)

Features

  • cli: add support for local deployment of Legacy Script Engine plugins (ea9ef70)
  • enable deployment of plugins to local Levilamina server (6aeec36)
  • introduce handling for the project-generated plugin package (e51a169)

0.1.0 (2025-01-25)

Features

  • add manifest.json handling for Legacy Script Engine plugin package (57b8ba1)
  • add package.json parsing capability (13da182)
  • add packaging functionality for Legacy Script Engine plugin (58be2a4)
  • add support for TypeScript projects (3265ace)
  • add tsconfig.json parsing capability (fa8f3b9)
  • cli: add support for manifest and packaging of Legacy Script Engine plugins (2933e01)