openc3-cosmos-tool-scriptrunner 5.6.1 → 5.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76dc1eeba18727848f72ae7451edd2694a338388678935b1d4180fb5f7fef804
4
- data.tar.gz: 4672162a6f02470db5a6a66e6c92e6c518f7614e07e0d3516377de9ed1737fcc
3
+ metadata.gz: fa520a3f57df2622abc1cfc7ace43cdf454fd60e9dd58181ddc6874f9abf1b1d
4
+ data.tar.gz: 1250ea52aa8e11895f9a6668cad06d4920ba5c0236bb59ded2d3f15a15f6d4b6
5
5
  SHA512:
6
- metadata.gz: aa156247bff2e5c06772c13fa558ef66b2da149a360a2fa5a7e8c1812f75bd67bcb5e92672a7cbe8e435ed6e1c439df7ac8f8acba3b3b8f81f7d83e7ae15114f
7
- data.tar.gz: f17322d09bcca34758a189e512e045f02eea3e30071bf73444796b842d55c3e39e5b2bcf9483f49b67a47028054c0414b0ea7d354a99eee481bb30c7415b8e27
6
+ metadata.gz: 387b1796a19cdbbf687951e3c87a2723596459bdd8a2c4cde2d1247b0f32903e7362a1b4722c48c7125826105ddc96c7a40a303fd0b4fbf796456dd7e08c16c0
7
+ data.tar.gz: ef8c09a1a265d92249c6732fd906b4b1368b23e8b61189c662170f337fe3cd38decb8c35126cd5787f9bd884b3f52d29e489bccbe3bb57a22a6d02b10aa48ff3
@@ -1 +1,4 @@
1
- <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><script defer="defer" src="/tools/scriptrunner/js/app.js"></script></head><body><div id="app"></div></body></html>
1
+ <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><main><h1>Your Microfrontend is not here</h1><p>The @openc3/cosmos-tool-scriptrunner microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @openc3/cosmos-tool-scriptrunner and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
2
+ const fullSrc = new URL('/tools/scriptrunner//tools/scriptrunner/js/app.js', window.location.href);
3
+ mfLink.href = fullSrc;
4
+ mfLink.textContent = fullSrc;</script></main></head><body><div id="app"></div></body></html>