openmct/src/api/composition
Tristan F fce98a1c47
refactor: migrate to ESM (#7331)
* refactor: move package.json to type: module

this is where the fun begins

* chore: move webpack common and prod to esm

* chore: move webpack to esm, eslint to explicit cjs

* refactor: migrate all files to esm

* style: lint

* refactor: begin moving karma to cjs, use dynamic esm import

* refactor: move index-test to cjs

* refactor: begin moving e2e to ESM

this was manual. I'm committing this because I'm about to try the `cjstoesm` tool

* refactor: move all to esm

* fix: make all e2e tests use .js imports

* refactor: begin moving exports to esm

* refactor: use URL transforms instead of __dirname

* fix: use libraryExport: default to properly handle openmct

* fix: export all playwright configs as modules

* refactor: move all instances of __dirname to import.meta.url

* refactor: lint, drop unnecessary URL call

* fix: use correct URL path on helper/addNoneditableObject.js

* fix: more incorrect URL resolve issues

* fix: parse json after reading it
2024-01-02 07:24:22 -08:00
..
CompositionAPI.js refactor: migrate to ESM (#7331) 2024-01-02 07:24:22 -08:00
CompositionAPISpec.js refactor: migrate to ESM (#7331) 2024-01-02 07:24:22 -08:00
CompositionCollection.js chore: add prettier (2/3): apply formatting, re-enable lint ci step (#6682) 2023-05-18 21:54:46 +00:00
CompositionProvider.js refactor: migrate to ESM (#7331) 2024-01-02 07:24:22 -08:00
DefaultCompositionProvider.js refactor: migrate to ESM (#7331) 2024-01-02 07:24:22 -08:00