Skip to content

Replace OpenSCD fork with npm package imports #7

@noraeb

Description

@noraeb

Is your feature request related to a problem? Please describe.
As a maintainer of CoMPAS, I need to determine if we can resolve all imports in the current compas-open-scd that are pointing to the openscd folder, allowing us to potentially remove the OpenSCD fork dependency.

Describe the solution you'd like
Import open-scd through npm packages instead of maintaining a fork, and resolve all import statements to reference the npm package rather than local openscd folder paths.

Requirements

  • Import open-scd through npm
  • Attempt to resolve all imports pointing to openscd folder
  • Document any imports that cannot be resolved and specify what needs to be done
  • If this issue proves too complex to fix directly, create new issues for the remaining work
  • Ultimate goal: Remove the fork from OpenSCD

Suggestions for a specific user interaction

Additional information
This is a technical debt reduction effort to simplify the dependency management in the CoMPAS project.

Test Files
N/A - Testing should verify that all functionality works correctly after switching from fork-based imports to npm package imports.

Acceptance Criteria

  • All possible imports are resolved to use npm package
  • Any unresolvable imports are documented with clear action items
  • If complexity requires it, new issues are created for remaining work
  • The OpenSCD fork dependency is removed from the project

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions