{"_id":"piral-single-spa","_rev":"132-edd3185b3dee40cfcf896640acefbcab","name":"piral-single-spa","dist-tags":{"canary":"0.15.0-alpha.4409","latest":"0.15.13","next":"0.15.13-beta.5591"},"versions":{"0.15.0-alpha.4231":{"name":"piral-single-spa","version":"0.15.0-alpha.4231","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4231"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"4e7f158bd276d82c5bf2c19d47ccfb3604f38e38","_id":"piral-single-spa@0.15.0-alpha.4231","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-7DtoIUXoJv5Y5McJ3VcLQ1DlVRbmdra18fx6PX8ZQG2Y5gWCqQTljj1KDRn2OmS73ndM+m+izHb350Ybhg/ASQ==","shasum":"272ac063c8b46deb3b65c08d3a640f74a46befb1","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4231.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeF3UHJBSEcypcscTUdPzaOJ9HFowtZmae/RxZWNBpRAIgNJlc9KiugY5a837IV3VkBs+Iql54Ij8eLnZHHNbdpe8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihspNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTgw//aBr7pC5y9eUbhUbBtxXaeHIwtntacBJm7t5azBmo38qoojse\r\nKIcKiM8BJnhzEJ3JyP8+zYXdEo7Vz3Ys/MJXUhFqsGWJwtBIjdURoyRzIfI2\r\n9g8Q79HukK7xNuyjUuvIaHyXl4Ktc5Oktai1Tgjp3wIUeRw5xiXjNw7MbmkO\r\nhW1Wxpdl15stnX55daAGbxCsvM+AWXZyhkIcE+vNuzUm/ReVmSodUSIO7lYa\r\nR9LuHgpQB83D9EVJGxDT/z+jHs+uYchHV52GgLjQaPZjXDIyU5E3QlkJBLeW\r\ntfA6CBhWX3jnFl++ctZETszbO2klXGdD+Ia/ZNO2W+l4BoP+gO0d3JX0R2ha\r\nZDJiLd3wXN2WuvpUlS1lapssp6iQ5te3IGQdYfNGkqRUMyS1X0+CfEVQbUtF\r\nedsXqayPF3nFd+I2/bJ1MyBuOoETe2ZzuQiP9Y5c9zd7GetZgn/Is9HmDbAt\r\nPrLtYPPvavL2g0XDpgMUuhy5URqV5bT0R8wYZ0aGKWF6YNHQxy/RSi7HjyMM\r\n5ueCBug4alScI+qxatVkCCscV+zmTRg6AVONGYCthxc/T3sqsgOmUv9qG3SX\r\nCGwO1fV5SVBY5FVl/q0JRniC3bVkzsuV7foQWW3UUPlruEaY+pK9vPMzCpSI\r\nr30Kb5eCYmqUOiBzwJ/KhqlJYll8Kndcois=\r\n=v3RX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4231_1653000781277_0.3612748243305399"},"_hasShrinkwrap":false},"0.15.0-alpha.4257":{"name":"piral-single-spa","version":"0.15.0-alpha.4257","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4257"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"61f4ebc7b6c7cea553e2159b075cb761216f8e85","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4257","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-ggrXuJtAUoGGJYnid1v7roLEqjpHQanSs/5K7H0N22sSvn+HAbzKHGpIx/XnXauQy2UWmECHZ6/BOMo31qIkaA==","shasum":"99bd9813b474bbacadbce51fe2218c7bc900ed21","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4257.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCee7fJMsvlrTb4aLL3WnDWttMKsqchk0FyoDbjinQenAIhAO21OBBIKZSnrWYw3vohyBcREhGSv2WuReCqS89Cv34k"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijPHuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXFw/+I0Eww1wb8G/VX1Djma1GrsimfqGN8RDww0Jtu2P76uU8qKcq\r\nBYh8WD1z72TLCHCYfQd5SebD/kwW9u3nVSaErAIWKBweUCaIItWmeMcCAkBS\r\nO5ITQLw4N925kCqV9VWVtrb56t6GfjIYVkdK85ukcI0YHFzPRla5SiILFkko\r\nAUdZhi3whw7Tz94SorexRfuFBDg7XNy/nCadeuLWQ4Xsqf3oq6gqfh7//baO\r\nSdh8mFk03ajc6AdL/QjfN1fIueYCWBziwJDj8pTwE5Y2Z3IN+7ckZr5gmbYg\r\nR4cMfT71iMbTMGcPpF+MkEbTqOyjHkqOKkt2E/k8/o6EFTzC1AxycAszm2uC\r\nbY8RZlFHOjoM7PGb0JUPaZbbfl60+8KlJ0eyA3oOo+FO7d3aPUlyYLhHsYDK\r\nRnf8pYBK4AK6iGUmxLy5+t+npnOF9+LEhhSKQPJrFqcoFJtjrH8m5R4oK8R/\r\nDsPmAXnzdIyAPoKrOi8RP+/q2Z9dEYISP6ipcrkKqMjps7PGa7zaiky0Xv5S\r\npl+4v5oiyOpu0sDMkcaMDEeANm+wLXpshFe1bpRd1IqD+0I6mYv3mTz3546X\r\nnuE0tf+CdXDzNf0NQjIG6uFViCafL8MVLsbHhFl4yoJtdM2Lk2RYv+kS5NMx\r\n3JUmv8xPmLNi7l6TSKjivnHLXPVAjIZ05jA=\r\n=Nz68\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4257_1653404142235_0.35155598025618673"},"_hasShrinkwrap":false},"0.15.0-alpha.4284":{"name":"piral-single-spa","version":"0.15.0-alpha.4284","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4284"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"c48d6a2c320241d04e3c9c4c4edb423345003587","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4284","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-3NNwro8gUwWWZ6Wzfs+ECwU9Bh+z7kwJyi2IRO+SPpTsaoFQE/trk9gp7gu8qBzNfhoTkrWAUERgswmfXm57Aw==","shasum":"a22702c06bd5200e0d3717c1e571a67545edfe61","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4284.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4/0xGnUV+eqy3ZPvT5xu06sMny15uut+oC2ptb27j3AiBxQJtDMbIV4EV8X0RMkfd6B/5ytZyqiEFkxfWpaAv9rw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinc5JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqAg/+JB5V/y5WpyFmElNFhei2sESB09Bvet6v8PopKEc7FcrVv4NA\r\nUFd4UhOAvUPsKRjhGc36OFdB5vpNnBcQLHNDLY/Vr4A2QUZDXiBRdvAlzhEl\r\ni3e5jQMNUwiSgxy00ZKuCxY4PoNE55gsHYoo2KuLAQO/+OcY3I5BxePOwS5o\r\n+nmOUGxG2DoPT5T6DFAQUUVuWPtXMTjdZ43/cPxMF1hpm8+tr9WqL5ZGQ/Ef\r\nUrzok32rz/Ev/PcmV+CrkBmcjTsSFOfa1P0Pt/N0OGVYjMtguSXbNDgdwJ1N\r\noGlCqnj6lNC3BO7Up9E5ruh0PztQ4E/nCcpo5PwCoCVKNDMAxjEnbUt82Ke+\r\nebrFtg79wBQedSydhWFf4CNcVRX9/R0ZESmv4A5LTKPc6lod5JpdZVrtE4V5\r\nOswi6BpsxdyLHUIopEguLkO0JqQmgdKy0kU12cB5x6xvnHotMjsOgQv48gKJ\r\nqbJO8J1f0P7E0NNJ3HJRXH70v0IbVwsk4OW/xLSM34kUxuBzhJC2rjdC264Q\r\nJeGnocGlL1ERTaYdM3u7LhE4ofydglSYJyVSKWZq0T2T38U1VGigsJ0LyLFJ\r\nMY1vtYwIIjHAybRibgJm4X1DsR/GdIikp+HAtnU3DzGm1gjGyWtW6S5XxfFD\r\nTc/BsLUZjCNvBI5VzHQcM/BjkDbSjHGyHpU=\r\n=89P0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4284_1654509129558_0.5823001400471932"},"_hasShrinkwrap":false},"0.15.0-alpha.4311":{"name":"piral-single-spa","version":"0.15.0-alpha.4311","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4311"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"394262be7ca4f7883adf6d34d5635445fd1ef9b8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4311","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-fERWaG7GjVPF/SlS/4RZedF5rQaHJ+pHkIng6gFJfgxlalzhyzwpjIf6+RDRfJbHitmmOBY54ZB9LqFKg2cAIw==","shasum":"367d2cd61af81143fbcdef306bbe4e0b0b47adf2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4311.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOrW024qHXUn1f7hbpiHH0+dMbHYfimATIKtGhP+qVuAiBrN+VU86kAZIaZjT6kYGqhMXw/rooDe1qdni6gkLL0jA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioKb1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpxpg//aPEx+5m8wHqGN7a+rJX/DkQrwc4u31r0kruTk1kJwRN5XAJ2\r\nSJogTSauRDyejfQ1cPuty2KPwChTdugkXQHwKjPjZNxwVvoiMF51UnTNTSp7\r\ng5f7pKoSZIZCwJ1PRjTJ4NOpI4Kddr4UukYkoeJJ/PHzd2Yc2oUse0bXgbJa\r\nrlmZ7xJyItxbo2o8lg+FLcbFJIg+0RmsxbQxKoDRD5D0CgCVK4W4jhJJzzCE\r\ndzybecULvPqrtcc/CdpisjgwZHKPpM+B1FEZ/5lYJQIqUwA6a5VejPzCKamQ\r\nUMrS3o+fQXZY8fMSM2azSbmFXqKK0n4uLpMFQAJYLqyHHc8me1VmQcxXFdIz\r\n4dXuRfbOWHWYBu65x1BipREe9lFq/wi34X7uQfP6MsOGDNXyaN1f5O+94Wu3\r\n/D/kI90IIOAjvGBDvgDGY6RvCdGXCWGgy4xZiUBbAUKFum1Bl/BMv3+gchkF\r\nYubpeIBT760uzq4j6yIIrAX/5MVNZ7L5kbU1Rdo2XrLdMDBhxbhbhHgbvb9r\r\nTofO90sGjIh8Y9UTYCi/7iOW0vUWqqMb6uaDvejS2r5l+t84R11cZl5Fm7oL\r\nSZrEruImObkEVBD3Y4UZ2q6t2gfcJQR335SxO1EWFH0Cwr4+aJEcfe1ZZ3y/\r\nZzZLCFI/OUyhQrJiOocketlsiPGHB2UlcV0=\r\n=CenG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4311_1654695669334_0.7256611713219321"},"_hasShrinkwrap":false},"0.15.0-alpha.4314":{"name":"piral-single-spa","version":"0.15.0-alpha.4314","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4314"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"8bd59debe22a0fed137458a5295eb2ea43d9e0d3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4314","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-rpVIUkADEibMnDufDW2RBT1j1IpE5+gtABcYfh9L+UAbnmBEiZGedf9zLxRaNi8mHzVQizKqLhIWaZnLjmSVXw==","shasum":"f9c1f1f2d46d61df6f3d25ac785d8039ad122a94","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4314.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEA+IGtAe7EjyyzehRdtDxwZlyA+eguMwSOJFz+/QvmAiAgZk4C+52Ip15E1UGv+sncKj0P+OTjqb96WtMGzevomQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiogr3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaLQ/8CatQDY7Z2/lNSfMI3zigRhmEFyvTgb2sfDsAyCi9niVX4e+z\r\nlbLBIXmp3yfp1TzYt0MYV9juzv2mIO5iyd0it4RGFrOGOmXBVWZE4AqA/71u\r\nO7YW2PLyVch4bn5sYKEhXpShSa2evoNYwCDdBW9sJB4mDGs0JNUz1tPzUDGS\r\nghE+LiyMK7VfzfOMMcyvhPWsBzCZPLAYHwF7a2A2aru84CW0lW+hLlWZgZIs\r\naB4ZnGASGqHrU1yBZkSN3xvDKNJWMWTth3NE6OFk4K6ivEYhpzDAPQyqPDpk\r\nLcGgjGmt9oiURlvfVMWkSr4THD2wn1VK7Oc71mUQUODdfJGb4AlS2yCbT1QL\r\nxL7Eh63HrUnVuhnXHfN6rhX4TgP/KT9Nqmq0v+Ie8m/Np79qsZ7AcWZAPPL+\r\nHABs61L/UVyrlwZZF6B1YCc5bBWB2Jjx+k5Sbcb2QYuLmf8trsrI2kVjo/sh\r\nbdndaOC2upOAwTzU6upSdTZdxfb73fmpU6qTI/pL9DCisxMoPYjBTrDwx3r0\r\ni4Ca6YA6+vaUXvFxS0f4vPhMF5DlHx6ydoaUWbw4R9gPDdnFG72dHu2mnQg0\r\ngEB2LuW9jUf/iKuxj0yKG4k4Yszh1XDmnAyDMFRe/2iuAM6qSJxlAaa9Zy7l\r\nQN4OOYPx2jRGqeyoQeS3Yq2fJWE470EpDI0=\r\n=4kRw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4314_1654786807440_0.26739734608612875"},"_hasShrinkwrap":false},"0.15.0-alpha.4332":{"name":"piral-single-spa","version":"0.15.0-alpha.4332","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4332"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"109cacf66ffee5af60faf7bc861e5ffe8c9a7cd2","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4332","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-3k5TQyssAHEUx2y14/lVCm1ykfak/9ViIFxpmc28tOueExvq9p2qNwFW+FHYHQXJSxxWi4wWb/XA48dQ4cPvcQ==","shasum":"bd8c76b20ce0ea0bea7dab8ddc169008eb3f6653","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4332.tgz","fileCount":33,"unpackedSize":24171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxEmAumTLbxSGdg+tgfXTLOTNLItDghyspw2McM/eabAiBXzsq4DZYZwwOOKQole5u3rxBrsg65ah+wTspe9603xw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqGG3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Nw/7BFFyVeKzIymjidj3SYANQmRxEqiShxpAewo5XzXGEaUGC36V\r\ntVzyGwUMjG/abjbxZJ6KoEYQ84Ny/ablu2bFDI6qSa1ovb66JKvDlwhxBIuL\r\nfvk5mdKgQYCka9DSOdMShSF86iRp8U6FRStjvl8A1MoZUyxyWr5+YOBmygC4\r\nE7n2dnUTvAR+TOfeh/qXlQm+OJkRmO3L9VBvliK0rztQ8ooAjH2u+vy76lrR\r\nYW32IubyPz/ACtzCWF5DQV1xAQ/RXCbgDs0IwFFo5GoWBqNJDjpWYoZTr8A4\r\nVKGiSKVAll3jeWMQjpNhthAzJPcBT4Ek6PMxiotJZYZlnM+IazHs3qFqh7Id\r\np6u4zrZJbpbq/xa7pAbZJikNeHs+fqV0brMLzH5/8hk81wFPZE3tvjkTUm8b\r\nP95nMQ9a3d5DQoi+jLr8Lvkb4mWzYw5SgY2Usci+bdVxzRHeLXoZGmsNqMvC\r\nuAFq9Da/0xqsS3opZCDGsk7uQqhHMtSorpkffta5GJvMEZ0Tski7ldSj3+Ih\r\nBYN1Gj1seoGbwG3ScmhZpRznIAP9e1EFxQuncVM+JMUS0cC1JBjmN832FlLY\r\n0LHln3q4WlzTqxh/7fbPbZWMZ63ufOKZ413s8r/8cwCSVzEh9qdVVtAQZcVw\r\n7sftf/LAa1VpV9RHTjWFBJwCsytLOV0RZFI=\r\n=IoC7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4332_1655202231189_0.195545380654375"},"_hasShrinkwrap":false},"0.15.0-alpha.4345":{"name":"piral-single-spa","version":"0.15.0-alpha.4345","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4345"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"56ecd6ad080b3d275752b19afcf8435e4bd09140","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4345","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-0NnfUoLEJSj4mtdAhWg19HnI7hB4dApMrDwKGG/U5pD1meeHYPxzYn4AyQYap8z/+DjHeI9vWtOsBUXwe0NQNw==","shasum":"70c3633e125f32ed9cead9aaa221921d12cc0d8a","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4345.tgz","fileCount":33,"unpackedSize":24253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSo5kJwSajggw4QpUY+DYVWcH5r+NiTz+q6nlbKBfQ1AiEAmPoGUfk6UObeydSh3uPpdDvpaS8ceZ8C51YjaYVFKpQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisQFKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOcQ//ebb6XAHxM7kByOdWA5M2HjdyPhMDKiAh7NVPFgMNiSktX2PN\r\nUOxnCFi/r7UM5OFUsrkrwyPl9NG5EF96NZ+t6l61gCSemOGjZ9WyjPh51cMr\r\nglCjX7Bjf6lu5R3Vot1jPqC+eXKWa0hCjcpKsq6x/23+o4cqA8GFiPYBHocJ\r\nLklnIF8jqWDmT5qPFqn/fQYLkLljpEmqg3zhIGE6Zp48tKZMffT9S2ztaeA4\r\nt3vhBDhMlRukdDmwuF3jQiQwM3QcJI/dsNihKtnLBur8FxtmiWIK0zszpLP9\r\ndsPIkbLyXu9zX126Uw3U/uX8YgYAF851m5N+Nhzq8dPp0DSgT0pYUtC36Nxx\r\noZu47jldYlm+mJvOXAWUtJETwXJDd341eE2FPEVSgRP7r2u+u0V9OPMzMDjX\r\nneWE0pFltPU6QQpIKWZfvVD760/2rXRrF6b25srLxYtpINFIFx+dqJ484jm3\r\nPmuwX3eyuoYJsczKNqHsEHwp4zi+hT5Xy9G9V3hEkEGwBX9w1OiBe4cF43o/\r\nttUaND8j42VsQU8jD4ixH69LK1XUdjfRVCDHqvx7tZMbdsFZjq+mxZzk+jNt\r\nclyg2cO7MUaU+MijCeDfDA8DURa4gY7VXOUSASVe8VTJXES28yjH1XMBmUQB\r\nSPNaZ5wqtu7WjY+T0/51TXKpPXtWBAj6/b0=\r\n=PQvd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4345_1655767370665_0.12168799124523644"},"_hasShrinkwrap":false},"0.15.0-alpha.4355":{"name":"piral-single-spa","version":"0.15.0-alpha.4355","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4355"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"a4dda359fe03992cd06bfb808df916747beb065d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4355","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-yahPLq1eosxwCr5lp6UhWHRgEV2q58nEGvZzF7IiJs5t4/gGwiuiH9JGpd1oqzw93Na+Lgh5iwG/dJMJHPjKwg==","shasum":"550e0bbddf3926d25460693d950d433755862278","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4355.tgz","fileCount":33,"unpackedSize":24253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRcMyxQ/AV3s9Br9jwhqpp2YHNKZbs78MCEZBnsC1tGgIhAPKGHQu3dAEPYTZwV1bD150UB7HvX5PHFq9B6WSiJZU3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitaLPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq70A/+N9qmpN+0eQLe9Mso01e5U3XitzT5YpCuq06EcjkB2FaGZLO0\r\n73+TAZ8g/eSXJjCrqUx5wTZOtJ1077x9QQVpQG9cCjCmEoQTKiWSB02/2Y/5\r\n4J/P4cfYmiXPWcNUjyXbFmHZtPyqPy4aayNJTItM2MBYn0hsjej/kLJF2zcm\r\n6haYTggesyq7SCCMKMrdSEJQnWH6MSG8DxS6z1H8cIRqUw3QLW8OGkNtrdcJ\r\nXaC5GS0wvcO/b9nkMnobz/rKCtQky7Q2s5JwK4NO/Z6XiK1n7CM2YDoUK9UF\r\nRSgNxcRFZzPbaw0gjXjYWsN3iIA9VG5QvxZwc9n3ryvbPoGQaWegL7J18q47\r\nKX9lAPnMlMI59j3S+fN30wgZqjhtMFYlYC1+uoqiO3j/wSHhadn9wAJO47lH\r\nXiIYc7ckBfGsR0MiuajrfnllBDABYPUnB1r1Sc9yG76M6BapaWvhZFtozIyC\r\nAyRVKg7eqd1RQOVwzsI1nWfboo0Cz+shWemEsYj5TBYtqm0zjRcAXYguF1VU\r\nTKC5oeXST32jjG9G5GvzesK9mFoBemrTFDnNNaIwu689DyhqoX8+O38c8F5G\r\nH26XJIRp0xTMTFLihaeDT4bKv7FQad/ciJZW2fAWtXl972ESOmf+B8GFXMsp\r\nK8Gxb5vQ3OFQGFFzuYwhJz7lT+mEYvGZRzs=\r\n=Csq/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4355_1656070863499_0.6823018429201437"},"_hasShrinkwrap":false},"0.15.0-alpha.4396":{"name":"piral-single-spa","version":"0.15.0-alpha.4396","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4396"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"62abff4d61634b3ecffda2407f1c29f1de929b4c","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4396","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-CsiHDDoH0SEFQ4WnPlVO8n94XgMYhplUH15S0X1yG8nTdEykiH0sQzyr+gvXrQuL9pEikL2pFGs2u6fep59fxA==","shasum":"9e311d185fb152e83abc9b612e2fc7038447ecc8","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4396.tgz","fileCount":33,"unpackedSize":24253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCzXDp7DrVBuddTKkt6GgWWwPnptyXfRh/eMTac3PB3gIgQrYyFv4snEsvR5qno56gvTA2sPNGWkhQh+Yp5cU+LRg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixMOmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5Og/+LUsFqrfQudoSotu7wfJ+I8eD9w4AS2G9VzTTMEllhfQLRGo1\r\nlc+Kiy2K0xub3t4vNzX1hiMF4Q4L2rEde9j2wFhPYCwHAs9YNHjIjs+HrftI\r\nbVcZTJXKJBwE2LHrDU+zbkglQvaE6hE70JxK0xYVufxcMAOYPwFqkGdBz35M\r\n8j+Ku/KoNyf2HwOtrhgPiXQrfIK3uM4G6JAOCD63NqFgiOG+0doQdqTBAg/Y\r\nSRZZ0M9OwWiC/MQDyzHWFkoZ5LaWvwZAPDCmlZDOoqtKKswtXHxu/idKbGXn\r\ndabFEYFyTd2f394qChdEJhFNUBCPYkXpiyVo1FUYkxhs9nI273G1Mq+wYQ9F\r\n5y398F9pDdeRQxutQWskmDDdST47FqMcYLBYpkQGn+bduYypQrXGp79vtvKL\r\nUOYE6ic60wquALAeZxihwV7guu0A98Es5EBijZVa9XCZAF/vKGk39OuWkmzG\r\ntfsII2c2JHB7GTWmabqf8yc7aENqU9b98DTqoSsGgMiorkSxPUglUuGgr/xZ\r\ntSwEwrAHSPeQ4ulpAP+YpvcQnktmxqklHh4H5Irv7df93OU086H0/2aSvlS5\r\nO1wqo2QVKqLx+ege0nde/nySQzi4DJRZhkvSQgSjMm869xvnE44oRJ0elg1x\r\ntVK52qlA/SM+uKKlSniTmezDS7CXXfVpsgw=\r\n=xVvj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4396_1657062310329_0.28485401336556326"},"_hasShrinkwrap":false},"0.15.0-alpha.4399":{"name":"piral-single-spa","version":"0.15.0-alpha.4399","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4399"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"34be0cac6948a92981ab4994b01b34e44462e7a0","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4399","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-LwZycpJQwhAR96Y7PYjqo4LV6fjKnIDoZFZETjFk2PS/2LEiaZ/+QzKGJXZlgCpCMgIWVCMQ50ru5CS+DgiMVQ==","shasum":"8da7d52c19adaff7ad7bd4e6b3bc0f62a119cb08","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4399.tgz","fileCount":33,"unpackedSize":24253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeDsOQYVyg5OKYqdPOdayqqrIrMWZr312N50vJYg6/SAIgfHGVwhFQWmCELSTQDoGZAIC/XroBX+Y/DEvlJzJyWHA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixZLkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqn0A//YyVbmW4kuZSsXmgs7I+Psa6ZJQw9RkyqOvsCecUdcbXphTEz\r\nrHZ08tMPA/guyj4CWwmGAaNqqBCqeEWg4VzkoiOKrAoxE9LqZ4DbiSYh5ej0\r\nQabDGOBt7dPTWgneVWvxuFEwmdLGI5JNCf3x/wMzeYa1OitlwLeQzQqmTPHQ\r\nWq89Czs4SRZBk5YBfb0GSL8x8YF6jhybCgPENxtO77YMPv9eMRCjQJRSBMBB\r\nfP5ZJ9XI63Wn5KvJClvCZBKNAmwofPUFDSLyJPCxPtaww8yIT9kuYqnEMQJ/\r\nnpU5Ym/Z2IoQ4sIpYFE1Eb92KldxIjTJeTOJowI0qdKFfzEmlL9aNULX5nZT\r\ngVv2aEcqA5V7ZdLEagxOPNjv2qZ7p9syN0LgEPhoDt/tieJBVIiuwLokHJCw\r\nZV+bbXV/X+67rvyfgYbDYr0l96CctutnIJKC6N+oqFMvWRlIx/4rBEqeVYJ5\r\n6O5i6/efZ+iniLIqf88zrggw3JXxZVPYi6WnWIcnE+XTfqPhsCvm/sdB/YnG\r\nh6MKYEEH9KFzXaqdBq/S56eQ2ODrqg0+DG66wwZvwVMiSsYWbwvwqZQpWn+8\r\nkHoxZPGiIOi4C+4ZTDYEpi7J+vYz5W1QU+wLSjW3cCTPye5HdiZBBZsJsK66\r\nDqHXXLKO+slC1VWrq61lgGHmYLAxMdbIMuA=\r\n=ihmy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4399_1657115364589_0.7564743132897251"},"_hasShrinkwrap":false},"0.15.0-alpha.4409":{"name":"piral-single-spa","version":"0.15.0-alpha.4409","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-alpha.4409"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f5a0a4bb26fa2074af90776fa4a8b85a3eb8369a","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-alpha.4409","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-yLUt9Oo3IbNRlKlqmSIN6ok2R6mYLlnmhNp+XLZJcmCzk7VAQmo/verSsUoWuD7023cxCLqfxlqxqej5ozwcNQ==","shasum":"8967d01e2f17717fbc67d12acd2b7ce051f493c0","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-alpha.4409.tgz","fileCount":33,"unpackedSize":24253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/v14XpxlU9C4JZW/mXzISLXdFZcOl37tsDAueQcR75AiEAxWnMSsnkAg6RhxqBgqbT0N0Vv9EIqbHyDwVz7nCWRWI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixxOAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcQA//WOc4jUdpmDCgq2qxNK1jybbBDDbxQioISJ5Bfuue4mf1cRLO\r\n775wYiMHc2xBnEMCKrKsGi8l/jCUqHRQ4+7w4C6vyfqmdDRbV+XbqYbAfQue\r\nmnLE159bD4oil9AufUsxyBQMIPugFPXpMy0QKXIirOvZXLlQhQV7enIuneiV\r\natupMAc/SIRd5E0a17PUvm7kQ9rc2hNw9znq+qy87yFM473a6a2+KMRE3G37\r\n/M+LALMFhWzrmfpUvBdBfaNjiqkolmyfkvDayHzfm/4nkZrtR9mDgagf3RoF\r\niGtDCWL3Nxu+l0pjbeZza/tfUIANM2kl9KYfatGguqLvbNXdNq9J5MTqyACC\r\nnLU6Rq6ZzEbaBzEQ0FTApDJJhzGf+Z4IDad4a9gTfQiaRZdBHvvuO8AA0KKd\r\nfyfnSmqMjzDQi335pbggW0fsz5J8AmrJaUj7tV4QRa5MBVotcTKnUWWIlOJf\r\nzNSuLWbjupa7rMjQjkXoe4h1gq1CBQ0q4Gj4x+0zOK/jOwR1OIX09KBTnBmS\r\nTOJHuX0G/gXcv2PoXZTfSFQ5KGl1NvOCZO6Rbn23kb0AJKbMic2uKy47mV33\r\nX+7hRT6lqYZK7gUrdbe/6OVipY87yGSxSkBBrG7yY9cqPezIrh72Du45i4Dk\r\nVaeqLlIXtHXsY8hjXYh5ugDrmJQPS/iVnCo=\r\n=qONX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-alpha.4409_1657213824637_0.6150382532039913"},"_hasShrinkwrap":false},"0.15.0-beta.4411":{"name":"piral-single-spa","version":"0.15.0-beta.4411","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4411"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"4f5faf811d34692b5f2d3042b9fb732fa8d64cb0","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4411","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-kaaOT4J9BWz4gxQB4cGcCbbXjBdGDHq43WCwLIm3yEME8wiQmVETpxBL2FH88j7M4cdA8gLuraEjGKsI2P8S2g==","shasum":"4e845c206fa87a560f41916015680bf9281ded98","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4411.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvPujgzRBplWlgwUYYCCqmb5985TcxinegokjQTEA4fAIgIEA4kqrf+7IBXhdSdQFkPAAO3oguB8DFtuc4tLwqfkY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyXNnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsqw//RG+X9gttXhQ1v1uLc3pJMzlFqxens/5QVsuC8oa1uzs8zxbP\r\nmWEj91bUlPiKeUfl6BRn9WCkZZMNHNVEfWVmmSFOrtPcW6bnjVAByNORAB9U\r\nnvsF4qwKKn+ob4ROBgvI3NaSCxtN7bos5lsLDtobckx81sEQ6iOsp2kVrY+f\r\np/S3l5GTj4ME79EcaRKnJhXtf3eL6UbfX76d/2Hy5bgjRu1xTg4jJv3XMnGu\r\nfstXxwT945RyO3JLbYRgu03hWjKlFs3V+PywPpeUXmcZ53V6pCaOr8HZJiA8\r\nxm6fzGu0dy8x3Jvf07wNkuc0UKQRuPJrPHu7Ei2BnR/12Z9LCsldNBC5y42Z\r\nQJg8UAHjZMJh2ZsZP2c6SFj6ORod+hQ0ZY8BB/wfLWgsmkbxxsOOA9S/i1ny\r\nc9qaA+RHw97660L2A1JOmXeMLfBYyrL5kC7dk6nyP8AwoEim6XiIDom0lRY0\r\n+jnDtfxk8fmpOsOeul46WFiT53y7Q+0PJB0PvOwet2xISth2FlA/+zHodSD3\r\nXJaa66iWQjOcDT3sLu4DWYwn0OQ9cmowMr5vBYuELaioyWeOsaGlDkVZIGNx\r\nCrzuFZ8ILt7TSsN6d3t5jjIrzLSJVzwQMOu2wk/mtGsjgW1g9CrxGOkaOkFy\r\nHSpgqlxxzjnzmJ0hJtoSEetElUGeZTlifXo=\r\n=anXH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4411_1657369447296_0.32836012226155264"},"_hasShrinkwrap":false},"0.15.0-beta.4465":{"name":"piral-single-spa","version":"0.15.0-beta.4465","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4465"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"3c7c64ebefd180d4e1cfbf0a397ea1c68063ae08","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4465","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-FiDXUJShp1RelMja3ypsWGVn7AssKwhjpuR8mU8kB4wRBJ0cgA/5wxJLg09AskXG/keBn3xjjg5HdQzgxZ1zvg==","shasum":"ffed0d28af7aaf65cc630bfd523f924bbc859303","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4465.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWX89OQjPKz06NehYlvCo71RQfOoiayeIJWOL6aCPYqwIhAKRaoKiFxm+CvNoaPC8pKn3TBvyWci1LgBEH2abc7a+j"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2QtVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTLQ//ZeGqzfmnK97tl7Yijb4Nb2ziACc2f3wcscb76DxzJEYKY8ld\r\n5bjOhV54EBDt0zkp3pDguEzZoMUExDNaYWhW16xI3cOveM13eItZhwgqhl02\r\nKd8a1J1ZbvH/ZTkWx/vriEm7JperHZnR4cXPHvHQ5UrgEEcNaUxAD+rp7OFc\r\nZfRkUcyJLfdnkzZ8yBheuraQl0FgQMJWRwthwzj0y6WWJwIEJiFquUzWjvo1\r\nsGhZ71S5r5qVaK5jHKXF+lI1OrSbftYwnWoAv230hHQG78ZNuTq9i37d15J1\r\nnjUZmdeeO8hWUV2niQgN30imUdOurHn78W9Bh/B9jTreqmAF4jun2heX062h\r\nVs3oVjIOaPHYTTrdRKnevObWGQMbAutq72N5b2uVdojeCkk174eCTij4yfyd\r\n56IOBXd7wf2TLN20dF1kXZS+GlaJCEeoJs1XwtktJF6c7Df4e1q3/slAleqy\r\nL82nz0TsMCnP11VKwwzPIXMR7EFlb70L2EpLBToq0fNu7MCQMB7P/zG1p4ub\r\nrV8fbrwzTQSUs64NTIIcvtdcEap11uzNtiA+/s6YURR4V/y+OBK8y8YQFkEU\r\nwrFNZnHaGyMtF3jfPeCvwkFNA+RKVCEes5wjnLMWVRNdObui4/RM085KU76a\r\nXuOZxGPFZT0yIUzmgzNBSFeMCFTCtSQicpk=\r\n=Z/pW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4465_1658391381727_0.21994014818290553"},"_hasShrinkwrap":false},"0.15.0-beta.4466":{"name":"piral-single-spa","version":"0.15.0-beta.4466","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4466"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"35d20c9cd14ad55ef8148f13a4fbf70b0e730df4","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4466","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-vEkRCnjDRkpKk8RLqHdMZiVEVRzXBHRlzd0/2tgXzAZeJwGUDIKZfs1aXaM0Fvkuhq+bGvGuN5CM04HVMuSASw==","shasum":"437a254dae06860b5b5331bceb6dc968e57cdf81","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4466.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfY25tjQP/37FZIYUEpyMa9HnhEkv3QFHwD8CUoxtCRQIhAKzmQ6n8iGuiASjpMDho9PQSfyh7W0sUetBM/1Et4vd/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2YreACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqn6w//Qd90qBFJW+DTjuoKTxPjKYdmGUuV8XifHTZh6aRbXJTXDbds\r\nJ08xEUYypUr8wtrUdQGedW15PMMCdOZIwYeWXlH0BDSJMuXr/ocCitu/KNX0\r\nX2/clk8+N9nOb5wrT1nZ7h/qecRkqQvAX4KhCkHbE5Hi1miTYIKsQmn14KVq\r\n7SDbyIpPMYeBIqjWXoGRx84Serbl0MsxFF1zF+/3XoEJZQq3rJ5t7l3SsZPY\r\n7DYxp+RwzfdFWw2+O/MelsEYLSG8b1LtTMq+n8PzfEh0zFQLMIqQlLVUVP3J\r\nSWtzUyt9fzDZ52zez9EHyqXukH1KOLvJmT06A1lkUTka+5t58R2ElwyT2yMi\r\nRKiB1qbN10RBe1AT7pUyo1i6+hEw/Rv1H0sBSsZXEQhJnwy3KneVdk6Gf2u+\r\nr6MKIn+xR1QX3xzfzzIyH7OU3677KkVZU5qc966nb63FB2+js49rprz7NHk9\r\n/DRwLW5JSUZCwV51uAc7DRkzTMENlYnWGuch75hG6Y5zpamO1AG4kRP4bu6l\r\nyYY3slfQ1YITm5kLNPKvM04VNb5cx6SQQM9xsvEjrWaXaGLnnqEKbLvXSbzi\r\nUXAwlEGP3g8pRfZVhPfgVBt6lt4uHiSFSChSZqXWy06yRTHCDaTLW4u+JiT5\r\n3VC+uAPalkXho0ZpcTUF7aJ1ImHagawNw7g=\r\n=7HbR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4466_1658424030225_0.11308299521899601"},"_hasShrinkwrap":false},"0.15.0-beta.4472":{"name":"piral-single-spa","version":"0.15.0-beta.4472","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4472"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"327a25c420b779caf6d2ea2edfc7ee59acd94a5b","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4472","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-CbdBjfHERl4j19r8RSfrgQ3BLht16Hxjd5UpLgQilFyzBxl1nzLfg1Awo7QErUMwFvsmGdkp+1VoQXN2hz8HOA==","shasum":"3e1f0f33456839fb8d805d5c53906d1c5a565cdb","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4472.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVTj7QNp5tPbJzUWVhCrO8FLr0YCuiAZ7sx7XlZzwJZAIhAKERrZI6T5Z9wmr8EB9hTWdwoWt8RNek+AwsXc88ejgl"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ySLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCow/+Ne2ZG378/D/2TgjL/JNBTKVFWFlFyMxNXX+62GFUKPrKQM0S\r\ngOa6K+PgpkUzEq97ZMb4w2wbYvGTHZuicSSJr8q6tngca3IgLPrHOycrEssh\r\nbCHYfjb/dzwK9kj9gOFQtck+HOsV219Lsl+L+jHNZHbqVy2ZwZro2viXibZE\r\nmSYg+3senhGcFSonbX7bgtPS0g2aBkioziidoA9QtVKr04OFJYK0FOloUC5p\r\n4RRVIOllpKpNfTAAx8wAYgNOxGvasu3Vk2XgxfWMx7svWQQa2WbOiK8hIFp5\r\nJ3OyVO5EvlSpr5Nn+W+khK8u0klTUUai1KNFfza6VbzIoyX7lwd3jchcoaTK\r\nsIuj6bHnNhtKBG7gx58n4LLgRay06Uz7wpgRg6xuhmTnbqC/xG1j2rYLYx/m\r\n7jR7YHvm9xArEpTvIN0666aFIdx2ivI6Z+wYost1TKfOg5fk7GKdhBQVZrdx\r\ne1/oQdlYdAT4j0ZiltKFOHrvBfcqvH16/PNWKgv06aXOK6rY/R6wKlpoQnME\r\nL+18SLg5YCeycaxSkwsGZDf96+qrcQrZMHG/hca1sZRVM0UmEIX8CKWL0TVd\r\nEDD0a7UIF9owOKOS6mRGlA17KPaUpHIKzWIMCpxDd8yNpjdUu+OUXFQyUs8x\r\nOVESa49GLgN5ek3Zz1lvmWnAt+SqVIqak+M=\r\n=xSfE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4472_1658791050998_0.7352320095465652"},"_hasShrinkwrap":false},"0.15.0-beta.4512":{"name":"piral-single-spa","version":"0.15.0-beta.4512","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4512"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"8c26175fb38ac3323c30b154d7ff28c13c29cb39","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4512","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-GkhkAfJ9w6rcb65ep17LPRrPE6rSjw+gZGT2FdFLu/F/0HX5MotmhchMUROUVnoohEA+dln4vSQIOrKDELFaKQ==","shasum":"3e00735d017b1a09fdabade14c48ea693f368be2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4512.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNjK9wFcuqb6sxa/xtRLVBWI5SUv4X+bzyzIlSzWc2igIhAINs4M97Yh3C6SdByDzdtQwNOlnDxrQBAcGiZGzNmnUN"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5GjlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoU9g//QnFrp7+tZddgSj2EILE3/gSOAGuQMC7pLSiqcQ/HBkNKqqLI\r\nWreTJnayZMU3h98tlAbNhiS8OMZTrLwLlnX6ziKo432yreKpIUaH9xxTStmo\r\n1T8oUHfbVYZ/CmMS9QqrXQG4D+gDWGnhU5qAjTIKPjBOPc37425oCfVSYWAn\r\niUtglSfdhNJMduD0CQcQEoXPV6Cu9YCo6cTVVjonxRdzNiHFeoN+IkRxhK7S\r\nVJ0XbkKX2qBfVObC4+jYgqFY0h9yq1HtZIVp45nPYwiNnPLgoEJr7vIQKPRA\r\nPimgoW18/JviDseRxJ5qxuSZkjEm3U6QF46kFoKQLvPoUXunJutygdD8mrC4\r\nIY2P70Z3biKF3Zio0zGlqhvZg7kR40uuuimImxtaU9hyHZRxSjMTOLIeAKIl\r\nJ0Qq86ZLZkRX08yBZ/N6ffucjxZmpJEERY0jcC8VwO/ntfwP/QeLpOC+Ogqk\r\n9Eyn4pJeL3YIekS/G2AnhxiEmtf7MNrZiuPjgK/TsC+QBWXgtCKAC0PVbnbP\r\no520tPvlwVJk1R6TDkNkBUFObKJ8gWqk97aEaVSg63OS/W8DVKBaLvPJCDQR\r\nkxtg0X56vq5KSAY3DXaV7z3tGNUX+dMjIMUC51z9M6sfC/15uGjB5hyjZbdg\r\nVSQNsJOwOGTyvG6DGkaE7YRcUA1im9f2rqg=\r\n=8sJi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4512_1659136229125_0.7541321284240783"},"_hasShrinkwrap":false},"0.15.0-beta.4544":{"name":"piral-single-spa","version":"0.15.0-beta.4544","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4544"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"d128ed2e80430bbedcc16644455dd47c958addfc","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4544","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-jZ22GZ/fxI0NKWS7pcaIULVi4PFYypRyA968ddCrsmuDE985kOBlndkbOTXHbKUHSCcsSIP/HMCvDVSVJzuflA==","shasum":"0f5a68c8316c1ddad865a4a351e420d9e0b2917e","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4544.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqCPJPFGF9GYnQTYarWxLFojzRVoI7BK7Tx76L1C4ZawIgfVkMCPhjz3OaLOA0uyODtXRBYkYo39n57GIXC22fhe0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7N++ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVKBAAg/oRHSmLzGh+x93nH0n2tn8PXGUj9FsvSY3woSU4BOSOncki\r\naNztR4vlQ0xoUi9yxYyJJIYAiMFaQfJxivrLvOSBpe2Th3Yjf6uMo9cpgcoc\r\nCP7akpbZYEuybdVJsQq/Q4WU+gJEIwQE0Eozlg2x/sjBgApvM24n/AR3Y6pd\r\nKbv0DzwAlRtOdSrBmHeZXJ0puW9EuAEcl+L2qSnkzb5mkkabgTib209P74vP\r\nj/8NcJzXGNhc0uw2Br0mZk+78xFHnJzbp+VutVP8TJcC2XovYDQRlVgpRGvE\r\ncmjrKDQhsHArMqr70O9Y2hl4dZfKshHgB4v1YeJNb6goySn1xNVaS548MtA6\r\nvsgbVg5E59890nb7LjgcZ4QfQ/SqWSM8EdxUEkhd83qn7Vc+PpP+Q0vol/HG\r\n8PIatvsX6WBYBzePqA7TXc4h3aHLDm5sI8s4cydR/21nteDudgxVZDl+1XcH\r\nwsVy/481p+2TnG2iE3sgve0yTngmFGpQfa4FSmlS7gKy0X+FLWbkRNMOtnKY\r\nAdBl2ppEfCfbwvhvVKoX7Q7UCbPHqa38u9Z+5xqZQMGulOiwMas6nG70Scpl\r\nnvYDNEJDIoICVekzNlnaDGJtroY/j3Pgy26iiMmsK93EgwpeDYBs8Ump2QXQ\r\nYHitqbm4+ICgZWULaT/RVIffxdCv9mBUwfM=\r\n=dBIp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4544_1659690941991_0.7422884940037711"},"_hasShrinkwrap":false},"0.15.0-beta.4549":{"name":"piral-single-spa","version":"0.15.0-beta.4549","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4549"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"ca7224ab671fd632fe9e5cfe9b7f573d9a105ce8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4549","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-OBV2QBaMqgFVhgPkczsqVtWFx4v7Hux8bw4lJwQ15PcCdktqN0Q0Xm9o7yiWp2qX9THL9vUkP6YDqmQwv1PZHQ==","shasum":"9c2ca7f880a1bc296bda132364702c66ae07913d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4549.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1wtHj0r4eDXoSumrCkXaZ2fA2P86mZhNWEBbfc0CWVAIhAP6Idz4XnMp+7Um71FQrdsGI2kvZG3+tmiuOrFLo1w3u"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7o8PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruGw//Vp7qRD7anwQeNGE1t6NwjLl9BD6e+VTVSCkEHKDumTvZClMO\r\nHR1CborTgyIPzBPYc3BS8ffKOkdg3I3M3bBH2p7ErWH3/GiCaPG58IjAil5k\r\njYzSpWuagAcE8ccafZHEaMqdIPjsx0Jl9jDNZXFLO8Y5Q+Ua9pkJ9ZqlDImN\r\n0+W3CLOQch92qv+WeWsuIvUmIWWWZ73bNV1D6h1Nn9FgwecoYbt2wC1c/JnN\r\nHrc9uTrZG2aalMUWS7wTNjUE8HQnXUr1JKcNHrft70JOLeWOWDKakr3YwNSe\r\nhv3gNwIlVfVTeIX38zz9sg2D66mq0U6B6QIVLJ29kp8frae8b/mZ4nLl6jD6\r\n+qoWg/H/f3af6QTJPyw9TqM6MH8itQWJ2MDPmOOxX7WAp9/pFKhb3gJ0AbYt\r\nYGgC+1o/Ysx4TGccMB5rkGMHORtIy7PU/87yQd7UuCHG+eSg2jL5ItDwZ7Vh\r\nHUzEhXjvJtEGOCR+xcwR/dJUBrR+E0+3uzPzVD3OdEJCGNHNlQhROHVaUBC/\r\n6jjwoSfw4QJhP3Sfl5IkxFiYjgPWzj3V+ZGd5hdhR3IkMoLl/MsrnJFuU/Zj\r\n00VZ1xoY3f1iJqMNT1vOY/9eglCyD8n/v6e8h36yJ2XJlNxCxd7uPeve1aar\r\nBj3d96wqBd6eQrmAvuE8xWzKQKl/1m8fKZg=\r\n=rO50\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4549_1659801358947_0.4986085399739226"},"_hasShrinkwrap":false},"0.15.0-beta.4560":{"name":"piral-single-spa","version":"0.15.0-beta.4560","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4560"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"b4fa0e9b24f7b8e340dc3a32d0e37d21b3d26c3d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4560","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-C5zTDoiUwphNN4Fv1niYyc10IJ7aqkzxidoenaOn+HGmKp48MQBv+NdZ0p4oa2aZlTZRF6x6zQXGgt4hGzetQg==","shasum":"faf109d5b3127eda004ee19b505194d212ebee36","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4560.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJoMy7SYbjYtexffwKBTm1tpmsv2Ar2vnlreBVzy9yuAiEAqnMNoS1Q4dfRJ+E9yXz36eME26I74GwyBrTI3JnnnCM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8OA5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKBw/9GbgKdP7dRbOVLOBe2TSoEpL4ZC9W4k1RcuABlK1BcDxlfJyq\r\nsXxhmikdOpjTHKQRyCromnbNKo3QCLGJGwkFg+XY50UEaxgB3EXUtGTjrBse\r\nx9cbyvlhPJxa56+H3uO0ljwgc+Zl2DIC5Oy8tAUUtElWZomZo717FOb+uyFi\r\ncD9djlVIWsyOGUDtljNRK1SGitQekqUgKuPBeQo8YdFG0CHoZPuaUPcY823n\r\n4MWzZXFSpHPY3MRW368kYkR3GgX9L6WeI2fsWHNgSCzKYMOWgQjUezH8QTaj\r\nhxiP9bDxYZJYQSUnUP2OqvaojL4DqwbuGQvT00ek3OzIrVA897l7/bGOF+Qq\r\n+SNqcYLDcUqdKPwbeD1mNfg3e+UR1rXFGh4+eb9udKnq6d5cqvW3csVaSRrE\r\nviJiYMu69ksTbaPuXnpzSXyl3XvfcR5R+uuhLECwWYa9m3CJTtKh3JARpgd1\r\n4Jfcu9DxCR3Ir9Ix6WGs0q8wcw0/3giLHIW7jEYETDO6MwX2GIBO4qTjPb39\r\nk1f1fANmAsugYU9b16nYRHG7MIpG/D+swSi9AWOihwpjOfVx9OIuyNh4u100\r\nqT1CcXwLL0rTSc3xXbX2kY6Wjz8D8SffU2h9vTK5xBM6gG4tjJwP8LWUpanx\r\noHZjUjjQIAPDlqzIMBAcIXZpFiptQFkMXRo=\r\n=h00Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4560_1659953208948_0.005330105108981353"},"_hasShrinkwrap":false},"0.15.0-beta.4574":{"name":"piral-single-spa","version":"0.15.0-beta.4574","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4574"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"914a7b4c14d9b161731f80756f3e175f0444e874","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4574","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-GUAYm5WkyNdgfbYif9AiR2KfeYzOn/zNfo06phLbpoRDhq8Zm/llj2IJddye00qbWYwSqMbkMYyT71cG37KplA==","shasum":"ac9e8703af358b2dd7a0d6b138afd050e6a47fb9","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4574.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE22gKVqS7wHScXUclmP5S+RIhN3mTqqGJzs93AWy+qHAiADiaUmvGLfj2ixjkVOGnBFxqhPN63HIyvy54ANRNp0aA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9QrDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJGhAAoPiX/VfTIGuqtTTBUkmZTOsS8+J87SZSG5iv4j9KG24MXBS9\r\n+Htw1BRgRjcb5stXuV+dqNOXZ05ulMHvvaaasMx9wApjnuUrOIzbL1OdcZrt\r\nuWv1z7vDYPz43Ko4iuER3TP2KCczHsO6hKqTxz+48NDa6ff6F4Wy34gRUo8W\r\nUS8EzMwpsucXEPICZQ6XM5T6qCjAlZw+HLo89wbLqfufAD1gLTD45yIkXgcJ\r\nLTgkZytUo8CYHpVueup1erhq6yQo+ZcKPLBpjg5fzgq9A5NZY6dsz0xSQJCY\r\n/caoq9of8BhP5VuKiZdRZLohGyTKLMjpH0nKHsB+tInU8DehFEsCVydsxs/j\r\n2CrJCQrT0ZfhaNXBS30dXxWjEPw0vqORsucLPkDqWbVALG/4xGS6ZqVvCfG5\r\nj0EJLUdI6S6ttS0GlSOc870Psap+jzaJHjAXCG3M5rH+kKW1VkSAXtgTuJ0f\r\noexo2u7VzeBVLTlIWNPEUf2P2IXTKTkwRsjVQv1DDgOBLInf+f0K2BCoOmRI\r\nGH1SOI4nCngD5sObdlJYMzFXG+VWH3aEf1ZWmgUQX272RSeKlEVnkfYYsTYB\r\n9B8Hj4Xs2r4TcMdsqs+UviUT4aVB8tCZ46FuVP8p6kgpLlWFmSlSEQUav5et\r\nxQKG7eW9DzgSxrR4bvsC0AU51J6xJBJZML4=\r\n=MEoX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4574_1660226243689_0.17487096217402542"},"_hasShrinkwrap":false},"0.15.0-beta.4579":{"name":"piral-single-spa","version":"0.15.0-beta.4579","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4579"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"a7c4837c23014ba2038aadce3045315164a98fc0","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4579","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-A5+LVTuLjv6aQ4DO9+pvDEIdmooSTAHqhwDT6854UjLIIHqenjn/sGr73jy5EHfv3Fo+0+Cqtlz0gUAFYsCbJg==","shasum":"a90b1035b8abcc09d6b83625953b52473c12e91a","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4579.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuYyDbkdZaIZLQVaMjPQozTNW17oJgxd6XQImmGONROAiB5g0IYGj+8DUPirg2CZzJ8Bv7iZbbfuHQOZ9+A2S1ZNw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/AxrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBUg/9FWxLoAeh49hSSMGdD55/8wpendNu6jESleoYKe9zuKS7BnrH\r\nLtWBiUG0GmbjYxvZRFuIYFTqs98R0/1kq6VUlxqT0SgaVjsjMiGcoCSYA3K6\r\nxmTPl7PvCAvIHCTnm/Ipz0/uSrtB7HEexDIl5+hnjI2SejkMECKSJSppT4dw\r\nFft7qQ9fEz8RqKa/FILhQLFgj5jd8yE0o/0F90i6VYWdSvG5fwER1AgumWcG\r\nzxO30SfbVSwUDy9Zo8ZF2ZVbna+iRKM/p1WT6AwUGtdHnKgA2BnjB/QDo2mE\r\nIvZ/sY/K9eb4v8AeVvxarrusCbihPxWyymI9GD94ZkuV43HAcxCk74wvqCzB\r\nl18nCLYQwifZt7l0SE2BgB3tPl796yT4PCNy1pmxFviXE5NXpbw3zWYG+QSI\r\nDNC9mdn4a8cmrv25pC/3MnoykwehtBabQmuXpDfPllT18O79XOqc4ykp/ffS\r\nxdaCpSn0EdJSVM/6QQRg9+onb78l29hRYLwqFGEgAErqEzNMRXkibR4OxFok\r\nTGzm6Yv4ejjxDgCrnRuFaL8Vo6BE/LnwY68puoHYMRKQu0Ejn8rVEEg7b+/l\r\nBRc5pVWrt2YwgTuovWjyhAtIT/RjSSRc2Yk1qiJplIEHR0Kfh6CAD7F2d5LF\r\ngcCrlWmaWicqHiXoMxAVB4w5FQZG/fXMizY=\r\n=3utR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4579_1660685418794_0.9513550748802195"},"_hasShrinkwrap":false},"0.15.0-beta.4607":{"name":"piral-single-spa","version":"0.15.0-beta.4607","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4607"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2b1f8f84149c0ddb5020a5df0bb1b94dad56f386","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4607","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-KkDYypcnR5wbJTQxoHrOKWpcn9SpAOvq2AMl5ThTgzrAGDd1bI/fCvcVxrsRa4KK1ADsRig9ZdzjqsKizyt+SQ==","shasum":"4e9408049ff0e7e63ffc9f4d66680310375b7928","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4607.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpvd4rPtH2WTUHAL1EEwPByyZzFL3v/sWK9NuJLg004wIgJU0u5C0e59thNv4uVrsRzoydbImB9tm8HnhFUQoSXJ4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB3VvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXNw//eOe3ucflm9dacjvnJ1OqP9+MWym8f0leWYhuvDInD3CmMlwo\r\nalbCiWjnO9K8GKLecnuSakUhfa3+wHBSbxAU4IzVcIX7FeNVIIYMBwYsAzvY\r\n6K2R3MCJcs3A8PMLuHzg3v3fqP3vg6IWcvBgvfzJYhoNjcC0OT4cFtvPgoWg\r\nd9GmCQhBtv4yqhvuFX+J6qqvmeAiY2aOUpysdxPBkPv0pXirzzfPmwfSW0gW\r\nxStYA4hH7cph32gHBcHhfP71cADsVITq6W9vgj849NNnntOHBQVuzsNCdzFS\r\n3W271TbAX/ayi4m283ayTJwpQ9677V4SMxpryATd2MVg+tk21/zxOAF/ACue\r\nHN2lMbGkDt/TkwgA9nzwe3teutOZ30Dn/7MzGlLINhMn88LC0tgJ4XpM9jmS\r\nzeDZAdaUEE5A8nebUyjqeOtEfFsBoLXo8f1jU7qJSEGtOSagD7asDO2erhgo\r\nSjhc5zL3ltKSQ4TmwB3mIwg6vXBAZqB865msNmgcRbAqlVvkJm4juVa0lofj\r\njf8nQADRvWBrtFWebl5u1Bf795jR9BviK1Gqmx4wm3S2QZLF2hUlYD1V4P2g\r\n+VUBNNAIdZ0Zwg8Vc2C8JDZ06Nqbnd6IZtSQsPDqPOvSWPpW9qYjvmazQHpE\r\nGY+9ZBdrYR8KaG1RiqPMLjEyFqr6lZNIIcU=\r\n=80Re\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4607_1661433199062_0.8278683647507958"},"_hasShrinkwrap":false},"0.15.0-beta.4630":{"name":"piral-single-spa","version":"0.15.0-beta.4630","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4630"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"08aea96af9587e73b1a6c4eb108f94f285186b10","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4630","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-4RhYfphe/gPWtAipIknga8DbEn130Z8cfV+C4xQtaYce+JXo+TFNlm1/ROvtqaTC9fFohjGPYeZwoG5EgzqR8Q==","shasum":"78fe35f50bc0cd4043cb09c2805c54157ae87ad9","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4630.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvaPhG5eVtUMsNHe462phZ/woRb/UWCo7b9riz24f5ggIhAKmcVHc+A/Ts9Xuh5k+FNZ4Rg/gcgaoKdIjQ3EtzjPOa"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDVJ0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrn0g/8D16c6NokNvynLRpgrFdGdZiKaKuQ4St533F8SogdN0lmJ+sF\r\nX6vx/NAD2aN9e/v4ZPAGfEpCVs6bpza8sS5MruxblU4WacDcdWiguIURNLqq\r\nHCz4TuK9E2K44fGztA8Ai68+OXs2Kb2vClzjxzL5RmbAX8766B2z2G8ioMdi\r\n8MguZp1+sKYK4F3u0Zr7l348/5jWa+UAqgwT8e5uiVtWdJmF8BPRzoqffoSr\r\n80CJHelMi8bAX3HqbPPhvAFH62egF/Kc21pd5uOZck9+RvprUKDaLJurM9Qa\r\no3/rpCnnb9PxEUsHBjrccrRmU6d261fZbnkq00DeiqrUjHg+/3OlC8LcvedB\r\nL7eAVRd9pL8jVYcYP82LQipUujm75lh2k8hLHWp5vxymKIhiS6EKem1iv3RJ\r\nh3eQ5X6QZLVx/6weQdqrkM5P9B0j3hQIueaeriuHM1bhJgRGbVUXI5chizh5\r\newOzWKAsf7Djtr+7Qw21FEqCWgNtF7kCLLhDBrjfXFjMF+gyclICL7c4v2ow\r\nHB/J+O6TZCMd96p5wwuYs4an1TyMBYHddcacJUy16jfjHyZS5ExOeHJPBDJ1\r\nC7iPHvmAci8j+LtuA+U5l8iCOPNJasTRBeV7qCVijwXwdgivtUi02a8yxkkf\r\nYvxLwmdGxu4VkkzhNXcZZT3F1h25GoaRUeA=\r\n=1SbW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4630_1661817459865_0.9420904000155992"},"_hasShrinkwrap":false},"0.15.0-beta.4633":{"name":"piral-single-spa","version":"0.15.0-beta.4633","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4633"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"96b950f26e9673595f68518103508dfc76001761","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4633","_nodeVersion":"14.18.1","_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-5bAd0RE2Af1PRb3g5gKvjTUR8k3D42+a3IOrTPh1QcQR8Cg+BHlyEYoJrqj8B57OlJ15Vo03ESzYTO+x6PHW9g==","shasum":"561e29d93cbc5ca7cb02f65e889e48d429bea5c9","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4633.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVODZ5tMN1iU8NfXRAz+ZdTPjN3NEq9WkG1QJw6iBi8AiAS7LGIHGEDe/rwaiIQGR99xu1NhfVdqBaX0qYCVA6xTw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDmRLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoN6xAAgyOwBHDWOxoHjAC6vcW6Z47TLqJfwKF/CI8VPfllp+i6cYcx\r\neaL72Y2IICc6qXXQfu343gftFfTIgIQBVMMv//P/jZmxVIh/IipoC6PpX+ki\r\nN1R+43FI1bCvA4bd6zRbnUOL/4eHWJpzMpitUUPmWbr+dSS60UIHZRovm0ly\r\nNzGMt976GG56DAqQDFlNz11yBsPXDcwZZrNlTHlYqezTTQuGOjeKewMqKHrv\r\nvrvjIK6tPsxYornK1rxrvFrNPc8gqVlkh1mVlzzRJ7OO+h7yARpgfbEY7dvu\r\ncU1mMSv5aEaeW+bPVDjgZFYbPG9HwBM4Jzcf1pgbIog3OBhijwzVzar8DH2P\r\nMuHYJeIBpaJ4T2Gof7MCyWFB7UVc4qiRNc+3QSNMRqqPjGzj6id/R252hHyF\r\nAEaMW9ylYxRMqXyxGF+FKgqloIhN5Ufd3CQLDJ4vY+K5CADiFjDIDtmI+d3n\r\n2KnIAlhOS/OYnXhdNV5DISjHX+D08Fri8dtxgeBBF8/Imx+BULflnHuS16F6\r\nitx/T0rsrcUTo53jKyNGVm9ipIni1+dKTQY50rpEEfaSBgxMfCfWF51ujDkj\r\nR3fSeURab/HJOzFT08ZvQxdMsBqGij+e7HO9PA0rosx/efbf96hPrC788zO7\r\nLXMOKS1kUKsJN26jsrk8Ke2o4pZl+i4kPHc=\r\n=coxR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4633_1661887562987_0.6580847655282509"},"_hasShrinkwrap":false},"0.15.0-beta.4670":{"name":"piral-single-spa","version":"0.15.0-beta.4670","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4670"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"ffd8707600e028a55258028d394b76fe3a0cd175","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4670","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-a2s0s8Lf+c1eMyQMmy2BwD6kRQ0q66hOm7HUB6zZQkGUIpGYzisZ73futG2AW6RXiKZuUwAqEDZFJiSKucBmoQ==","shasum":"7a019ca2f295fc72ba02e0fdfe896781bc76a07a","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4670.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/CdQutYjPrZRAepIL3zWw2yqV29VPQ3Ah8qd/R9FcagIgHrIHudMvNkWH0+Tew8B9tz1rQ0v/wbbqUPS1LqUEPG0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKj/sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZUA//fyY8eEcFikw/CWlMSwtGJW1Ltx4xos8lA6TnqQ2EZZsPIfqI\r\n0+pvMcMkT4WRHHalaHE/whenLpN2lToekBhV0Q1txdMFx8UxqO3KvoMDStCY\r\n79+xCno7oZMX+8l+TZiauZCZxN57QK5UbApLpSnnZ+/dz+06UOAVPFZM7ytM\r\na1KmxiYBrTyc9u1THV3IpjCGnNfRzblZrpbqJ1ywLYcOBsrSE86QyRj29MDZ\r\nkXtn5ZAv2RS0JopFqqRnCiy+dOzRWtGzVoaKa+fFOAgNt6juXmnQDOVnv0Xj\r\nKArHglThDd3ZtxlX9tWhd8bkNNR6+VmMf/l+eb0xwBtImTIZ1NMitzRbzyHW\r\n2xfDGgGrEfbTxRIdy2YTBL7kl2dPc/B5MjgFk/mnQ2EcXt8jPAeGaUdijVsJ\r\nVaFH6lWxpB/XOJvOzwEVVl3TGj1pg2JU3cbmaHrYCySFssU6LkCZSwWY4oET\r\nmU+l6FPy90zjl8CifAqS7kq4eIPq+qOPCjPWiqtFD5WPCM0NtBJaBU1Dofie\r\n5YWn+m8Rdtmbph6JIiUUTo6UCtoZ98Z3RiBOt+Lkw6Lihz+OMdOgVPU4eswL\r\nFgRfpn4OK9i1QWS7uS2sshZvhsMo4pvmZ5S8C5hZFGFYj3fPekQ2c0wVcGn6\r\n8fhiCy43d0MaLBFRQoKTuzsZ3HqbBw+UsDc=\r\n=Zuga\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4670_1663713260747_0.35181613645419496"},"_hasShrinkwrap":false},"0.15.0-beta.4672":{"name":"piral-single-spa","version":"0.15.0-beta.4672","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4672"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"cd1026b70c90290fa5ba3f9b86c038eb852595be","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4672","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-Y4GAmcg7WAB59dn6bpyRRuLZdqBhrJnbzPS1HgjIvSKzkc4zMDsCiQpv0pdf21Ja//sNXp3yNga983kHeiWMnA==","shasum":"1aab035cbae16b6a2bbbd0e40d364b5d70025ac1","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4672.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBp/6gsCiF7jQ9lDHYQ0TOaA7uel7EGfiwA8qmcmsfmAAiBO+E1lk4pT4ENDR8/No5dMR3BiT+WCilGLpUVIQ2vh7A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK5N5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDew/7BX8brg+AQsHW56fRp+lPknGd4qQEzovLGeoYj7y55unWDo25\r\nieoCvVLIlpBLovAP7YIUcHK6ahTEoxLQCWuIWMQWSv0feoC7RBzf4Hnk+eCA\r\n4F5ks4mAfSSNp6Z07YQzlj+jnGWQHxTZx5lNEpTZphvytuxLtGG24ljRkdLj\r\nT7ln+E9miKV+D4Jzqf9WGG6E11P7zyBFU4QgGs1xxauak2XgStGs8kK8QvU9\r\nzf5pkLJvth0HEbgXKflyqCH8mgqEUXfXqsdF3cOsdGkEcCKw/+CUF9k8TOoK\r\nAWmY37emq5VviKakgpAkc2u4viQakpfsPyVUaeiTw2wFCL8CbnkdvUfxl2zQ\r\nWHtmGc4Xz/TBqDUf8QqExgoCiFIqbmNIX/oHrEqU9zxfBfXN1AoIEZtY0tIK\r\nvwZXsskIahp+AeGZVGjCgZS1A3DSFsS3I7rkd4FkG1Dv3Mh8Imjf8uvs3ZJm\r\n03fqXHjOygk9jOBdBYKvE4kTbeTbChCZFF47vPYYoNRI3oIQsWipLn6Anbzr\r\numJrrvDBqTfe3M6DgzHfADNyQy+nmfnheP76fHM4i/KQ2z5LRnqeLxAWFIMp\r\ntTI83JUWgCbBj5kfO6M81BRoWyotEhLtc0eE2aTIAloBxM2eSqb1e4o6BF+D\r\ngePG0wSpiRTwV2voHnn53qBAjU8tQ1XYOoA=\r\n=PK4g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4672_1663800185322_0.2820259931702971"},"_hasShrinkwrap":false},"0.15.0-beta.4696":{"name":"piral-single-spa","version":"0.15.0-beta.4696","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4696"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"65701e0e33084e0c5a127f735bd3897019bfa7b7","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4696","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-XEXBtkU8q1OGBFMBG7fTiLJUh5I9D4sHJrW8ScHNa4/xu4TqQo8qMxiu8RnyshAJBh2is8gagTJo27koEtf6Eg==","shasum":"747d8fc4ea556b5fec5ef993870690dd67171914","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4696.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5pGpfJmDGpYDWn3n6EOPsK6NPe2+EBdJd6zBVVwUMkAiBAdx1+OCRLzLRL+SK+2M7uxSJflCHOdUzxhF7yZOBxPg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNbq7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJzA//QkPu9u/MWMdnSADoh9NDs/mtSBZS31fLSGCN2wQU/UJbWnWV\r\ni9rhcnDSB0J0C5c4K63mO4fmdnzwz4epD63Cle4HRxIH7gZSgdg5fbVju+DT\r\nn4S6ZIleK7AcqmEGTdpp5MUPNMO8zSY0jQRvBOGltQ0XU80Dmz6YIJL2vUvg\r\nBrJnC7V0gab4Td0g3bDBm+RL3RSWkHphguhbQ7rOFd8Is/dQvOTeL60YcwWB\r\nECk9RSGYtdYQzA9bN8n61uO9b8mrtdGfM2qYja70u+hNsdBA/MdCBlugf6Ww\r\na1jwxbOvFcoHYZ+JhXUbZEb7lDpsFeUhR1EnYBGugqhkQWqFe24SGW2PaDJq\r\nPldpEjiRXWPc90HTiX6jwv9pk/XXMPmcd1Vld/X6AY7ViN+IdjYGuqpVqDHu\r\nUtFKzUALBzfoEvUUqqLH2qOTFPcd//JnCbXMX48wiVbaAoMVphXdAeXWi8+j\r\njHPZ+xmDfc8mtNO02bt+BAVnQndzf/dHxHrJq95pUMtqXh+al1DDzeiEYLp/\r\nYyRIPuJRSZQHpwqlzwnwknsKTYpKP7LEMgsViO+XXY9ImHK6BH6ql0cBQ1uU\r\nQ4Vrv1FPg8K0aQFjKpQd4TgAIGcrEiX+tAMv3a0DOILdWvMyIORSTuBpgRFE\r\n5JyaqtQq3FaRR72Exel24GTZZpDINd8+wjU=\r\n=pbaz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4696_1664465595355_0.6244102172523798"},"_hasShrinkwrap":false},"0.15.0-beta.4699":{"name":"piral-single-spa","version":"0.15.0-beta.4699","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4699"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"1d7d09c7a953009ade1470abf74b5e7e627f2bc2","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4699","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-40ekDg+Xi10r44jUi+xHONBSMSk3uNLmxZ0AKeDVb8Hb8xkp2fW7M9GqXUKO2opxgH4ceV5L7BYk1WSK+h/uRw==","shasum":"214616960a4f434055ef5cb447734ee2455fd42d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4699.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN3Aro1vkGQ9EcuA6iv8hveCr2EQJ3ZVCYGh5t5aLZtgIgXLfz+yG8/E1uqoW9K9Y9TBBgwEgP63P5FgaOe24CO5I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjONINACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpx4w/9EYznlez6iOZR2DQj95iougMJ5cFpP8bkDldQHQfUGF0ViFTf\r\nL1HBAX5zSQ+wL3MGPOvBDb016kIZkiQegRZPB1FDENlF0JbIHEcVQ4G4SGxG\r\nNmyEkeIh5qys9JXpU/rs4oLrj0ElyboqGXw+1lLn/HcDWlOnVc+5BKgB472P\r\noIVISe4AkS7vlAvxnCEhu/T0ZCHVoriKdG6W15e7edDKHtmmu5H8OkzRy7Pz\r\n306bDmmWb6OedvxYzUtHso2VW60nkgRAaYGjP1wS8zZeIyEAiTa2xQ+zwMR4\r\nV7R/8th/OYjb51L5nxLNxRgs68w4TKPMlHF8z4HHFFFcFtzSj6Y759KqIkE2\r\nGq9mZLIFQ9VyJE0lOk3H7/0ZGPC81yvtQNxTkjg4qH59AlYCOI6W/fh839mx\r\nN+rdmo7icbSJHnqY66VFyuA32FJCUuaWFZaE4OhBLFB2hudAbKI3qT9Dadfd\r\n8RaA+IM6sY18DAKaXILfx20Tt0qhzJDF6+asRPy0xH9w2Xy79OMnPCvF5wL0\r\n5+BJ9JPDTqiOcZ13n3T0lCaiAZCDni/qAtmmb3esLM6LhQURqTZSojwpbbdB\r\nCWsSLJI/PmY8wPZbbopcZiSPcN+e4bXjQ3l4g2omxy4cZFPvzbPZ1/oqtI5M\r\n+Jz1C3mQuz/0zYMp1vs3RYfxcnumpaKkgF8=\r\n=YvF2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4699_1664668173409_0.46736526076276297"},"_hasShrinkwrap":false},"0.15.0-beta.4708":{"name":"piral-single-spa","version":"0.15.0-beta.4708","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4708"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"c0d9ed70f3a5ff7cf9bdebae379f30af361914c3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4708","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-qERWx9s1Zx48WiUab34Agr1qhMoFs8zHgYKcjjt9a25PPnMBCpWMJ2l18nMQxJnIuuZshkoPy12EZNlLIS5YOg==","shasum":"78264d5b2443246a7b117da8ee9676ded23700bf","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4708.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI88KsZxL1iRVhLWkCLRc6tynXKTU1KB4SdFE0qoPm+gIhAPKDAathQ8d4d7QUeq1yh4NnYkt0RoSFVGER20W2VXwJ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOgcIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfFRAAk3yl6CKqZ5+27iJ7QVccEHVGkJh68uV7gOWP6cLf1ma+cBdd\r\nr74wU5nCHlzdCXJmfHkUfAmv/6GeDX28ERMNrr2uWfuGBF4P8tF4bzruy/tW\r\nJVfhP+YF20+Yg0BqTcK0nMjl5IHVpKO1DZKU8s+3wa1QPJti9fVUiA3d3PkD\r\ncS+eny6G//5SK29OEHT/gIYJGQ7cS4IViHrY1tYwtvmCl7STDL4ug6R8fKej\r\n3PMZvYSWMb9UllB3cG6xbeIxtvCLWJeprgoN8rDXbFUYXRMnW9sFNka80cRx\r\nQOVLkFZRoUhRgtw9ubxUUGqSP6VZzDVndiZDh7CDRsG6GI0nlJyGWOMsnf44\r\nu5na5ofkpK7SF4neVb+dea1+7jEgHTVrGibQxl9WZYE4nkW5Yk9SKNymG8ai\r\nHjcGKzjG32gBRpu8GRbpnqDxMaKIc+FLMXKGvHM1cwAtgMjV0WbUDbKbFgOb\r\nSmpB42duFGhk9PUgyC1JPoBVZGM7MHw7DLymLAr+lfLhK1MkyaVrw3uu46Rq\r\npi1M7tRLZYPikL39xPUTmhtf3ITENikUMA6ULnPaPKjHZfWcJT2AajUUplDA\r\nocmQyRH+KjEEzDyWxR5557fmIlQeV5haBmcIesyFctqMCep6YD6zYQYKjXqq\r\nJ+Q0ns1X40BFN67IP6nVLoC0Qhxi8EGt1hw=\r\n=TjSn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4708_1664747272159_0.13082903139938162"},"_hasShrinkwrap":false},"0.15.0-beta.4715":{"name":"piral-single-spa","version":"0.15.0-beta.4715","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4715"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"d60f35a862f4f4d452a504fae843c60d083a88f4","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4715","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-6EjVS8QiAsmcgvj454aYqxIQ5Av/0EtYog6PPRrEkXe1Npe4GY4SoxkrJgHlFR25GNoEgH64OwURihiKBeq/SQ==","shasum":"ec73be3486976ef8aff7ed7c0346d850d83a1a3f","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4715.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjTYOW5LT5bPDlwBgydiS1kDBN08//0ZBdQ/oYZz0HYAiBi/pHecpNOE4AWDJrCURYOEOHkFMN6qqEgL6VeZNZFXQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOzFMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqEQ/6Aoz+4wYoVA9Q5xkves+rIiPLrA7f9FYYzcZdj2/3EhZDblUg\r\nhy5/nF/GO3ax2rpHHJDrsnr+nIZqa93qLaPTF+FvieOcIungT4/KVk1fomOA\r\naxl8mZtCjfuba+ozgTTao8pJ+4GC+I75n9hMmysAHYmPf1/qwN+hHjPgL9Ri\r\nPerZ/AFveb47OiINd3A3Vpd+PeqxP9NpaO/5RLxIEtBTclewzUQWB+vC4EKA\r\nZJByzgVXrvokzF0ZvjfDalaROFlaWXaD/AV9JtBu5NhH3izBBM3z+IaCGHJq\r\nMJ/bfkCqOSJyI7PdUP+IDvQJWfnxGg97EfEkFffnwosCbC6MMegU4OwvLOad\r\ncWqRgKQ2DAiQ+ucUefFNEwVN+QLkTy5CUjFlQfq1kUSFRtaO+xzF3BldgDJB\r\nds8pdp0+5swSt9w+7SRw9txQ6Y74R7KcZlvayOtuJkIDyd4JIn59wPVBKLWr\r\nobF2s7YG9WYUzz34kDwPpCYeRQUVK4pYutBXLQ5kHQE94wzn3/tSzuC7kuO1\r\nWcl/vWV4OgiJm6WqXL2nh98/PuZDMYUJ1mqdU7wCUAGeRzzUZHlgDwHEwqsP\r\nb2j8ZtrJbF6rspD0Cr/3+DVE8ApC/SMImpoyrNynKYtfCZb80W7yqM0NjZ7F\r\n/r+0/jaiKUTr0X6xr7yAQC16IV1hs3ruZMg=\r\n=c8dy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4715_1664823628692_0.31637206956862185"},"_hasShrinkwrap":false},"0.15.0-beta.4725":{"name":"piral-single-spa","version":"0.15.0-beta.4725","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4725"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"75f9470ac248fe45f806bd16b2adabde86b48e8f","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4725","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-JSo2d32IG6sOa2oTQBkbiiEXjVbevnDHET0szV/xw8wwBOOZlLaeYBaRsM8QIhahLks/HxWaA1ZLui6sV7gKnA==","shasum":"8842548b916e34361579855eec349d5f66e0b695","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4725.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGI7cy7l8T3TuCVvEggcxOv0CisN6b8A1h6B711JykbPAiA2L57SZk6S6T51JdpvLWCqIJRT2aFztpPnvAscBelAxQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPIIhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmphzg/+O8eDsZshPBMAriyGNWHrBJdjMQ78UNrZ0k3l1H5dVTw9ixgz\r\nRw/oK9LRTPhyYSb13rRYCvKDkid3a5OR3i5S+G6iwhDFQZmh3LbW8oGN+SMk\r\nXJywvtIoBX/29PYuFXzzsg8DIzW2tfDBVKsVB0cyUBfx2Dqd/8TMRAzuiq4O\r\n4zC441NYx+2JSpEyWqvmoms3wUIehhH9k+Pa7jVxbUpaMWhjpXO71pm31DH7\r\nzLxuPexqe7tqpVl7vCh1CGnAIGC8KGcR/pPaN5rVLSl+7X0nrJF2gKPF7UOw\r\ng46sQJhNZX8ofOVuD9ZzXjtepP2t/plbMBpt+vX1kk6ddtJ1FimAOLSo0WU9\r\nd2ZriIHVUjizCF3RoOZB6fmPeMi1xIxxd6ejfOVvIK2Sn0HyhmNoPxpnGPuU\r\nbz2AldPULcPbWbDIDUxquN9nFYrQzAZljaGxRbo+APFHuTypQe11ym2BHnwG\r\nxHIO6Mc7qbO04+XXfuzOrXuhAWhStgyMNYn+19M3tTHtCjbFnWV+cVPNeqNk\r\nHs8FaMt37XlU7DmzNNrrP4eEb9U/ybHKDN6BWEcY7u3s68xi/swMLtuAmg5U\r\nljSmQmDu8Lp6mx0+mD6CW8I4TqiKwzf++UJmjye5lRqi377RHKZMHH1ZaP/s\r\nExCOBZuWCKGLROy+sqHHzXxTJNvw9A2bJfQ=\r\n=1LKN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4725_1664909857356_0.7675201852489235"},"_hasShrinkwrap":false},"0.15.0-beta.4739":{"name":"piral-single-spa","version":"0.15.0-beta.4739","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4739"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"6e7b1a13a5178d9123a80e44bc59d52a7310e41f","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4739","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-38uwd+m07bCdpvdmLdu8PE3xMX8Sh/FKKLB8p69I6Sj/+Stee6ygSVvdPbWwcF5M+PLzqxxIMdJsk6ZqudzA5g==","shasum":"176eb294cd6d35ad126f788e82fe066fbf154a52","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4739.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMrNL0pwPx/8N17PCvByWB9SaqcG0ybt0CgLTRbkW+NAiEA1xA7a6AasDg/ZfS1xtvNRTgPxyF77q+fY1wVw9YJtjs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQpobACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/mA/+L8nyeAcvbAgwivMfYPOE0gUTaKpsQNwKEFoHON4ANPo8TwKV\r\nm51uc7Rkuduu9keRP8YQDDO2/l3FEwrt62yJc2fvLNXyA7JFJ4fF8nxabibv\r\nfUW8PovifGPY7Bg2vak+C5zBAoSPMgbv/Z32561qBH8g72VkOA8WoiKr3og+\r\n7yN5sMyawWqWe7PQvJYjOZNQ+t8T92G9M5RJHvAdxuvgP698y/gKJ5FQxBi/\r\nCcCddCCnjLi9bWqku93M1GiYNJVdHW2jFmgwDloRy9ewXAG1/FHdNzmEdY0s\r\n8g/CZOpVwoiMnsT3+xXCogb8ThWAN1mNrREBAXZtf1akQ2HP7mFrHWH/j+oE\r\ndpIlUHfU3bDcKEE8fwcx/ATj81iYaJOv4Hzr9rc6is1VXxC8xR+WpIv0o2ke\r\n4Auy3nsLoYn/PAVDH0yt2EQ76yGbTzcpE6jLvFFwKlTpT7QqbNV/Yq+lEW18\r\n41NmSkUcsKBuvhmHhy1XXev3+JxIGWajP2e8vWMK+wNBuaGSXRdMpnL+7+G+\r\nDOegU5tfiwfxt6ciU54QM9y5S2vTCjji/l1jnPx/JY/JbUUBlxYbkHSB0AzN\r\nuOi4aB1XVuTjy34HMY8BxhXmy8k98hLNWAj4d7nO0bzIjbLJOAlAnWaXtBHU\r\n4eSHpnmlxJk6jJ/IXeWwjQximfXAPmUW3fA=\r\n=FzYv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4739_1665309211302_0.6527658253670299"},"_hasShrinkwrap":false},"0.15.0-beta.4751":{"name":"piral-single-spa","version":"0.15.0-beta.4751","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4751"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"b919766c22a76e2e815815d8becf645e45a1aa96","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4751","_nodeVersion":"14.18.1","_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-N2m7g02n7Mee7JFRZLjsd/9f1nQSiP+yebDZ5Z4ppuS2pfUPLrdkk9sjeAkfkDdBm9gKF3j7A1aSVEI7vLqmfw==","shasum":"e27b93c0ce2384cccc89a469f9f3c0f6c30fe6da","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4751.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC455zl4B/DT2Xp4XkTOQ7Bmv1Ilf1s7K7Dn9NL+Wc9agIgD+0w375s0SIsMyGQ1oRQixRu8U+9ITvB192Q3M2YV/s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSsB4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvQw/9HNfQy59cLYb6cCrmG3WOK7B3GDn20qyCZvqulmMoFHsqkh1+\r\nX38G/vIJ3LhhWzA8NuFLxnog6Uo1voF8nJRAII+UM5XNEfMlogy1qxxwRjk5\r\nDVd7BUejuvvIAyjClXLDJc5esOptlU9lkQmcAMsiz2a8fiXtK/pTrifKhyt3\r\npUPru33+zwMnjxPq9s6SGVQXujzXuzdOhiHrOQ5dg6egcbJVCoaMpCkKnGFc\r\nWG9KIYOqrklzJO7ahSsOaPBzaKd/R7hJY/HPo6dANGs8W4vlZg2Vn4RlYMFF\r\nbWI3agmcAK9imm/53CC+j8z1jXzcFNOlnj4+G7+2zNL0O3poA3pF4JSdkbBa\r\n3xCJcldU9ZmYUVdBnBNxoIXfgi/TMGAapUC6vCUhw4dSfwp2BPXyvgicUjM+\r\nq3FvVha+kdvxOZKBJZeJqSlMbdZkyQrMKickwwhnzthgz/gonCuTReNm9P1p\r\nARXY05wXH9dVy52ZsvxyLA7DREfWCiqIEV+WOml1y/q4skTLUfZNXsVvZQE/\r\n8UIbEzSnzxGOGdRtu48T/fbNoDnTFXrZ1vuU3QMVMAYG54V0xxCTX9wI62fZ\r\n+M7g5XwwMXIZ1aPdgMUlYUImZZcy7TaeJGkNtE5zWKgmlLSGm6Cf5ARyjXEF\r\nWAgfyY0lonnt9BvqxKIBPW9J8pzdgmpBMi4=\r\n=+eXC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4751_1665843320068_0.366129604843068"},"_hasShrinkwrap":false},"0.15.0-beta.4756":{"name":"piral-single-spa","version":"0.15.0-beta.4756","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4756"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"ef910b00c2fca5f4df24f6e370bfda8e2ab7822e","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4756","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-KlVK+8bx5bU0XM6TQJmxlANor59AiKkZlWbgxI1axH7GLjvs2IAH6r8J+vBbRnL6uzjSUgEGj3vTlRdwTCvQAA==","shasum":"a5787c7092a659444f0e08de70fe3a7695358fde","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4756.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvmZkIEr6gLDszDuUd5n//vq6XsVTWfKgHs6eQWlkWSQIgSNnxXPI1unh0+eywEfk/f42wrcdtJYLnQBr16Vqo2Zw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUI1iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqznw/9HZoykiA9cYFZdQzotHFH9+LbOb23VaOWkHWwMz4/CZKphwkR\r\nykfzQq5nKQEvKLTsktB12SqeS83WMRZhH16GZTDkrjPj12jc/6yLfi3tL8VJ\r\nhfFbA0bwjsr3XC8Gy6qPk66XcXDdm12NiRvcZXOH8YEn4xtWj1hnytOE1/ot\r\nML/jg7tNWNSXTWc+idazoGSW0/gC/6Jspk0vGHyZQqnJEufa/KukoGM5EK9t\r\ndZSQU1uFp9ZaZYJ1sp3uVTlIwOoxMF7RIazTVTvvxZeW82jPpXnBXSawzaLc\r\n7D3pLTF6jh7pYRXnAfxKNrBM5hSZmfj9wET012QyIfuqVZqsNAI3ytpsU+aL\r\nLIQ0qeAc9j8ZA+FevRuWLqxQpt2NEPiNCvJXczQ7d+ZNxr+zoIBs60J7T1g5\r\nLPJUEr2PCAPOJ+4JXFg0UDRM/XGzzWKWgtWcunxt/ECDWzS6AcqFcZ6Sswuf\r\nXRqrMqqmioKUoYJMOwEL0qev2wY5mvCLkERBMkx/St/3mFzlk7aeYMd1rn52\r\no6ronWPzAYJiqVg53qCcl/mNrzK10zZsZtNZvmjPt3uHa7asIovZJnTKAOAW\r\norP1kvy4JcYxbUt4mHQm6/OPi3X7o5Xm1kFRONq+t6N13reLbIw2Q+qqce4I\r\nL/wBvrMs45G/0L5elqChvefQG194DKQg++Y=\r\n=xxmH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4756_1666223458345_0.0749601302904972"},"_hasShrinkwrap":false},"0.15.0-beta.4790":{"name":"piral-single-spa","version":"0.15.0-beta.4790","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4790"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"610db60e98f53cd53a20aaf48f58b87e69e6abc9","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4790","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-I8R0q2z399t6r96WYfxQPI3+wBf9RRPcqRkZir09FkU5aHOG7fwm8YfinqzZ3umFtW48z8Ko0Htao2y0mR4uZw==","shasum":"57078915213175a076a23e489970547b4858caeb","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4790.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJkfCw7zb2TdLg1uTz/uoLSTfxUcnlK61Y5eSziZYJtAiEA80w/ioJJNXHrMYEhRP7exWgxDqHzGAEBxV9O8LyL4N0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV/t+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqphA/6Akh7l16JjbBU1ylBAOA5N2V6U/mB808rkW6nNmGjp0F0ijAN\r\nBrsSo/Mrvo6BDFz9WXCTbj2iQYnf34SOdq5r+SU6HNMQXCyxU5F+IrWVdRDx\r\n+A9ZHhUp0r3kT97oVUK2RGacvpEdBQwNbaAOVduwbFEPiCvZunexwCyNAGt8\r\nPUKpQrbTg6EE+pMTkHRPtSlTc8udmhziCUOEsn/zRGpzbYsBQ9D7Sg+kGJuj\r\n+eccO11jwd5FCDs/H/93odbo9yBfOo5FWQJ4UqyfbUy6T+EIcO51/sLKz6e8\r\n8/arsEKWTJ9IIo8MDf5sW4PBVu7QjGk9oFobgxNFAEhpFZE7pDRr/ehN2z2z\r\nDnJ/F+dvrxfqJjm2J94fLAMtTm9kuB1UVbSGNDGBT2ERQFej0C+9ys9ZHDqy\r\nUOwKQWmlMq2ZxfFQL9M2bOLhzXcFXpvZoH65w0W+FLBbo/80dkSZNqZb+uCa\r\nph+jkU/6CmAu9+iYwNz5tYlSiVYQ0DN7psV8xqcG5pQ13wP7Yb6Yev+qO+W4\r\n4//hDyj937xYFgjwjQBO7bTd9QL0QKVFGYRBth8EtbTbx0C5+CgPdHAApbMC\r\nf5ixznHzrwVZkBWoZnP3EaNlE2BUjffCgOCm+CPaijzd1W0OUuXdrMJdTovJ\r\nLWtgr/fdaIELtdH7+YAeN7rm0zwsPXsAhsk=\r\n=JJxy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4790_1666710398188_0.2928632616511877"},"_hasShrinkwrap":false},"0.15.0-beta.4791":{"name":"piral-single-spa","version":"0.15.0-beta.4791","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4791"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9acec0b945406f141dbb5b0db12760245f911bc6","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4791","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-/0tQaucETo1oDHjKxBDKAWI6UE39/J1315BeUt/LoDs9tu0VDpvmaWogJ0G+PWCV4Kie8bnCwfXDPQsUr39EeA==","shasum":"66820f4c67fe5f570cc04b97ccb75e77373f7fa2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4791.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFggqq6recoda3UWH1ggMHjC7rLusTk0O/3ipBKv9Ph/AiAvZ3eL6WqBlcqShgB+YUv578n8uIFmDupSBZtxzkGYCw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWEpAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWxQ//SDEH+w39uc2My/pRl/kSaw/VaTW+VowGVtvSwl+P9DF3B4wv\r\n/0WQ2GpUoEIlv3hiQR5EwCl1Fc5GMMKDRPVVFrpASjt2Utfwc9BmwLzySoDD\r\ni1eMaO2GXwdVapGsWkb5obXihxn5+DZj/StoIcDJnoWPBGnGnnuYg0Rou550\r\nIS4OZCr6aLy1CBNItsOqwJ4TzwOiG83rON9aVN3ING2Oa5GwTkr3JWSZDHAH\r\nMRDiK5PzmmODEe09m9+B7xPcCgGgI1Zdfbx68TmiiW1cfWqbcQfDThgy1pga\r\nNXeVYRHn6G/OMYmrACpxyE006K8/RbjMz1M3GXjBF2DjdsCq6R16fOypWZCC\r\nh391wJ0zO6J1oLSucYi7VCexDWgsLNFG5kIL9pZECHYMQKkLMcIx8faeSRUc\r\n+QovsN6ZJPDPXNbqXNhGHRWhnKPqh1lyZpo+FaVz5Qp+U0ryhU5EmTfl/zi6\r\nix/+12ShEUHtDopIV0UoTjfWNOVr+l20OBgGNHLG8PbmRK5bvKonwIIjCrkb\r\nuGkzrA2QkK3sA206AYKsnTRqvEpjPjELkWP3vKSnr8LgxbqO3gWzWUNGhncR\r\nIfW7dvpeNFHQMC2vHQPrCq0Wy8FkXyfn/Odmr0YrrQNpDS9OC8LWK1cus4EL\r\n6s4fF8rR+mhuXqVPR89R3T4bhcdT4BRGF3g=\r\n=INAj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4791_1666730560252_0.460328552921784"},"_hasShrinkwrap":false},"0.15.0-beta.4798":{"name":"piral-single-spa","version":"0.15.0-beta.4798","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4798"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"ee715b27a48b4ec7bb69a761344f1eb2eb731494","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4798","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-cmLCjmebGmLKH7IuI4Fp+42d2uCA1k9pBA6oZn7OptKuEJSHRJ7++MPWPHqtWhsMBsZPfeg6y+OY8Nl9K7wIbw==","shasum":"72711a68bfd365ba0ef25ff603a62b7262f4cab5","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4798.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF55LknGtDNXmNh/4Ah6TyGMJ5/8YpRGOEMQtT2hxevfAiBgA92v29Gs7gd01uYOtIfQE1F03Er8rKxEHwdfkaghrw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYYz0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr76A/9GnCrXE7ihIuAZImPhVxGY/vYJ4GtLo8pLAS+MGPYJeuJKwpI\r\nHFIjZOnh4/olAzxZorawHpJ5Ffqc3kVVZS/PHuoMi7Kc2V5K+MoUCdHBGG7D\r\nCQ7mYPOSFWfte7ckHrZpchACruO318jpxaREzReAdw/hcABN/nsjkAeptie+\r\nSagSysUfUOeC+E0fUpoULf539XbonRVt8Ao7DQ8IFUZlubtZhoLg7iF81IWI\r\nS8FK5LsV89JePrIi5xPJv4zH6q1N0B/jhFpYLoMJ9r99B/bECVLkLL7PWkKe\r\n5r2/AxD069NxG0Ud7R0VIk8rIgJkf8e4Dq33rQ0QWjRLl5rYGdYWz07X3zj/\r\n1BfQwmdC40hG+sJ1P0puaCAPe5g4ItSg4UmPhlHXPAEQK6DPlpDg41IdNhmt\r\nggeCjEAIfscwoAKjM1n0pjTxQkIc9DUAerwaLDxUmqOGirxoOchk/E7o9lfm\r\nRaBb+d4Md6xG1ICAelhiJL4Gob4L8dVEIQv1acsCibqvhm/2qKRfqtEYZHbO\r\nIbOEjH7pqllKtwug5Dx+xEhc4t89SpjaxlizzRS07AETVp+YR955sTUQaCWU\r\nc/6xfRiBCF6dQcYSxPhrNLWxOdW9k5lARBAqfaFs12A+5obLXUhxkeFkbgfB\r\nKnVO85ozopQbaysnOoEWsza5Cw9OAD/03Uk=\r\n=KMs8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4798_1667337460275_0.328273460378798"},"_hasShrinkwrap":false},"0.15.0-beta.4801":{"name":"piral-single-spa","version":"0.15.0-beta.4801","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4801"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"ba4acd10b46e8c233841863206f9fb2ccc8f1958","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4801","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-Qgb5ATAhMbrwwD7ywVJ0j041HKRlPZhTkljiojGDNkb0JJHf0pJj0oJqvfJxScOT+KfvgwxuAoYPdioXXCxNYg==","shasum":"85cb7bf4b03aabcaaad1fef93934bbaf66d17930","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4801.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL426g4Jjw+6J/6X8DwK1teQnD4bzxYhfcxhK3BGp+GwIgFDD2BOGwOpAiDXkQhZSfqJariKHREp/NFiTbb2iW0yE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY8oLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqE8xAAohA/PN0mg2hFLqoPJO4q5+nvz9CEDiijtkh4gMi24Jjivrcj\r\nbN4fjhnBR6rj80AkucL6LPCkaFVbXwpniT/iMG7nKhcCWajNOk54ahnutCfk\r\n8Ixhy1jPvWHIJI0T9wWah2oiQh7CBDGFCDFbJYc+N5+a/iQxDkfYRkembRdE\r\nPR9n/oF+pHOjB+5xmuRCXooZrk89tSjjkmD9YtMA95E2T86I6MlBXueJOBCP\r\nZdRTrPU95rUipo1AiDMkJO3iHeu8YWnINTWM9BB6hACUzU1gCzTnWY7Jv6yh\r\nNxAHLNui6UFU4Iqk90of8X2hcXpQ2uE7+V6031xruAHpcHeld2E4bOLihm5A\r\ntLzgw3ywCFtYeeVLK6rmaK5KCHViFvfEetENZMmfjmVwrXmNeEERaUR5k8pn\r\nOdu/i2wuod9Hw0de/pAacSTnr2sfQSVZN/D+es9haNAHOq8XpXnxs8D9HUqE\r\nQz3vNde21qwZ94MqKPiddPLT8RV6q4gq1hJSlSf08kpOAq9Fl2w9ObviQu8Z\r\nA7JEO0mL7BPm+O0eTrQ2Pir87h31PN3a0HCIauoBxaQx7vxmsOXUPrRH3273\r\nH7DcfFbqWdH3Jng4i+flu27lXec9a5U6NgTHSNm8PC4lAFrsDtrhgeAhUN+F\r\nnLRWj4uqHSBH+yxNJxGiXdcnc5Ty4KJXo1U=\r\n=ModS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4801_1667484171369_0.6185381552219267"},"_hasShrinkwrap":false},"0.15.0-beta.4803":{"name":"piral-single-spa","version":"0.15.0-beta.4803","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4803"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"38c4b5994e2235e20d6aa6d4b188d98a5cedf85c","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4803","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-gnYVgDWlt6i7hIOGHIV75OTEwfvRE/AI8prm2dxSYgh4t4eFOhfQy0X3ppdelQIo5PBFIbOSu2FMeFzqxkDr6w==","shasum":"f71c56ee0d6dc9677c9ef1766496d434c2b0023a","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4803.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDAo2/wb52RPmEtJoefE9+4Wmrh3h+si2UAi3vhQ+a4AiAK2GWRd46JcyE/cHllh6CNbVWxls2zlseZoDm+4dOuJQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcchACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpkgg//dWgy60FR9O69F4CZgbu+qurbuwg+FKlex0f27HfzQ3lam68+\r\nMl446tgEyck9zEk+AkLR4Adv7iNAVyNn1bgQDEKTaVXl5xCX0mpCtau3j3Gv\r\nrypfzODbvceEZFbsfdkKBLut+lWInFzL3LIwJ90Ot+zkT7cyCtZDdIS+i6kS\r\nJF/ZE79NWttC1AeRPfGzM4To7DK9Tynh5MVrz49V7Oicf7+nsjlwqAAspBt/\r\n/MaqPCkrgPdnrXGS5yWoLMx+eSWUNKwMs/a4VAmQ6fzLI6XsmoA9/S8QGaPc\r\n0sdrOiWnKZMWHiz7tmjZg166tXUL8vHRyPcEeDWWYs7ZSh+MPd9dJ0FBa9pH\r\n8OXyE1elu+6KD7cfuxpgbPM5QA0DN8PsskNKRmG75f3926WaUmM+1nusXtwc\r\nhnH7a7ITXjci+jpZU3MlmuLHoTRfOqmD/LX8BkFs5dERS/nozhzwE5p4zngK\r\nqtSptsQfVJmWtdDnpgLvFbhKYUETqyBd7GR/n7wbLpuy3Ufs6DqqIiatkdnc\r\n9m0771qMSy3iDoaWwQ/0FuRxZYUwDWslUSa3HN8aqm3FpuGP/e5BtezTY+ie\r\nC+HNDAQyhQ6nx9FNcJ7d3qYbL2jMhLLI/82BRk5JmVXbp5gIatcsnEKGeBQG\r\nnZmSvVV98Pbvqs8rhkcb9VyRwyoNthv0Ems=\r\n=Zb2h\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4803_1667614497713_0.37080035270479117"},"_hasShrinkwrap":false},"0.15.0-beta.4808":{"name":"piral-single-spa","version":"0.15.0-beta.4808","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4808"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"27e68a7d947210860a3bc6025b6ab569ae2f69fc","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4808","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-4X+InUSVqJo0NY/wg9FgHw9gd4JlILuG0r0s+sspt7T7utyI5vVx4xn9JpNCmEQUA3XwIEkLBxKaxYr13lHzCw==","shasum":"597a0f40b6e06643da2443321c17d669d6e6509a","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4808.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTr8qnroDY3IEWHukCeYA6gh4LOAl9zOo+IHeA5wwWQAiAnYzIWgLsSrrtLnVQBrmOn9kHCModElj3eOC8Tp7x1tQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja5QpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQ1g//X4iEgx60dMTUOTFjPUVJVP1Y9c5YOXsLzIX14QRkGZahW0Df\r\neibyDgHdjRiL17zWcOGuclgHZieLdV0fVktZV6Ofh8lm14R1RRdfzFFzJ0sz\r\nkbaGv1Xj51lX4I2lWFjLEUnrdoXRk0JPJ9prPeKAeiZTmWdJLUc2Lft9i9fj\r\nSFg0TIK5UK1PUSJAucOPV5crD5yUxrm1Ah2O7Kx2mUySdkRDSQ8DVEH6CGvR\r\njIElgZ+8QpbUg9qpzvszgURTw4pQV9S4DpKqsQmZro6wRVYSeIQitJakyCbb\r\ni5WgedLCBOrQSongtZ/C9y4uptOiaqHadfld4i6NnmrHBlbb185MWfjDACga\r\n+Bhjc96GGXplSJ7n9eys+dFu3xq9SVyQ01NnL0xuMud8L6EnJP/WSRCRuJIx\r\nFFTX3iTU0VGjzdD690DC2bJmSo7jyLMnCZSNlloD27V+6hF3XtfPqoreHm23\r\nAzirBR3scT8PSUnSo01uQOY/rXA/aGw0pjibJ0xyUXr6ik9nlmKenx4uIurK\r\n0+3R7M850AL+k7F05vUzs6/DRjYCG0SyZ5OXUUb/EdUCtHFaOGSUf/2SF37X\r\nUJIVku4/49dyK0WhgET1K3Y3GrVL+G23R9dP9HMZFJo941Fpe5a4IVINOdQN\r\nIwwFJCruE32lqOr+spG3Qmo3IihglQd9pO0=\r\n=VykE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4808_1667994665297_0.6250931128997812"},"_hasShrinkwrap":false},"0.15.0-beta.4812":{"name":"piral-single-spa","version":"0.15.0-beta.4812","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4812"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"96956ad19ce349b35acd7992979466f911d33156","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4812","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-pG0fdm7NanMqmDVxOWiZjUYnCMmXkcAmwK1P+Y2RG2dMrmptGR7tXa353oLgO3bY0zb/P+DcPtlDa+zV/QmPGw==","shasum":"e32d35e6cd0a3fdee1c51cf6cfe623297e010564","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4812.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFLRzYtQjWrP0Zn6rDZYrL4dQMvAj4gBK2kr9kf/WvZAIgO7A1amH3XJBlKMe8laCiNw+H3jdr+1HCq8B4ytfH1yQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcEU8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1FxAAogNO/dAcOYYFom1hViQlgyz9N39D/xCy5uzYLMtslu8ETsGK\r\ndpzDaMqooeDtamjcCdXUERArMwFIWjEilmP3bTrgtcCW1D5UzYXr+1/yZhHL\r\ne3rPrIOXRPsUqNDXdBW9eSpuJ4ekHuP5cFg4EIzqlWHB8JTQE2BlUy/ntkY8\r\nA0tA6G+3j+u4WojXVHIbUii5/6tCQpuUSkwnfSmfxlpY+rMGxWwpBVpVT/Ue\r\ngHGQiT3CIF9bOF98u3zM1IO3lxoquXG8BpSVNJAhLwIrW3EiaVzDM4B+fsBi\r\nC+PFQZeNJskrEtDGB/m5rKwLRApqlmXKtiZggZxPrJB6o+GUN8ygj0/t1RJe\r\nKsd+vFOILapgQHaidOx6c4HKv3Kj7jqQbwE1yw7ljY3d+nB0ihyM46pvKpdk\r\nwDbBwBk1ndxDz7QHpPukXuDSdyAJR8R8gdUKieqIM2xtH0CN+65P841lSjj4\r\n+i5MmIdlr4fjY+akkboRiPdWkCNdzSZYI64jBscVZqZ6atIDYMrp0LpmKgYl\r\nJ6r0O42JmrKcKOhHCEJ94h57XY98d2ci78kGttPSO1375J+v5XIoYrIpxTWp\r\nk2mvU1h6rfRIgWTfaf+OehsQgY1aPUu9caDXQbKwSfyHLVV31sQjCuBQL7O6\r\nOTymN1RX3pfxD0g4RQ+RWPp1TUTgnnP6yc4=\r\n=/DR+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4812_1668302140660_0.6428721102380424"},"_hasShrinkwrap":false},"0.15.0-beta.4813":{"name":"piral-single-spa","version":"0.15.0-beta.4813","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4813"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2790199e9c9e3792899f3325f0584d97af77e795","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4813","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-RI5Tr6nusecnWOnctFzzUx5TWo6dr9ZGJTE6eADwA0bxw6uqkh3zf+8EI8etaJVKIuB18J/gOtVVSf9ARA2V1Q==","shasum":"9200e2af33532cd6d79ce9439a5cd1e688fca9e6","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4813.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrswQzEpyWAcgK/JFNn7pEaOJYUfiLR9VOw8ciFXJ45AIhAPMU+w9nHG3X9EyqDqPUwfTYVM7LuvlMlreKwnPvhyf5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcZCaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWnw/+MCUIKgl6qWofLkNrEcbXUEd5YmRsM9VF2e5YOYECUcK9jpQQ\r\nBdeXR6U4GPfYc6aEryZuKKqHPt0K1/9lcsgbxvxSGPoUOF+iALalnNVK2Cfe\r\nlCQiY/iDO5tXk31M6QbqmDS1c44TEcc3EuSG5KjM0PIOMLRmsBo/L7hyzUec\r\nt7ypYJwXgL2tGHNset5WIHmRGCW1dC65ky9rIBJfrb2CkTB6xjB1WnjRAWsG\r\nTSTlKK1223Zg5wpwnB+2T1S6nziVa2OmW+073jYIZ3j/7lwWcdkayZHeUtsT\r\ncybXqISnzbFnKy4PNbcgL2yTi2v2ijohtayN3dwEvzEr0rEdfC5FZAjYMxOe\r\nfachbsuYxRQz+sMYUZK6nwBA3eyb8iMDzDTVxIEqla7BdcF1RNR3bIeBFrTf\r\nXJtPQXO9xqS2U+75Fy6zNA/NKJUw7D+Ks5KEoVlARE4Ghf8pQDUsJudileJB\r\nCv/7NG0iTrU5bsvIiGEf7zWyAlWpZZ99VS7bNl8+WH7W4/YKot/sVt4iath7\r\nRmgyZUaDaYHmPbI/3+LPzO9kd98E0c9UPnZyIabylVBLmLMsSEpD10e54OPj\r\nwVod4T1dPVns/ziCQPLdS2Gi6hJftvzc62jgNoaJJv6lk4rBciEWR1WXIRZO\r\niZS7vIdsQ32n+JxqXY/vie7+M4Hgoi28U6U=\r\n=tYEo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4813_1668386969882_0.975082777580647"},"_hasShrinkwrap":false},"0.15.0-beta.4815":{"name":"piral-single-spa","version":"0.15.0-beta.4815","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4815"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"4942bf8aff67eca5fce289da420399421f0d27de","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4815","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-MlzWYFb52MVF+OksjcGqLJNtzbWrXRIkUIUbJVUJBZjI2d34MNiAr3YWIERZzifLN5UN0mI3iyQpSh8EIJn21Q==","shasum":"ccdf63b15f7d7d5807e620fcf1237aa91bcfb9ec","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4815.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD+Rhb2+kn6qzeZJnDi6f0/d7uhgBNuaecoz7kvkrPcgIhANFVEbg+lHeVefn8YWkkQ2gaCv33gS/TiPuFoFAjlfs+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjch7rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrm+w//cpvvipe80lyzMTGZ2005Qo22az6hPCjoVZfF7+xECBlP6MxN\r\nLK1WO942CKZTcDAuzUQTqbkN+lHtNDRd0+2g95xMm8r83/Q3Uw78K9U89N1k\r\npUlUnfJpsnFiNIYEWcEI0j5RBQj2v0XEUrcFKlGu5d2EBcwe5ouGMMqttj5T\r\nkejn8naNcujtVy6YJcUXcgeaLEl/4V+YxDZcjyL0xjlyOeYmsD0u0uuwMnBe\r\nbR0lYVL6c0UqGV5A8Ya8Z+AWtGMjH/Lwn5p7rDCV22Tqcd0yRtMf4/d+AeJz\r\nFcjyn/puGRjim623m+KeTZLRUI9xH9f+ucL3nw5FWdZ14cYhUbgtOYdox9HA\r\n8eeaiIMD+p+vp/+v54pV8orEnv0OhNpQp9E7GXAv7G+PgyksYhagZUlCo1/V\r\nBCqiLGOrF4cMibwrbGf/p32+MZPwdeXFkb8HcZaN58XXhlmX0IlQlBXdRBKf\r\nDRTT72NkP73/JpbkSua7G8pl/NGx77WYyJEsTSvGkBEcRgysqtQ+gqjaGlXU\r\np3uoN4IBPsq657Axt05DMbR4P9W6nFrEVoSucJSZ28E2DSGZNh4O3cahLwkS\r\nPMS4xvTWb+SyYxBDjzNXSkhPW3IpZOAlOybaTmwlqOYvGkwgIK5mI6LnJvqd\r\nPIUC7wEdLLMN88DOwq1n+sN4hjoB0pvdLZM=\r\n=snBZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4815_1668423403517_0.6914621306813373"},"_hasShrinkwrap":false},"0.15.0-beta.4816":{"name":"piral-single-spa","version":"0.15.0-beta.4816","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4816"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f6af0640e919d26b25a5dc51d6559c9201728ccd","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4816","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-z8u5uwmfOLe5Q0dap0UApLquBd0S+sEBEID4kFX4rHo0AOHc2x2xrJqpiLBNM4FPOuSd9YKPCavrAjMR8uaOaQ==","shasum":"32317b164e337cee9fdeca51b104c32267a66e55","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4816.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/7SSSbl57uE6Yju/BBVq9pUZ+A36FLQ5LGfGGrZDJIwIhAO9tdLOLhnTNv6lglYZ0UBU54jnnujjKWyz5pJsMi+u3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcqoOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSBA/9FiYDPSAwPqgpagXhXkBpBPJ2a9U8gO506N9A1Xd6WUePqrMC\r\npnbIwKiMFB51UX0GTs3Lq2kI4idWaI4uyztskUCe76LKF9LPkPA9haqtFc9C\r\nKbHuW1Wxhwt0D7UY1TOhyfveNK+tEmP43eClFdS+DQt8wzcMvkW16wnkdHJP\r\nrvbb5HBjOaEGCCOw6ycUMrAZJCjSmVZxxXpYy4kOO+3xXUoawTcndLN7eBM2\r\nlAbRzBg3LsGo/npXqbtaqIuykLARvaHlr5aQfQaiEOzmggrfQZMXZKfgn2v8\r\nq7Gc+lAwrgqcdPeUNUglT97MZz8qXDs+EDlbM2M/Xga4rTXBOVA80PEZNbAo\r\n0HcboeXhT2lOn78Ulznw/aXEBTKtcR7cWhVNIoev7dBUUm+4AvnXmQE+UOXI\r\nQ1Ly2XT6SUhORA0lI+fd2TUmB64E3zRvqeA3YMcMS6d52/c0UYsyliKJOuYN\r\nUAC8kgnnqyAbpqK4wFzZpawgxIVnBPZEoW7SIlffZVSKt/7rPyR8ZtL+eShi\r\nbINLrNAYhsRW8HNCv6kAfoQUNATpTA8Pk6yxnR74KoxOmDNNXWst4EK3byMp\r\nDuh0kzMjq4eUp/5n1CfXXFrogs3XB6spX2i+DZrmNccZOjIxNogpzA85/Ae8\r\nv38q2Bpf2Nhp+5l0ApbZVyz+kuxvaP8Ytnw=\r\n=zwkc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4816_1668459022165_0.262012500586025"},"_hasShrinkwrap":false},"0.15.0-beta.4820":{"name":"piral-single-spa","version":"0.15.0-beta.4820","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4820"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2b5a24273c5893cb5573429396d8991d282268b8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4820","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-eoor+7NbD/eyFRIkTs0WH+amd3av+GAqDbetSj4ifKSkCj4OFm4qy6EUQ2rfhvTy8TgcWc3ax7rDljrwDarTWw==","shasum":"c3f14d6f2a954cc33ba161ac24a4ad8cc3422b22","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4820.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtQSFK/1DPtOY/B2Pq2zfpYAH+n5/Q/Ej1uawJRtcstQIgWOoLQ2bHxMlUS0Dt5fiTQl7ji76BEbPGL/dh1l/0v+I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdBSRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRnQ//fm+pgYD/unCG2bL/QuWcFtdI9SnydJDLdLwLUOd6UzLKwCEX\r\ntnYxnf5qvdEdXG5ChqgHuOyS52YQL7BknxXFHfXFDsATw+QiN+JAVkcScUDj\r\nN9cJCO+8cCRM8BiKTeJO8YVT2rXOydiJ6zXA8HK6qDkMAD7zDiA8v44t84mg\r\nIaydGA76gTQUR54B8QgBC8j68+SB7T1QolLwbvbyLDRtV57CZqjzAzwZVOxT\r\nROjtu70TykWMMDsTs8PTyKgmEku0AnRIUTxcou47dwZzZwItB5jaek+mKo/l\r\nki9Q7E72Bgs9t8SFWBRalGBZO/EYaRJ7ChhPR8plpaD5C1IH/RANKhhiIMDM\r\nqdILJHZkZOaEq35tlK/fkF+AjDJtev9yPfXW6o7CMGWTAnOIvdV0/371Ijwm\r\nR8ycojnP6mB31hrRNKkDO19ctXW7kQXqqZdUUnB/J7v0JWbDW8kxb6d0jGMC\r\nJUITDlZzxwQMxRg9dI/+qC0bJ/+EFBgbsMqkYj3I4pi+sZCrPn990YqdnZaZ\r\nwefuk28mo6LGrKKguI4U2xKbJD94M1aOgoWafCSbNmaBE3zgTnAhDSVPPt20\r\njlXibAsGuGsirXOGp/pZZVzBkOK1Rq3SXvRqv4nk/pX6Fyq9jj3HLWc5aMhN\r\nez5+xaxEyk13OgLuVtHZP7sYQ7MVCblGu0E=\r\n=/gPv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4820_1668551825312_0.4293008021271765"},"_hasShrinkwrap":false},"0.15.0-beta.4828":{"name":"piral-single-spa","version":"0.15.0-beta.4828","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4828"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"88be8e7bc38cdb48e6a8bbe20e14644ed790a2b4","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4828","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-ZJ/Y1SVa8FavD0eIyRHVO1yK0t2z6lLal+6mox6jzT+zd8fQYm8vgGslu307D9hot5BWjY/8MtfD/TyH17DaLQ==","shasum":"41a3557592dc1be68a3ab1521288b57453257d83","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4828.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAVz1MxBPnmCN1YHWwu6WDoNiFoSDCE3Ypn/7VTnZJUAiAfN9HLfaBJ/1HKUEDiHHVZSDGFl9grfDSmNqs+s0vWyg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdROqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWwA//TiWU8mkMr5FLupZC4Py/Kudjhp6Qwd62KqhszNVesMZl66zw\r\nfYVWq+C3As5EvoYksu2hT0O9zgVfjuCCIv3ENPKreJwwg+R0hcJ9pq017hUp\r\nYfjBJoG7S7Y0z5JRJ1F1ImbSkMNE1MT+7fXSNU9qudqX37FWLf2RtuOj0DcA\r\nAzyQ4AVRkeTj3n8BPxpkB2AjtblZJcVmqFSQJY1gGTBvSgq7mbbj8K5WydRN\r\nAFEDy3u2dD2X3P5D2QAuAq6jXscZMq4qowWi0VWrk/pICiQRLtEUaM8dKsK6\r\nnCaRk0yJks8gIQFQ7ocfiIr6CMLnk8RV4m9WHrAZ5N+4ey5Wm2qg8MJDd6zu\r\nTnyfAZCXqe0Xz3AGDfG3eEMRhaeiVPSrfThEBUBZfujdOy9aPGWVIpmxjRh7\r\nGb3cOjeEHsgeZuslFu42yJCT9hwCuBQKwm1ETb7EMGoJuHyrujeTKEwIftiz\r\nLBq+RtI2NKDhTpB9I4Snq5egGUyP7M+mttAKSc4TRzKwfva6lXNwD/F46tgY\r\nBO+wdfEDfoICsy22JWzZDQlT3Rc14N5C6m01RKLlXH17qHp357ukHelrjtcF\r\nztoDP1ppWMWvaGqOeFPdQDEa57eh4uUk/wsrKDjgRa2K350VjU05sg3xCYgi\r\nY7NXjVHDdz3tYstnfRq203SNdz3OJcPRBcE=\r\n=pWaU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4828_1668617130641_0.34813574426504657"},"_hasShrinkwrap":false},"0.15.0-beta.4830":{"name":"piral-single-spa","version":"0.15.0-beta.4830","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.0-beta.4830"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"da4b488c09b90a28ae06be0bdef173b98a175f14","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.0-beta.4830","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-e8CZ6CZnvi9TEWJEnekggJ04n6l2Qso9t2VJvdZPMkoagL0sppUQMlm2oSpD594/rgtqzZ54SBSs6GtshustrQ==","shasum":"7d80d984636d09d918aa5c8a4a8c0b490bc255fb","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0-beta.4830.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6NOfYiNHUCp01N7rtb76Bq9i0TcRUtJNhwazr+5ykGgIhAKBqPJxRspZlalRoKpWdG2+ZLv18Bxi0J2cqoqQJIeSx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdSQ+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow1A//X547IPJjFgGiHZPva5mbvqRCNZgwLVD6TYkvMAXMzZfjwW9Q\r\nT0/bz9E/qE1KrS+hDaO0Ey6zmVzc9dvDkhy0puf3Z8Wd2fOJA+4HrSOGVjEa\r\nISbmJtSyUYZkaH5yPTR+siL/2HhASV7HBEGHK9SRh8MsMGmkUucSPscAddQX\r\nUcpLhQ7Q6MvDvcdNxUpWNDTEc3+sLfgMkRTZd3bXCL8BpsvGjAlcEwgTg6z9\r\nHpYoZdqhAt1qrhlFfwB2NKFgW7S51L/aM4OJotAFCbUx3uCuUDHncRBG7JNX\r\nONZypMsvCZHmhy7AsN67zREZXcSK5GkDA+eIOzeFyBSbgfrQWsYcJg3OIwyp\r\npQmLzOaRNJRQX8QqB++o9/thvxWetGtq2ARyc3N7H6GBa5wAF9HG4Wrh5smy\r\nOvgV2H6nNCR7DkR3NF8b1tEmZLC0WbORUKwlhINWah+1J3w3V4Y2hTOaAxth\r\n74Y9OQTMkMQhoqkBNM6O7IGkIzPqawUr02lxobbd1sozQPzzWM5q1v5eEkdh\r\nTm0JcBUcvhyNZpcxjF3+pkiLnNEzZNGoglnFZijHFbPB1IFYrFhPHduS0KRm\r\n4qVflhESHeoUz/XlkIVEwcC06EfL4w90HxopBk1nkOGpAMVsi9O5U/KZXXNM\r\nP2hBFPqpsFAtz9B6ZbRFQQH6xGMptRglHkw=\r\n=7qKz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0-beta.4830_1668621373922_0.112874291753152"},"_hasShrinkwrap":false},"0.15.0":{"name":"piral-single-spa","version":"0.15.0","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.0"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"0a8a48f663dc0e1b6f09eff75af45a5377a05347","_id":"piral-single-spa@0.15.0","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-RiDnARQCXsvL7qtQo+aX0b62nr657KqiGyAq0NFjfjDKCXDQXLJ3aLd9JQu23Rif7R2ezKzw2D2WGAYRGaERhw==","shasum":"32669b85d019e58854e6b7e03aa2d7145217d2d5","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.0.tgz","fileCount":33,"unpackedSize":24232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIHdjsfhnZpb85IX8GFSQ/DPGZyjKhU+N+6sDdYDpKUAiAruTJ+AlLH1qV0IwJOMm3McHDDbr+CeW4caWA+wD3ShQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdYQcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMKg/9Gt5XvrvyEjEELmwvNBibq2kMYqPpzaXyCXZ4msx1re/7OSdo\r\nA19uOzgNPkVgMnXzBGLjGqZVbs52SWHP2X+Mwm/PKqXVSNy3CxUUg0yYblMU\r\nTaXrTybWEFrdv52z39JhhGShFSokxzQHj334/EcaE0ipkyYYTKB8k7pr5ccu\r\nmNE5eVyMICsSw5cnlyRGubt4x01e70XM2wueGx7FZi5KfiBTo9VDJ6zPuYCW\r\nfTE1qepwPmdWZ0JaY2qmla/KALmJQHOYozvrfKqvacTJ5K4aswypd/k3M/NE\r\nJVujRFxieE+4GdeuV3LY7/cfAJ5/7Shi1l3wQF8nhfdzUXlLj9zk/ZuzF09b\r\n1cAtkPRPPB/9WmGMCAl7/dr8KvT9tjQCZIKizmCfnyHhDlOZOVZjtsZ0cBMX\r\nwRmczJtZjUb4jS5Zg7VM19lK7NxBI/KXzZh4SeJbobranAwnQhoMy2w2nwc4\r\nomdjPHKmH5xwpQTcfWxcUgDxsiJtDorJ8zZSCcvhlj+fh1YrsKXQJNdk+C15\r\nIlYvTzxRZyeDb9VYJ0uGejsFF8UcYD0EPCJckSIIsVFS9knKXT88mA2SFO42\r\nmsHKsziLME5I8PDjozUtZTDOTS4GzAiMf/0YRNfj1kKkOXlwLsyC0QKevS6a\r\nWFZc+Sa5UyspvhuUQJzpM+TAsGVJ3OjyBko=\r\n=oxFb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.0_1668645915843_0.3010794727644819"},"_hasShrinkwrap":false},"0.15.1-beta.4903":{"name":"piral-single-spa","version":"0.15.1-beta.4903","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.1-beta.4903"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"352007618501b20c32b9d159744ea6ec0b3bfbb3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.1-beta.4903","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-MXn1w89GepO8VsJPFtVzDdaLunbEHKRGEAuchK9UjThhIjIkqabijnOJxVijpYCI76Vd7Xbdq5IFXsUrgs7h5g==","shasum":"2bef7d7bc15867cdfc2009688e06311a25597972","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.1-beta.4903.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHihQU7w0YFiYYfZ4aInEAdj1ZV+YPm0GLuOil5epz9SAiEAuaxIV/omHOnx5vezdsXpbwr6qegIffXDfbSbUci74lM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfq5iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqQQ//ZfgtKUoy+tfP2NEWWhpgH0Zu7K9oEjdwMBb/O1mlI3iVO/gS\r\n9GqJ2GZb/JkJ2u0W/dn6ivW4Zy8e6EpRYdw3EPsdA2AeZrWvSHIY1pfnaiRc\r\nGgGl/hc1sNjC5cFNZ5DIMmT9ovMEBohTO8o+os5Ngexb4DYWNIM+qnS0qA3L\r\nyuxEKhoaBai1b2byRu/QaWo03UgiaYmjkjvdE9axFHuZ2LGEzLorSB+ZBDPX\r\nSSjvyDmw8vuttHC7kbZZjoPdzFCpxUu/38oXiFmxmOf0HCtFt+qIctEYOvbu\r\n1u82r+vDTCwWSmQJogSy5RNPLpQNXBj+HDEC8TUlWM/pdVJ9xYUfkQD5b8nD\r\nUHdFmzR31jfDFDlCtJbpFdElpSrZVwSlARVXd1/xacA8NOWmzCjIk2y7I0Lu\r\n6fMAQRX81w3GfxNJ7AYALE4fFx/wx3ybGfHLCBGcEbw0qhnyPvIA5iqSZP0i\r\n3aYpDs36oPaTmZuaY2P6t3C1sG334OBEl/DL0Q3cvC0WNZqKrJZkChC+ngkz\r\ncyg1CtZM4AvsmVHqCeAowP1FvSNLPw6rxC6nIbqpHVSOhCbeFZKrrt6qmVtx\r\nconi5m1c45P0G+9cRwXidgALxtQoMCPSSz/PRWA1E/rd7e5zBXDPniNBGsdi\r\n8oGFcW+gF4rlXwxY3EDrw6X5uzpe6sUmCjY=\r\n=RZUz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.1-beta.4903_1669246561972_0.8472452814419289"},"_hasShrinkwrap":false},"0.15.1-beta.4906":{"name":"piral-single-spa","version":"0.15.1-beta.4906","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.1-beta.4906"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"478dd9009975d891b6734ea0a0ba499fc9212126","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.1-beta.4906","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-bTxd6DoHWP3GF0CmtJRC6FxMLRNbY8Z4WkLROi6jz8J+t1G6ddIfSzVU67+Mrp0cKiNLeZVtnzivdvbTGy4p+Q==","shasum":"2c40e56dd2dc04592a6297f8e349facd8d0851f2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.1-beta.4906.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzCBvvqafTauKGYCWRkAAUwaVcASMCgfXnIZ2maaUdHAIhAJDXtT7XRTEnXQW9CDgWmmVfPEVJGA79hV8xD8hq5oGx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjf39UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5hg/9G4RsKZz4YlcJv7tAveT8qjRFetkXEvZkzydUkmDWIE3e064S\r\nycm7WbxXwqztb9p+lmRTv4GT6X+Vnif/A9wp2bWNEc1SO7xSunbkxeCYnUVe\r\nA9N5kHpoNOfoO2NT4O/aS5yxouCECBM43XSJuo2JfAkOyt/Bb4ERVtd2xnjE\r\niOTSHiXWT4rnxne9lVnRpiFnbNd6zOynLrPXUrU1DaPTP3I5MvdM12Ne9Zjs\r\nFaS52rGPKF6Ktl0QEdwKUUbF6rF2Q3FtQ+B0/ng7vMlfBHn5rEALaIsOe0s0\r\nw8NjDRikbQDLbdcEpkO8tp+jghKKkTZkJEKVx2M2HVApTI+oVaL41ZztTGgh\r\n10M6+uc08ZFD8d1lVD62a2fngYIB2+GDpvLuE9bzLUgIEOQaW/He19ASYQqi\r\nHPGY3bx3Ww6rMIc6qQNHSftHuyCzZAu2bz2kQbGaOdpj3mS0dUuZh4rvyplZ\r\nK5rGe5WdIa3tBAMadExL0FCwSck7Ql8q713aew8sQnFWiG6EVXxLGi9hGJgT\r\nGqrbRXK5QA17emRADtA7+eUUZQlLRv/XdDlxgxpGvezzjWdTpH9+rRnajZIg\r\naksG78oaTKgssdzLKQayMmgndjwPlIXMmIGPY45scqqaw2jczMHwGO38BD5g\r\n4rsKWo8vYyk+eu52uj4/DKzO0L3tdUKcUZA=\r\n=ZCsR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.1-beta.4906_1669300052061_0.36231235895117475"},"_hasShrinkwrap":false},"0.15.1-beta.4908":{"name":"piral-single-spa","version":"0.15.1-beta.4908","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.1-beta.4908"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"83a8aa5c0a1994ca184276864022e09da2e87195","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.1-beta.4908","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-tM16GTiETS4aP9L87IIt6UJ1lnwgzQQ2Nj9SfGUkTBtge1gnA41fBeHd7YqnKV5g6lPi8Yxcepj04U3oDGQ9gw==","shasum":"5a377d72b3d341d0ac224b2b39db9dd67fee9637","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.1-beta.4908.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvu/fw8W85Dr3KiOha18FG0pPhCbfsU6sghFqQ81g3YAiEAxaHJ1ynw+q74MHUF0kgYhA86Sd0amDL59es7KAJcTbk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgAIaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpc0xAAk1YE7BhwyKYVYHbdEnGRfTjXGDAoHgfqzZvBXoJuK1A65dcx\r\nrFJjiM1yi/1jDpQgFeY7pDx0fLSEQubmZSnEFmdKk9xqhcpoY2p/TtjQJpTz\r\nNTAO/Sc9d+x8fVPpXoW/5zrHnjHxZUByEAfbt8Bq0jF55XyFT59le/IcFP1x\r\n1L45OR7quBl8u9CGCQXrYGL3daeG8b7aSNCiFza0wiW/10WKPezwxQbWpSu0\r\nhLErfamkAjrkYxZ4Suv+6wNTm/SyGZT5X9a8CGfAkdJdSaRLa07w7SnOLKo8\r\nPT3UYHeOmwM6csQ8nBVlO6C5/gM4NJF5IlTvfYcilb1pmVypiB6+aCaAADyO\r\nJhXTnyuuGZToHu/b1tJ5dqyZp5Kn1Cp4IOLMrgdOHS4EEsqBhzBXg9L9+2NC\r\nEQQO82Sfp1oucOJhJPDiQBe0cGjFzk/fHPHnHp+puJuqzo6cKde+SrhfPgiq\r\nSOtrXSF3EYdKWxE6oG+11a+YEs/aHo3ydzAMN3HyhBdaX4VRJhVKszG1vcCj\r\nBT2PDcUUYiT4zTP21LEw169jVHwp8hbmU0cLR9p3EFpMaQb043smeOFYa0a3\r\n291MXvWQ9oo8PLRvguNL2RwxscMCt51R9vL6kMHtxLP/EKmh8l2YbTZ8uFDH\r\nNMCRBdkynFcbiU+ZMlGmiRlnDaNNZ3iOWz0=\r\n=IHpf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.1-beta.4908_1669333529858_0.9774990485649131"},"_hasShrinkwrap":false},"0.15.1-beta.4910":{"name":"piral-single-spa","version":"0.15.1-beta.4910","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.1-beta.4910"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"83a8aa5c0a1994ca184276864022e09da2e87195","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.1-beta.4910","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-8ENI8rIcz78R+Sze9LNQte/OmVz0hNGcr4pirLb+y7HnKtB9HOOgBDC5/8qj28Kfqk/ITfWrfiU49MN7t+z/4Q==","shasum":"9498aa6157d04a5dccd93bf555dec18664be9b7e","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.1-beta.4910.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNCL4WkpQv09LozEn0KqOkMXW+QAT41fktwxymtcKKxwIgUbnDaZ7KRMywB4YAH5nVeYT6RfB+8umn+olAwx/UIRU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgAT+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqO5RAAl06Yc3i9eWI+ptiLDYGnrJpQhObl3CgpnphUXqi9OqDkEnui\r\nnf1cPPANVUnvcVoRNfX2krrsuVCjwDGifWNVEVwmkQjbUqWDeHE/TQaqzhOy\r\nVkH+iWdmypPzYXMsgFjGnJDVztkgeob8CalH9gDf6fjlDliU68TY7nwu3nX/\r\ns7Lh579yaDO7AbzfqKpUdfVtMA9g7oGCXNvkwJqCCOwAccJht5l+Pmm0EIS0\r\ngVk9nFXLK+DzXNIleQY4aDtAfuBgm1vZ05zbEUHUUDOWXR2D2QakB9593hri\r\nMAxwGHy0OEpyzJv2BMshvOnxLpgTBZbKhXdiXv8ZCS22xQjrACkJzef08TAm\r\n1wpRO05VBrW1tIExv3XRyEhY6Hci63SGt/Qb5cYlrfQpGK08eBkUXtAFxtVB\r\nN9zNv+U9YzfpMVLC5o2dHV8zRMS+4hZ9AiKxzLwZZxSiZJxHgz015t84P71K\r\nvsvLO8RoakDoG2uKmLbjyX9ibu1syJQZSraDRFwKvKw3nHa1BukMnsDJ/v89\r\nvmGdGxuSL6JVt58vBAl9lPTysc1zIGMplPP14jAjvK8Yc3ohiMwGHJBrmxuf\r\nBqC7bUyFJARXpcmEw9QELQHuB7Hq8cfu8OrdRTrddGWzzGL2DDbhLeUBxDPG\r\nglK7nBmxI17tzDJP85kR2868dk8SfGfboi4=\r\n=pVvI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.1-beta.4910_1669334270160_0.022688272874937354"},"_hasShrinkwrap":false},"0.15.1":{"name":"piral-single-spa","version":"0.15.1","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.1"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"b1e17ccc03bd4a256ba20ff7e7bb2b899ef35102","_id":"piral-single-spa@0.15.1","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-A21CYri34q91vlevwnEUy+lTeLvyI43hnKMjFznS+8fyhfs8bMi0ijGv5ybLmTfUPEVNYjho9z/+/o8TSuFcBA==","shasum":"80f9fe92f02e29daaf102f7bf17013a9de42e71c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.1.tgz","fileCount":33,"unpackedSize":24232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9x/TxsDOdFYsoKdNbBC7hizVYIzfrZW5yav4q7pJDzAIgDkfCmo9txf0QZXxH4903KYiubwJTVqAfbhtf0hvVp6g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgKp+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJfQ/8CUU6qOFUwIrx+YjPuQ0CGuAnNpovQmM+jdIocuezzs/mLUj3\r\nj5RRVQKTIuCMjdg8DFtTAuk4IsUWxeIvCVMOX8dkXNG7FgTfOorUljeisib6\r\nSSSd25NcR05g4RnvVUzOL4PhedxHqtq/RSB+kpeuwmJqOuXdpqIxC576R+AJ\r\nOzYn1F2zW2gTajH1g3pPCuyqjR4e6px7/PyIyFh//0FQuZv0HvUHZIlgvzFG\r\nc+qy82eRn9LHfovLfswpogJ13WDh3Dtcoio7rY5vHXoNcdIPkIYytYp1spNw\r\nnSjGmG8nZUt9zeqg05Niz7q/SjOi+kKLvyDuw+r7f99kukGfm3CJ4Y6gKcqP\r\nvF+naZh1PQRNCn54YfuMsrV9bYixFA5GpeICtPwj2/ICFWsPMUkUTf1Vncjz\r\nIPXjMQ8bQ90dRn0svvxDJEw18GOa5Rbz2zN51O5d4I4/xm7tir71MNJwIXzp\r\nbLjUtB1Vi7ISWDquLmOV+Bzn7T+mNYHseDCq9JSkvuAtHMLUvJiK51hdLW6k\r\nivf3zFItYcy+106TKEzQw5KDGHkcunjBnoUjQMZVp82o8KoxNOAJcC2naxqM\r\nE0HaimSxEmjV0PvTqcXZ/y1bOtg0z34EURZuGKzS4oDSODTY6wGQ35TrpblU\r\ntqz62BbN5ry3mrROcM3JetrdcscUniJ+IdM=\r\n=9tJl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.1_1669376638599_0.777061828766846"},"_hasShrinkwrap":false},"0.15.2-beta.4915":{"name":"piral-single-spa","version":"0.15.2-beta.4915","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4915"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"5ab47435e95f3a568931505084459f6b59bf80c0","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4915","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-SM6l6S3Y98t8MC8vFanR8E5PVJ5yrxmlXWdK2eyXnm3iAYQm5TAxMbsfplM/yIR8V5PqgvKKB2txvTiXole5Yg==","shasum":"26e7c2cb3f9a094161bf104f9530616bd758f757","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4915.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqf0D3LJ9xxF3wKb6M3dipItCI1d2EfkgSHFC8WaXbWAIgezZPVRVNs8xM7V65xo86OCDXH8aXoukltPzh7KhSOMg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgxmrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5nQ/+PCiYToxhadeVJNgyOW4qHa8OdUJmYmat6JrNqqwKG2FeVSC/\r\nmhYiiSpGDXrS7Ro2Ct1zBnHk1ulB7KYxRxpDgppbOAG/IyN8OQccL+3FdAsR\r\nySr5H0MjwvK/h9wrxSZR26PyASWAl9TES6jDd+fUVHFe7RopEw1WUPS9BNsS\r\nW1DoROuvYv4oO4CfbN8QoFN2E2MKPnPuU/KTjIxee6kDz9azWhdutSgzZUT5\r\nNNSk3yFPC1Eq2oMncXtmIh0qulDzx+jrEW2Ahpmim7qzatncvKdSLtSHyQIv\r\nJyYKQgB2kJDcJ2CCGjtHORUriV9bXpnt7ZBEf3PP3/NBKpPDHof8yRizC4BG\r\n/njf1VnYJ044UYE9gCt/I05GaO0zvtw84/sgbOxcBVJJXohJvsXxyxT8wkwJ\r\noncsiQgehIeLDxnjWA8F8dcqcswLYXpxN4+PubmbYj9sovshelY3f8Vn/5no\r\nhcjHTa7AGt+mUSmmuTbzdca0skxKBTji8Olr1RH2PrDenc88zMI6/EuXC3Ul\r\nGJFzjESphyzlUDm4lFcs01s4/6j4n/P1JqzxQUqSPnBGyfCbtCivGnYngOid\r\nG6/G6NU3UJM/h6UUVqKfO1DYjsreGysH6xCwElxWc7/uZW2YSkffBJb60tgW\r\nn+QEYLROUzj3lelb7X3oRxqWGNa7x8P4gwE=\r\n=VufA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4915_1669536171251_0.17451891498770533"},"_hasShrinkwrap":false},"0.15.2-beta.4921":{"name":"piral-single-spa","version":"0.15.2-beta.4921","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4921"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e112a3859cfe8b9f7a4ee02be3cf5493f2482a94","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4921","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-f5Jd9ph4Mq1ydlt3o6pUp8XWQNTF5z542XoG003Dpde9z0oN4nbzHbOELSL8hkXRGnb7CKyxcxuUKr5ZXV1dqg==","shasum":"27e248c1ef0beb83c09d773297df6718862282bb","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4921.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaDFzsbi1SE0/xIUHyngjFKpLKn2ppAiNnvhJJ9p8+RQIhAPzP0XqSlw0MvCIQJ68tUfo75Qj0k2laTk+CS69hJ+Ws"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhAP7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+TQ//edDhmjefGlIyOYZiNzQ8kxz+xg0uD7gcQDz9/8nuRNzhlbsg\r\nruv93269n5dS+J1K5hRx9K1li6Rckw0XV9Wvrwi2vbbvU/CfGopbSHbkRRT1\r\nftGh8BZwxRRGgCQ7EpQrJVzZeFH+43gGamD6LGOElNukG2ZUjsIKDclRqzbe\r\nnkf0vYmASnkVEF4IhTWmjZo6qbCk90avjDufxqtjQ0r0bNba++m12EvHvOyC\r\nZi0y/BHzERfaRkNuvyezcjbLDoZOwpWyfgojrPTziirtQTMVWwkQi5cMY9RB\r\nW2X/zshWxwtUvH8aVrUS/5xQ/tgxTSNbZL++Gdu9pQO2iCTziXsxWhNx1r+E\r\nI72s0V5zCHRALx7gdXXE/UB9p67K2YedX1vU2sWggM4AKljSxGJPnTapUpa6\r\npvN+F3/pR4ghOJv+GJDx5Q9ndou34G6s2Dp8asDJwMcQQt9kVDk9UMv5EI2o\r\nrhaz47WzK1R2M3vBVNsR00yW+M63WbZB4t+5cNj7gostwBIXxz5NV5Lwtlrx\r\nJNWwYP8MzV+fPqfOcDv5ywannwx7ujokNnQcYnRcx05Xa/LW0nwkwilSUVbf\r\nmzz3HSZ5oe0w8UYEPdh2AG1MbKUyWxaUmdnn3wIpL8WwgQj/Ndb++/UAE9AN\r\nPA/6fYx9dwv1xfv2oeHBZSdiICiF0599IC4=\r\n=iZwm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4921_1669596155302_0.2449789782181815"},"_hasShrinkwrap":false},"0.15.2-beta.4923":{"name":"piral-single-spa","version":"0.15.2-beta.4923","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4923"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f4547fa8ee856430f74ae3c46f92df77c6700b8d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4923","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-JqJIPQooZXNoQCPRPHL73If+Kc3Sb6/zKRNFKbVy5DG8yjlXeYJU8sbUfpthucjEY3zORD5DchsE6On1q1UBjg==","shasum":"9ae4841ff19b2841dd7fde2fb191ec09a79be07b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4923.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBGkEIoEtCHph/MWIlR0aZ3KzRii4qxRi6WnhD/g4xNAiEAw1s/Fp9hHeNXI7SmtsXxHIl9IL1k0MhYZs9rykTqlY0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhOEbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqekA//VKz752lFQGQyPN372NGLne0WikCOpa4o5JqaogSMgpM8fAJo\r\nNgDCpv61s33yZNcBU2y3iwtUVL7bA3kQ9DKyU7T87VKr/UiM/LKguuDDay0H\r\nq0S9AKfn9ssHYGrjTh6gY5ngqOAVmjQbldvaDn5zozrzjPCuAmqGjktTZql5\r\nE86Hdjvli2ze7dNJb4j94GJZsIrkXf66AdL6G6pY+ot7Ixfc7vO/rRoIV2UP\r\n84M8sWI2iejBe7YkJz9Q6vrhXajBij82R94pFkkB4WCu3Lf/npi+T8LdPt3a\r\n5k1f6sLd4jAbMOf50YftFMJlNnOIa2Kdf3UCFM9bwxDM3pkg8HxUGkfpF23S\r\n0gAVGCEmkDY89N5ZamtGV/vr/tPMiqV+wxXnmHtuaqbOZocdHBbIxhvumHEW\r\nasMx9y0/2/DxEqENu9Pt2cnGLJa7ubC4QzwKQrRIeuF97D8bSxdf4wvEd4EX\r\nHsaUAgH9dhkEThacJa0vjDc2oRec0/SczzhFaTwRetxpsQslumS60jVQEQLC\r\n95MOKSXK5VcsEgWuy5Ck2VSiHIkoGFD45/FMAZVtVRXayZCPjkXBu640MSAY\r\nTVQfkmDSyOaSxVdVu8GAo5F+244e0tT6a9JBVU5cajiDwCN8uMRQWs2kmdPF\r\ntLfpcWyjcDLE4Ii9WqfBr0LAex9wykqPGfo=\r\n=4SQ7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4923_1669652763309_0.4422796417696242"},"_hasShrinkwrap":false},"0.15.2-beta.4932":{"name":"piral-single-spa","version":"0.15.2-beta.4932","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4932"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9c1242edc9f7bdd2255821500ca5503631cb7569","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4932","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-bzGQo9/1igcqo5l+M66NmonlPTSlNfPESjERL4nYeWf8peQsCkzgkgrSETS4oJkE9jTLnHh1dj+/HyhmpC+DAQ==","shasum":"027aa4e038f6c5924bb785aa6a94abc1bf885c9c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4932.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeRS51FFuUzHegDIRuEPtrOH2OfjicOXghUtCmCfvnqwIhAOi8RD+wV+DAAITMYn7QFKUIH86/c9PItGv/p0d29VAh"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhrhNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmox5g//bVEQLt2nmlMuMoy5E7JEKzBC3Lw1cKbRDP1dIUSwGoIxrluM\r\nnX8Uo/i6cEg6i2UpP3Eqfv2W4P5UXdSmtDcLUD8wkKwBYEPytZMBnGwnQfMp\r\nIvdHdO1mDXKQtkyr1rbx6BLs+i5QwVWzq/tPu5Q+HfXK1pR43C7qgkYtIgqQ\r\neuTWH1dDgiihyr4eeD9WU9fNkYFSSv3I3aMzjLU6xVuNgtKl9lJy8J5ypG1s\r\nBIsTBTeUXkiSuia25++4MYdFuM+oVrY43wUGByZy/02jYLJ91re6aQNnhf30\r\nGJFtaV+tXvRhL/9FvW/Dpo76V07Z6JtfL+c25A2sYu3edyF2O5H42gL/SjrC\r\nUm750RofPin0nyxCyt1W/R3B3xo2ukUz5F41CPatU0NrWUf0CWMolXyBX0UJ\r\n46MeRP6A7WYIzYnGWpfxUBhDHXMABP4QBEz13aJqSfonum/ASguPgG1xGjW8\r\n2By29YzHoGrPwru/Yi529qxsaZ5rsyA9PGe2ytbMkzbixxrsV62Z0ObCt2cJ\r\nAb1IWKveNi29VK4NyaP1Xo05DRkNoynhT+AcKSePCyLG27OBJyXFtqZA+JkD\r\nL3aQFW7mZMOS1JA7n+g8jJhezUay64rvbMGNMd+3/8pLE7ooM5awi3t6p3NA\r\nOs0Gy3XmSt5Awix7fZSuETc9qAajjb5X5Aw=\r\n=EWni\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4932_1669773389048_0.8784862480449793"},"_hasShrinkwrap":false},"0.15.2-beta.4938":{"name":"piral-single-spa","version":"0.15.2-beta.4938","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4938"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f0447352d4b8883b6476b5d1a260d4ec9cf2660d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4938","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-4hvQ+6YhGtMFUQ6Xnuowf102hw74BmW2AOE3a/ouPc1Q7ota+BY6Gz/ppmLnVN32Xr8o7IiLLxj+/Xl7+KlsiQ==","shasum":"dec1f16f16cbbd83632e174dca212c04e08419ea","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4938.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+4u/q1xx1rgM/bV5I5jzc09kOvmhwwcvHvfoNowzmBwIgIwyAQ2jz8/9+VeuquajjGpKH2wr8PVUIzZaq7KRyt/8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjifL2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKBxAAhFy1fI3jqPdNjIWTBV0yTQdr+u3oMu1jJaoFXY4Y0QCgQ3NR\r\nIHiUZw6mxBDAk9cuPu0luVtTHiq8Gocj84yFIVsCO6v+zqFoQxMMgw/yW8/6\r\nZNic6Hu14ET0y4raDK8wCxvXiwln1hWuumqBcM5VbiW4sfTJSVMvC/ioQpz0\r\nvgLungvy8rZcspO0bbhIntDIe5pK4HxpUO+wWZOtneWRTTk+Fu7cNZUTXo35\r\nXku9qzO0bZCUxbttljVmKocB9tjHpD56Ovz6jnDZLP3bvTx3OrlpChuO7hqY\r\n2PlmmOS8cvnooxIzmjtRMg1wusczP/VnU7hzqPW3opwpvRCYi0tOZypOa0Hb\r\nBwM4WPZ6JbLcrdwLKaq5jnGoHijC48NRHItrVxDdKzEfBlJ1jdKGo8m+XdFQ\r\n7mnizSPC8ngkm90VvETVKIeH6I/uIgty/twxLaCu5i8kixBiT624h1i3pfOe\r\nOw3vR24Pde7RUW5Ye/sFf2rpYf2e64OCJbJ5277wvJZKAV47ApZcYzCZyG5q\r\nwh8pdD+pu4hMbtUrEFoXec/2t3rKqGMnH2vbiGMUlGRM+Z6wY5NKe8xIvK67\r\nYtO3MllN9CBcAsB2O4dacn5lRrxTEKf/lZ9AA1R+mxeVelpJfCZyX5GQWcCW\r\nljaNZOtX0zbtAMniXBtFp0AMVUqCZjCk1Bs=\r\n=1IEj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4938_1669985014177_0.9337204025999877"},"_hasShrinkwrap":false},"0.15.2-beta.4941":{"name":"piral-single-spa","version":"0.15.2-beta.4941","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4941"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"4e71a1d41d662d8eefc520b2d9718d5d49e3df20","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4941","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-VftPRA97q/BU+6vahimbN5tGJJuBvTOqHSDqdNZcRBDDs5Kz92CwO1syCYiSZexVG5Jotw+pUjpCKc2gKPpSjQ==","shasum":"a22a9d9fa8e91d434a75bd79bdd9cf40cd08eb46","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4941.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1oD4WknPuT40YiLCEN2brA8ou3emZsrLiAPZWf4evRAiA7qXuYKhhEnzBN5AgXVtU/hIk50BJCBpml+FNzwGdzPg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJji2E6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzKQ/8DGyj/uEASY7HNIHi7SP8k5lv4AmYlueOmXqtcp3RN7G5vCNZ\r\nUR9PU6YR4Ux02rlmTPCreXGpxd9XZ7F9KPbLFUj/uxWPnDUPNN/qQiU3GkCm\r\nw8Af7xSYcTI9eGtsrsU4TF5UzD/JXgz2suKo3+wiKCtQbE65qSds01AyV0hL\r\nS/4eO3QuM/WTy9d2Uw7Nku9PiLT9VJFYbj9m/MmvCUEvN4IzdxslnxL+RChm\r\n8NkPmG9W5V5kQnYp/Wte4qhbv2cHzE3fOFLhsMgzarql7F5UsKjTQG5l4q8u\r\nyvHT/Gnbziqiyf3zE9W7/ZzEyj14UpVYVENRwSL3fJaxQV2SazB7EueuPrz6\r\nRtqDEPDfgYEPxQ3OP2fBGDNmK7Ao/WRFheWhY/f2OBlujqmwIgt+ob1hbZ91\r\nPCgtWvgZcGV6fK7yFvSWiypH9W5qH0GxcE7AE07+IcfkS64nBdhQCLFhs5IE\r\nb16mGtNcQ8o2PxYkfr5qvfW0NMBt17DavoEiF/+wYiCukBSSxQF2lL51sSl8\r\n+gGAooDoI1Aviqf+VQS2gnGHC+T+137N2v9VkXOS14MAkZTYUQxbTQ3/NF0G\r\nCxkd8hN9pnlUODRmcGxg1rDNEeMuRbQ8lJA4yJ8EtrFNjNqTqAUBlaD8WUR6\r\n1puTh3sSBk2APuEs9NMskQ3fRFqQMiGBtlY=\r\n=EOBw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4941_1670078778658_0.43776894575698533"},"_hasShrinkwrap":false},"0.15.2-beta.4943":{"name":"piral-single-spa","version":"0.15.2-beta.4943","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.2-beta.4943"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"af611d19717d71e6fa2504d040d59cff858586e3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.2-beta.4943","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-cKab2p8Cs+gvkdzjdDOF7TBikYmsTnZmQurCb8fMxboof46CHjJRqDimMuiS3BOLvkDpZRSukHoouali7Ft/cw==","shasum":"43e9d5ab38659feab55f8308873387a1c8a2b0eb","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2-beta.4943.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDuqXS6e/fC+bJirD6IRZs/h5c6eyxj5j3ZnZNbvt9HQAiEA+fIsSedq5eiJkGtXGdEYEBcxK66oh15HTh3xc2k60M0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjSxPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUkQ/+JcxK6eD/ys08ygVIpCMmh/in2n9KpO5us6IElx3RPU1fikOj\r\nVwyLzt3ey5GC2jvHd6S7dbmWnTBkBwUy+7A1AJ7WIAKl/i1k42E5mvXIgc0H\r\nRVnLGpF200FbYHYYKs2ilj/8OAQWWCXdskxqEb/YztGc+rlJWoXnR6Oh/Dsx\r\nttTryVzBB3YiK00/IzkukdE0S+Y0+lMoiJBLDz/lGZfLbJiXn99rU6wBiA/r\r\nIyioBvpZsIJM2cz0wizfYadhi98NLpN7AfX7+mSWAQYuuLk7xJ9pDBy9BPZh\r\ntLLgICiQ9yutmQfzrBfUYbBkI6rNofNvGSvP/2CBwM188i8SWHxVi8I/YAyQ\r\nvwVLc8azlIFYXG7ZyhVsn3vSXarg7lcRAHqRu/B0HJyYyxPIe2ek05GxD1hx\r\npiXyq7D8PPgnmiKYfHYqb+rKj4NCAVNisWQx72dzQpb96XCPndB2HhLQj1z8\r\n9kt5NGpJfWpdVHybdQ+J/UYqv5jw+41+PbrAx6fxn3AEW1CcJmW0dtId64Hv\r\nNBvoXkhy0yQaN0kIGANfCpgnpayLzJJoy9sjKVoDBM4iGAuxnsoSz4FLXXoC\r\n335ZCYLR+MGgVL/9GLzaReewqlw7FIx0c7ceozblppzC6AOCOGew4ENf6lCa\r\nyosiXCGAt+a/HWzRQ/u54QsZAIpIhGlXlyo=\r\n=WM4j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2-beta.4943_1670196302900_0.2756649725950555"},"_hasShrinkwrap":false},"0.15.2":{"name":"piral-single-spa","version":"0.15.2","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.2"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"bc75b95ab53edf3f6bda24bcc7682be0c578f68a","_id":"piral-single-spa@0.15.2","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-dCP5AvVmc10OXDvGbLP9L1KeEzNpmagOs4fNaYcVWZJndJo3W+tpH3YAhKXerfjF/I6h4jGRGE8i/S46iibqjA==","shasum":"68baebc281490c736e41a85acd109dbda5445839","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.2.tgz","fileCount":33,"unpackedSize":24232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOuR/rp9yz03/JaEDZYwbCGK4eCFQwPpH9T8w9e4pXPAiALh1E6x14BkYK2fDMu93Cl4cmfcUmLYfN8bE+yUrt4Xg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjUVhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqr1A/+M3PiQfRyn4/+yGCXKpV1TMwfrHRtWalqFpX9OdLs5BJOCBKW\r\nK30bnQ7pczbXKmFC+BV/9Xyz8hVA1XZJ0FWYGBaAftmm53mGe0MecO3wPIjv\r\ndMxRKEAyYKWgA8svaXNXHFEu4/EzYcp+xRSz2MTNFHECvitMNOSJWihOju+a\r\nXQVbrPrugWoxzX6sR6JJEXuhnFCNaA7cme4q3ziD7EuNfH5ZuLhB+p11oGUd\r\npP2FcfvJz6WcKIS2kwP8LbxlLisVl34t8txJ2j4Mh8oCjgY5Kc1gzbtM2IRr\r\nQ84dBAFSPUhZjqCL/L53FlxAY3I2l5Bz/HrMGHeei/+Yvxx0JT7TLRYhv4fz\r\nKVg3DpJq2H/EzKhaUQnzfBsq7W9tHFqJsVJfJZ8peqncjf9ogIf5qHa8QnfL\r\nlZrbSVhM26ivSfHH3YpbWwyHiu/DuhJLKKtt7vd9vEI6veVKdXVNEs8z3ZxB\r\ne5nSkKD1Iszwz5L8pZK8D8Rj6tPwmsT2o+Kf8gr4x7n6dZqtVnTNp2Q6vPay\r\nlH2UU8OoGAWwhcNhntUbUsvd7Y6U9IBb335uivLByge1u86mOB8RsTawG7vr\r\n4fKlmyHtugjk4RrihRfIrdX72X0YxqL9LAJ1e57owrdT/B/fNqOwjLssgNzd\r\nLcyVG6DgijivLoYaWt2ZlEVh6fPWK+YYtRI=\r\n=4uFA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.2_1670202721445_0.732194221096746"},"_hasShrinkwrap":false},"0.15.3-beta.4955":{"name":"piral-single-spa","version":"0.15.3-beta.4955","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.3-beta.4955"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"598563720dff2995e2ccc4acb07167554ce788d9","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.3-beta.4955","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-z00HLOJ3NgUv5/vN3KOB8VAwRitmKFEPAmCO0k/iz2k+KrxfLGKXgwUD9Idf+SnLBB2sVPVc+FSvNz/DqYqiWg==","shasum":"b5858c8ba29eb37bb7e94dc24278b1af06a5003e","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.3-beta.4955.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBiC/WtGA2vomWESLeHsLhnEZvTy25vzg7mfkX3967lAiAt8sj74WVB4c+EEmfbaf2N83xOPfKvOlyJLLNtAL6HSg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjk27BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmohsg/+ISzEdX4iRX4XMcUWla/pI2Xv/1+TgxGd6MZG8u7Z767FOAEN\r\n9A3N8KgAv3nJE+XQ9CwmH9ZaKf3FxH3196BrI4a/WRol2KHrwcchMGU9kBzI\r\nWH58IJ7VlkgIUnL7vD39KO+gvxh2TowSSUN3B4Ig57lrVHxYjibWpfGAZofo\r\nJCM6fjuIXwM9hENRhczqhYfEwvDNIruHvmUyWtnNHIceIdPJOpX3is2E4BVC\r\nIKnMHrRvfcI3v+wXd9QuBAD/Nzjd9U4Uk8Mh53MHz3Wvh4So3V4IXctCfy0t\r\na4Ad/bRYtq8RsT2c0vHY8wzwsxIwncaKVLQydGJdh4k8zu/JIesN0ji22Hsb\r\njVjgyypEKdZHDb3KCyAjeZuC6hzoxDGtqWY5JMZHIDhTBw+HAh5p5G78D1SK\r\ni5govJg/bw9tEj+vyWWlkS2mq2840hALXt/7VCWkHG03QcRJPRTWZqRiNabW\r\nmDBQBQcLU4Wj6ORYUnYPwJmMh/HIgeDejLSeJec8TXWeJJF90NM3psVM+eBr\r\nkaFhtl/X6QAVtP8nz4r0cJoTz/cH/kiY/p759PW3Q1AnG1Xt7Hn3gpuHMazF\r\n0CJUfAt3+tZWV3PvQa70tn0zBExDTAX+kdNk00SDQPQu6I4/mzYfitu5BrIe\r\njWUdpDbH9G1cLYBZ3g+wwIMvotRVsfTJnrs=\r\n=aW28\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.3-beta.4955_1670606528925_0.8403818571209758"},"_hasShrinkwrap":false},"0.15.3-beta.4970":{"name":"piral-single-spa","version":"0.15.3-beta.4970","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.3-beta.4970"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f82139bec739a47bf7e7194c5e075e14e6064a8d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component / microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.3-beta.4970","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-CX1bWubPDFX0Ma6ejV/J7TPa8jsCxgK7T4jjtxksJMKAC0egWrtkGoByL6/eYl4/ESCDTlJc0pMrW65IrBEn3A==","shasum":"71408ec273e14f9f96e57cf7f87e2f8dfb4f4577","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.3-beta.4970.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH8p1eLL3DVrkDjbEedrS4CpQCmX8k8ItpXTsEyU2a/cAiEAyv7t2bG0wXslsYF0E/x5co2wm0GFPgKRwSo2ojlIzXM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmF9yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEgw/8DwPhXvczp9eANQZbLq/uMA371UwljdPM+JzIsZdlkvLFGOMZ\r\n5fZafitRMdhO7ZeHinOO1JseotdaDbIgPcQmz9WgWM3wa5uAL6g9N01vxxja\r\nJ3opplVCbVG0FBCOePpH097GtfrV4v8FcTpS90MakMThWYngATV5OVMZ4jZf\r\nrJQYll9V5peKok+4IAD2/QR6exCstShqDhXzlRw21vzikaR7wjkeDHrZ7bfH\r\nw+28bTTWC3gbm4MEUnWN1wajqKpwjiCJKZmZBCv9BvYxW6Ku9wRjfQO2O+Qe\r\ndTlITnwZxcAyYGA41BoHJ8HOa/2eSZFw5D7nqHK3rYE0y1CUaPN0BLzXSuhh\r\noEUz20OatYuOGX0FScE/HxxIfXkB7HTLIIUMjNIS35cxaJUornb4R3o/tp3O\r\nA6Hsn1UrAzBv4L9KRS6LYRDu8egHEcokzEI6c38/WYgp4nx94tRnoGfz5+9K\r\nlS8yRcNIFFun5ncsKG1MWana98hIPVWPSEko+S8N0RJs/VOLdP9opAtzqrRr\r\ncmvt0EmfvsgiJjv8hibI9xerLgzd8XCQPvkBkGVGIoSxMQqwuBS9wv5OxxYq\r\n9FUDCtg8dJRfj5HDztUEV3rIYPT8ncFq7zb7UDOXWkxuzs/BJPSs+sv6GfUy\r\nVWw0/JOLj7YeaQA84AvVgS3QOK2iUWWl21o=\r\n=UEOv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.3-beta.4970_1670930290502_0.9241189432480308"},"_hasShrinkwrap":false},"0.15.3-beta.4975":{"name":"piral-single-spa","version":"0.15.3-beta.4975","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.3-beta.4975"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"5cf09cee48aa723ebe3fa9e48a98ff118f3cb6dc","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.3-beta.4975","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-hGFx2VxIC/IfyaL9v000klrUReGUzSbCbveRX546Bu1fpU3sAQdlaal2rNHMbpYDRQvUerbDsIBca5uufcDIiQ==","shasum":"5f5eedea2dab685aed3dabe1953368f1734eaa41","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.3-beta.4975.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8U1a837sw7xrja1iyRzW9MKC4lKmXePRg16cPoS6mkAIgQpPpVVq28DL+qqLVH4GpbgJ4GNGsSviUBLaoy3a6qEI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmLKXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoymw/9FQ5BQmygZXl4WOgyvDEDHdkX0Yy5+uEasZvnOmJvkMAi9/Js\r\nw01kf9RmrAyeXLY56htshCxMIeGU/UtzXXwDoaBeUl0yrFeT3AcuoehAOfe2\r\nlXBmTzfE62vPnHHRZ/Kk7odIujhiG+2hizF8iZeC727Ry1DNa9w8HBn/ZXBD\r\nIsUJt7wGSncw4jPXN3wURKSf8B0Ru06zoynZ3TsKhEJlsTX1XyMZI9fbpSTQ\r\nZvljkwt+WNfUHJ971mkT07PIZfd40Hs62G1rgmaYcvbmQ2Fex/w/2n+r6hnB\r\nHPY3XeoTVWRcbBFnW4oyXgL96BhbzfXN4BzZ4AVoIKfCVI8kvoRNzO+iAc96\r\n1Hzr/6ZWlkZVMlnw7qWOYJXH5g6VCQ0+usA0Kjr7di0g0FHJa5mWP1z12cFr\r\nsKRN7KuEySBRush8jqkKj7ho04LlTV0Yd7bXDUoCxsmEAEJv47Gh1v5FM4G4\r\nYnFeeQ+6H1QTuNB0Q999LySRCn3AGxyEz/48RF/xd9tYX/0gJroZ/s8AISRl\r\nQ+EVSKiymNRwoK73nuPg9kU1oD3qSRjUEqCI2J4iYqeY/Kt7y+LGS7+Oyb3w\r\nSztphgClw4bQH9tUQJGcdQqCsiA0MkEi0Eqw35HESnocgaWWURpxltuoCT1X\r\nttlV9nGbNY51b0O4scg6htoS6fv66HxW9YU=\r\n=gQ30\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.3-beta.4975_1670951574856_0.3525833254639008"},"_hasShrinkwrap":false},"0.15.3-beta.4989":{"name":"piral-single-spa","version":"0.15.3-beta.4989","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.3-beta.4989"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"57af209be93d79b5bbf2996f2c3b55fdd8e1e2d1","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.3-beta.4989","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-DJuH7dDmankOYNR57vcZKc/SXfc7y/JrfFXhcjLMLRXrwyP+XeTyFmy1h1/eDXFi2wZ4ndz4n+57zgoBqJ8gVA==","shasum":"75737230ee271d23134db4e5f3787327115ea300","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.3-beta.4989.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6G+7atjNIK+krFcUW0lKH6gQZWOQg5O4mb1HXvOQ/IwIgfD9Ewdsvb5Dr/Aj3lbu7CIrUwWBRzv1DreyxhwQsTvw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm74FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqgHhAAgCTMM0one5PhImOwEZOQGvfWa+zqM1HT9Zhq/KZlggtQu07O\r\nMBhOe7tCs7BGagjvYOoc08jI6U1R/lC3dULxUY5JC0DedLOI8uqLnuPOz0bu\r\n0okqfQjmNlhGuh6SaMNxBQu7KIxyrOuojozz4x+ij0gLW1p3kSpUeP54ojH8\r\nV9VnUAltiJsLixXkCROuVOK4voLolqWLQwAVR8mv3P/SoQzVOY3eQTGSBrlr\r\nsZimcOtQoRTBhMTkXpGB/hXxz9jnGCTLgFv9B0KLjLr7AXqi9kwugk4HKIVZ\r\nVYtOfOSuTo6CDwgZ4nTIZd38BDna1h3yUW5AgJtIw6Kzu+HSFQx0UmqbN3/5\r\n99gChYcnaUl4jHnCzShtInPoTLLC4aiMiyITDATCdNFkOMB1OqfeEnYRwVOD\r\niG24a6Zgs1BK3W/uAzyuMDOghez2uDKKeOatjTST877UkCTsnamOhHhZxpZz\r\n9bFig7cP3+mGWxBjY3h6rCk/bYZj8qbtzHPKpmgB7ptVhfugtH1Gi0GvQc86\r\nbuATBVTUuSv6mo12FWWoYY+GPzmee0JhcVKjCeXUu7uNFzUxAhfy3m97hbp+\r\nw7zqfCnlZJW63DHQuD+bXgFECB4ZAPVkSULXqY2T6GliPH+SiZLjLdE4Rj3D\r\nIG/ZgEcwKognrbzXJ4J+8N7HzhiCF0Cdp9o=\r\n=6cmb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.3-beta.4989_1671151109056_0.16882235993552608"},"_hasShrinkwrap":false},"0.15.3":{"name":"piral-single-spa","version":"0.15.3","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.3"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"14b0f1a34c86dd85bd66b66ebbca9c1dc5eb7f59","_id":"piral-single-spa@0.15.3","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-tIJuuCZ1gdp4mLUQ8zqPxIt/hLnmN09M9vf6vWrD6tRx1opeffGpNZAdcdEjmaWLEkv64P/C9kWwyeyhoei4nQ==","shasum":"2db271d19f2c7d7b0699d41677266788134ce37f","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.3.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTYHToWFdbCcdwmk9Jy+zPvk4gmJkJvEYbBTrADRg8uQIgZWPNvXsIFXvehcPvrIiODLvX3RQFSittyz1v7TfHYBM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnJv9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrbnw//SVCvVTdVoRDONZ6K4ROjpK5wMZz5K2bsAKrBX+Gt6e7Rga85\r\n8z0WvWNrYhnTgMT3+5cBm1zT3ZWLWztz0Sfx2giKPxCpLyHwvZy+UPYTYyUI\r\njufB/6i4qQthpNpSI0BWLTMQfdyAoydNpWGEg6CfTCaltxruDDgqEq7cXiN3\r\nmCxjnMT1ZytOBLQCfSLtkO0IfdyEo4eh3h4Oz+FS39zVeNNKCIljqneGJ0ES\r\nvggk9aCx3XOTQOEONnVpIo1Dn/4aQnNyddtPgun3DYoJ7LRORD1zF2bq8Tc/\r\nc6rdqbwfE/u3ZwsrTiEftLNbICYkgsF7zDy/KnlAWWQwGbynBfqi36b4VgTg\r\nSNz1FPUdfVHEAZUDx/FkAIQu7GV7oBJuXsVE4//mfXVGKi08VKPA1qFu0epI\r\nNEWRWtv3+qs7E3zR+8epnkLpj5o+XXQQkCqcWBa3vB1hbeyWF1YAbBS0UAUx\r\nEBceIx4IS8A/9DE2G+EyYEvUdfGG01d7+hJP63iowDNrPd3dlrQoOawPIWLp\r\niwhFtdBtGwy0aUVpGJwmUvCewvM/49gKpSpEN2QEbXzfkNKwN8lAgG8awZOJ\r\n7+vKB+WklMrZxBFORlizoH9HMtP/LTdD5XKQTmHabIOn5E17tAoVJYl9k3sb\r\nX75xoMLlLMUxJ78DmQ26cHh+s7zqdcybmfk=\r\n=Gk15\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.3_1671207932932_0.6848119798582939"},"_hasShrinkwrap":false},"0.15.4-beta.5008":{"name":"piral-single-spa","version":"0.15.4-beta.5008","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.4-beta.5008"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"5f49f50dddc72a067e51f83c023aab066e5479fc","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.4-beta.5008","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-gYvJqEosTTbcf199vdz40qcgAiH5KouNGT+YF9eFcdiiTXqJnQHE9SvnGJ6Ec1erR9AiPAwG+7b44EfC6JU+jQ==","shasum":"b97e23be93b60e6e786a52a25eaad8a42b90cc8d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.4-beta.5008.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD3B9hmh0v9bGWlM35X0qlZJegQH5/q0J9ZlC+wwQecAIhAPPuz8QyMrZ8IxC3NXNbY/iFPLP2oIj37kkbl1zI5R0k"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoIyGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUqhAAn+EVh7kFNP5U/gYUrsyyJmw6GWl+5fATNO4UaHusPXmODjG2\r\nv5JqydBj7axlvsO5XgydM6E3SjMc5a24AVTy9fU3t57KXsvi3fnP42XBQe6E\r\nJdNmH4xk5dIkVa7WihcDBs58DBO0g6w/IhTkSiQcKnTHjSQJd86a+KyGNq1n\r\nwDnWkzLi2uUKpY3RbN1UIkouj/S20aEqTtitVWs+lgkAt87UGxATMDh3eeO2\r\nHfi13npAHQ9vmighUthVwIYXwOcgAspUFjtpHrvO261r7AuscIPIVAUXSIDa\r\nB4BJSoJ0HACAGDkBeWq38EUCHJOFgPfiVrMQI4D030SmZP5RLgYHzWNIszjy\r\nNPNOEhZuOUGBb28jp2UJ9xn8ESDVALn7phtNfGOrwR/jh6paiqT29yaP+Nbz\r\nQ6IeZifbBJZhCqVIE/p2UcmCKkeQfvHuOvhL2FVRdN5N3N6tHiPCdBFW930m\r\nnzwfDEc/+48LjL+3YDT0zMYkCfRQbew7tFGt27M1Y4/X8Bl8QZ7NtGVnezeF\r\neMO/cbCQ3ZAVZckFFb9QAN79doUHcvbx7mjFeuplfKDcPS2GWPY2+BBT9nGe\r\neFZWJhTIKUAKnjWyZaNg7D680GLccDQkboL7FYmxe0ySeTm5Z5wQnSQyy38e\r\npgrXoTIP8nC7rfwc6sqiLfcgzwfPkd7vaWw=\r\n=wF5s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.4-beta.5008_1671466117897_0.9972676907720484"},"_hasShrinkwrap":false},"0.15.4-beta.5013":{"name":"piral-single-spa","version":"0.15.4-beta.5013","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.4-beta.5013"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"58a5f43b7d8f4ed1bf34b8cf79ac6f38de998419","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.4-beta.5013","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-EBP4mEw0IqL3q2OVKKiZkA4L+5AN/sM7HwnBH6uX02YqMOOeASZoAOO2qtSoVx0HNX5m16lOqbZFShaFlZGNDw==","shasum":"1d2b5d6c3e256166cf5dec69de6ab904cc75253c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.4-beta.5013.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICB011snCQhU8khWs40gC8ZF/0E2exiV1G/NpAY89dp8AiEAz3hZ3cRj30RiCNmDIl18x8OEeGp8Uh9KWbUqE2s4WdI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjovcsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEWw/+IBB7m5Z4LKCGon7Jjpb+a8hSmPgOZf1DrPQOgbi2/AvgbDF7\r\nv9raoH2zieScWQLzZg4WehyY/bTrfhTlEqik4TdDh+5QoP6TdrTdeWMGrzci\r\ncOH2YAhOndqunV9JemcWDBrhZVRE5GcP3OdkjXGhT1SBJGd3K2ZBSmKLi3gi\r\neMJhozytY69uDn8e9RyYuyIdJeChP6Ym3lJljSwjJG0s2ydBqDY9YCySgH0T\r\ncsEWDAVVPzGQvcbQAOdqal3fDiFIifV1F5Nn75WvRWDsgknz5FIAkPHB8mPt\r\nl71PA27cpC3UuyUNnrRgNwCAbgSXMH8G4ozMQJWD3tJMhSVOnxx1ataYGTJj\r\nddG8nHpbX7bYfmypiHCKxs50IO4Sb8XJpoYkETNuImCkPf35gzf4SA0ykQEa\r\njQwX53hvwbRbKN5J7LbWV4s+TVQ5SKbwoji/mmB2Gis/ZINPOz7jeJDajABl\r\nHJKGAxJBMGw7hHpQq181AIefZNjdbJqQWo9XsKX+YOmiD5YFthPuf4tRDg3i\r\nZwYpwHV62zqgFwGrPwGRkD6O80WSHaDkAVS6sK753i3Z9SHYs/Qq/uI4kdAw\r\nuquTnaHpn7MIJNPdgSdZAyQ1PftW4GruzU8Gns5vKWOYEReQ+1tz/27v2iNF\r\n82cH3NZFyq9LJ5Kp2NMJmhlmM5CEhDkWooA=\r\n=ipF+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.4-beta.5013_1671624492522_0.9515046374938985"},"_hasShrinkwrap":false},"0.15.4-beta.5015":{"name":"piral-single-spa","version":"0.15.4-beta.5015","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.4-beta.5015"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"b82a02274c524dee34c75f51744de1e1a1e43b23","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.4-beta.5015","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-tTXhdDfKu3ZWeBwcEKqicguCtUoyhBXhXHKAypk3rSx4RpUw2Hh+RkfR5EsCz3y4conXKxfNp048hsC008DCtg==","shasum":"c48b9a1b7b26a3ffdaca55ec8dd492c50b62ed66","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.4-beta.5015.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUSWay5UayAW/jWYUPkUC1xBP+a7U5sCis4pA4v8mKJAiEAqe7ywUbqWKynUIXzE8Vtesm0a8/6zoAx3Tc3qcw8pl0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoxnNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/Bw/+PeTE2UB53oQdPnXBXCAflI7SeAI7ktfqbsCJEW32O3kHs4dp\r\nsr6ijmGqd+0b8JpGx3f93GW1SeBik+6dPKSzorm3sPkK3UzHoK/gmLhTbcF6\r\nk3yeJ5O6yaSu9X2VVZUG870wgwMHWS7p1rX5YPtvh6hr43PGvVLuJUvtW3RL\r\nWvZzPlkv4GeqfUrzxYcmyMPsDssGDT6cjkB0R6LBQXxnC3gtPs1slzKeJ7jF\r\nRnUQqCZqvFHMcUq/+o/bDIgirvSr3c3p7vol65anHeHksAjsISka8kNeA0MS\r\n+02bzNYcsX4vumReDyV7FGMa72jzLGSfP0stJBwBVdaCalB9bfR5fNOcr7zA\r\nB3HwwEe5pJOVqgd6OxlHYrxqOsVL1CUZ2Q76nkKeBgd57HM/dW1T6UcglhRB\r\n2W32OfP5nUJkAwa3CpoQsEFfr5q26ezCT8KP+GwnLeejkYoTTdYUgfuxSUld\r\nC/pzSVYt8AllwLvgttWmeeb4Tf73e6ntbsfRUtVbIrIdzowZ1QwWuK2r3l28\r\nZz99z2zK2az9DfqGi3DYCRJYUrPiHPYrTSEAVJyH36WGEeK1F3dzJdv4cPLf\r\nkI5B8LxwOrsu7DdftKEdnWr9vdR1QCsCatOco1s62spyI5tmhisdepcp7Xhj\r\n4ug5U1o2HpiV7ilbpe+2qo1T1ZIKjpIVAQ0=\r\n=YqE4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.4-beta.5015_1671633357717_0.4534061155398621"},"_hasShrinkwrap":false},"0.15.4":{"name":"piral-single-spa","version":"0.15.4","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.4"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"dd411b8135d77df856bd8b5b1cd3b7aab7366ff3","_id":"piral-single-spa@0.15.4","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-NvmZ0JHnRlF5z8Uj1RBQwyT9o1eLQwW9vDCu9h3ddIEZr+yywT+1W/3NgzmVixYvHYD33QigxsU8/HdOJOlj8g==","shasum":"6fea24a3dd57dfdb3a159fd335efc49965017bcc","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.4.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaH4VGsho/ViGK77UVqc3s0zNWwjCD0nV2t8ISVsTYdAiBiF5BTwyqYTsRoHldApSOndzbr1fBO4K2h7x7N/c9tKw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoyxcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQmg/9Ho2GbGqn8Vdmslj1e1DrQHzaWBL6Go7keOGFU5nRnYf2fP7A\r\nuG2aCb52Q1qNCNa3Wvzzld1OqI9Mmtf8Y64BqZ+IAs7evnMbqvezdB806HVR\r\n5+FTDCV/azZa/lJNUN877QLpvNOkmHS7rQWFkQx0zHSgMIDui1bsozdurtv0\r\nuVHh6rCZsDcaIR5DJqprDjMV5cxj+Gc7JHLGVZGs5DznyGOGJDU7mhPhq6ID\r\nONOJdk1htkcmQ2Owj6hD0IGVFkDnroiWo/ZGeE+3XQj+bGf/2g+u4KEMfLUT\r\n6dukdM9Iv7CDXsPgnWv+D42DD0kQHPvp54xQWoE/4xlDEQNrPaP51SnFhb6x\r\nCs4xi7ZUt1GKPYTj9v19t9tDD9xCxaUEyyE0wOkXyYuKC3LzWjw+lGZycuAN\r\nyS5dESIRXsIg7Q4EWUEsnlID0Dht5K7BTvjiLbkeOBYnsqhcbGHxe1LN4Ax5\r\nEs3l/6srUUwH7fGp2FHOJ93U+Dv6GW951jY6rxF5yoIs1+f/AHS2OZJkQsbC\r\nyDtaXh7Ek2VAVSAgJ4BNxJs+zplHRnkqZvckX5KT7xeNNuZaBbGQ+uimlVzO\r\no7OLpOVZJ8ITmsCvzNwlGumqkRd+bjcNkWdlQ3JOdixcyG9HMGHJf8utJ+2N\r\n3xwLzJZ9HZLwdjiV3Q/vugdaBrmWpYU4qFA=\r\n=yalB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.4_1671638108318_0.42925779534967634"},"_hasShrinkwrap":false},"0.15.5-beta.5022":{"name":"piral-single-spa","version":"0.15.5-beta.5022","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.5-beta.5022"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"6a7d7676f6ec04815529ba9a8e4ed012495a85c8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.5-beta.5022","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-j3Pvmj9/hAFpPnF4/tc5UOvmIUdR+iE5KSv2b9ZGm4p6y5Z8KTat+/oc/AqvLTIupNbApuCwBhxzgIz4cW3W5w==","shasum":"1a94cf97db9cc60ba9f1eb8cb2f82d572e5340db","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.5-beta.5022.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXPtPR3YrVOjees+GVGT3lZ+6kS+GSC7XCv4lG9PrgqwIhAJhyGwYq4rjHJJrHJVtTCrbpe6hr6qLEQePxQeqfO2PX"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpLt+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLlg/+LQ6dOw8xzFhsC8hgYu1pGIqa1i2gGQfRFdyFHah5+uweAGly\r\noufBLhu2pfWYdTuPUeHTRleXPuus6BIgAoSCPYDj75onXEMDKVvk+9vOOOYf\r\nymPCQjwpbY/YAm5h5LeLA8Wp5XfkY794Q9SOpKSc/6vKzB9nxi8rmSJy28CX\r\nTuwewzfqvOJnXtTexlo81KhlVxcLKN3vWop4W1wQ0KMzGydtQTKAKckDt6nh\r\n5LfGqnoAczBsXVKTOj+L2TDFTnEQkJkGi+T7K2njK8pHgingem6npkKZHA+s\r\njFtKX/0bkaz75yguFny/VLTgG4yqPgdjBHZ41P+xxLAX4QvAz7GYg7+P/HL1\r\nG6r4UQSorEdGaJLNTV44/ZTPl+NQ+ILfpl1jyVSOz1Mzovew3q3pN5QwGZhu\r\nQPw+RbmdTejvn5M/7FXUohH4a9VzILvxyogz2Oj9+acfIWyemLkqaH5vO05q\r\nEv5LAAUc+mH9u7Mx4ja+7oq7KkxqUDCWt0xQqfIDcueWPSA/Uc2ZS+tpQqoU\r\nV9d1TwLF5NqC1PMYrh5J1pmO0ExQsCZaiFN+NkWmBz9Dk1WlLirvuBwxyDqm\r\nyXSA4iGCx+EzxaRlBmDGg5ufSMNQHkplrO2ZY+8Dl8f3ZAorXlUioZwfc45a\r\nLKoMG0EV7H3izVswfGYRqDiuffN12N94n2I=\r\n=D2Hq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.5-beta.5022_1671740286607_0.172695416123964"},"_hasShrinkwrap":false},"0.15.5-beta.5054":{"name":"piral-single-spa","version":"0.15.5-beta.5054","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.5-beta.5054"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"88a63d822efb26c0716e9364b6028b806aef1776","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.5-beta.5054","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-1ymGGzPJS5MzTfXSRfyVKF3JlSyww8+dfvda92Yt+kbwW79VYOdF75jKhOlXh4T2PwMlhbJ0GCQQZ3CvidHdgw==","shasum":"8128e0be70b41745bd7f31f345df1946486dd4c7","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.5-beta.5054.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXeKYvsaxGYsrU9MdxGz9ouh9R0sjjWh3t828QYHGvPQIgeZzUpBxNfVVSkGEDzS6dXjyK4pvOzHB//g8RD77PKBk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxSIDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4yw/+MDJsfGMOGeF8pn0qq7IZUOo2IcE0Wgzntjz5QjMedbNiLexj\r\neHYU4eP0f3eUZUUgZ7OBOeshnM9uOkQ/JPbhbCtOujW8SpwCG2LoG7mDlByd\r\n5gcPZnn7g47UhGhLi2EjgNvd3zCyFPtvbJMjSuhaH1vyQuqMh3tmp9El2aKn\r\n7/RGXZPesL6XuBa8qnC+RgnoOZ0MM2zyvL7/zvIfGfjNPTYaCW2IAILsu647\r\nMBpsk1u+Vs2rCH/6twlWW0Uy5vKp7Cg6P/l8Em+2scC/kGeaTxtrlUFOsWAf\r\nRxx88IP49g0lSk/10CEt0dznqzp5zwQBRMOmegFVoj+lUKhz29UuegA3RJDQ\r\nTqYmBsME5JoFXMCthmRTUTejEXO+2Jlq0Ei0KYYHAv7G1lk3gYU1Csih5CRh\r\nq/RYHQDd94C5D0metVo/mWkOcS1lhcAp2+bMWzO+XpMMN8EB5sauaLWg8RY3\r\ngOwO2E4pX40SJpG4OebL71YI9RmYFs3tOT/2SYyQcV8ADK3kxE2QKPqjeBFI\r\n2gurygDS5diY3OalGd5j8E5M/Fa/A6nCUcn37Lt3DpTG2s+RCnZFSngXrCVp\r\nstNc6B81LJsaBFpIczbZaoc9aHT25rPy1hLCJJPl3aGK/9om2y9FparxBrOQ\r\nTTcDN5qtZQNxlsU/DitKMvgIY6T9LCnQP2s=\r\n=btdg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.5-beta.5054_1673863683212_0.9155674702695851"},"_hasShrinkwrap":false},"0.15.5-beta.5073":{"name":"piral-single-spa","version":"0.15.5-beta.5073","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.5-beta.5073"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"40f4b17bd2cef4cdd5f38d71bd25d0459f043da6","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.5-beta.5073","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-r88Bsa29jm6ZvTJNW4WJFnZaCvK0r7hFB7Wz6OUZEqkli924uUwZMLRke+tj6ttf/uc7YfaLgLWD44o2wDgigA==","shasum":"6e6cc100ae69f7fcb0be97fb05f2e92a09f7195b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.5-beta.5073.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZMq03ZdKakwOtE8KzScZSsPF+nzFiHa2+UVkW4iOU2AIgVHpRo/lRsyzLB/vGYAOUUxv/KX9X5zXFNE61hNgbv64="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyduJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmroQA//bEWRykN/583JdwRBW1YFrKgJNNWNjDAFH3jidV8XCX+nbq21\r\nNHSrBfxv24q8SvMpusELVx5oM/hGsua8tc0bM+kkWVf2KKOouvC2k0pxSSN4\r\nztm7MqjdAXTPKvHd/z/p3iyqKeVDevKGjBjIg2GZQgz6u7WP1V2Z0Pap9ZU1\r\nNUYU+YET2cM3TdWdAJX4756utisBXO1zyKK57l0EjSHgjv/r6jXPU3Fpehde\r\nl8fQ1WmkvNpUB8j2HbM1cbcp3GarurH0x+anpLYzCOHq1lT8vO+Tp8gOBkZN\r\n/fJbthYpg5mBUYCqnaxTz/mT3Rn4v+PLD5tBn+DtTJYVufdxZNMsqab1Yyt7\r\n8A9OeeDBLW0AzhvWlPNKelAjXQ5cFyIIJXMvkj3mUZiLFXzmgfXt8e4WsYC3\r\nkcNBfvr3BQiEB9YAFUzYIcx2OCtdTs45/PwnnBYNdyWzMnEuGzA7QVoCx078\r\nVb2tQmkIG2jVFd8z8yqS/mF/GeU5VpRA3mQ6lAj0SusMC6S232Z3bMlRayOi\r\npBfaxsZIWc0l6lJoaK36m7esvP1ib/F+pL+MdfFDit3p7XZlnbk/00L9q14A\r\nnUVTNdEFnPAhm11bMjKU7RrzQv9QXV4+bNNGtVMHpC/LteL3qxLA8F+U+VZl\r\nBFeIjuitl3nKLoON0LfXoL8Mpx2iFzfdhAk=\r\n=Idr4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.5-beta.5073_1674173321282_0.11812617481135335"},"_hasShrinkwrap":false},"0.15.5-beta.5087":{"name":"piral-single-spa","version":"0.15.5-beta.5087","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.5-beta.5087"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"1400433d425739439cf54a288334766ba0e84498","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.5-beta.5087","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-sBlhWh4VaWZ+w02IYDLZrAZ/gmLpkezfUskmTFB8hthCmrM5mP7C9NywC7LqOTZhBTK2KPzCswECZJa/8z0yFA==","shasum":"87ed7c8992479dfdbf9b7f99c5ea9b3ee407848f","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.5-beta.5087.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeIjC7aoYmOTqu2pv5LKj4JyXOnYulQNBZjKnWSK38FgIgZEUhzL1MnB7NIPpad+5mMi9CYj9mBT4uBF5dun/MwxY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzkGBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+cxAAnhgJ+mzEO8M2WEM8YjmMzcCaL2Q1GK0UHzrnAUaMe5gOnWpa\r\nF5hOytXLZvfxqr+holXSkVdkv9XuNDUmrf6urib/kRsnX4E0lir3k6+ZDoGA\r\nyw+eqLWaUdCvuIoZ+LMTds66NeV6MMDr0lHxcq42kxcFWWS8MAXDIzNpO/5Q\r\nH/4tdu+9w2z1R4wc6Di9QcjH/bXcuiQb+QDuHfdSAWGbuElZWKEDKX3NyFRD\r\nyGtUSylmlTTJgevxS7Ushf7fQDRlUYKbtv7r8EeQZff0JSAjassMcz35LMts\r\nrQuliK3epHCrkcZeGsm9FeQEYnnJCg0yxHXF2zPDa6UC//+pw3HwkeAXwdzw\r\nbhtrToJr4trBa+5H11uM2uvEzQKJOqkJupujyZOrAXpCmRYLWm6m9XnPipKt\r\nqB9OiRI5utQAg98z7mnp49vHWcNYEAcROy9vKOwBSikPyCXZFNoxPBWGk/rf\r\nURSgkwRF/TuHbKl7i1rxI6uYwGuJOnAgShOIKzlSio3yoDpPZf8zkJqQ7dHa\r\nMDtUeRAo68fW0Bz1s8GCp9CzdX/ePbFXdhDQJlxFvozFZMam89ojNS9lOmt0\r\nNiidzUkqhrk/LGkEb3doTRPnJSCgSRrsHE63kN3XJyoNS5qmy/9eLs+K71m8\r\nQ+3hfma5thOd0yrxngA2c2WlWZpvWxSnljc=\r\n=JfSW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.5-beta.5087_1674461569080_0.8012920170159286"},"_hasShrinkwrap":false},"0.15.5":{"name":"piral-single-spa","version":"0.15.5","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.5"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"b11ff3cab9580040060120aa6f1b122b21668459","_id":"piral-single-spa@0.15.5","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-73SMeAJGr6Nyk7xHhs1ndDXDJBIaectK5Z0dXCXapFcG41aMWxi0YntXmMq5gnYP+EJRLYT/yHxY+nY53F4RAQ==","shasum":"bacd9680b47517175791304e42dad75d97a829e0","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.5.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc/+dhf+BbcAq5VKlA4xareEweUq3UKV9pbqJqGlOI/AIgUniwbNINfR/bgDrQEYwogT6k5/SsRuP6HMz2dHIJ37E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzk6AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaHQ/9GRgZ5+AN2+iDl/b2Fed464ZIdtf6iDi1+Yo1vwOcoz4jp1MM\r\nAGL59FZ2FMR3eL/oe//wuioLarrZSa4/QfaTNq6sT7TKcEglt/YdH6UeFxCC\r\nEvm9SBudnmyzPMYLXrOO1B2zO9qQp/WuxjNBMLq1biJcxXpw0tmBcmylsscZ\r\nggr55c9HkJIeFLRUwBsqRz65Oni5UC5XTxZxK86MDOBvN2Qnk0bdIL5FBZwu\r\n1gDdtYp2osAu+Xj6pqUfKm9WlmxemEfA0hxO37TgDBNmF8tSvBvIXQQfxKM8\r\nXcB9okbUNLlP+s+Sh73AAo01TWoDgb+Sx6Jaf2cNNRTqnIlGBkNZcaQVkNFu\r\nD+nWUJfXHq1VsrdCcpn9QzIsBKivxUyb89TlqSJiI60tvwDBRWpTDEy8s2vO\r\n3hkr0bNeuXrHZjwu2Evg8pRTBbIKeJBPqxfcpI7/ILqkmQ1mQHG/e6DJn15E\r\neaWGy7zdIGqcemJU312FaTRRoO1wjn3ppAFWkVeM/dnXX4AK6IqtoN4zO6h7\r\nRmzutWu8MSB9dUPTldsqxRxXiTEjULEWo3vMh+ovJi4htFpAfFRylMX4z81i\r\nQvMMjrolE/Xg/LAWDV5cQPsghoZkGRZ1HbvyUIwadgOc7H7Ui/PVrPet5Tyx\r\n/xVXmZKjWdqDz3Ceaz9wa0TvD4efgHwcxEg=\r\n=Hdfd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.5_1674464896093_0.3134856789520668"},"_hasShrinkwrap":false},"0.15.6-beta.5100":{"name":"piral-single-spa","version":"0.15.6-beta.5100","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.6-beta.5100"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e3037bccd6f8bf036f49a057a9b92ca79e4b5442","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.6-beta.5100","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-x6b+/1WgwpCrDjHgDSuyr5V/ChB1cePRfAjcH1WXEOs1mqbNGlunM9Js0zSwq9OA6ziTsW20+GvcD+KxDnIIOw==","shasum":"1f655604361f8d76b6e6a8200615dbb95c3eb089","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6-beta.5100.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBg3lBHfLWyVFYBhwGiyYDcXRuRdVmlItRqtPdP6N931AiEAsNZPz9uLvgYMFjzEAQW9EBdyPR2igWymSSRylEqqFYA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0yDeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSFg/9GU2i+VGkA9MOkzgk1plz65D7M2FFEwnacdqvwkCTcTeUKkWF\r\nGTMtXkuaJxMhIO1SpSRZOusHa4BRNuCLwvI7h5kkX4jHa+21ACfmhEBWIwDW\r\nZMBO55+gi8sICDZBGUZlVr0RxDPZU/kqPpAvhBhcWSCf6KnH5qRd1QLAAn/v\r\n7T+CQ3KdBAcLNUdItpPGU8KjwfpipRve73OzT5byOZr60qP660B/y6kTHliV\r\n01GIl0Liir1zS8gfOIYgEtSVG1OtDeIks/zQhOEkNLNHNlLzEWxww/t3QysQ\r\n8Or9X2lse+zloj7ho+gSJ20KwIiRAutx3rrxXUyippDK2o7z7Oo+G5q53V2+\r\n7argQ/RPmQepj93+nMvZUE+0b3g71N9cG0zW0zN5Vhx5IMC2e2n3cpIBtgt0\r\nWx7auOeoWgH0jWzz3GcNz4TLCgfhUhCumqBdTzBL6p9h6kQiaPWrICkiNHdb\r\nbgabZvUi1hxxauKc+8dL7Zd7/p/Tg8kTl8h438ehz2OzF1b9IQrlgffhRCTS\r\nUnCMgNm4FjApeq5aRsVo5YtZYsrJespNIKw3G5z4wMtW/shnrRav/7rXlS0h\r\nfvWmpOCoJ/sOgpwPlSHE63zDymOzV2FADFI8yE/1xqnXO7jZ3VfHkruGBWQg\r\nYB/U9brzChQ8jqC1VkugaZdA4aZf2Victmc=\r\n=vovB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6-beta.5100_1674780894758_0.6891060085347207"},"_hasShrinkwrap":false},"0.15.6-beta.5103":{"name":"piral-single-spa","version":"0.15.6-beta.5103","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.6-beta.5103"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"82e92cfa7ed1bf3ee711a1c22c5a15ed10ac902f","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.6-beta.5103","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-2aSwfRFyHzfzpnpO05xlx6CyxFktClAtEPCIpiPQ+CPx8SOBg5lGPl9MNTzqAAzrGt9UWJ1QRRDibN7laSNNlw==","shasum":"2c0946a5633deb0ea0a9e07b1da62b026804dc38","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6-beta.5103.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5M/sx4fZS+rGgWrfLNJtktsTbsx3ZRlSXgJpj1GrvuAIgHSC+Dto/4RnC8c792UGzC37MFvBCBFh3Admbmv1FWUI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj05RzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe6Q//eig34plecf2o0z9NE7FQCnVUiWk1pcKTt6NOU4fheC5wCvRJ\r\nGmste4yK241uirnEGf3BAeZw+rfQz6oJb3vX+ghhH/m5XbM+zCiGY0GAA0Zt\r\nBmg7TfxZhtDmwejZ0qECv2ACc9uZVCeZ2SqCCAGKcioUqi9exGVfE047rSlp\r\nxq21Ye6+ZDbAKu/npjR52IlpzvT094eWxvr9bLaz30Bbn5orVfFp4vnkoMer\r\nAoadSoH+mhy+GtFi7gS3H8471nWDlB/83yZCMuzXSx0UsWrMaO9BDuY9WTfA\r\ngvRAMcq4CRjvqdGE6wio/AGMV2O4/aMn79l6gUGER7n7FJ1bmYKiWnqnOkO5\r\nTm4Vh1YVwsOiJ3jFeB1KMPp4BCqXPL1hXAT+r81o6xURuZZ9nRE79XlEgI4b\r\ny0JWrHrVb80LTWEA1wOgZkIjjXdM10j33GeIHn6uckjhdAAy80abm5BVl5fJ\r\n59kMt2/LTLZaJqviVydt0xaF+759TM3yI05m0PIsHCKolhqqrjy36UHWVhX/\r\neUEntZQE9LMuqvr+bvyiU75E+TLJheSfYuvHx/5xAPmtSHSt/X/awpvD9YNy\r\nNo7mFLHUv073uI7ZBzFOPOwtvv7tXXVpCd9Hw87PDYTjQ+iETRh4G2BG5Omg\r\nEmmK5aSZdyVS2WotyWBBl0rAbTpmLmvEuFo=\r\n=Mvx1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6-beta.5103_1674810483603_0.2660130647327499"},"_hasShrinkwrap":false},"0.15.6-beta.5105":{"name":"piral-single-spa","version":"0.15.6-beta.5105","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.6-beta.5105"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"fe9f4af00df8a9281ba22e253e4ace0171160768","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.6-beta.5105","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-yHSav9UFfwT3WhD9xfgk9gcC32nGU7XLo3/pQuxu9uXI0a6rAVdZbigS+iwXoEDeAUdu57HEMWvOkTvQij+SiA==","shasum":"369dc263f4bb92337b164a83725aa58ab160a8b1","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6-beta.5105.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTBjwRdz5k6TARjRx3h4k8lrc4m9625gJQPykcM2yJagIhAOeULSUmpqhRzcFAd/8RzbULWwj+Yx1qpgPhtBAXuC1g"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj08zSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTfA//XWPIg2Z1Lsa8po0thtS13B3uOxmUeNykJpwAqxSwEJa4GPu0\r\nbKtPya07xcaVHXHRj8XDwwqmSXmOtSACwl13l6HXbfvVjMykVAJ7ShSc2qLk\r\nbT9eGwCB3Njaz05JSv2kXbCOMPOZ7RZn+LmP5Lm/Q+ok1CpaN3oK9bWx4sDb\r\nKKgaxof8bqzR+yBLuIevsqZCxhP91ikW8g9pq18S+mBzK7cfoSedqV1oDhQt\r\nC6Fraq22pf2sRAbDOWd3DEVtTKQf9H3v8DYTi9rd9KdjKaGn+pmF8lnJIZhl\r\nurlYTZQtuNRe3Oxrw5+q3RuSMlAXdgA3acHFS4GQbmx1FmPu0K7YxLJk3Ca6\r\ny2HbFoq3MwX4tNALGCYiOII8GqQcn+JontkJAs2pgBm8hLNdMMQOBFZe/Rpw\r\nrH0xJGhm484vFJvDiC/wMe8UEm9osFG3WulI9RVGLhXXt1yfW8f0uvqQIfj1\r\nmDU8i+g0TFyFNzO4Tkjh4R6JS0or9rRqFBWrHYSeFXCGuJn4DPfUOP5A5yi4\r\nGVi3hLdrSntAdaRr9JIvFYJOxBv25oTZQwwMwhGJXFypAv2/Nv1a4b6jCxQ8\r\nhmFkauetWwrKTW+T/di2nyoZeexpwmvGiPN/19WEVhT9qG8PkKFFVQys93Mb\r\nehsluuQy58Zhts7XWKnt32tVF2YbhNYKiIM=\r\n=OZjj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6-beta.5105_1674824914217_0.7599682451412704"},"_hasShrinkwrap":false},"0.15.6-beta.5106":{"name":"piral-single-spa","version":"0.15.6-beta.5106","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.6-beta.5106"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"98a0225f584d2da787255341b7e44df7e1137b94","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.6-beta.5106","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-WBtYHMtEmHfaNA/2vlp6XEZT935hZ9X5SacbZs3XXicsQSaQu4zySlbQQkiNOSs+kqQHK4HBjmCP2baqIXg78A==","shasum":"fc4fbffd88837a2be1b1a509bacd1b2a85d55a4b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6-beta.5106.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQc0bsa/NpXVhIDQ2jRZ+cfwq/GxMOFkJ/EtaXmeWlPAiBUmazGe8JcXcKaA4tvUkyR60m0FFgViVn3bfUAkejuEg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1C3WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWQQ/7B2AhsLrhe68vZ+kDAXvblP8Z+estJD6FqndfaGYBW98edCO5\r\nu5Dv9lbkHpEoASrA0xW9gqwz4vp5Pwlc4BRtql7yo5qwYio8u6GPn3+EYNNo\r\nC32vqMpaXl1mcx9+O/JL/ffzfx1L2KKfLqAHgB3jlxtZYs2EMzuL6ff5g7Ju\r\nf3E3SHHOifhdqn7SbEDczsUVWH5QSMzZW3FrTG2fVB4M/NAO6VG6ZJ+SPcrB\r\ndgk1mktI+rgy+R0J4eQ6mGBbuHEHGcwCiJE0z9zQQ3lmhXDib6UbZWrScKA+\r\nB35VXn+AAF/9ugpQAWmlvSO+L2haAQZ0Nl/s2774aR90q/hKCvUb9hBojvwt\r\ndXTha3FeeM7IzqcqLRL7daScUlk0icPl6+QwQAfVXoYNLZYI2oEhxeyZFT6p\r\neKOvAysP2xgsaXm173tMUZ/WGllwgqO5uGVVKDZANc/uALXyuLQNy7pzUd8P\r\nHsBqsSoQ6AIVB+awK4+9JiIfs/IaSet8r6ze8BgPAd9m52do4RgPQpGd+RCM\r\neT8nlbTt5yblxfe/qssIEHnDC6T1+XCVWzoSqDBarPTgTq4N9LwNDn0dEp9N\r\n3QM49esqPXhpAYIHv+fAIxRDiV8wItvvcSGDUh4mDOX1OX7W3eHuzPMjgVrq\r\nNFvjLj44c7OC1FfVIjcet4h1PD6zCT7oQsg=\r\n=aeYk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6-beta.5106_1674849750280_0.5409217562360185"},"_hasShrinkwrap":false},"0.15.6-beta.5109":{"name":"piral-single-spa","version":"0.15.6-beta.5109","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.6-beta.5109"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e944c2737f6ede8187b599509961f2314d2534c3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.6-beta.5109","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-GGZcLo7BnkB81rShmVqSa3/xSjtKeN0byocykAHlxQkmzTRECB5SBl80FxQpwK37Dx69mFYRZKJv57ZhqA7mvA==","shasum":"b11b913aa82ee896e8503d969635af745d8a7326","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6-beta.5109.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDV5GWv+nxLi++J8DQQBcoNMdFC3VcmpQPEBfLD6bw4WAiBb60ebovvnF7tej0LGDXFr10z7X0fUjZZtWrrIA3x19g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1YnmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmor+hAAig61hYsWxhVr0DUKY9cFsGLkaE8xuC4m6wT9tf5mIUVl1L0y\r\nb4UBwQOURMxGb/33G8zfGD/JBHowVL9UOsPGS+EsWJzbthTxOBhDhJ8Dp/q3\r\nOiDrSTyin01ua9R1PY0BCWc3CStmJqnC0mwWfiGZlK7jawKF08xX8IiIwJwG\r\nZZ7z6rHiQwbjowii3dD4x6vupvIfmPaWhlSeHYytn9PWuT9+PGkoacVv8YTl\r\n3wYJekP3X9aHNTTz2r/zCExG8QLHSgNYhoVwP9lrxdI8X+RvP7wOUCtiFwlr\r\nLVzYYZUNfCPc+323okhflMo3TkDkEq5Xb1b6GqwSZdO5p4o8wh3UVx6DVXqG\r\nIqmJWgFNz1Yci1Hum1bm9K1n6dcmvHMx4f9UdJivw7yhihNJOW+5CBN8Qyy5\r\nOt5vPKpyCl1aDD/37MQJlZovWj7ykybDQ2ltpaYtuLRr/aX3iil1cLmZpyp/\r\nkRIQMBBUfKv1m1nppejVXr57D9QkjwqXq0KgjE/C/5jZcMe7gJR66gvg+FXS\r\nW/wJdqn8b6wKUGM1Qqz94xU7WoVCD4qsLq5yyPoBaEOfbmGM6lbBXKY0lPql\r\naQmctDByu8OCMUL2lQNwk+sqkST9iR79hJjYTvEDj2aP99tzE43bXztSO/Em\r\nZ7EnS18MidgXctkf+5rqcZsLnn1T2+8HtU4=\r\n=ggUZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6-beta.5109_1674938854089_0.5658870527512818"},"_hasShrinkwrap":false},"0.15.6":{"name":"piral-single-spa","version":"0.15.6","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.6"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"7e96dd17512148b8363439879f40360c1527854b","_id":"piral-single-spa@0.15.6","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-1vr2As0F4i2qyK3SGQWGEPadFnOVM4NxBNvCLpF/ARFxbezDbHj/BTNJFIpfn08ZR3xjZJ0RygK/om/rlWBtBQ==","shasum":"315e325d1db00de1c2a6038cb65f9f1b02809a92","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.6.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmkvrOK+2NHjCGilokCRx+GbwbOXowPcknFR7u2Tse4AiAnAlizDNBa90oj/7tsvUbJT70an+/uLWOs87bkCXOX4w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj19I7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA/g/+OD48bp9tbELSuVN/pSsL2Kh/uSTG6utLQ9AQyXVxkmVS7dpc\r\ntr+U4wCvzDBbevV925cARUdvLa0T+xeqHwF3luedJHfEmLExvsHmUZWuDAmi\r\nayxfRgqdmUh4PNWr7mGWX/sS8ssuIl7aOTEhweRHVr4zVwP1Cme0AclI/KW7\r\nfMJ6j0FAThXlQ4GinNcbJr0AGNbEcUyer7fODU8ytaeE/ObmPhBaIcsOcCny\r\n8JPBgJm5pKysi6242+zvdxe7KQOT76NyfPDYAsRQnb8woq6wj1COfLX11GhO\r\nOOcFvbSahcjQaxMEpjv/xVZrcSKJb2/VXC7m2v3gwYGnrJGmr0dWqy+jB/DW\r\nvmwBo/YeEyIDbnynmO3b9dsTWq6qbmBudW3F5sM0xGViTIaE67l2MMCQnd2c\r\noIsL5gA4iCRMOcv1OzpJihc2180Wz3tX1F/m6GuCXfdcu1iwQbQZpmzMtO7H\r\npXEW4uTdOb6P6NN4Os4dQCGWGF6OO7RSZi6+BV7AxhEFUGisIJLzW61aIc/E\r\nLQYXuP5o5k2XS3Lu650LLli3g5QMMWKHlF2PRp8jP+hA6XxyNioF9IiYlySy\r\na2hbqCbn8frTZQmUTl90fHKhHQAg+l6x75rFBFDCnHYEKngvqbIIUlxhrr73\r\nIJ5wJmf1siGVMyhvlrfcvPRH4+HQQxOam0M=\r\n=d9h0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.6_1675088442748_0.5209828437368458"},"_hasShrinkwrap":false},"0.15.7-beta.5126":{"name":"piral-single-spa","version":"0.15.7-beta.5126","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5126"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e23df08a2bcf0540974ac610ede2c9030fddcb82","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5126","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-bkzO6llALXICVuvvf7eEmZl/MHNkgprumzyHWxpiJVqlQ9bo1NdJZfwfaLttXs1ZsTfnDQTalHQVqlyj5tiS2g==","shasum":"9ef58bbd587b0911892101987f8e01e7492332f1","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5126.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGsDVNZSclIun+v90wZUJkMP/hfvghp2ZmybLrNilDacAiBeyv5ei878ddjlgwtza8kUvjOf/9RlTES8XjVmSQfb7w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2jJnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppTA//QFJEdo5jmJGKRM7BXKUr674GId3PKgtXNuf+S4iMdRdY+L8J\r\nTQ/4Rc8pMeWZAntJ2ARBB+U2fwPFmGzbCSIcVNZP9uZaE7FsyprlE0vNimeS\r\nVljyfkBoQGUZQ9dEEfRSQWULbZr5USnSoi7kF7/NFE7Ese6Beh7Urli7Ra8H\r\nV2/yxYz6TTzHpYEqcgIirrzspR7HOdHBZOdlTm9b25Mfy7NurBEQtguyd1ki\r\nGiz7JbxdviunVEcHLmSG51VFE72mLc968E09ufmiPeAZnryzKl5ZyY0zawlG\r\n7CYFeXTFvqAysaQljDLltiOcWOVT3YN8CpT79Gg+DLOuh8u5iAwzgYqg0cAi\r\nK0oqhLvT7W7iAhXb2OGMN8DnIwf55EUhsJqMSDzLtzdoMu35lVMMmPHmSvgw\r\nARJ0l9Jqq4NxXz5ZFznZ2GQuqzAA/+Ku+htoXlnwq4VFw1biWj9b00RJ2cYv\r\nIXT0WNwNtqNPZLQelqar+Cx65npGXfM356lckxFEjvg0w17TYSlwkGvwcTfs\r\nTjXRsuC9QF85sHYv2jWG1tu2066UPIUkvPANrxKySAiPRLxJfmyoCVWx0sdZ\r\nie/RyHnwAecAOj7hO7q5XHZGEO/OcYcmMMcnXYgzZpbaX/bxU3uzqiHAF8rn\r\nTZ9l4HKP0SqUTFD7c38F50Hp7/VSNn6C+Bg=\r\n=VAtp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5126_1675244135215_0.5376186308783382"},"_hasShrinkwrap":false},"0.15.7-beta.5134":{"name":"piral-single-spa","version":"0.15.7-beta.5134","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5134"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9741d20e4f4f6c6492ffc7b40012f7a1b23cbd24","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5134","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-q2AWi60kuAQ3TYAedlyNkcgQxQvEIl0iqEQNqsXY5bQr4Ft98M6kTfOVhGsVPdWdbUBeILFo4WG4ZYbJMoQqxQ==","shasum":"f69847a3a5c3e32cb0b3f74b99e3c24624c014ed","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5134.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCypQ/6iwCUcdrxGsPdb4UJdIym1CYOFUTWtCHO7WtbdgIhAPC7kMXlDelWhqSTbN3x9b/2MTWi4Rf/GDnSHGaf7v4p"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj24JtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9sQ/+KDsBdibQruLAAuNjZNmj0dCYA0rNZ1Nq3wGl2EkaeF8gtw3S\r\nL+vE7DuUPTIJhwWy5j94StpVrKp9NpUi24g43i1GH8N4VrzNE55Uq5h6J2GC\r\nkjnP2vYRkJMKmlifH5ndzbOBcKG+AgTNt7f9jG/M2LDaHOjbbt+fb8FRxIiq\r\nbqq1SbnJzkvMZvIwkJ9hwkNZra0OCWCxrzawUpLIqY38umPFQzCF87grrpto\r\nEz4h0/yyRrzbGJvy2bN1T1zbkabsqSJ026wOJxvn9PuRwLzE1RaSxFDG5xbe\r\n7uEDIAWsCCZt7XSvHgCDNJZRlWtAjxts6nl0P+qa5WWgaYbeW7LdrNEFNohE\r\nRN4X1l3WSDyZJuedgQXZbRCIrU4MBCEZHJUW/l43o0O0M6re7/90MdKzFzID\r\nqjOy8ZCBANoeJnh8JF3TpLe59aj31uPuJpT9QGowG0X0Yz10y3XPUcmcTpKf\r\nf8N/E3/twcIto0V68AmvB6/2k9nfjZsGOnV0Ww9NV4MtOcC19ygVq+iFDxYN\r\n8Vj1+CnTUSKFyfF4/t/8e0H1ASvsMGYTPmxp5TpvFIhntKyeXcNnAfixHIcT\r\nTljf1XlyYGSUvx9wT+tiLfPXcGnBxvq0KhXDBfNItI9R5PPXg0hW6T1Irz8O\r\nDmm8VDoWR9gn6c0ruCRjib7uz0/nFCszzAs=\r\n=mSSH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5134_1675330157158_0.5954324959776114"},"_hasShrinkwrap":false},"0.15.7-beta.5135":{"name":"piral-single-spa","version":"0.15.7-beta.5135","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5135"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9741d20e4f4f6c6492ffc7b40012f7a1b23cbd24","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5135","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-VE12wVshV1m9NToNjO9HEsDQrjpAwLnVgua5MyJNBGTuLH0GIZ6Eacqe6RmgoVE9YU5XJmhwv4DcEhTcpLHmXg==","shasum":"fcedc169c261235f2f43c96dfc8754d793296171","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5135.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBheNbb+jP/jb4HeRPu++P4spgt4i3GN2B5aueMG5x6gIga0EwuMyYUsKmnf6N+D3dEnomATKUzYz9QXqkYWC6Gd8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj24MCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiwxAAm6U3BP+t7HREM8s6ECWPpG89/L5QjAkqTJ338fz/+o8cwyLj\r\nPj7/6fTbsL49HmEHgTlw8oWbxNt/SdEQFBzORs3KXTatYt1uhsZKo5bbWqJH\r\nrN9vBxeeA+uKpeJ+1wKNjPBtg8hnIYWOezcTeaDtHlvtG2mbrM2P67yO1X0R\r\nsEkHZw7KeJ1uqlf0dbpFZfFxaaN5scDn32tk49MZjQDaQHORaSlVfGJjCFg6\r\nZcjATemwssu9TcjjPLNOgenJwcACis7XBvdxo+NdJaURoeDcvX4MixtlbJZM\r\nITuxzlOMHwuT22oTWHP2yE2+fJbb2+2/zunKABDvK20s0wlnJC1ezsIwpdgL\r\nqyh6joW4d5gPnsMj4dCgialIc4HRh5JLVfcEt/9BIKEHQBCr5tT0uLzkm1N4\r\nDCKdaVYylCfY27LPJEQVhyEQIYPrMtoDAhYQI2Kg2rnRRTPmXcQSB6PYresZ\r\nk3EdITfgBfq54jUq5NmLgoCLbnA2l6LS1OoMWPbhVtGIk6p09VdzXDSXvpxV\r\ncgHpfeU3g7QbqxT/3qKoS+N7HwQ+kVxFRq+ptMCW0GX5OjrH1Z+Ek1l9cMFa\r\nGIeGx9GBZYME3mLhyoeC6/ugsSpbh2WwamZVoMoHUbN11M4bYu8qZrY/21Jg\r\n7iuyn6pFjGcwMyHDmy/AM76lElf2NmIaArI=\r\n=+QZ2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5135_1675330306756_0.9542740670778245"},"_hasShrinkwrap":false},"0.15.7-beta.5146":{"name":"piral-single-spa","version":"0.15.7-beta.5146","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5146"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"991e7af022c233bc3662e4017a6b8ea1dbbcbc92","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5146","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-igF95bT0iDjhAW11FT7XD8ird8AruQ8y5d75HzrjdywISlYMh8RmQjwIbdkNEd6HgubIhI0rOvqy7lb2EOAJKw==","shasum":"b0c5ab2976fa412af87d2ba0b1beb7b5a6a2ba7f","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5146.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7Zbo9CDjwGMytGnlpHWPPK1Ci4jJdcPfRZS5E6XqehAIgaRXLhrtpINDBUiyutDq1aI36fMOqTwGWBH2heZIyR6I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3izsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoivg//aPPmOIYFXHYLMEldXN+Fxzk6g4OacItpWFLOSwk5plsdPx38\r\nxPaqGamOIvADjHvZoHJsHtF98l8bj/Zkmxm/xd+jU3rCIuUYHAlr/4YZYrLV\r\nx4ybo+n7uj4cTrFX0DlY19WLqf4kmE0g6pCfUq4yzpSVOChq9OOPcIZRAQ0z\r\n3Xo56yGu7JZvZWM/W5xgUkruKNzCojPu0GuuxzxftPC5bkgPG3NUEe4eZNCy\r\nOTc2I9qe2IYhy5Cm9ePI6khf868Q/QoDmb5DlAqoyhj6jqrEnTxtJRujDDfd\r\nu7FORi7IuCcCYq3/XGXt3MUoSkJHit4X+nHomgiT/cUKo7mPAR3oXhgLIQnT\r\ncCB5T4psyg8GITO+2a9aI0QHF7lPKL8DPss939lgTcJvfKoAT/nEQfoS+OEG\r\nY1pUmm0xhko2Iz6khF+c++LZyQZ3SD0blBpyZx7MgK5OVcyiDl2YMJLQQi07\r\nn+uPKnuC5gikWXGtKLsgAmBLblwfvZ+UXIggeAZRiWcMBeQvlBa1JK0hMjhb\r\nz4RjFkeR48aKFI0uFvQh4C5tm2cgt+WC9Gc9j9mqyp9JhOE6cOR1hjNRGao6\r\ntgosn6FsyNKGY5/cZvhwZ/W3fJa+NPlDbwpUc1bhHyOgfbN4GKA21tZgSdl+\r\nrnuolMq9/ysY4/SuALgKWp+cX6rjmKTZk0A=\r\n=w8rv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5146_1675504876060_0.8376784000588426"},"_hasShrinkwrap":false},"0.15.7-beta.5147":{"name":"piral-single-spa","version":"0.15.7-beta.5147","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5147"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"8833e0913487f5b11446b6dfdf5354e9154cbded","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5147","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-d7/jZ/X71G3qOzKj0v99EsVjIgVnplk9bFwGypYAxSqgQZ94D2sSZdO3KZJHcc95Dtv1l99/Z4Am2xKBd+Z/AQ==","shasum":"0d76a208c9b27e7f6e6e8274f0cdb4914577f2d0","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5147.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhE3taXbcyizBkWnILybtlfi2drtq0Q+DFa9GiVmN0CgIhAL3r4pywAUuhk78b+rskEIhVkkCuo9iK/WNFGkmpHtc7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4AvMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9BA//dup2Rc18AVSnKvGFgg7LQ6o4wDX6bpu4TQ+fkpQCmrY5f7kV\r\noiNu2D6hUxoXh9WRQnVKBlCyJrMBmuFTKOWTiQp/6HPdstc7Cv0PBo+RHPE4\r\n8ffX6AUk+tB62QeJe/v/6+lwdR/xVOpW9MknqIMzz4ipzRoGrvTD1fJLzMPk\r\n+LlutygzfnKntzMphHS33F7m9426nJGs9uco0wcLvh9SeRiAsA1vRMsgejlu\r\nOKLGu7rkFjDfHgiFga8Ort6c1qULXhFOtmZcJ1ke9QnM3tnrym7YyTMh3W4W\r\ntUG5gXjAy2FdjtpvUcRwP4x92HxOVDUvth1NnukP0VnIg/jjX3bXucvBLgjO\r\n7pdTdLG46pJd0y5I3LJrHLLEOTPrHBUTJlEUjGAmLUvViUrYRJdm3cqH0MA4\r\netTlN/WFGj/oVpUfR8/8avgWzcyQ17dcM4dvA5v97Yeqo6X3+efb/lMCqEXT\r\nqp4Nt25bVnxesTnevS+OXVhHBqFRSCPKie34EqAQvosaR9tmwM+PllzaahQ8\r\nySjqtDrmcHClPL0+cSohX63tfP7AaXSwFPzkUoAXSpUWUdNbUcMIkHAC52Cd\r\nKcwemOr53lHIwOwG3K8efOk/V1tLnRk0mVxsXdISmEU2SgQli6kj5CJvjxqT\r\n4D1YFzOTRFKSKJmjZ+CTvC41l60weWjyLCQ=\r\n=t5Jl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5147_1675627467854_0.8867780630656568"},"_hasShrinkwrap":false},"0.15.7-beta.5155":{"name":"piral-single-spa","version":"0.15.7-beta.5155","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.7-beta.5155"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f4d7b20a348a2474a0b7c5bfbb265e544732865c","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.7-beta.5155","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-/8iSdvhUdyU8Jg/SLGCOq7/wIuFNVWwsqE9RCxim/3l03kPZPsMK86L2Gx8UAkFkvo/5F/ZaXfft/wYbMfBC8w==","shasum":"e047e06c9a6c53184e8863e11928c45a0733414d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7-beta.5155.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5i9hU0uDch2Z901kGJYv+TYIN56fcxOxIqxgBGKwRuAiEAm/crk3HqKd9OuCWDxe0uRfcTcM0mRwsqQeE5FDFBT1o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5PdpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrprBAAmPvB9+q6kNBQALbn0J0W/gSxpzRVJHyFBnlyi0MClWQpxoHD\r\nLhOTOLvbZzW/qIgqtylrI9AIoywOFvkFy1/Ck7AShh1HVqIrCuGV6H8rrCnA\r\nab+0gMVLteoWnuNcw8zywsfok1FJCPb2JV+DnkhNnUTIzdlHvE4VhFoYZCeH\r\n6hxDK2q80xvsndqLzvbLLxxMiVVp2zq0G565YXPoSGFNtb6XHQmTSR/D/iyH\r\nAs6k4Udw6tLYxYlbJnRymo9e4khHOy2+ztPr7KpfguRKDpQ2VLigsDvoYhWk\r\nWbW/+Fg8PwhoqVy5rIAGRlv5+FR/hfyj9ZwgyQOCzS7fqfAatJ6vEWcfiCYZ\r\ntud7qWxZIg7iBNJ8dsDi6BrpNGL9Z9z5GbdNCLXMGgnM4K6otHsVBs9E9G5w\r\n6ylNrzJh7zkT1deCcT/FnMiGCsb7b/PNSkV8d27cEcsHZ/LRvXbgg4A5oybr\r\nVI66sdb8fgs8yze78YOlZiAvp5H8KnESRTXRAT8G4lzWlMqQyxj1Lke0yLnQ\r\nAQncGnS76Z98vOM5FYmVbza5w75fE3Vv+l7uzH03+Kiq3ZRBkZWN7b3bfjx2\r\ny+z7lu88ov/jrmQlQZM0Na/sYRPE+yVBDTqD/sy4p3qDpIyL4Hi1PBDHIY7f\r\nlkhLqcIJ87qX7TlQ+aF9qNwqAhBu5dhL+VE=\r\n=YqGt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7-beta.5155_1675949929092_0.46165478123718584"},"_hasShrinkwrap":false},"0.15.7":{"name":"piral-single-spa","version":"0.15.7","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.7"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"79157be0d737c770cff89b1c3a2b802f2b13194d","_id":"piral-single-spa@0.15.7","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-DiaocTzKxgQc2qxs/i+zqLD/GnZpqmVgjbMYYAboxpytxg7Yw55QohmihnLqASPr8vtA9OU0zRYtkSNAAPbtRg==","shasum":"00c4bbe770a73e4b77797077efe2562e140ec95d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.7.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhCWOx5UmqBDpbkAo6M7At70lVdz+tARm+Y+WbMqUaigIgAffMKEbTi8R5CW/QM0i73moxoo9SBaNA1o/+jVTKgto="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5gngACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnSw/8DC4r+pw51P+qVUckYjPvM1E8kmMBZmO7Nt4ztbiO6OvCw85F\r\ndiGZipin/DwgtfIsSxg2UWdodHVIHv/kzVr7m6r4cnrOMuCkDg4bEp4J3Nbc\r\nogygtXpoPhQNZ7OFub7qwQbgvlvoABYpv9n7qotoNzbsEd6wqWj7bOumIsAJ\r\n/Yt+YuWhwbJJyXwDpJm1xwzldxATsNdqlzazhk8xjnGBwqCA2uVjRc6Uss2G\r\n5tMAg9Ifn8+hnHqy1dVEBG2qjIqkGBYNzLd5a0XovAGGpobUKaMxBRmeTa5o\r\nm/9M1vzlO/9OSP+tlhSFxB9cTQhbXHJCDh/XvwgDG2Ot5YHRpv7s40uspllW\r\nYUT56+qSYgYaEj8UJEOofTE6H0XK63EQTEFbmHBBs7kK0RE526oON2xI8nlm\r\niPU8AJvSXBgjc6ofE1XYjXMPf0WMYAFdGJD9rbwph03EXBYgK1E6Izqna5Fg\r\n/6TDJFOHDc6I9zUEZJk1dLgUG7mHfNOEkvRFO09i6SaCoc4d6jc+G6jKipI3\r\nKaAfIoXmLlTt4kN8XEsFAFEjjceHE/LjNlzhydQpjwYMn/ez6mCCllTPO2y5\r\n+y8/diF6JmqhvjSvrt+UJH9Ln3PqzW13iAHwgHDqIhjU4a+qyhXj/vpS0vOj\r\nwu2ypUO92uJ55Dz7qakR+euoaAhRqQTwo5Y=\r\n=nnyw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.7_1676020192251_0.09498949191046702"},"_hasShrinkwrap":false},"0.15.8-beta.5168":{"name":"piral-single-spa","version":"0.15.8-beta.5168","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5168"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"43b50df63d9d3f75b2c07911d8275786157ffabf","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5168","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-14W54uV0Exey0vleGu8WvdDvnsQMtQSw+l23xlgUzCgY+kUg+vSva5GA6qenKgsqO99CTpsr/dBhfdMUiRwiGg==","shasum":"6e05c3004ee6ec4dc62e50dc6d94acc95862caff","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5168.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHuKlmJyrro3RVWx4Aa4ZyL8RO+19Je+q38N9Qf/zE1AiEAiaC1MHvv2XOoVdiUjGXWRqn9kS2GGV9Et23I91UBGUw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5qdIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHPhAAkww8Xy7BEgC66LhjpJ0GnWXgSnCS02zVi7zDq/Zjf3uhSpLK\r\ndCrOvFhLt63S37sl27phxXpo2gfb/SFyf9d7xLhZbtIA3yQzzRKOhrmNJjBl\r\nT3UmV9NDPiYB2MUI043XsKbXnNQxHoBOW2oXrmtsl+Susg8eMcJYx/L7w7kJ\r\nK792iq4xHXU8JH23xzp3oYq2UUCrzyXzJVVO72SF3tq0hifEmJiylzY4v/Rj\r\nOrM+W+oUn6xDneqsspFnmNmMEH+j1mksbzSDnzFHM5Zd9Fjsp4AO+Rmuh1ct\r\nDMTdakxlxS8MmWl57FOoLgTLBrPUgIiyZYzzvAeB31b7QY3su+WC1IB8wV0+\r\n55f/d/DQbSxcbJsIoqfZsoS5zMN3Nw91U8nYy6HtOoais/FJ8eaPP5uuLd7v\r\ndK73nqcgcf0APwPpahWQh4WWL6eZVU3NumARh6wPAil4ZxZlf75h73YWC1qo\r\noP7NJzVAVKQKKJwNgy4M2MH9VmxoGZkt83YdmkZUeo82MAW/t3W5/Y/vc7Do\r\na6zcGRjBOu9YuDfNeqUkeZVwchYBWsu1szdT+pJHhcfQLdwqzUDme9OUmq31\r\n1y48ao1ZnVThbZ2wy0u8K9Rgvg6zJKgF7n4ClIn7xYOHNfzURk8M3G1hLbfE\r\n6EqfJssFp6rNSep9VER7oL6nYp23Ax46TYc=\r\n=j8op\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5168_1676060488197_0.8410808142292765"},"_hasShrinkwrap":false},"0.15.8-beta.5218":{"name":"piral-single-spa","version":"0.15.8-beta.5218","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5218"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"d4382a445c6188d31622fea15a6e0e092fcbad78","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5218","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-boZPi3mMGNzwxh81XEnFUdWj9RdjxqDB66pyxhinTX1FJvfKI5Vm3WhEjh9IJj6kVu6X+3EcwzO/THKfyd2A+g==","shasum":"2093238828fd7bf4dea976a1cbe35c84476fa86e","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5218.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzlqF2Fy8n8VcZiSKavKpZtgH9JpkOT/FljXleEDU9rAiBs6xdaLjrRtA2iTBgGp12FxeMTgm9S8Cayp4NZ7w9Uvg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/41NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYJhAAjk89anRsEl5o87YBX7VXqkH9H7dxkRclIjnOcwrugQUymJZJ\r\na4M/M7aDkIBG4ywK/vx4uwqQ2DgU1q2OmEsSkgIYsjIqSr+DKgh7of1jUdEE\r\nAFoOTFDoh6x1eDSsTdehQm25AHJCSAm/+SFFtgJ8k7voqctMPcU9h74p2Xko\r\nRfZWMa+HICbVczOBzeWNssNZoA4cceYN1sIHCfe9+nR2RVpXv5er2qJlLy7w\r\nJ7KnKCP793HZMeaQlb51c8kLGpdT9Nd3URrqV41hnzHTr2DHHjz/0iNqjtT0\r\nITAuJgpJPCASeN8ucJJehje0aOSUnoyRX+nVWRr6V4OGEhzqbJFrcsDC2OQZ\r\nRzDjh6+l5FTsGDE4R06141vEX9z77+zWf42azckDIUrY47k6ajBgzwOkS38D\r\nWQguvV1RV7+9MiNnCuwLGUVwR9pDcsaok5Up1Uq0J4a3jZFWnxagvXCTsLgW\r\n/eZOyl1/ryaeplupappQSJ8pWLKx3dL5KFVrpvMcsH7thldh1jDEUpSHY0IQ\r\nEnIHimELH5t3qra8SjfCrf04fCAQbN9a7n2lDSluZlKCR7e//uFZNHgrHRpR\r\nWde5OGTZdpN3KBh8AGqivg4Iu/0hZuDKa4SeHfjuBhUi8Gc+E2VpfIuSqXTF\r\ndLjnAJO3p4xtZrRBZIEGW7r+15GJNQFzt54=\r\n=mY3e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5218_1677692237053_0.30954887510312656"},"_hasShrinkwrap":false},"0.15.8-beta.5219":{"name":"piral-single-spa","version":"0.15.8-beta.5219","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5219"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"11e6b6a60fe6082d6a01ec67713f3acf85e04b57","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5219","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-ZHdRoo/DIvqj8V2F7Uekr9AMweezJywfYQjvzuk77E+OsAcv5oD6LrIH2NeaiYZAo/i1Stni9W7zD51QswlDlQ==","shasum":"9f3d68d449738a1a9019f1302f8df0694cef0f62","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5219.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5EQeRFGGpCkCiHnzJ7cRmnz1ghr9bnY3iZFH29SGAGAiEAtLG9jh+ZrHEaRM/HfNHjgoxtwc+hLXh6I9COYDaTU50="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/+S9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV2Q//a19tAcsD8pZD9bj3Z5u3m7tAdnZi59K/wAArre/UN4qUuO1b\r\n4hXI383SaWxPnMK30NP48yBBEptxqP48ovXXdtuhUhZQmvY/Wid1aAuehysm\r\nmnNZgVJo41LUPLeFCW9+dzhTabIhk2WQ3cYSJUhlGKm5wgsEX+jEP6zOjf5s\r\nHAP773kSp9/sOZZPeaxzTq3cu1lhWjs4G+ADuWPTDBgEg7Qg9AShF4iaFHju\r\nqhYfJh/VtDY16uw5jtWhC6B1/lP+AvuJwK/cL00myZelf5ksSaRDaGAutI4i\r\nhVKAz6RI8u6WckZ7tIbWL6lf5Nkhq4duAGb6rDUVLjmtZP/ZSltjFBjm04sX\r\n1nhxwbJBwptPIbAaYsPmDppyIJvDQaiMKKLrg0lvDyk7bAFwMVi3rEGkMiB4\r\nFiZd37TaeRivoxq9q2ES6ew3gteomTn0hL9ZuQt3IcWA2mLCrzi672TdBkJb\r\nucM2Ca4snsAMuXjiWykUeP+n7M1yc7Ouh/1L/qTp85tOv2YS9UxlDDanLsMn\r\nAVCZdb2A38irKFbWpJAfw+IKyhB/oQV5NZA1ZmGh8nfhrKNAY4WccOJ18GSz\r\nmk9l8O9rokh2ocGEHcUgVVz4LgSycMAI8cZMsuyDWPSQn5nktQXQpx0rpa5Z\r\nA5xsCaCWjw2Drp4KaYFGMkXwzwSHGc9lOXs=\r\n=jQM/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5219_1677714621305_0.17767141890593963"},"_hasShrinkwrap":false},"0.15.8-beta.5224":{"name":"piral-single-spa","version":"0.15.8-beta.5224","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5224"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"8bcc3476fd84ace954922e3ff11c394a5b9da7a4","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5224","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-xfpon+bEEQw62oD/FZytKSwGFRlk+RoZhMbL9dfqymYTSIx5IpnmRWpfUOsNN7iZR1gXM2/FpGSv/DZgnzTLLw==","shasum":"7ccbde57778d58b5730803b75fc8dc2e8c9f5f44","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5224.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTEuk99Pme7AOU6hwhnBBczBhpJL9m8vNUNvnUNT4s0AiA+w3vGZkoqgIof7vGiH4+9h4leH7JRXYk4SicIMUf25A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAKXsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqohAAokhIY+ivC4OQZM9c+Umx0NO5axF5mxryHvX2avLfdgJh0FS7\r\nXOBl3jN6PEdNNDphVzj1qX9wSg4u4J0lFknbtuoEXUEoViMImaphgabRLZU1\r\nL4zPBwT0Bwt5NmJlElDLfGCYMZFrdrkAPkOTZ6X09Xl4W41dcoEtJoUrau9v\r\nHbZ/GKEylIrXtLtNSR8/ixOY6VF2nuSSZL3Jju80kkrgu3HLaeDUyQ1H4FY+\r\nORw/kVKbOhCww9xRjY4uDISX2ISTXQ4KHqIE4aVOao5tY7X/lWtI+gPn35Gk\r\nUyFQeLoChO0AM2+ZEATuGhdxkE3APC+B6dibQPVOse4tGzi/Z3lINEz89jH1\r\nEZEP6Wgu+4JCIn94FlQWsaf/gveBiP0axC4oGURFkGuhSmhL0rq4cUcO++T2\r\n3pv1mMtp3s5A1LChuQ40bo6E3/nXUWU18d5JNuK17clsdJKVnpMPvc8mOW2Z\r\nouz3F7WbMz+B8nJr16vNFVhRyIIMF1hYCu8454vw6NIgfCI7GIS2O3gPhKR3\r\nlcdoVoMznM0XmkZCDWx6JfmLkaKz4/eSqtT0+Zjoa3WMIgwc9x1GHb17hm6m\r\njCobMTDZnuYSsyHJptbhsm3Ep5+5trQDgPKHR8PF0Hz7w1+I89qXynIxSycT\r\nnmIpfCHm6EMBMmeaElyGIBqcqP/PJC+MCao=\r\n=S8UW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5224_1677764076146_0.6892424313206575"},"_hasShrinkwrap":false},"0.15.8-beta.5229":{"name":"piral-single-spa","version":"0.15.8-beta.5229","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5229"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"8149d15bf5ea66fb4af6f04b6da9242ebd4db1db","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5229","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-HW4/QG3dhdrc3yVPcgz+Yh7u92XFIkseiWWexE2VZrqloW248XZbDcCOjVVlfEbM7QFRI4KuxY5MmewnltNThg==","shasum":"e37c2983bc2cf183f2d6fddfa43d53511d0987d1","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5229.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHyTKsayQ+0VNaEtSIh/IZ/w/3TCyLxSRIlDAAdbQNzQIhAOKkagJP8ILjtxqQoyMUCxfSLym1SG0orTvLhzsT+hdm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAOT8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3DRAAmpD7XQiV8mAJwODK1haw3rEWt1OxtGV98huAwzrBqGxz1RYI\r\nkgPlCw9Nthi7F9kfOFCG3WfH2AzowsQgRTKV+W5WebZzAb0RhhBh7X1fX6Ax\r\n53LHjNTJC0prTou/fyFMeILnax23HJzYMbq7eeCy7oATX5D0KIZhcH+0tX2j\r\nSq0GLYWUVl4SmEQG9rLTuoL+Di9kPOoawxbugUuKvupT+tQKawzXsXzp4Q79\r\nFm8E5MyFsGBo7S/qi95zFh9+Cu/Xc1PXJIm/0onbWcA51fB82Z38tu0JrPdE\r\n+ZgfEUNNhMViA7Gvsx8wupWiLXftBiezlGjX9pEGQo8ihQUYhbntHAsa3Td1\r\nEm2uFsi0hRk/fzK8dql3I2quq3sj+FBbgQTvnc3+YSdH32uXnkgNEREO8rms\r\nuoFynGx/pE+xu4i9DdIcDerzSad1QOQXfgyjVLCcltLFLYjoUEQDWz4QodaS\r\njPr4LvUZj9zy3U1lJbPQVb+je0TaDhw2QMy99NMjILy6HqdvG7dPfduKeSwc\r\nK+prKM/wU+7OchjGdtv49QPTlN2sY2Iv8dfBSvcDHM5n6bBPNf0hjEJLrUPO\r\nxV2HJ5SmAcau0F+lwyHbXVovNqNln8VQGBrM1SoMu+NwDMME5IILdo09E56Y\r\nMh/LHfHyj2BcjtOvVX80oty4/xR9bf1dPVw=\r\n=fXyz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5229_1677780220155_0.21789236722356287"},"_hasShrinkwrap":false},"0.15.8-beta.5238":{"name":"piral-single-spa","version":"0.15.8-beta.5238","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5238"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"98d5d39c29ab4a76247695b78c9e73b6086bd09b","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5238","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-MfSpIm41XjGHq5yzZN0HJPbrr95RE+Nyh7FjgHZF7r5A3t6kBbDV8SgBraM8hTob+QZAwqa4782puI6K7KmVaw==","shasum":"e9cbea72549d23a4fa4ab72e4e29dc6e70910f6c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5238.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwAwdm3ACA0NgqmZWhXsxttY4p3PM8xiOFZvlkJ/bkYQIhAOcgep17JrA7UaeH8HlTcbf9nHaEcpyIR4IYzJZfTgCm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAbWPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMRA//SFx5SLP4Urdceczxv2G25u2fGKAHxl587UThDZLeWjXMF+IL\r\nWjq/di0ZAYqRAxI7jhyk/LBZSFgdfNOvxGSQ6VjXA/b7huipIwcTdi674sSc\r\nHZVp9RDVGNboR3z6uBNYV2U1L/CsdMj6vmempMeKRp1dR5FsCKxwe/PMK3d9\r\nsspH07bdDdvmXoKytdmn3bXRxRUaCSG7pRnUepomPoh+lC0Ekkg4F4BFq1Q7\r\nc90ZFXrIOwM7fmEBZDeUbLev5ZQ/3fzicPvHCAm67xtZT1iTaKxc6AmB/wfm\r\nkDLKLZAOClv8PW/j6e04B2gHB/d7Bgd0+rgHCKgEnUPCzBOd6qGPbXE87VpI\r\nxwDyp/lvzteuqBKsxEZvNkfH/wHL9GDOBZ1heHknWIN2Wx1R3dKsbxG09FAU\r\nE0qeu/B+6T7RvIOBVQf693B3qSpSaKLBke+u+qAhf3XVV/qmINR2bHLRO7zJ\r\nQFhsLFWTQLruWLElhbASjIUc+iqcfKPLyhgV5PgAMEo+uo2ts8Rf14NSnYkR\r\nXg+yRoHqMlZeSOKOnYGxOzrCOwXF40Zq4xPUEUW45de1mRqk60zP7JGeMNtm\r\nkeYo+M0il6KeNSzImrEhWGiefwCTkV2Y5XGNIa2aAnMCXOrKjOZSEy/8w/WQ\r\nksrVT6cHyYp/85nYMQuCWdqpEumefsbA9Ag=\r\n=BymJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5238_1677833615539_0.30871116584866587"},"_hasShrinkwrap":false},"0.15.8-beta.5261":{"name":"piral-single-spa","version":"0.15.8-beta.5261","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5261"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"cd42da9486d7b22c942271dda8bac0d0625eb92c","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5261","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-IHIsaxM+NuizoHwh25G3zFrzhpR2kMERXEo/LDF1ycfrJXH+XYK8jIEkf8YfbvkD7NEsHVfUd0oDDmCX8nYG6w==","shasum":"e795edc4cf485800a0e245f19015529529e0bc42","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5261.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjcTSIZXvS9grlV5NUvXkGZRIDlW3f/6idrOhOTi2aQgIhAMD+PhnJVMjXLVowrPvb+0DmuqqECNVLL5uA3kpzV/jS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBg+oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVWg/9EqJaeVhBr0C1iP62Za+IGYF4MssvWQZ6W/Jp0TsWOwzav8XL\r\np55BkAv8aDPX61TobPu4iFikers4E0oLgCSPJVZ7TIubH/DsqstxGM2kAf6a\r\nAnDPuOp+oRWugIri2++5Ajrii0RO5TMtwkh06lSu+ONainfcBgPe+ReHbFRE\r\naiFOOTXmP/SE+kR8FqBp/02iZP74MThcpKwN+yoLjk9j/tqHI2S5Gku/POjy\r\nD1qlcdRtlFgq3PPvOSYfzFiGwvrf2ciHdG7dW/t0bYt0Y1CDLG+p9JTdrCUj\r\nD0SPBhOw7GiuN13AWqY3RKHIf/zOuChWu2hyNKjAmAb/xmEYfpUGNg1vqVJx\r\npaPzGBJu4nkEpwaaXM2O5+gbDa2zkEq/XruwuBoQn2/3At4Ca9lZVZFQ1MQq\r\nV1tbu+L+C3Er2kjrsdHGbe43Bnvr/dYgFoRy0R/M+gndXeR6lyN9WBQESMNC\r\nX/ba0xbb98AfWLozdvv3R5KJYGLNSThVjyakWOfwfqzrfqctL4oRmbdauxvF\r\nC9t8+xy2fEFCjLcGoINOMytXWZbE5bkDlbzCU/s0KmNJM8nYTDLlmJIpGnJb\r\n+C5np22oaTxgtzG03K5tYJnansL89JFLXv2y5EBUeuCqhAcbeHViO7jRI6XQ\r\nWCqb+qhtUKZRWzVNVPeSs6DiY0Y4uoFUcNY=\r\n=Ypvp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5261_1678118824243_0.23149174836749853"},"_hasShrinkwrap":false},"0.15.8-beta.5269":{"name":"piral-single-spa","version":"0.15.8-beta.5269","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5269"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f372d7442c3aadc61ffd5951104f084744b2fd5f","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5269","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-Y/SNmb06lprdb57RD+dXuWojGQRPeitW0HZysBunnVs1eP0xAAkXpTqwWw4Io25y6wZnA536frCBdujrBuYt4w==","shasum":"351df8dbe5436e562768e955e20fa39c45515da2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5269.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUvlItul56FBhEAHqXWwvu2Od4SJqvV4wpJUlxvFa53AiA/3iDxCoocMoh2jOt/7Bn6GTmCxzwUvph1174dxmdahw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBzGqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLaA/6ArgqXTLKaqoqIoqoP9f4CJ0dHs0FpXrz+DV5Py99DkIVl/ll\r\nWKB/8QmJnHu5Nyz1tYt8gaIEo+G9i5SXMg/zgJBch8kryzJdS5w3CF5SRCBg\r\nQX+8y/xxl+cFvtTjePDwanJZ37hg15+KWePdPk9WggFM85g87982QbY4VQQn\r\ngP4XHebgdGB9Pj+uag440zGhg+lkUwgbhsJ8pc2WKtOgkSDQVV5+9z5IEFOS\r\nKggT/N84X1yMueBit4Z9ksMgIND5r0IBbNBMtnaB0NA4jNOt1RrH5R7iGsUJ\r\n6pryCcTc2w7RFY1cPRyZ/lb7vJ+gjM7CYpauos8mBfqknPb/AVR/gcXWH9bU\r\nfZSH0jFJbGHVqdWqdJCNX++nDyblPKE2z1QnaZdIq9/A0AktXmFgKiisuRRM\r\nzLENgxNoZmU80UUmbKjv7NSbEs/Ior9PhbI2hh2n+dCUHo48zDzr6e7fnPkD\r\nPtaHnn/5xaX9Tu2scpCJwHa85Cof/lxvGEQQEU7qQMkYzGJ0u4TO7shdIs0Q\r\nF4HDrhtizRBA9vZBwdj4c5rbBDvv6seH9/ckc7l9VWBAZ5iLSJsiS+aOeVlY\r\nvC0NDi8xx7KRp1EMVrK5VMrPE/auoIsi/fMergB9Abcx3bkdXDE+dnjlNCfp\r\n+hHYT1YqgbAtfSCihEAmiBvnyFkPy9RTHBk=\r\n=9RU/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5269_1678193066271_0.6314813594459765"},"_hasShrinkwrap":false},"0.15.8-beta.5276":{"name":"piral-single-spa","version":"0.15.8-beta.5276","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5276"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"1718c338ffbe4be963c8e70c1265e4fa56d5a1e0","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5276","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-UPdlpH7FX1H/XaHJAH8hF1J6deQczGFVnSuOzfYW+9Oo0Ugd6LG3DOdQQ2sSb1kT2rKpvYyxV922eIP1wZb/OQ==","shasum":"a5ae6a1da4b5c35b4aedde27ebd9cf43d6019176","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5276.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9/jyBotIaGdW7f1rpzc3uygSmzjSxD/7E9LJjqVcavAiEA1Nwb/uZPUDH8z2rowa3Ybr0Ubo7PwDQkAVMij7LkVvs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB7r4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJjBAAmOKYQbRDQp2FYCpK0QWrv6BfMU8/cAAqF44jHmK+WxcbIWlI\r\nkq/MhAT6l26jPoA84tJ9ypM9fUJdyL2xhGKnERaeUmGA9E9jF0fRb+izwuEu\r\nHbGgT386jH4QfZmL0Him44LCYVUcuTu17QRxpWY/7Il6xjiMoSe1up6bvz9t\r\nHh+/pm4AzCSrjgcqI9xrX1t+vja7RsZj1wsS1NB2C96jgfMnnqEdBas5ZsbY\r\n0PPtiP/dykjudVOr21+/Tb+zTVEGlcfpxlCjsX66KgYrMcupBB6iSrXyoljR\r\n4jRAJjKmuy6XoxAAM4wJX9lpbRn+VBx+dRwMSsp7v+HV0fvVq0XpDWyClNVV\r\n9iFOyEWCHzC4LHZnj7cWOvtDXS641fXZFkC9/F8PkZIYOESDpOHHMFRpYk/a\r\nykGQcS32qOJaRtb7aH3nrAKgeIpME0kG+CEQ41KhnsNqgJq1I/k7ebUdJk+Y\r\nvLHcBvJKwy506+JWHaoiJn4Nd9Q9u9/7zCXWQcbs6rRSXw0XjlMicmpg+G/i\r\ngqShuXIVL2N3D+fooub8oyMEl2Zclvl5MyH/J2uE1p3tpt6Lt3n+ipo2GeGi\r\nWzstnqo+4X639wfy5iDC1CnYvMB+sDBEcOFgwY04O/+PAMPARaibPhRtJqun\r\neJsrZud9MeMKPz/T+lbQ/Yef9YsXOnUvqxc=\r\n=9CWz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5276_1678228216567_0.602027177223968"},"_hasShrinkwrap":false},"0.15.8-beta.5281":{"name":"piral-single-spa","version":"0.15.8-beta.5281","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5281"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2e9e94f7a6e4cab98bac439ac9faea95127a00c9","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5281","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-aIgRJ78KIDRKLvDsdRVNB1LVxGFdBf8zlb0G2E8aGnV5+HvNK9gkDgzbM+PDOPuEVjzhGV3R0gswtcwq/vVLnw==","shasum":"03d08bca617677b14caa547a79652b8b0bc7cdde","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5281.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWJ1UFlL9m7cKLsJC6L6fzfSP4PDMPxtm3c5U4+Ug0uAiB8MN/cr50F6QVbO0+f7VVNz8Ak0P/Jsf/JPSDlo0fsXw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCEUaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrG9hAAo2VY24CT0OjcpDDkNUxxp8E2teJnEzO192I/aVCSHH13Tz8P\r\nV8qu0LtCp4RIswbAR94HiZNy4+RgScRyX1Fvq5UpYnsEgb8eak/kZXB1SvaU\r\nVfmjlihB374hA+z4Av5rHD/VcZa0PAoSsOPNQDl6R3mlF5CzwrxDayJ1jLjU\r\nmh/m9UHz1FizFpKEsa4eSPNR/lm2wC8qQaUJ8Ry/ICMxS4tV+N8nsv8ASmvD\r\nKMg5jaZnPxBGKMkzjin//+NT19ouiGQM984cYN2ZQWH/CqIy1RdL0d21T1bG\r\ns+0hpTYqttWGlZM9S0If08DVMau/oa6HJEaXzH0RXe4EC2NPKTysp2F8Gb0e\r\niHe9l1eld2yFvN1kXRCQMhzQ5F2sLv1W0ws8itO7gmlmnL5SVhxYrmpwAVEc\r\nQFim6L8WS8/+xGWDYQ3q705BT972mzsBYSlixvHoV9Zz6FWhxTp4zXlgJFes\r\nI5edCjZUfmGFANQLTJTvSz/RszzmDixapHj/JHqe7xyDUJmb+qDTeJ7yy0Xz\r\n2CaDC28BBNRfdr3n7YrhaDA1yuyuNab20dtJKtWqlpBWw4g9Zi790Atf9QJX\r\n3ndtdI7UmZiRdHdWQSTf9BUFwWq8xocq5Nk3T6fv4z/CdR/IjGl1xFNQFacl\r\nbn3GRurwseSxNODrcBUxF/qf/vWkwQftGMY=\r\n=TaSm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5281_1678263578137_0.4760054743898523"},"_hasShrinkwrap":false},"0.15.8-beta.5283":{"name":"piral-single-spa","version":"0.15.8-beta.5283","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5283"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2e9e94f7a6e4cab98bac439ac9faea95127a00c9","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5283","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-f8smQCVqHKrfEgHA847KaHkezkgfj1gM6bwaDs1iK0eYSByWEbNj0DW+P5YN2g7D2fjBRAHdmJZ4jOOFmmvEXg==","shasum":"0717bb67f67a46582884db603284c92859c0b031","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5283.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuUh8bPDZRoLzWXiKku3m+6HpwP8youw5PGom9ihv5NwIhAPN31A7FWBe9/KZ1c3LALsPAbhzhIFmVs+1UJ5GwyIKu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCEUiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqilw//awqru55kc+0p7hOAaDceSAATXMYkv/D6DZt41kbraMPLVMyt\r\nQ/h2GlF7QyCca+BnIDNwkIxbJsmAIdYQyd9PV/zyKlPEoikF9FSeotqVlVZl\r\nfMT0YlD4xqk0tPuac+05caOFspa9tZMw7nPL7/0vNAsCY3+Lo0V4Qws+gAXx\r\nxT4kd075/INKueh8lUz4607dB9sm7aYCoNcLv31pvkGr3CjvJF5AaldqtLHz\r\nYWPzlv3jALOoMQUrsPijM9bPwG/QQDisQzaBLoAti7MYioz0nnNs24yfPc+l\r\nXJXKkhe0FNjhL96oEFYePZW3d8CZIwk+0/VYG12iaOwDB4TPCDdtV+192bs6\r\n9gSbTH1efXjA4By/90IQP3cCLpxYzNbn6T1EDng9S7HIws0zVGQt1AarWAer\r\nkxW/useY+UQNjhxEEKQbq1nfRVqNzlNxBxbZJHYxQGUEqABQ99I+/LNyEckO\r\nWOxc9+y4J3x2F3lOn0vTd+EjFO+BCf9eTOC8DkTpxyTUr7Xqt+SDgoJjGewX\r\nqKXImXmZ+Z37BOOGbxlumqdMx7wUARcXN4NSMqAQ9fKUpH0n1K0mmm/qvA+9\r\nU9WziH5UGVaNP+UMVFvy7VJ/4ohbfQe4H9JcnhfWSPmeRlwgSMYYL7vhBe7+\r\nqzuu51kQlsgj+F5OJQSDaKE66uxfZhMwww4=\r\n=GkI/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5283_1678263585845_0.02880930538198445"},"_hasShrinkwrap":false},"0.15.8":{"name":"piral-single-spa","version":"0.15.8","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.8"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"0d9486dedbf2a368be8c7debf9be8a8f89b8139f","_id":"piral-single-spa@0.15.8","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-xNDtYEwzcwYxfAM0NHWoEdujYo3MG7eIocGXWZh8xHyiBxjTMUsFaS9ARLkqDLBDIWUqNvSZNyz212GlQlqRBw==","shasum":"634e76d0ca94a35d051699c82921b7e6045e3f2d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZDLtPYOoRio8LumCn4sGq4tXmALyJUN6a6ftyEiiz5AIgSp+f0yMVzTL6uaeLOaG2Qd7ZSRjBfg3UbvlAke+6Ow8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCFT1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPFQ//c+L841r04I4PKkJY5DF2rCJPS06IRS2snwGrW+exIpj9F/m9\r\nUCGte8aUID0DpT2Qpu6LDyVJsQPavHsvtd5Fa5/SyN4Bo+yWqyKPukqEtUGK\r\nVlB329wD86/lWAOmE7oa5XLLJ1Z7PMVNL7sgyMp4axyHMdFpzSuxy73DDnZ8\r\nk4VOi3UdC++gqA9SkTAGdDBeGc/RJJfqs7QCss9W80DyYWCw8YsvgfhRikH3\r\nbnz1T3ZemRny1ClXoDK6DguEWB6m2fADH4QOb0IfdtrwgpSUoGxcRUpQimdr\r\n5v+J9NTx/Pvj1giQyo6tfdjDL0svaOBZl26E6Pp8YYOZX3PihhyBNIqAC8jR\r\n1hMdO76MHQDDkAywAyQ0oFLj/Ook3HSJDzvBKyIV0zkZUn/I+Q7oybHGG5PD\r\nJwcWnZnJELLEnhfqAUOzhIKkOUn3X+4fx7sgpFodfdzaZKn/eL9E18uo8aNu\r\nVTbNngEJYVWv8P5+Rhc9tpScmZcJEUXQOqkUU2w/jx+TFmGvIxBE3Qq1SVnO\r\nK9OAcU4GzeF5oDkgPLJ4bbSvChXbMj3ZbrqVRJg5oDY3jE8CW3e3jfPYmdlg\r\nQr5GXFYuql5LZOt8wm1tu8HkbByWzt6dUo8Q13xc7LZ3Bq2AzuYaL2kfCGlR\r\nz9hB1RbQ5ERAlNIk6PzeIwrSwEsKzxffQo8=\r\n=GzLO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8_1678267637445_0.34198805198464965"},"_hasShrinkwrap":false},"0.15.8-beta.5316":{"name":"piral-single-spa","version":"0.15.8-beta.5316","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.8-beta.5316"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"62cf3e403a817c02836c78d987d04d1b987ead3a","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.8-beta.5316","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-NqGE6nmKpC+JXEPE6PxJmmEDCB0jIPfB+jvCuYEEzDej6oullBlLvSQ/PkOvC3J9wv91YI1mOv65HB2dnNOjGA==","shasum":"7ae615a24e68ffd57ee012847a5850020493aa46","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.8-beta.5316.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAM7dc5j00YLyPnYB7inpw683/Mu1Re/LuDKF2dCWvt7AiEAwYAnPPsM5/bj+iHGR9lnACNoPun/hSpjHcqgfO6V3pI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEYERACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2Zw/+N0qnK2etR+AgPlzTQY7RauliTQ8/9HPvAG7ElZiCP0xhgNdN\r\nGu0nh0OWPh5d3XIzPqZcL5WKHUUseUREFhprpFvLkHfmqCoGG1b2WLGPb7el\r\nb0PtFqCS+bwUQqFmXZAfxvIiEWzSDatcIifb4m2Q8LiuBtgW1akEGbzcfkfG\r\nWnxl/PEmtI5gbaTHLUdZxJC5TGjoTgbBbLSbBU+pzsOvG+szHBNORQCEDLXx\r\nvfDrhAVmegTlW8s0PtGn+6VJvctjwRSWUV6lNoduWOE3m84egbjWvfu/5LKe\r\n9vqqZ+3KvHVV9R49JAqtey8+vtz5JZTq0cEzhr+F2M6HfFQoObBS+cq0nWNx\r\nQpBlfa04ojUPzVPTphxiyc13BULYkrewObqaGylCmCJBaQsLvE3GX6Nh4+Bp\r\n+r8PLqcsdOdBtHbeWEv6xZksU38QXcEO9EFxXxM5719PosZwrR/gWDy9G9nK\r\njiefLPxsx8nOmr2WWkKS58n70cr3QAid6VYB+mgGUQjgQsOu9UEXOcM6lHY1\r\nxsByhGiUUTfMQYsDWwq/pZE97IOB7krZUL/4bGRfVJqovyR+DM0r8VO3H0a4\r\nWUPZKYFAJFtyQtxyNwx+i0t9TjM6pDtJ9gYPAvbC7xwCxSbx1eCZlAE0N68T\r\nMzbzwwQoLtu8huA3TGpGlgMHbsr9e21Ycqc=\r\n=Vh0B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.8-beta.5316_1678868753511_0.16647248574219264"},"_hasShrinkwrap":false},"0.15.9-beta.5384":{"name":"piral-single-spa","version":"0.15.9-beta.5384","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5384"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e1fc7342dedc2c0b0f099823e15d9e5ac4c641d5","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5384","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-ACCtOiVaIMslWhoovZ40oRYnUiRy2GunhIAQb7Mov435T60P3QQYlyili3mV3YFVs7C/n82bqF4oRsfrQ54/8w==","shasum":"dcf214958312874f1568b8804b9854349cc628e3","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5384.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRz1SKluoEin91IaI56dqR0+GYxsSgdAEaSH5K5w43gAiBhI43dSiiqtgYpQX6XmPoU7iVXiRvoGZqxN87ZJms5Ug=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJAFzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpz8w//Zraw0pEkDtSk5NbpX1+YsSL0MksxNM20etRhc7FSA70EWl+k\r\nY4UKUYb07my4dmE2Lc2mnpfKstcqMKkC3RkXFpvqaBEx5JGpDHndVyC/nSIn\r\nOEjHHBP8QEELzR8xpiuathL7EMBCMcQ1BV8GCsXaBzssVaXUt7F+rcZt9l51\r\ndKiFMX2zPxR47hJyfjtqeDq8fGq6pKSpAsruFrj3tiTBDOfkwb8DK4X2tuJU\r\nkdrp/SyyvTEj6AMhU+VWfU7w3JsPdSo4Y8VM0fsjHfxWkgBQLniZRP0N2ULF\r\nnC6LBaaUhe3Ur3UO9z3ww5fcKpintDXCvV0Ttilb/i12uVvO0Vw7ke4Bzph5\r\nk4VSCDkTv03asnmhN8zrmg+eHjfP+D4fgvDT5bjEsz7GsHTGK51/blahJ317\r\nqQn7tYeGSN6cmpVLQyGk0Oo5zUjAt9RZw3StwGIEsJZ0v5dRSwYBiqIX9G0I\r\nIDs5AF4roWJrv2vHyiUofPHKnZeFrFV03vvw4Z4hwhvHPN9s6MHwf/tsuYvW\r\np372ESZ/4drnEeN07MzHcvQRLdGlGvwuLwbcL8NlJiQfW11RE6cKMStps4T9\r\n4Y6TgwjnPk2yA+s4qfmLOfVMZKQGvJ4z/L6fQjXww4y4yKQ7aHBpV9C84IOn\r\nLZ/9SVzk7kqD6cTsGIsI2y+5FMw9qy1IiT4=\r\n=YEK0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5384_1680081267681_0.5629540474681591"},"_hasShrinkwrap":false},"0.15.9-beta.5387":{"name":"piral-single-spa","version":"0.15.9-beta.5387","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5387"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"7e8a09cd29f25a8986169bad38e270b95be0059a","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5387","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-TEhlcWek/5WTR7QoCG+KPSTg2i7dD+B8r/0MMi6Rly7ju/YdW+nAkwbLehmdUSiGG9+V7ivK2vmmgJ9d+XPfMA==","shasum":"d03ed0d61afefec0c1dae9efc575530484946577","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5387.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEn0k74IESRDjI2gR1Jr0N+qQN7dcFzfkyrZS3sxwSxlAiAWeSPafn3+sYcgmvV/XMt7Mw4CFbEoCb+uGeH4PsoIOA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJTisACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqj5A/9E5QBC2q7VlmfDkUYlFdoJJBm1W0o18q78CQedyaB4VrTNHJi\r\nG7D3C+Y+qCx0huRWN85pf2zES7nh6v8eu3tKCngG94cWEiZIHazk81r7+VX2\r\nQ4fT2ezQdKkHxoRsx3b/AKCp2K1+lvM8siSv/lofFMQCP1k/dbRU7TOlyzBQ\r\n5utskf1eVxu8EvkRqtytfLccHUG862jGhsfB4/Vubs5QNXqQsx/GEOj1ixAh\r\nKZPR8cjAUb4hRtVIOZEOFRxU63NRacDpCZixUiWq9uh+TJljzph+ipvM6IyL\r\nC4ACOvaHJEOqfyI3MiQ6dH+a6pRfPPEiExqRLUns3TOzd8uM1CR4mmLJmx6x\r\ncBcpTt1ME0wIKfwm+m3wb6YJGSgt2Pm3MmsNWlFPWC7m61iCqNf34zvbJ7RW\r\n1zMPhIsZFyGpkjt2SeEYYWBMPrz9c7hmycWR4kwc5bXBJoQhf/zpaKF6gry4\r\nOainuRCrOlQde2lwWxld2I5KZv6JcM7bAZFh/99f3YbiTH7fOr1MjdVu+jMh\r\nSMS08XO98dyjesagxwFQEFCPj9gHsKIVGsntLifDOb7yIQ/Wtq5ZXiBHSQOr\r\n2v4DBD2xUJZ9y2q2H7ODKWdqSZJM2tH0+/j5AIkfrthm9DgQRqdUMq+/MqX4\r\novVyqrRNEGzYluE8NMoVwRaMbg9zr5nYzn0=\r\n=/yz1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5387_1680160940043_0.1365586097856284"},"_hasShrinkwrap":false},"0.15.9-beta.5403":{"name":"piral-single-spa","version":"0.15.9-beta.5403","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5403"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"d1f1d5eabcf01612d13b5b09c2156d0dc906316b","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5403","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-pcBfqq7/8OP0u6A508DR89kVTNVY+A/GzFecgwkev+a7Fnbv4vr/xb5gwbdG2CF7vgfuH7i4f53HhlEXR01Z0g==","shasum":"33b7a8b74ca178c5afe1b3522b11b72626e4a091","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5403.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHH5fsaGiVgHVJyCDXX3h2oi2AuoMc5hDo8zt9iumSeZAiAbB5V96lEFf2BqnFdHdBqRUz+MokcjMOFnGnIKdu/aZA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLFpUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohHhAAn/ge5M7y4FcXsb1zgSWBocULRre8zNcnTiAHlKYEyQzhbHkc\r\n6HzIn+Rg3yFqvDpHgwDAc2tduV9Y3Uls3/zI0KT4Bf+f2vA8SOH7ZgHPSqqt\r\nAzdvpxKACAKxniel2W7q3dEp2BZnKdopgcf/snJsuG918/45TeNHgCwNX9dZ\r\nNa9kUlWiSd1dtQyKHRwCofMx6/Jj3GiM+pk9VUoZyKAK/ZNLwG2TpDhsnByS\r\nP+x5ROR+UwRKfaiFTc4PycqP9zAjWHUBGphYoVInsCemVMG9RuaTH+cS/R+X\r\nbk36WJ+7KDB3FQ4SIQSmuyVnMFxy9YZ7wthGIV5NCDhThcXqBBwMklOu6Bxu\r\nWB1vUmO8HtY+KY9ZvddFmJE90mMNQYzOu3Iqv4YSIV++FSnjQKUxWevkxWf7\r\n3nM6rCTk+5nWeaBP6+OgNGPrU1PwcFI6YGLREKVnpLiImF0rvt1j3JByYwzK\r\n6Lg33tr7xqmvHUaHQDj53GLHfYyDT7yNfgVnoIv1QWEvBGBBtep0qCcsBqyO\r\nD2G6wZoENYfndZtbdNgHH6nQsb6gYIlh9cZCSSbBaGqcsqicReACT8W+tjhb\r\ny8vbI7B24xr9ZcT/y+dPOhxqptpoRtpxP++QR9xKlTzo3Uwg/mejKKWrwFJW\r\n5UOQagu7Mpy0TgEZVH0TnD/cae+rJwOwuHo=\r\n=yvHX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5403_1680628308753_0.1076668108459744"},"_hasShrinkwrap":false},"0.15.9-beta.5415":{"name":"piral-single-spa","version":"0.15.9-beta.5415","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5415"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"85149fa812581dc049a38da51944099330f332db","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5415","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-xqPxFj2abLM53mo0FBfZ8vaO1zci2Gn+oCV0Ec+tK9raDaEpV+mIc+7p8kGtjx1PRXHh+blQb16e5xYkpmlE8Q==","shasum":"8ab5411ecde57a30380cfc708b1b605c4e0b25a2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5415.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuhOkrSZWUUDJgkzNQ4ENhNEEWUm8DgvHsnrFfzgqAbAiAYC5cJOZYdK5Ua8T8wY2mxg6nFyau+/G3miQY8o6jFkw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMJrGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrH8Q/+ISL88cj5yVqRJR+fr1Z5YUbsM1zcaZy32oSnLCfQP+/Hb9jz\r\nIpb9peIriRZJYAtr/fYuS7ypkSIVOV3AxXa190oF54GCf3YMBtQghAgwWY9s\r\n/kJy0s+BlsyPmlnvxWIIObhJEIr2xI9g+KZekCkt/yXdK7HQZegNhEs+SgwM\r\nXiEDUcjcANj3QzMltCsyaqxOay6vb3GyFlfe88y9VxWv1b7aagFKs2YULphr\r\nt3FMMIN8YZCJbNJ6wUEHa9P41TKuColx2PN36cHP6MngvJYDiCM2lDsrCMhV\r\nCZ8K1h89T1/4t+fXm7oqX/PNmeCHZ+Unl+RmnjpJ2rheSHBFZTVMBnNDds4a\r\nkVaKxmhdpNse9rTMsbc5S6pPKu9agkG4PI5VVUUTkIDwMLgs0VQbFS3zjLTV\r\nKodC6zdVxU5yEZPApcEuZug86F/2NuRtOxpU67f466lmdCs3Ew3ZIksJNgID\r\n75ezPBwbchLOTBZtu9smrAXi8PVN+O/JfCF3Y/iebt5aPtzT5MLV3a5ZtklW\r\nZvzC1i+1cNQyaMob8hmX1gmzzMaezbzRyvwF9StoSYSSFBkTmbDruxaWA4gr\r\n9qFKnWDFyjV5k2qThe4vxZTDI9bDnOpPf6o/aX1bxwKisYSW/2fZBZN0LBHW\r\nno1yPafh/+KB6Q7npFWC1/r3pf5RrPGS3vM=\r\n=6MKc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5415_1680906950267_0.8366804069313765"},"_hasShrinkwrap":false},"0.15.9-beta.5417":{"name":"piral-single-spa","version":"0.15.9-beta.5417","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5417"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"dde0a115d916010beb178e29abe04fbe116f63f1","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5417","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-w6cXBO4IJIk0t1UEBthRiV4lEbpHSKb9S0MCbiTqjcVHjV/PS5PfXdWSyyZcpomWyijCj5JGwLU0bKEbgUvnpA==","shasum":"cfb8f240247deb9f2d8b64bb6d334053ed516e46","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5417.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr9R59Mj+3YQW54ib7W3WgCA1HD4RVjBDBM+bIwGbhNwIhAIxFNaISjbrVnMkkRzXkg78Y8gdBKgG+bw4+PM6amxLo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMVrBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpa7w//asl/jqsq38vojQGmEgZlDxR1sWSaE5AH9vS7b/YinGldl0bE\r\nBem83pL2bxAg6YjVsXObukq5EPQMclfSt8anqNkbTwO2GyrrCBl9FlUGdUxO\r\nqTKyyzVz2im2eJee9/HIi1hiBxkave+9E/27MLzm2atazoUKNweYGFL5C9jD\r\nhkffW59KyggUO0Xmaer2efcDzvKmoeMtJmQ9nlQ7rb/P/tlh+wTCVjf2lT16\r\nhECFZ9NA7G6lP+jU4QWY1L2k6DCKlgdu+oZ8FFB1DlokvEuVcS+Y6D1+252U\r\nrqL03aHZyu3aWa6QlzTB/thWikTjkhSE4fXMB2Y1s3MUi/3JPpIfR4EtPN1Y\r\nB1A8GPaWwpA0PFiXF4ci2+mQaImrlCGhm/pQgI18SIC6n+qrXAgSL+Md8Rt0\r\neV1hZ/m4lJkA1WAX2otYdfqx5G8uH+XTvGNV/A0qREwYRjQ+QMs247WgE1FT\r\nV0O7s4rddJWXC42BNMPa4fJt5rgxG45a8+Gn5xiquxS0ybp8oa1XVM4qfA7z\r\npVo+FKjDIjg81A063SSGIBJorYx/uwoJ5j0gqrTSbYcOsO4yOCvOU/RmisNr\r\nU5EK6rBFzZFk5YWGhZqNcGuGvmBk5CMWvKMSq5yDYGL8Zc4oQlsPBc6Ud1KU\r\n9w7inJJYXHeMsvyUaifiSb5GMDd5QM0U1dg=\r\n=cGD3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5417_1680956096746_0.7090273223701795"},"_hasShrinkwrap":false},"0.15.9-beta.5420":{"name":"piral-single-spa","version":"0.15.9-beta.5420","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5420"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"a4b6f7cb2d3285e0d486c7951ad6c3d6484b11f8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5420","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-X3QGuR91TfQnHOCE+O2rdwj7S1eIfmf1CcgaYmGMD+WbchcsKoUcmS4li3WUN9k8GKSPY1WHqcL5EIaXQxZHvw==","shasum":"b7904ad534f1e3c63b5e66e208f6bd92af033fa2","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5420.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkQpA/xEe48obdQgietce7zTmRLHoekeM2B36XyQhwiAiEAohglS5nD3uLE/c/liUIi9W4pRXb5Nu7inrvl7ChpIF8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM9R8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotIBAAob/cxbwHxWbUjXdW0mz73TLwmoOqlwL8FI1IXIL2nzoLfqP7\r\n2UuAqnFLQtGKBnmEzytiobr2LdeP2jx49BlfguwGDfOOtlf7miWxaMmv52gK\r\n42UFxVUxhNQap9zXYDrDtzr58HW/pL/UKtyh8UOFwJDxEjGmkbs9D1SBPyKW\r\n7+yEAp/SoXgN8tTW7w1/s+BmogmtfImdCCN+SmOyUQFq+BrbLGWdarHcXrft\r\n/ZkAACmmSbjt95UX7aK3P8+jlTApS63qfzl84DdWH4dXder9b91Rij9j67CG\r\n9uLGW/7L48G0hly3WxerOoCar3YuLd2uyaJyCz9UxW/2yBVg0QxJ275pH7Rl\r\nYsyEQnIRhA6+fSsnOJa4qfTEfv2hFGQx5Jw99MsuixlmTUY9jLkBEoc+lKcE\r\nQx5sh3ujNMThQ2+8+inaMkS38xqu3UWDIK0KbhEaHXb22+yjoFRJiLx86p98\r\n5UPRF/ZMs9rsLpH3UJ4FMpaY6eJkr/FqJa6CcPwwtzRE0OBruKcCASMDYOMA\r\nh0aVxkbK6wzNxoP/WYJVkVpGgNLSe0jr8Mv0Wk8oaS/jRXABb/UNGmXugi8t\r\n6vHfrJT2FBuHl/ic0+rwS2z4MiL7lq+7nlsXznTcA6XncuFFoypl4E6G+Tod\r\nJHMvZVbUT5/z7W5LLQequQAe02K/A/HxoKo=\r\n=N7Nr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5420_1681118331981_0.3680330332962056"},"_hasShrinkwrap":false},"0.15.9-beta.5423":{"name":"piral-single-spa","version":"0.15.9-beta.5423","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5423"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"df7c927d3efbe8820ab9ee7969f5b1665a1bca40","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5423","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-9jwSbtBCG9SZnINa5xZz/+MqF0yTq54bXg1J0TOps4u5l2U13fswPUQ1p+nkjP8kXxtYcd8P8vcUaUliDIJm8w==","shasum":"73b6b566bda9fc2993c64c5af5f03371d3af5421","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5423.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu7c2mA112ciBv3hebZyUh1voZmjzZMXWxP3P/7CxWRAIgLr2mqlvq09LGJYNgHZyp7yhpHniBw/i7VwwK1+/iIqU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM+9CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/vg/+NG7iOcusH2r+KhAWlXatjnohYilrjiqOEYGe69l/VqbRbMzF\r\ntWqCNTSjrCUEBSo3d6AzWpHlEcrARUx4pXMRMWnWjx/xhUEDGFHLWNj0olMX\r\n4+jNOr49qA0ME1qp+zNIWsBpRwSbCeME8gsVtcx55rpnxDTrQjYMKw7fhwi3\r\npd135QZwuSXzlSTJb4uKWrHsgQuZWnZtmS+dPGxQd/2WuH0kAGDA3Go3UXiy\r\ngvFyjXpVqznJ0+75yOD7i3u54M3vWgBu83ic3wqWPChUaw6MgrEPBt6btqmu\r\nHE/rFreKhlP9XZKggJO/mVYmlb9WrXo2narZgvRr+NVq89Iysnz/XD9IenjB\r\n4JidLxoPvOSJtRLnpiaGbRhxgWeYyPxtNvVR/KNpUsVtg2tCjONcvCbnfWHc\r\n3pRnRZqA3cW8mAGdUvtRKsXmNI3ThA0+bTSKtZPS2m5EN17nygr/schPbCxe\r\nh9NZOZ/Dow0YgDjUmuzVNVdVV4aKtZpTUbiBP1Z4F5CrxVxfkzu7Tj83nMqJ\r\njIVSWfw4imYAjpZf270IT9Ex97UL/yBYaHNnjPmLAI73jkS0C/4f9WEHeVnf\r\nvETXDAm0DgWNjd4Vxz4BMACjkMQx2u8f8l9tXzc2oYEjdaXbuRq5XVNUpuif\r\njYfAgdcBnvyIgPWfEafnpk2aWtUONcaYUz0=\r\n=ta5K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5423_1681125185809_0.4141567446195886"},"_hasShrinkwrap":false},"0.15.9-beta.5435":{"name":"piral-single-spa","version":"0.15.9-beta.5435","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5435"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9a36cc1b229556a4a0fcd7075cc51bdfd6190fe2","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5435","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-iksiYUtpRTo/rIaJE+geSmwryd/2k2VGsiFrHXMdnFGOFp4/JmqJ+JShEdfyzJCm4F1hl17pxO/6QAzTD5jpTQ==","shasum":"4a17376be720aaf1f2329de74571fcefb59cee58","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5435.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH1IEsRUH2ngJXHV2fcvN/r9ZgboBFtVK3HJQhMwBo4MCIALHzq9pFakABBuZy5CGtxYscLW5p8eAMV9sZQ1kNxol"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNSgkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKmA/+K+x3wsBKzQYfJ4zL6Agb8dCTleTcU+o67G+2V17ffg2d2jqQ\r\nGSXKHj182rqsPrkrZlMxAN2XhtNk+DPBG+CzY94ZwG+bAjCPJOa1BTzSvzX5\r\nfF6sZurSqn34WSJ/lCi/ZMNxbrnSIc4sUISGtV1N090GgNks3sdKAb3kCMYC\r\nDmCiHpJkuZPTCbDL+md4YgfCWSkGh88w/YmNv7zXwkDCpwGrp/e3C8ASvnk1\r\nLf2A0ED0kw8+fAYAJO/Pa7qfG3G5u7h3x1C30F4EBbe4zACP5B1PCUmLsQGv\r\nMMBQj1g5P4JjZnaS1pFDGGNGg3EAIhEbBu2GSYoEgrXlofaBojuNjrUFuDVx\r\n6I/QjUtJGB+XQn9lSl5+DzS6VoguYbGojoOVt1U3V4QKXEYvNE60iClHtxJP\r\nAtoW25dX9XYBcadbhBa2mmMHIjfzC2BdeBzYJ6Ianv+CE0baJgZQzHkrQtrq\r\nde3DRBZavrwFhWaEjLJYjj3xhAnudmEQUna0wDgTvwGAnTDIG8JaavyBZInw\r\nMXdBjW3DZmjwdSrR87VFVx0hApYJcy8w2h+oykG/VpUnh8ot6AbsjTPT8Um0\r\nLkmKASei8V/uzknLdSt4nFnYajxQeV+OsXQ3p4TnZ+t3YVXbJBI3iydML1bD\r\nIwZIfRMPXTqqoThD/W00X8lDsR46eF7FwL8=\r\n=o+bD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5435_1681205284798_0.25444668159847406"},"_hasShrinkwrap":false},"0.15.9-beta.5437":{"name":"piral-single-spa","version":"0.15.9-beta.5437","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.9-beta.5437"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"f8f4a7e9d40f1867843e52379c9dc29ee737f409","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.9-beta.5437","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-7MA1HnZn34iQZAp7wD7CP/dGn+Z9GipYkxgLfjSEHSavNglG/FtCAu9NmBF+a9Qt2ZtMVcKf/dI4KxsvlhLPSg==","shasum":"bc98bfd185f4870e359773535abd965a78a4639e","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9-beta.5437.tgz","fileCount":33,"unpackedSize":24249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcMoOlgGtoDa7MMI6keMj+pQzpRa+dtDW66PV9Cguq7gIhAOS4mBtc3gp2miI9RvEEzjjfI6nusuvTrwa9ZC2KeOKV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNT1bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqQA//f+mPpLRayXsl5UGksYE4Ex0XMijrXUGyLyGUAXeBtIiwqXR2\r\nMf2kbNyI+j6QyeMd8mZnQ5jpl3EDUcVBp96X4s2dg+GsMgb24HWuaf2N5KC7\r\n4P1ZyQZgRqAd6yTbIlIze4IxFmCM+Xne20gqa8JtfEDdv2WiE2G5nBpolY6M\r\nL0pytG+I+j+wXDY3NFftNPSjjaXwqkwoO3qko/pERqzqBaIITSjun4fqAfX4\r\nrcRixVoPAAI0kdDHnraaWxK7WxehNGeghA7KJEoIH86oU2xXXWyOjnxyHIdW\r\nXgR2mKiYGvUajjnDCE6uUJtc2YywGX7XrHAgmbf7NJFfxXVh+VvDcgT5sSzr\r\n3J8WfGbn3jETysKczW/RWJflfSzaXUvAtadXf6Go7snNnpDV/W+dC6xqx84T\r\nkhvBZke2f2scFl+ZWR+GcxNvfQPi98fBQZ1MLWp8rbxb8oQts0N/T4nenPyU\r\nBzJlG3PcnEQAC0MrBcE/vD5lkhhB++PIADAUkplg8HTKBIsiG7fq4k54Rknq\r\nM9xXTHqoXw3SNR09R1aD0+aS+KgNAeUacbe5k0tnfU14YNUy8gi8LNb3Alus\r\nDiA+4l3uk/vrOwSyDcwbsiXNWFi9so8qY8/U8lYiU/hZmK4OT9yGR3pA9g1I\r\n4ehJMM4OvNzGIh3fgGOFFoEwQYH8jHFo//k=\r\n=apls\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9-beta.5437_1681210715309_0.23880173061863497"},"_hasShrinkwrap":false},"0.15.9":{"name":"piral-single-spa","version":"0.15.9","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.9"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"aa0d6dc1feda46ee7a459441d6bdee589f49a1ce","_id":"piral-single-spa@0.15.9","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-RDqjjiXwjHewk+zAu4S4nrmOJ7fEwINxsGrlxhCGHp6Qs+I5I7Z/ZGnmHFPEdXmazV0DS44897c/9FwLrlabGQ==","shasum":"1fe62fc22716baf4e5fa305e4b05b901436a177c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.9.tgz","fileCount":33,"unpackedSize":24230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLjusNySFzmyj7+xjDHaWpGOT/rAb3swgXfEaLERSftQIgcwQ/L9Kh3r4/0QPSK8OmtIya5li/59CX2bkrzgCc3jk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNaaIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr14g/9H+JaIdkSZwkAmNLYUg4Rifd5Z43s2Ka3ecjnuAykdEvs/WPv\r\nea9y34dC1eFCk4dK/zQy5zDQ+lv4UvVv+dRzNIpsSRhY9BXY2OHJ4SzuTMKb\r\n6j/FP3SUyNeAtenuMVBw7WPJBR0PNs8yaQjcba1FwFtk4RqxwLV8ml00DzU9\r\nX2ibLkHvMJHVXLGEi1FmQzSOPcFnej/OLxaavCI3oTtDqv8OA+hRHimM1OiI\r\nQ7mQO7IXKaW+Z+nM+AjRNeGejhqUBnQB5ddRftnr+ii+nz5RZiyBrqV/Yq1q\r\ntF6lrn1wyulwbbF/8NN+U/eAO9oebTkMtSPVg/3wGRiyFLoaZ0VuJXOR1piO\r\nQNyEPKL18fg2lsNdR4+bgTvdDG8CJRRudVovurb78fPa0r3DnlAs+jbD77DB\r\nPUuRQf1Go7p4ocBUVJHOPQeuyhrRyL/0XKuXgWIEUDAj+T8G9yVHnXGlbBw/\r\nzGFRu+yEDCAIgYlAphNgEbuWpGmHZ0ik7BMuBqd+h9sohyoDJcyfDfd28sLQ\r\n9jvk9dH2Q/k89NmSG+/tGZofhZ7GxffXnxIw55DdXd3+E3pFDofEM5pfcknP\r\n0DL6vJCI4d8XqrbC95ruEstxRa7I1UwL5AxaiHpRH6Io4qQFunsHXBAN5VbB\r\nO2fvxwEzHuFGGRb8DoGHAF/4GhyYztRsI74=\r\n=rub7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.9_1681237640639_0.11202969106021743"},"_hasShrinkwrap":false},"0.15.10-beta.5447":{"name":"piral-single-spa","version":"0.15.10-beta.5447","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5447"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"29c46cc421457235e89b8ce4e577b092d615a66d","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5447","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-S8G4XI541a5RMTgr2HahOFxELF1uZpCPHJc/zboJwN+1AOqD5HSFYjwbjmMNkVpFaoWJxuu3RJpxR/E8eqawLg==","shasum":"34ceb7f0d8bf30854c960d534b42c0fdfae773c9","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5447.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUgpBPb+lfTt/hl5kaAlz1M5CgjbsdNFEQshpPIV88PQIhAIjO6MqZUOba6VProY5Rw912se2qpXtwoGkQUix5caJe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOGLpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr7A//ZlIZePSOLPmTBoIYOARsxs5HBCJTDUwPJtEAFOm4y6at2XSE\r\nvnaO8kq75w5/bhnHFuHHUdz4zD7Sto2gaY/CgrYV5HkhdyiAO5ouOFA/TJqN\r\nMTozbkS6zJtsuurpgbjdbNgQV2ElqbgflGWT2yHBMS8OS0dGBmy0+1CmHOWT\r\nY2RgUm26chD8GTJnLk8dbMpZFniWak0Wk9O2PhWKUH4pPLp2OygqUa4KvQkf\r\nRd85AxP12XLtmMWWqrGLTFjXy7Z4cEzInRozz8JJOD8t5AhauiEuciU4RZVq\r\n3BmXbybwJcy4nBWGhez5EEHmAi6RHDGA6kpWeDtSO0ETLHoVNxA9BbuQt12A\r\nTgZwfzfp5RfLjFPW6QseNKPHkx/gYT/rYxrgHxPnR4vOedgOFcowFth++uE0\r\ncrlKICfHy4g9hMwkl4YnUxDI0l2j17UIsHNhcK4OKfUUcXtIRrqDL6+U8i/S\r\nU+tmSM1u7AxT7TbeCpSsWUrhGi6o+Dlx6rQr74OHtqVQYnl73PtpL0yTHsEa\r\nKxzgGP2fqUyYrQvv1KHLPrzJuIn1tSXeAXop9BA7rMwN+bY1W+DdAFRv/tJ6\r\nGJnC2BEeTBfzAwVTMBjO5yn+A7ViD/ZAj5qOa3n1f7LMcfwwoq1frboFEK5F\r\n9A8B/j7Zh6xWem5xWJRfmgd24mt8ysBgP3Y=\r\n=FM8k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5447_1681416937678_0.17505215272702923"},"_hasShrinkwrap":false},"0.15.10-beta.5457":{"name":"piral-single-spa","version":"0.15.10-beta.5457","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5457"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"dd199d0645a2126ee2c5be59d725b4b752eac928","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5457","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-V+pDFpWkvr0l76fSX8TUaDCyx/3b73NjY4ho/k/r9gSgqfBwAnW1rE+jWo9qoqxVVMXRIQRDfxALeAYeJWAOMA==","shasum":"44b6893cab6578efe4dade86bd52ab75c6c15cea","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5457.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAdGd+RU/8tKxbmeLVgUWneazw6QA7aKl4k44ja6vxeAiEAgMdr0YOln+DGVZXYj1n4gqdvrEyfzj6YedZBcdnzNqQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPP0mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpR2w//f0DfNFSj67+DG6rfNJIqgo/CbIsjkNl4b8uF2f2MzUJMe8Mp\r\nqi4TQ4cQOjcglSXCb2ozaXGRMskopBUZT4J7E6JA8aEV0cCiL10DpXZmsqO+\r\nsdnNe37cVw3Tj6NbDalefUOWiiM5IuoLJQTCCg0s0XKDJbdN0sWxRlEPrtTS\r\nA9Brp8wzGPVFyPLBQNBH+J7xbOXFnCR8bH3lboOw71q741hHEhOeCOexPBEQ\r\neF9Nk3r3Zn0jnqY1bhVSaL7U3uJCMD66T1ZgmyoterZqmG3WzUiaFMGaBEw1\r\ny3BOX/+oTTXYkUOpkq7dkJhfO/StkrotMyLPBRS6Zaq6K+enexP7KfDJ/wvq\r\nMeT10w1kt5hlB0w8pzIPaoYrhCn5GM3x5rUogkUJzLhAJX9FCUFrIv8nTQ5u\r\ndqW/WyVYi/ojZiw1BWsf1PFLtMmQNaF8bYKaFUNm+jJJyPbVPaqTKUgstBjC\r\nyeStdEs1yfov+UIwrILQGA+FEZoSmiVF+nWSALXANp/aEhYniHKa2bW70oO5\r\nzi5PFfSQCtn6izVkWmk6S4K9dU+Ixm2wjgMAcLioFEAWJ2FKqDkHPQok9nFk\r\n4OjZJ4iY4egob7qImYYf6HlsdJMX3gCQDdquS/QHj77ErMs5v+rtihNOm3jU\r\nCK6AVtdqlkHRQaQ4BWNaK3OrMPqRFE8HQTU=\r\n=M7mZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5457_1681718566105_0.1739582396315198"},"_hasShrinkwrap":false},"0.15.10-beta.5462":{"name":"piral-single-spa","version":"0.15.10-beta.5462","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5462"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"11acf184ca5d2a56c7f9674b12aed0773489ef88","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5462","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-smFr4xbP37RYqgKrKo2tyuySuVZ6maiFL9sZt8YrsEu7HqpzZdmWicDsfg4AXukyI2MNjlwNqdg240sOIegLfQ==","shasum":"9eb6e8c82b9c1a2da349792b0f7d4c975fd94a6b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5462.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/dbUrUNR7D6940gq/+nLqzmpe2FXtgLs2s0UPv0hP2AiEAxHg3ROMzCfVBm6gBF2xAmrH/XgoNfdvfNF9ZYNjGXak="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPlsoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM2xAAoavhpf2gi++5Rex8SA0bottBzV7rgFvvcjDuDWfHmgbKOySN\r\nhcmNZcANUL7fyvnHSzSzd9qUNoQZvlalCoVG4JRM+stG1rMhuH9/7+oeQ9Ew\r\nRYcbCz8bdlfW/+bxPw2CQFiEfJUfjsLKSZrEvWSongmK8qnq6Kuud8/eIhYK\r\n/3uEA31XkglOTf5UaBSti2juNBo+Vwa5x+xzii1FfMqTN3JrFHrMPrZ2plDO\r\n7Cl+ft7jmJGC4pE4BSJ4u4TrLTlXXgF9DEdOReKapwTodgLRCzCx7DJG8DlM\r\nP0Q5nu4L60VNffvEWIQijYRzXIhXo9pT830jvn/Uz1HcYvTwdUfAfKIFbb4J\r\nBQxS1espol1HkjDfH87jqJAUD5Z3vz3ERbdMYVFzDWgFVHMuXu6XAnRXMBbq\r\nSpVtBm9zqPlzt5at9+z7YSyCxL9vrJ1+N5xGnlWrMyUXZMI3AHaP+a6I1jYt\r\n/05cLAovy6fD5hoAb0S5MAfXdkB4nuBpyqeG4ZRVs/lc5W3tCrxFzH7DEucx\r\nC47q+Wr7onWf66iabf8m73ZopBMmmy5M0KVNkn6Ml4Bl/uQr8EUkQp9j5ArJ\r\n+gfKn0PA7By2Ae+omS0wvxAZl0vZ5Rpvk3WfHJNji9oGPdn/LZINAsXj3UGw\r\nOE0JSqkg+bSEXHhlj5pwG3fDmZY1Hi8Tu3E=\r\n=S+fo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5462_1681808168693_0.2969032437995174"},"_hasShrinkwrap":false},"0.15.10-beta.5463":{"name":"piral-single-spa","version":"0.15.10-beta.5463","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5463"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"49f28a0509531a5f15c763f1d66a4aeb7b8e823f","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5463","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-HD8aKvnLZPOnFTOwBTwTw8+GXO+ouu5eGWE5/k3w558IwAa5yZCfU8eSab2MxAMIw0AePWb+SQtaapcQg/XuxQ==","shasum":"883e24c9a45f19fd1f3e04b92340b3f14145ee1c","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5463.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRm2yoF+z2adidi8K412xcJoqzgNOoU/M3roHypwx9UAiEA3qu+IV2LgfafIlNWna7SYXLWHGc1Q/om/Pyx2lELfQY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPnNLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNnw//Uf+xtOVykd/jmyJclvynHyimnKDFNlzX9Kmpd4DOTuLX/nZB\r\nu6C0gsKiurE/KGqJEKuWVnTwQylW6CWbmaxOr+z47J9gE3HhvI4t7R0TWpxf\r\nPZTMe28JYQWTbZoERyBTiS/UGDJ2jwijxm7mGAs9cvt1rrNv8xd3FdfA+IjP\r\n26lAA+u6gtZT39hl1R7SVKpu+/CeC2LAskLh1yTfgYh+rk398GwGeqQeZMyY\r\nEQRS/nQPpIwl0I2+r15zgieHf5wwGb/FLGSQ5t+NKVqTgmv4Blc99uClxUbn\r\nxc1PKzjr0a0Q/v/82rNonOnbOziGL/zVY1ZnY4Jwc0mb0BUgZZnbTbU7+XZD\r\nbonE/Z02m4W44im28UdN4OVZo6pSs7hoNiqacTG/I6Ru93o1dRQBYVk9tUn6\r\nx71vS4OJ8s5Z04AUAcsyM7JwXYZ+4EQr33pNbsiMG0TDFSQmGTyPZegiTQfw\r\nBM7vKZBl2sFpI2Dq82YkAvMl+0ZxrNCJTUBUFQztVpfaFGZqcqEd60KI69i+\r\n1anLoDj+adiD9dN/xJD4Nu/0x3F1Oqq9XfEcqImVru0xShpi/fzrX7ufh88c\r\nHqn6aVTr+GLOc9O7JVSTf5iiHe5Eo/zUytM23wWYS2DMDjmORpw2OWQXQyxk\r\nfIW+ABD3bxMfr7/+EX6MRCSaG1He1C523fg=\r\n=jPrX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5463_1681814346971_0.528330938525599"},"_hasShrinkwrap":false},"0.15.10-beta.5490":{"name":"piral-single-spa","version":"0.15.10-beta.5490","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5490"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"c275a93204a80a1a8fbc40c266e9256982eedbc5","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5490","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-7H8b3lgvGVeA39IDPszHuCtfValafZnN/VgzVG6AoMhqGxHPfS+jnf3KFSAJwCm6NhYjeBIkwn3IvXRjMMSO5w==","shasum":"93b2c944068397193fe6e8776743793b7618dc27","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5490.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4XOfhgEP3WQViP/wHI3sqhwizIedRzGHfN9v8Uf7ZcAiEAsGSz7Li+B3VaWBqj0tqMa9bwdVmJLAUq0b/I3R3pafc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkS5/RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpY/A//TCW+UXdi5yLxDMvPP94rOheVFAQwrXQ2umEd8Psi1sps+1ay\r\n9nsaZtiFb6cDrjNcuzhDhjmO4Of00DJBS/uw4aTYy2z4NNWypTIcjuI6HRs3\r\nviXhk6D9HRSHpZtdmBKK1HbIoPp27cFHOkxOhD2ChQHdaXEWmk7UAicbyeVJ\r\n15rNGx4ryCVcY3aO7mTN8WG2V6h4sKazYTtVC6XCaPxQshv0ya5cG5EDKQOl\r\n2HeTo57TrjuSexaI3gWf5eAF+mFmQFjA96Dpte60Ix3DPnhsuH16hOmfXNdX\r\nDPwuH865dm2c2ee9m1UL1I2l9wMBPxQRRP6rPa5oPvZIIDWiLQ38IOKm8yN5\r\nDTuCfWTGrZJpdm9JkxqM4xkhld6KNfpJTQOC8cnHZm6KUF1QAVitmRUeqhp2\r\nxDTa7HXoErtOd2ayFxoPodEIzYSnET3eF2iGYNM9AXk2HlHN6m6arJU6gPFg\r\nKcuHZ2HmdNLNzJ8FAh/2L67atpeRKa2a8UeKX9u9Wo5OyZoCYh8Vw5SaZbhp\r\negwli2S5GRrSnAvPffQDQBpQiZYs7DJYd5InV3eUHrr+ZR+V7UsgMBLU7TLq\r\nVJAqt71Bo8lOWLDL6VRIQmVV8Eg9ATjipY5xVdt+uiD1qMgdkFVaLYNPUnlt\r\nq++tUyzPzvv+2XHt6I4hYbT+owfhA4N/5Jk=\r\n=t3im\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5490_1682677713203_0.6818510021715984"},"_hasShrinkwrap":false},"0.15.10-beta.5491":{"name":"piral-single-spa","version":"0.15.10-beta.5491","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5491"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"3ee67d02efb34989f4642076e302e0813d28bcc1","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5491","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-zThBX6y5TVURXukYdroRNP+nxuNvTl1j0CTxmvyphSZxbseQAc6oRYYJ3PsAYlWJ36XDH8xeu3GwAnxVa5L4gA==","shasum":"f50008f3677530054c03a01ac7c4e896e01f4ffe","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5491.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiKzRh1bTrCVshQJxl55E38bciCVEV0ZGLqezSNyTM/AiAukerX5CEG9P7ff773m52Siz8Bc2WoyQofRcBf5wgy5g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkS+RnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpcwg/8D7IjAngXOncHeHMh8q0LVbciRJ4jzEDkwTzrYsMqoIgeuKzE\r\nHsqUzyTWWnHTXOWksbBNuSXeahzuVk15nwhk6L/ma3SvCxOO+fsTu5qsJ4w3\r\nELslz79rJwCmZTB0xfhrR9gkW4qKwsjJnVfD8EaXgaZdJTFCIQmsOtUWhJNo\r\nJ+vHaQoVcfedMhkNSRrFJtSmhl/65ROZoh7Tm5zmyirgGVz93hSgnl7u4h/t\r\nwObK9DgxouC2zV17kuAHtjM4Y3UJd3yZwTZqJraWbod9De4BcNUYW3TV2qSz\r\na1PjAZN9YRX35l3mt++9lvOXQWJWR5lY/uJmqwDATim4cNKXy8hMzc+6/CyV\r\nuiP19vZfVeNHEAdwXcVJIa3KCq5plvsZ/I5jTaTKnKvLW6NtDlvpi7pnhD17\r\nz+zJlK/vG8C5WZGUdao8XtQZbBn3rJicNGwJaV1CKVYi5py3bEs2hK0Yk07X\r\n5EPd6frJfDM8hqU6prV35a9/WgqjEmL87QXOkRhQL6b6OnCmWpcO1EkcwoAs\r\nTDNiacmfVS8vO87aBvLOzVen5iHswNOI/NyT6RxtliA3ak3nfa5MaFUJgc0q\r\niuPkOyZ1Tta1RV3oVwdJRvXSgWd0fzXlEBe/g4kaBAMjUBg0e499L7QhB5S0\r\nsdFA2tlgGPAKpKcyH7yXHjyM+SO06uhIXqU=\r\n=Dx3N\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5491_1682695270927_0.2967838608108406"},"_hasShrinkwrap":false},"0.15.10-beta.5496":{"name":"piral-single-spa","version":"0.15.10-beta.5496","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.10-beta.5496"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"fa6436e21e3115c53329d622ae4c8bf88c62b6fb","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.10-beta.5496","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-a5TiVwsAnNumrlU0+nPToMFk8BVQSO52XhLrG9C04IXch4x58r1wJUkjuPix33hWuklLn2FFlAKcXTZfQor1Ig==","shasum":"ca24d84c2e128e04c2b3f74d0efac8097a17f11d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10-beta.5496.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKgsjQvihLhVCJXJ2AOJvBRcfRgTgW3ffd/74k4i4bEgIhAPAy8Dd5TjJwHOUi22+faWR/SdydnykEPyqC3oRKeU50"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU7ljACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonYw/+KivDF1WNaxi9zCwOoiPSFNONWwaOWO0NFcJ9we+shpxXPu5u\r\nIa8Jut+Ga3EIMHlEVUO2xoTaRl6YvAISYJ2SyxTTeI05426w4mO7E768eMVT\r\nM0gyyiAN2AQySSEOR3T/8sy8EUVprsfGni2+HHsrW15nIO6p6VW7nPrOdTRs\r\neXmUnYsx/0ebEHOB342RzClFZ8OSGte4LMCPkRNaWY04CWoeG2qs0Y8Xt+iJ\r\n2vN09c9ot3UfD2TuryBZwgenrxE4GWIeXtLrcRK98barOi3gA7jDqJEKJZed\r\nsniU2foJWM0aMoVuRti/EkC7pwnVR1CrpyO6LHVesXiw+PhwswNiTxOZSCci\r\ndlRkwgikqEPfuJGD2tD217Cw/hCuaHiqtCJX8AQVSaHiBmJByXysSez5pkNl\r\nveYy4a6QmNp14lE8+wbhwGeKmy0YlHPrtAqcusqEw408xdKxGNnn7fL7pvP/\r\nFedMzwdB2vYYG8WRF/uNKPX5ja2WtHlkWmc8ILEG7NRCcvISObqIVO55JcA/\r\nLm0j+xMvemzt0OkO85ny4DV2oxAUQiCRM6JiTGoWvAn/NJ1vYoc4a9JyLIOG\r\niiUJ+xEdkZidpYAeadCFUIZdvIMLG9nGcb666Cg8ofIdXHFzrfiKDRnMA/CB\r\ncp+GFSnp9G5l+6xkVx//qVNCE2Gvp0E20HE=\r\n=5jz9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10-beta.5496_1683208546900_0.06984909455963839"},"_hasShrinkwrap":false},"0.15.10":{"name":"piral-single-spa","version":"0.15.10","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.10"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"801cd5b1af1b26664f84294c86292e7b27e789b1","_id":"piral-single-spa@0.15.10","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-WbREKhR/+ySz01BTjMA3XwT1B6/NTj5NT0+qNGOSAgcGmks+K6MmTEHjTeVXLoycxEq13bGezWQbmKwY/gU/1Q==","shasum":"de7e8ea42497bd78ea6764264d7ea6d9ad59c123","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.10.tgz","fileCount":33,"unpackedSize":24232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqjP8hUg/muIj+W1YGJx877WUiMvSmVMxoRzkVu+gAzAIhAMB92wjTYX46LhfYaG4tl+MaaJi5zyXOeUO5vw5RKhiE"}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.10_1683541038844_0.24492284723166513"},"_hasShrinkwrap":false},"0.15.11-beta.5506":{"name":"piral-single-spa","version":"0.15.11-beta.5506","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.11-beta.5506"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"1a604e1dc6d75849d65f91debd27b5c0518140e8","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.11-beta.5506","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-Mdek98Gj9IbF7b3nSniSae66kmLs4py/b2ALwb7wSsW1vTlQ3zm97Lzn1NEFK9sMBuohkLxyMtUDVcNPQL0AKA==","shasum":"15fe4d97ae2ea52572672536f5dfcb3945ec29a6","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.11-beta.5506.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+PjMviGwLeZ1zwj0fRiXGbQJKLsxtoWtW1rDLyLof2AiBOCxtReBzh989Vsj620pnbAStwFZXNB6WCnMr+YdwKEw=="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.11-beta.5506_1683811595109_0.12994552144809113"},"_hasShrinkwrap":false},"0.15.11":{"name":"piral-single-spa","version":"0.15.11","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.11"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"513cd05c0234dd02fdc95abb8f391e307f309fea","_id":"piral-single-spa@0.15.11","_nodeVersion":"14.18.1","_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","dist":{"integrity":"sha512-SVW3RO9fZPOLlC7O/8+K+vyuU41H2MYP+nC1BLY87y3sKal1LaYMkYuf7Np7f9cqoEMJmC2xxmdd23dfbJTV7w==","shasum":"8343befdecfff206d41955a6069ff8a8c1c94666","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.11.tgz","fileCount":33,"unpackedSize":24232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOQjOQ1dBDBFx14WzaAVILHqfcvjB0OG9dTNIU3beHfQIgU5VbRw1BrpbCfJY2MONEpCN2azALpCOeb1seYROEes4="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.11_1684155529658_0.6962540799248857"},"_hasShrinkwrap":false},"0.15.12-beta.5528":{"name":"piral-single-spa","version":"0.15.12-beta.5528","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.12-beta.5528"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"6d97a2baca7ae3e5fb19a754ba55d44b40ed137e","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.12-beta.5528","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-CS7HXXfuoqeMPylNdxl6C6qGet5QEs3P/wCQsI/yYVrrCYJCnISeEbFO8RVAA9n+RiCOMExIdto9Hr2SwOdo9Q==","shasum":"e95cecd774cc146c989f99ffe9736c4fd5ffcc72","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12-beta.5528.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhNdIeuWf2GJc+o40/8QUsUl41WjG8eTgDg0fCuUvL7AiAWEMyPDr2CXwteBZRCEtxj0+jx7GpXudqMUUEg9gwKSA=="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12-beta.5528_1684281870663_0.5594089630316967"},"_hasShrinkwrap":false},"0.15.12-beta.5531":{"name":"piral-single-spa","version":"0.15.12-beta.5531","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.12-beta.5531"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"e305bf2bdfa60d6325a7db20f550b58dabdea245","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.12-beta.5531","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-ZNeyTvXOXmGrN+yRq6tsp4ehu/nApGRsUG6eTqgKi9XsYstUazpzI0f5kzP25e1Vv9FO9M+kANiHuto4hBHhWg==","shasum":"4012a2399eba6690f1130e31c45c3d127dc16c52","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12-beta.5531.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFajV2aj0B8MjkosaOWVKMCPi8Ymye6ecSpFmI7MkHlAiEA89GaLmlMO/4vvihtA7oYBJwDXfAqiv994yDCyE/LeSA="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12-beta.5531_1684342463389_0.8414430795223686"},"_hasShrinkwrap":false},"0.15.12-beta.5535":{"name":"piral-single-spa","version":"0.15.12-beta.5535","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.12-beta.5535"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"6decbca12cb26efb2b2b4fdec3d692eea1420cdb","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.12-beta.5535","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-kHAGn98IEW3aGPcEkvvOcOMprNIh57xrYv3t1AbAU8F3fl1MEij/NMGGjye2sNuvmQfcZnA/kluJzJv9/Q3lXQ==","shasum":"e6e3e201c03a6b8d2452d41f743dd79f4c50b1be","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12-beta.5535.tgz","fileCount":33,"unpackedSize":24251,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDmbys4R7DEJ00E6Zj5xjeZNZBo7OFXua8HSBCy5HQtAIgYOQ5XGpf4NyPuoPen4rXWH+A9Xc7j4aQD1DpgJ8D7/U="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12-beta.5535_1684481037354_0.38137789736555416"},"_hasShrinkwrap":false},"0.15.12-beta.5538":{"name":"piral-single-spa","version":"0.15.12-beta.5538","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.12-beta.5538"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"edf6a2b34e37e7d280a949f0955105e07ac01542","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.12-beta.5538","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-WkVoAekwRJLBlh3JzRxWacAksQ77eX11Aa0QTlZoHOb85YfnkDUMJAxk8ZxTS49ewKdy9pN4W/CrgrKuexoY7w==","shasum":"70ad4f59e1ad01026426f75bc45ad1cf88223f93","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12-beta.5538.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjlvp5Cp3RwdoEWn2x4HNluC3tp0lvSmZhNtBJOsk5ogIgG8Gnv7EIeXeIuGyD7lV2WQJREe5gc2/LRBlb8cnSsjg="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12-beta.5538_1684498183101_0.9999642986105399"},"_hasShrinkwrap":false},"0.15.12-beta.5541":{"name":"piral-single-spa","version":"0.15.12-beta.5541","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.12-beta.5541"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"9006ea1da868b2647caf6c142af29f568ae76e4a","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.12-beta.5541","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-wbHKPzaXvepwC/JB6FDoFbCAsOi5kvulSAvLgDRc+XJNSrUNQkbh6VjIXwseYFoOcS09X+pRiZBqhsDWXjZsBw==","shasum":"19291b833bc3c7b9ee40ff88ffd4d4efc3581bfe","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12-beta.5541.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnK1inGccEnN24AGA3qKHMsRuO2+eYBcOylQQw2ApIcAIgebSsfsOBONA7HSGqq11sCNlxm5mzupH6KfoGrOw7yZM="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12-beta.5541_1684513008226_0.9691727938892887"},"_hasShrinkwrap":false},"0.15.12":{"name":"piral-single-spa","version":"0.15.12","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.12"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"a0f06e81b67c81ebe4ff97ae593184fd1e0ba5a3","_id":"piral-single-spa@0.15.12","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-uEpsRtqRiNvtLgkM82R82sVsPQ/QI2TSosj2niaHqGyekWURF9nJ6VP5Yjy9u4UY0/i6BSEWWsLg7e950GL12A==","shasum":"f3f2f8744ef3e79a777f382bedf5a42b2149e26b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.12.tgz","fileCount":33,"unpackedSize":24233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcQ9BeqLJzAu8u8t+20+3pnyyPKpBW//OvDFUmuNyZBgIgOlSb09t1kjUzeNiTG7pkHfpOlnZdFoOOPjbOq31e2P4="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.12_1684538569099_0.16774302594025547"},"_hasShrinkwrap":false},"0.15.13-beta.5556":{"name":"piral-single-spa","version":"0.15.13-beta.5556","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.13-beta.5556"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"d18c25ab3b042b684687ecb0fec53c2b241c6fb6","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.13-beta.5556","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-Ok1/SviEOGxmx3YEABc3UyaOdpoZSC7xY7kqV9a7P8ATys6zEnHHxbpjYWN5evMTTm3a0aANRnFSdd9u3f7kHw==","shasum":"4179b1dab9b9c1a872a4741abea071b3c8c5f0e6","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13-beta.5556.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCi9gVUcV7FdiaRifqxukLUewhgwXK1IRQHYghN9FqYAiBauopMmO/2NltNSnvd9PmKzUI+9H7JRDw8HAD94sJ+gg=="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13-beta.5556_1684766128592_0.1316610297286085"},"_hasShrinkwrap":false},"0.15.13-beta.5560":{"name":"piral-single-spa","version":"0.15.13-beta.5560","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.13-beta.5560"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"18136ebf42fac6b296b8afb7a5c90175ae14df24","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.13-beta.5560","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-+dh5VvSImn8dd6ilzMIRieBiAuKoD/+6GC3Cim4wWttjUjhSKX9XfdBN1tPO0YThgOF03n1ANWluiHuIHkrUOQ==","shasum":"da91378d1495cf30b276ec008ff21a891403bf4b","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13-beta.5560.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0CJl0cQZzrglLO8EkHhxruqi+3AjjiUkDgQsilYCP8AiBChBFSGEmPBh1k7WsGMP26XzV/DByIL9XVAwpCO0Cs2w=="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13-beta.5560_1684931633911_0.29495379389293186"},"_hasShrinkwrap":false},"0.15.13-beta.5575":{"name":"piral-single-spa","version":"0.15.13-beta.5575","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.13-beta.5575"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"44084de3fbae6c5b7891ce9cbe99740bf74139d9","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.13-beta.5575","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-vddyvNL+5wzXj75iC5+onEifX1ghL+jSrQeL7QHdIXQQ9iezX0Jqrgl8/H2Ym25ubLNB8VM1kXd4oLjTiayubg==","shasum":"d2678bbac678f0a419a643571318dde79fe0dda3","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13-beta.5575.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/b4b9P7GUb1LaKtfzYito53xiP4wWuXACiA569o4BTwIgH0Nbf1DjRqbXDzeTtqTmWtWJc4sqJx6Iu+V7l7KFcXw="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13-beta.5575_1685117225929_0.6402638396924276"},"_hasShrinkwrap":false},"0.15.13-beta.5583":{"name":"piral-single-spa","version":"0.15.13-beta.5583","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.13-beta.5583"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"2628b867cc564352d75a019f1700a5acdd9587f3","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.13-beta.5583","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-JzBBQu/4hdGVlUdVa/d0aUSnu/RKOjtxWmBEuUwZuhwnOrjPRiSNCQHabAggdAxesUbP9kQGYBrv4m0+XOQ+hw==","shasum":"d8a96b557c0441ea02e0a44e4f09cfd98143ff1d","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13-beta.5583.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMOSJ0YosBW1e9tDGfaN9kTukpQwHg/ijdxrmAiyGe2gIhAO6mvIQHdwbLQOF+pr22jgwQsdMGRDXodWmhw7uu0dTm"}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13-beta.5583_1685364954581_0.9150139859045798"},"_hasShrinkwrap":false},"0.15.13-beta.5591":{"name":"piral-single-spa","version":"0.15.13-beta.5591","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"0.15.13-beta.5591"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"784a1959701dc0f13b9b8aa0edda2c7ae7c7390b","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md","_id":"piral-single-spa@0.15.13-beta.5591","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-GoyC2Fp6Ktn2bcqojrnTD/fb9LDiYapF/rBhEzhfIWs11rhcYg3YxWwkmXf8ciCw1icT6uD2DbEHKhvJ/deKkg==","shasum":"d4ccd09c4b9ff55cf9a7828075142dc6a9f4ae97","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13-beta.5591.tgz","fileCount":33,"unpackedSize":24252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaEUoamHkt7VzMLfvaxAHQiBvAozseYU+ZvzcL/AgyqAiEAjtFR9EijNBkDFy2WQ/2aU/cHUyBoRPwJC+qSxg9mLx4="}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13-beta.5591_1685526402750_0.5080052214304684"},"_hasShrinkwrap":false},"0.15.13":{"name":"piral-single-spa","version":"0.15.13","description":"Plugin for integrating single-spa components in Piral.","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"author":{"name":"smapiot"},"homepage":"https://piral.io","license":"MIT","module":"esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./convert":{"import":"./convert.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./package.json":"./package.json"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"scripts":{"build":"yarn build:commonjs && yarn build:esnext && yarn build:convert","build:convert":"tsc convert.ts --skipLibCheck --declaration --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","typedoc":"typedoc --json ../../../docs/types/piral-single-spa.json src --exclude \"src/**/*.test.*\"","test":"echo \"Error: run tests from root\" && exit 1"},"devDependencies":{"piral-core":"^0.15.13"},"peerDependencies":{"piral-core":"0.14.x"},"gitHead":"1c7ef348ee00d0bfd2d8a5af20bb846d6d88f485","_id":"piral-single-spa@0.15.13","_nodeVersion":"16.20.0","_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","dist":{"integrity":"sha512-P5o3wIKKIk3vSk8soZa867DocUu0MZ3eP/Y3sYHK9a8b3329dtgYPBi/BfCzMHG1Tsrr/9Eg8ByRKhFxPo2EzQ==","shasum":"14514fd89ba388705ec9c5e24ff6e79882747ad9","tarball":"https://registry.npmjs.org/piral-single-spa/-/piral-single-spa-0.15.13.tgz","fileCount":33,"unpackedSize":24233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPesnLw2u3niFYQ+pSCM1KIQ8nsuKadyQPvpht41PHvQIhAIzirlMqlrVeusHL02orA6tgCU9o4tMuC4VyLiTxREAI"}]},"_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"directories":{},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/piral-single-spa_0.15.13_1685526408467_0.06103067319362521"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-19T22:53:01.277Z","0.15.0-alpha.4231":"2022-05-19T22:53:01.382Z","modified":"2023-05-31T09:46:48.713Z","0.15.0-alpha.4257":"2022-05-24T14:55:42.386Z","0.15.0-alpha.4284":"2022-06-06T09:52:09.717Z","0.15.0-alpha.4311":"2022-06-08T13:41:09.540Z","0.15.0-alpha.4314":"2022-06-09T15:00:07.567Z","0.15.0-alpha.4332":"2022-06-14T10:23:51.441Z","0.15.0-alpha.4345":"2022-06-20T23:22:50.795Z","0.15.0-alpha.4355":"2022-06-24T11:41:03.650Z","0.15.0-alpha.4396":"2022-07-05T23:05:10.547Z","0.15.0-alpha.4399":"2022-07-06T13:49:24.812Z","0.15.0-alpha.4409":"2022-07-07T17:10:24.796Z","0.15.0-beta.4411":"2022-07-09T12:24:07.462Z","0.15.0-beta.4465":"2022-07-21T08:16:21.913Z","0.15.0-beta.4466":"2022-07-21T17:20:30.392Z","0.15.0-beta.4472":"2022-07-25T23:17:31.205Z","0.15.0-beta.4512":"2022-07-29T23:10:29.313Z","0.15.0-beta.4544":"2022-08-05T09:15:42.167Z","0.15.0-beta.4549":"2022-08-06T15:55:59.108Z","0.15.0-beta.4560":"2022-08-08T10:06:49.089Z","0.15.0-beta.4574":"2022-08-11T13:57:23.853Z","0.15.0-beta.4579":"2022-08-16T21:30:18.970Z","0.15.0-beta.4607":"2022-08-25T13:13:19.284Z","0.15.0-beta.4630":"2022-08-29T23:57:40.147Z","0.15.0-beta.4633":"2022-08-30T19:26:03.184Z","0.15.0-beta.4670":"2022-09-20T22:34:20.927Z","0.15.0-beta.4672":"2022-09-21T22:43:05.545Z","0.15.0-beta.4696":"2022-09-29T15:33:15.585Z","0.15.0-beta.4699":"2022-10-01T23:49:33.627Z","0.15.0-beta.4708":"2022-10-02T21:47:52.296Z","0.15.0-beta.4715":"2022-10-03T19:00:28.862Z","0.15.0-beta.4725":"2022-10-04T18:57:37.529Z","0.15.0-beta.4739":"2022-10-09T09:53:31.505Z","0.15.0-beta.4751":"2022-10-15T14:15:20.284Z","0.15.0-beta.4756":"2022-10-19T23:50:58.521Z","0.15.0-beta.4790":"2022-10-25T15:06:38.361Z","0.15.0-beta.4791":"2022-10-25T20:42:40.383Z","0.15.0-beta.4798":"2022-11-01T21:17:40.391Z","0.15.0-beta.4801":"2022-11-03T14:02:51.520Z","0.15.0-beta.4803":"2022-11-05T02:14:57.868Z","0.15.0-beta.4808":"2022-11-09T11:51:05.500Z","0.15.0-beta.4812":"2022-11-13T01:15:40.842Z","0.15.0-beta.4813":"2022-11-14T00:49:30.009Z","0.15.0-beta.4815":"2022-11-14T10:56:43.694Z","0.15.0-beta.4816":"2022-11-14T20:50:22.391Z","0.15.0-beta.4820":"2022-11-15T22:37:05.471Z","0.15.0-beta.4828":"2022-11-16T16:45:30.813Z","0.15.0-beta.4830":"2022-11-16T17:56:14.120Z","0.15.0":"2022-11-17T00:45:16.039Z","0.15.1-beta.4903":"2022-11-23T23:36:02.168Z","0.15.1-beta.4906":"2022-11-24T14:27:32.279Z","0.15.1-beta.4908":"2022-11-24T23:45:30.057Z","0.15.1-beta.4910":"2022-11-24T23:57:50.299Z","0.15.1":"2022-11-25T11:43:58.797Z","0.15.2-beta.4915":"2022-11-27T08:02:51.412Z","0.15.2-beta.4921":"2022-11-28T00:42:35.483Z","0.15.2-beta.4923":"2022-11-28T16:26:03.477Z","0.15.2-beta.4932":"2022-11-30T01:56:29.250Z","0.15.2-beta.4938":"2022-12-02T12:43:34.380Z","0.15.2-beta.4941":"2022-12-03T14:46:18.852Z","0.15.2-beta.4943":"2022-12-04T23:25:03.053Z","0.15.2":"2022-12-05T01:12:01.676Z","0.15.3-beta.4955":"2022-12-09T17:22:09.080Z","0.15.3-beta.4970":"2022-12-13T11:18:10.651Z","0.15.3-beta.4975":"2022-12-13T17:12:55.018Z","0.15.3-beta.4989":"2022-12-16T00:38:29.213Z","0.15.3":"2022-12-16T16:25:33.073Z","0.15.4-beta.5008":"2022-12-19T16:08:38.044Z","0.15.4-beta.5013":"2022-12-21T12:08:12.696Z","0.15.4-beta.5015":"2022-12-21T14:35:57.857Z","0.15.4":"2022-12-21T15:55:08.511Z","0.15.5-beta.5022":"2022-12-22T20:18:06.708Z","0.15.5-beta.5054":"2023-01-16T10:08:03.391Z","0.15.5-beta.5073":"2023-01-20T00:08:41.463Z","0.15.5-beta.5087":"2023-01-23T08:12:49.236Z","0.15.5":"2023-01-23T09:08:16.236Z","0.15.6-beta.5100":"2023-01-27T00:54:54.961Z","0.15.6-beta.5103":"2023-01-27T09:08:03.723Z","0.15.6-beta.5105":"2023-01-27T13:08:34.372Z","0.15.6-beta.5106":"2023-01-27T20:02:30.450Z","0.15.6-beta.5109":"2023-01-28T20:47:34.293Z","0.15.6":"2023-01-30T14:20:43.002Z","0.15.7-beta.5126":"2023-02-01T09:35:35.363Z","0.15.7-beta.5134":"2023-02-02T09:29:17.266Z","0.15.7-beta.5135":"2023-02-02T09:31:46.921Z","0.15.7-beta.5146":"2023-02-04T10:01:16.239Z","0.15.7-beta.5147":"2023-02-05T20:04:28.167Z","0.15.7-beta.5155":"2023-02-09T13:38:49.264Z","0.15.7":"2023-02-10T09:09:52.383Z","0.15.8-beta.5168":"2023-02-10T20:21:28.331Z","0.15.8-beta.5218":"2023-03-01T17:37:17.232Z","0.15.8-beta.5219":"2023-03-01T23:50:21.465Z","0.15.8-beta.5224":"2023-03-02T13:34:36.291Z","0.15.8-beta.5229":"2023-03-02T18:03:40.320Z","0.15.8-beta.5238":"2023-03-03T08:53:35.711Z","0.15.8-beta.5261":"2023-03-06T16:07:04.427Z","0.15.8-beta.5269":"2023-03-07T12:44:26.446Z","0.15.8-beta.5276":"2023-03-07T22:30:16.728Z","0.15.8-beta.5281":"2023-03-08T08:19:38.296Z","0.15.8-beta.5283":"2023-03-08T08:19:46.001Z","0.15.8":"2023-03-08T09:27:17.602Z","0.15.8-beta.5316":"2023-03-15T08:25:53.690Z","0.15.9-beta.5384":"2023-03-29T09:14:27.840Z","0.15.9-beta.5387":"2023-03-30T07:22:20.201Z","0.15.9-beta.5403":"2023-04-04T17:11:48.930Z","0.15.9-beta.5415":"2023-04-07T22:35:50.479Z","0.15.9-beta.5417":"2023-04-08T12:14:56.976Z","0.15.9-beta.5420":"2023-04-10T09:18:52.135Z","0.15.9-beta.5423":"2023-04-10T11:13:06.017Z","0.15.9-beta.5435":"2023-04-11T09:28:04.940Z","0.15.9-beta.5437":"2023-04-11T10:58:35.460Z","0.15.9":"2023-04-11T18:27:20.830Z","0.15.10-beta.5447":"2023-04-13T20:15:37.855Z","0.15.10-beta.5457":"2023-04-17T08:02:46.279Z","0.15.10-beta.5462":"2023-04-18T08:56:08.841Z","0.15.10-beta.5463":"2023-04-18T10:39:07.087Z","0.15.10-beta.5490":"2023-04-28T10:28:33.356Z","0.15.10-beta.5491":"2023-04-28T15:21:11.099Z","0.15.10-beta.5496":"2023-05-04T13:55:47.079Z","0.15.10":"2023-05-08T10:17:19.006Z","0.15.11-beta.5506":"2023-05-11T13:26:35.324Z","0.15.11":"2023-05-15T12:58:49.818Z","0.15.12-beta.5528":"2023-05-17T00:04:30.855Z","0.15.12-beta.5531":"2023-05-17T16:54:23.539Z","0.15.12-beta.5535":"2023-05-19T07:23:57.518Z","0.15.12-beta.5538":"2023-05-19T12:09:43.244Z","0.15.12-beta.5541":"2023-05-19T16:16:48.373Z","0.15.12":"2023-05-19T23:22:49.353Z","0.15.13-beta.5556":"2023-05-22T14:35:28.753Z","0.15.13-beta.5560":"2023-05-24T12:33:54.101Z","0.15.13-beta.5575":"2023-05-26T16:07:06.132Z","0.15.13-beta.5583":"2023-05-29T12:55:54.734Z","0.15.13-beta.5591":"2023-05-31T09:46:42.886Z","0.15.13":"2023-05-31T09:46:48.588Z"},"maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"description":"Plugin for integrating single-spa components in Piral.","homepage":"https://piral.io","keywords":["piral","pilet-api","smapiot","portal","modules","api","plugin","plugin-converter","single-spa","element"],"repository":{"type":"git","url":"git+https://github.com/smapiot/piral.git"},"author":{"name":"smapiot"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"license":"MIT","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral single-spa](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-single-spa.svg?style=flat)](https://www.npmjs.com/package/piral-single-spa) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a plugin that only has a peer dependency to `piral-core`. What `piral-single-spa` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.\n\nThe set includes a single-spa converter for any component registration, as well as a `fromSingleSpa` shortcut.\n\nBy default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance.\n\n## Documentation\n\nThe following functions are brought to the Pilet API.\n\n### `fromSingleSpa()`\n\nTransforms a standard single-spa component/microfrontend into a component that can be used in Piral, essentially wrapping it with a reference to the corresponding converter.\n\n## Usage\n\n::: summary: For pilet authors\n\nYou can use the `fromSingleSpa` function from the Pilet API to convert your single-spa components to components usable by your Piral instance.\n\nExample use:\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', piral.fromSingleSpa(spaComponent));\n}\n```\n\nAlternatively, if `piral-single-spa` has not been added to the Piral instance you can install and use the package also from a pilet directly.\n\n```ts\nimport { PiletApi } from '<name-of-piral-instance>';\nimport { fromSingleSpa } from 'piral-single-spa/convert';\nimport * as spaComponent from './root';\n\nexport function setup(piral: PiletApi) {\n  piral.registerPage('/sample', fromSingleSpa(spaComponent));\n}\n```\n\n:::\n\n::: summary: For Piral instance developers\n\nUsing single-spa with Piral is as simple as installing `piral-single-spa`.\n\n```ts\nimport { createSingleSpaApi } from 'piral-single-spa';\n```\n\nThe integration looks like:\n\n```ts\nconst instance = createInstance({\n  // important part\n  plugins: [createSingleSpaApi()],\n  // ...\n});\n```\n\n:::\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md"}