Fixes a regression in #2430 which introduced import assertions into the perspective-viewer migration code. Import assertions are not well standardized in older build tools, causing these statements to fail compilation with some tools where previous perspective versions did not. Perspective's docusaurus site exhibited this behavior, though we did not run it in CI, discovered after 2.7.1 was released.
Adds the docs build to CI so this does not happen again
Fixed another issue from the same PR #2430 which caused 4 of the "features" configs from the docusaurus site to fail compilation. plugin_config is an optional key, and looking up anything (in this case .columns) on this may be a lookup on undefined. The migration scripts must be very defensive about this; going forward, CI will fail more regularly when regressions are introduced due to #2 above.
perspective-viewer
migration code. Import assertions are not well standardized in older build tools, causing these statements to fail compilation with some tools where previous perspective versions did not. Perspective'sdocusaurus
site exhibited this behavior, though we did not run it in CI, discovered after2.7.1
was released.docs
build to CI so this does not happen againdocusaurus
site to fail compilation.plugin_config
is an optional key, and looking up anything (in this case.columns
) on this may be a lookup on undefined. The migration scripts must be very defensive about this; going forward, CI will fail more regularly when regressions are introduced due to #2 above.