@omicronenergy/oscd-editor-template
v0.0.1
Published
OpenSCD Menu Plugin for loading IEC 61850 SCL files into OpenSCD.
Readme
<oscd-editor-template>
This webcomponent follows the open-wc recommendation.
What is this?
This is an editor plugin for OpenSCD. With this plugin you can view, edit and insert Data Type Templates into an SCL document. Visit the demo environment and see for yourself.
Linting and formatting
This project uses the shared @omicronenergy/oscd-tooling CLI (oscd) for its dev tooling — see that package's README for the full command reference.
To scan the project for linting and formatting errors, run
npm run lintTo automatically fix linting and formatting errors, run
npm run formatTesting with Web Test Runner
To execute a single test run:
npm run testTo run the tests in interactive watch mode run:
npm run test:watchTooling configs
Build, lint, test, and bundle configuration is centralized in @omicronenergy/oscd-tooling and resolved automatically by the oscd CLI. This repo only keeps thin, project-relative overrides:
tsconfig.jsonextends@omicronenergy/oscd-tooling/configs/base.tsconfig.json, setting onlyoutDir/rootDir/include.eslint.config.jsre-exports@omicronenergy/oscd-tooling/configs/eslint.config.jsunchanged.
To fully customize a tool's configuration, drop a same-named config file (e.g. rollup.config.js) at the repo root — oscd will use it instead of the shared default.
Local Demo
npm run startTo run a local development server that serves the basic demo located in demo/index.html
© Jakob Vogelsang © 2025 OMICRON electronics GmbH
