@eclipse-docks/extension-canvas 0.8.10 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# `@eclipse-docks/extension-canvas`
|
|
2
|
+
|
|
3
|
+
Interactive canvases for Eclipse Docks. A canvas is a `.canvas.js` module that default-exports a `CanvasView`. The preview compiler bundles that module and its relative imports as JavaScript.
|
|
4
|
+
|
|
5
|
+
## Future iteration
|
|
6
|
+
|
|
7
|
+
- [ ] Accept `.canvas.ts`. Transpile each TypeScript file with `transpileModule` inside `compileCanvas`, then pass the JavaScript to the existing module graph. Do this in the compiler, not through Monaco's TypeScript worker: compile also runs with no editor open and must cover every imported file. Point the host, sidecars, and canvas skills at the `.canvas.ts` extension, and set the editor language to `typescript`.
|