ensera-cli
v1.0.4
Published
CLI for scaffolding and publishing Ensera frontend and backend features.
Maintainers
Readme
ensera-cli
ensera-cli scaffolds Ensera frontend and backend projects and publishes frontend bundles into Core.
Install
npx ensera-cli init frontend
npx ensera-cli init backendYou can also install it globally:
npm install -g ensera-cliGlobal installs expose ens, ensera, and ensera-cli.
Scaffold
ens init frontend
ens init backendThe default flow copies templates from the published ensera-frontend and ensera-backend packages and writes npm-based runtime SDK dependencies into the generated app:
- frontend uses
@ensera/plugin-frontend - backend uses
@ensera/plugin-backend
Use --sdk <spec> to override the SDK version, or --from-link if you explicitly want npm link.
Publish Order
Publish the shared-version release in this order:
@ensera/plugin-frontend@ensera/plugin-backendensera-frontendensera-backendensera-cli
Workspace Validation
npm run typecheck:all
npm run build:all
npm pack --dry-run