openc3-cosmos-tool-scriptrunner 5.5.2 → 5.6.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: 3cacdae536c2afeb85c5d0921b119382151fd83ec568c40b6e1c3e51b21822b6
4
- data.tar.gz: a80e7e422321e498ffa887458fe1242d3823e46c0f839eb78cb964063efe04cb
3
+ metadata.gz: e4ca09bb51bb383be4b119042c8495f12c6b3b48bb251e172fc7a4226a89a5af
4
+ data.tar.gz: 2418cfd8c0f2d1ca4775e483b64179cc18fa0da2d90c94a056d19638717102cb
5
5
  SHA512:
6
- metadata.gz: e6d1ddac3c85e8e4dc7f0a0d6a188e25b42e0a9be7b272a63a0deefded7a292e66adbe84c1e84b6c0de15d5f4a25f9b23a556a40dfdebacef034b95e05708bb3
7
- data.tar.gz: b1d5b41513b4eb6b933add9dac5e158c93502523172ff99107a6e1eb4b15162271daedacd032f0b059d747f877b1f429eabd349015f0ced51a9d5ab657fc33cf
6
+ metadata.gz: 60abc43e41fe612b6a3e5ce85c817aab5221a61c23c10a36973b33b71dfa6f5ceeb902b35b15393461b062580b76bb59a78c9051cb529b8b69dd4db3f857dc01
7
+ data.tar.gz: dbff1de9a624420d2eaf0fd1a612f41be1339c2bc70f2bbfe5aecb7543de3c90d6c43ed49711fc3becc5f65c41b3c3194fa6a01080321381d5cae52d7853d7ba
@@ -1,4 +1 @@
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>
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>