dom-native libary family
- dom-native - library core
- @dom-native/draggable - draggrable extension (for internal drag & drop)
The demo development flow is now driven from repository root. This is the canonical way to develop and validate demo changes as file changes in this monorepo.
- Watch demo bundle during development:
npm run demo-watch- Build demo bundle once:
npm run demo-buildRoot demo build generates browser-ready assets used by demo/web-content/index.html:
demo/web-content/js/demo-bundle.jsdemo/web-content/css/demo-bundle.css
- Run
npm run watch-demofrom repository root. - Edit sources under:
demo/srcdom-native/srcdraggable/src
- Reload
demo/web-content/index.htmlvia a local static server to verify behavior.
For this monorepo, install and run demo workflows from repository root.
npm install- Canonical demo source and generated snippets live under
demo/src. - Canonical demo build outputs live under
demo/web-content/jsanddemo/web-content/css. - Canonical demo build configuration lives at repository root:
rolldown.config.js
- Package-level scripts stay focused on package library build/publish workflows.
For dom-native library-specific build/watch:
cd dom-native
npm install
npm run build
npm run watch