TCE Project Generator

Generate a complete, building Tobidot Custom Element v3 project: TypeScript, Vite, SCSS, lint rules and the SDK it was generated against, laid out exactly as the specification prescribes.

Package
The publisher. Packages are identified as namespace/name.
The tag name: lower-case, at least one hyphen. tce- for elements, dll- for libraries.
Element
Presets:
Icon
64×64 SVG or PNG in the house palette. Without one, a placeholder icon is generated.
Dependencies

Registry packages this project will declare and load at runtime. A library dependency gets a vendored contract file to fill in.

Summary

Identifier: tobidot/tce-my-element
Class: TceMyElement
Embed: <tce-my-element>
SDK: @tce-v3/common, @tce-v3/desktop-protocol (vendored)

Afterwards

1

Install & run

Unzip, npm install, npm start opens the dev harness with live reload.

2

Check

npm run check runs tsc and eslint with the coding-standard rules of the specification.

3

Publish

npm run pack builds and zips dist/; upload the zip via POST /api/v1/tce-packages (the README has the exact call).