{"_id":"@capsulajs/capsulahub-workspace","_rev":"97-bf75dc6bd84afe92734605b679aa2d2a","name":"@capsulajs/capsulahub-workspace","dist-tags":{"latest":"0.0.3","snapshot":"0.0.2-alpha.1575380902.32","next":"0.0.2-next.35"},"versions":{"0.0.1":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.1","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"0.0.1"},"_id":"@capsulajs/capsulahub-workspace@0.0.1","_nodeVersion":"10.13.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-odzS7bcDuCUP7furMPL/ZIGcFlV+RSK8R2cZ8XEhgt2g/1Klb7l9ueCh5zSwQPjFqWUuL1+Oe/Nn+u2IpG9CGQ==","shasum":"f9e7241991b786af0d8bf4a3da5e23dc84abcc91","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.1.tgz","fileCount":47,"unpackedSize":75397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC4mxCRA9TVsSAnZWagAAkQgQAJhJNX46gmA+Tcd4/0Db\n09Sfcr4ejFU0bfzu7Q2gUOdcqf29mOAhpaVlzrey3odmZhnYx8hKKNcxmmPU\nN4YWGI6wlG6y4cxDk5aQzwNE5wXlsE1upv/KtlNtIew/1DbHItV89/luzrM8\nZ+jcAZN9oCthQuxAcWZrAK5HwR8/5kmSRSL+LcIUfAQRf5mYSM47LoKvpIxt\nihkrbt4VcCaG0edGYgcbG7imhtrQ/vvMHyg2IAzNCT4eIWAVg56mYZ9xkojS\npfj+jTJSho/oJgU8YxPNScdl9P7RhsYbquTTg0eS0JfTwWfdTXAs2TuAcCg5\ngJKQnAaUX0EVtL7yl5S/WjB/Hn2QvK8RShVM8rhJ3Cc1C0M2bavTOPBebyqe\nySzIuW1MdKH78RflUFnA3QbX+s57ysCL6qvdq5zfHHsuqvEr0MeR7vWlFjha\nufSqHy8BRm6PvbkIt1TPSyZx+Ao2Y1AQplITHQWKrRafaSsegTwGuWWeSJfR\nvpE+BVW1Gq526TF1wVWpFVeTbq9XO3OVHDvA6MUuxv6ZtH/D4cfoJ/EPi/jw\nW0hOLPJPLVNfk82tKE/5eqwXEvHYx2sQzVtWLVPnOqrqUtrxl+9/b/cfofxO\nhUALcBap2NVsgxWRv0Qgcpha2cPg0QxvrbjE0tJ3Gj+aXGGPm24+/sf2eqJZ\nMWf2\r\n=6Ru6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDguKmb4yauCQOEbpzwffc2CS9XGfTFiVeR/uKvJe2u2wIgQcniH9qmtrVlHc+is7xJuOrCjtN12JHvvKLR/21Ci9M="}]},"maintainers":[{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"mikesquall","email":"michael.arbib@om2.com"},{"name":"95kach","email":"michael.paliukh@jivygroup.com"}],"_npmUser":{"name":"mikesquall","email":"michael.arbib@om2.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.1_1561037232903_0.6341471300034702"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561037640.57":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561037640.57","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561037640.57+554a84c"},"gitHead":"554a84c6efb046deba2019ac45f21acbef55b4de","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561037640.57","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-NEIAF1x2bC5Pa1V0D5jh24HrgSAEBj2m0cqjIDk1M3WtlCiOnDBHKra/YtmZuJULUD17Xx2EA+nD/jYXlkPLcw==","shasum":"8769bee9d404266551659400b6371e9f62dd769d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561037640.57.tgz","fileCount":119,"unpackedSize":1267789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC4tPCRA9TVsSAnZWagAA/7oQAIi9fxuyo9LJhAmiTIM+\nf/5XcnwRcbq8n5LeRXdXi/8nFQn2RZr3LdBBY+GCFr2JQv9Qptz11rFsTn63\nqgQuT8Z7aNyeOJbvdh91EhhfjtUDOrka/gav2SOwpLHFx85d2EX21XveT2p6\nmal3yoMDTh8EkbDTXNUo1BqDi76cDNroUHsHRXlznidEECezkETtqtTqkRfF\nEGqJQa0iT3Fm0JpzjZaDvNI6jn4ivl9IhYdvqFJuMGOsI6RqZli6mAN5Izlm\n1S+MYhLZRcx7Q1rb19dcVSFm8Ez0FFZewLd36qj8iiG4aFYVCnoAFDIeqspI\nxYxV6CiIeL8+I87tyomHKZSkTmqnbBbHRnNe0qwwCUQCfSV6aqXeufB06XRy\nm9UAuqAqt+D6U0J1u8ZMCigLIkg+mM9wwhP7/6feLM8S5NVOPbgBuMddsxSG\njSaeHnOul3CSWn1aab0tjKPsnVRG3KseUKUZSZsJWnnnKyC/PmB5yzi1RjkK\nFnUWZYeIX45xJnxLeOGUDPJMkk6rKoc0AVeAiDQ5m4FvaNykdrcgCT2lzWu8\niw3m6/RmaU8hoqZ4SH9wRtrLilR2z3vLF/L2g2+qK21csZ8+3PTq2losKS1O\ndGGz1/pxtg/PRlS2YMpxp7TyNJL2qN/Tx+/vXn307epPX9oQ4bGQXhzB/k7N\nVT9X\r\n=jXmL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkFgz8v0kd7XxVjRHmlwPqwV0PCGrjqxQFbs/F1JOnXwIgKPpuVdB/jeeOYZ3Q2uBMQNACrkMNUFPUK8euFmklfls="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561037640.57_1561037647244_0.12352968087075444"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561038696.59":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561038696.59","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561038696.59+1ee1061"},"gitHead":"1ee106192de4fcab90fb5ab25974a022a30cf96a","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561038696.59","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-XfyuYCN201BDFAvmZvYP5xS4aqe1nJuo5Cfq1vmc+3INb6VCcO+s7fAJPMVPgpcUuMC+KsOOtQalHCPtVORTkA==","shasum":"ca9e3b3b5aff4b1957a37ed78d49a70491326f3c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561038696.59.tgz","fileCount":119,"unpackedSize":1267879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC490CRA9TVsSAnZWagAAbiAP/2J+B8NwQoquxMP6Ts7F\nw09KXT+qzmRv4maOp7xj2+qhN5X3tJ9NqqGk5NrYtr4E2Rf4W0laFCFnYnHk\naXzi5K0aIqSfil5jGToUZsdLgdYJogkL1qGCm+v/vRccGrzGRIo5mz07e6Kx\n9yZLbEFIYZMKfgvOr2ldTVKXyuhD4XMfKnPzdUZLGb0E/mUZxl/cBCdsIsxq\nEI8zRIrjqmD3kjEMtwJP+RoqPVPB+Jj9hBRLw4HItbHv6425BlZwF/cNta+f\nomPslFPhiZJHaDqNp3uT1bTpyAZ/iCD8mBYY2wNI1PYpyLLP5slsHUK9vgEQ\nvPPHVb8RVTTNukoIH0GenW1QlpWEm1nhpwYY1e/BY5V9OoDS7ebHgxh+xyjH\nOWwpRM0Ak0qsys4+tiqrasJTFWTawpDIXa8p4NPOA0Wv/esVbuNerrG/ddrn\nZesfO5aLs2ZeM7CX38SBEMOLcqIRD6w8+erTq7FwHPOZduPgtQ/g9wrdyIaD\n0mGw/pDcHb8HL5eAbQCjfh8b5PiQfozOqXsGYd3PIrw4WqJbAqsyApDlck63\nGruu0hX5TmYz+3WcUl7TfUqVauz1wLhdW/Q/9GBixcJ0DB5XK7Q6S9v0tqHr\nbFoOvroaQ0b1qp/izqSuK0AeB1NYm3Qzp51FjTUUHMXhRcMwJto7lIuVbeY6\nDaI+\r\n=VRq9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPszuEvmVZO5UBdcck1cRY+AOFRvdZ9riGOTUVyrjGzAIhAOauLBGyr5+G23mMoiqMxIvxH7w/rHZtFaQLjv7gmJIM"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561038696.59_1561038707697_0.9181360048467275"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561041240.60":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561041240.60","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561041240.60+029f8e5"},"gitHead":"029f8e54cb11ab9d5ef7ec464546d6f292d8998d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561041240.60","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-GZrQ12Oll6e3IEQGRt+sZ21zG5wcD9MvJfSIcd2aBn6xVKIpTJFMcKfcxTi75Pj79AIZlCmN94zK62ddAwiJlA==","shasum":"94d4a77f458b95874d3e4e6dab31a197305c3b33","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561041240.60.tgz","fileCount":119,"unpackedSize":1267879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC5lfCRA9TVsSAnZWagAAWkIP/2fu7qPzjhipW9FTkdoi\nnr6ZLDhkMA3w39OXcWauyzx99VAd79RSEVmA1dZE4mz+xT3NhXE2+g1BjIXy\n3TVtQL3f7onvk6v8ydKteXzXuOCwYMaITcPfFX8yJei4Pa2K21oLOc1ni9QZ\nSXgzTY9sauEPVw8pm3cMN4AKjlki/iKSrcdwc7OtkNJj4v38F67H/b4meA/t\n/2XzfJhq+sfMs08zWt6ohonwpl2AS3pEQu+KyVYQW0sRktAtCe1Qjq58YBEN\nmN8TWC/FFDZAhht4gYjrkrpfNHOnM7uq1sN47cxa4Kn0IHjoOhUfDWAsFWT6\nyU/C8cVCSTbHpMPZQw7JpHOv0eFSAoyIqAq5g/P/5mmpVht4fYQOmqdjntBl\nkO56r53cV+G80NyhfhCbZnSG3tpmDrhx5zsRxz6AOLzBQZfHqjEJZ4RNLJgK\n0XGvJxTEz5o5+3JTcdH+TpWyfJtxmPUvff7SGAhQkzYAhGvU5G2UlGUUoA63\nDKDE23fPgDw+2/sPHiOIMFsIiNDhCv+y4XyDv+tEm19miTre2TU34srv2Uei\nIOClIN6kf1N3LW15V5p1n5Fy9xe6vfy++6HKskSNOHjC5xXcq30KOixIhaze\n3IppVbRyL8tiMG3go7HKmsQEVk64yIuOPWWDfJ1e/ovgul9AAmjiYDECRNPG\nOYIt\r\n=koYe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1t3PwtOHrY/jZqN7J15S6lnQNMcW9+WPUfAY51v2jTAiAzQGUoLF8iKP7836mzv2McPmDTVE/gF+9axO88YqY0ig=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561041240.60_1561041246545_0.11302783985895082"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561048159.62":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561048159.62","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561048159.62+e6a472f"},"gitHead":"e6a472f1cbc31f01b401f01a90cb87ad1fad4974","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561048159.62","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-+p22GAxNX8DZJCWw3lPr2jelU9YwokTTjFWwNW2y8bMQLCv7kJtMAkpZpRvYhdZtdgk74zgxLPmo63fLejjcoA==","shasum":"d43de4305467d5f4380c9089417560c1036e5b35","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561048159.62.tgz","fileCount":119,"unpackedSize":1267879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC7RoCRA9TVsSAnZWagAAs78P/R0q077Pk7TGHWvcJHtg\npXEWUofUox6DRHPeIAggMR4RA3tTvbrlLNM/ZgkYxJjk4kYZ6cKEKLTl4mK6\nMGySTfDyzoVSpy6t/GJ86CuqaKdIkohHTWFrm6riSZwMt8zxNVrcXH93oVgJ\np85U39pIKJut43u38BSNKWX4s+zVmLmIQqjASASbwW50o+2kSga5Z11XviN3\n6zcLclUk/Zcg1/HkqrX01uWPiGuY3D0qHy6+JAReHGCm724PemYCijfZJXyC\n/D/ddHJqObZz8UDhxJRc7UXMpC0dGZqf0Mk5OBbzSSZeCaqOrIfSSR1x5Z0z\noTuzweglzkyUTW0swTsRa0xsuF6qj+6wl7AtuOQ2eBBWt4m1LSIF51ON0PI8\naz9dtNnjGZhEfOzTKO4zrGGnfFXfTNBSNoYBGQp83N1l5fCe01kLx/jwTFFa\nwNqiVYTkkQ8f7StcGmkX4MlHlc0H8KiKYJ8g5tHXm3luqTzVt5WKoavHjHsY\nd3WEDhkUylFuJje2IqdCPU+Fg6Wo2P8zbhmKGR5Facb85J8RttewY85nZmzT\nQsxl2Mu5zFr0HBcl1+cBBVbT5rC3aI50W+mgzFduNdDqzmz94aeo50vmBsgI\nJkcWiB87JtbOgje6+MuAfnV5yL1vzjMm94UTKfxND/SgRRQkEXcOUTW9mEZf\nVwu9\r\n=gyL2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlyJgrcDBk049gJnb9Y5iD9dJXA+gC3avYmwC6Ng5EtQIhAMT8H/2M2G8ADvtRL1JL8QMzKlypZaSu4ga/8A8UeCIJ"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561048159.62_1561048168164_0.39465031316134924"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561054339.63":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561054339.63","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561054339.63+3d61790"},"gitHead":"3d617900435fcdd2422552f3cd44be32f550270b","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561054339.63","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-+Ig/8GX2BEXFjDQ1PcO69XL+RMd2X2b3v9vndl8ReBi5evI6Mp9wDL36gYOw0Uoj+A75wVj6WgZzEpKjfR4eDA==","shasum":"e6ac61986442ebd4e3e98d5674e78ef1fa858380","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561054339.63.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC8yLCRA9TVsSAnZWagAAa6kQAJMF6XQqaA/Uf3isgPug\n6CZTQ0uEH+FNDVyexuZi0BqTDQCXxwOKZc2pgYo2I11vERnhG7txiYA1AorX\nfmMLHXAUbphFhMBS8HdHGy06kj4Dq/VIWR2cOXUYlHK8saxdg8SVAzfH5A63\nr0u1P2u7Pcmpw+iilXx5X/L+N4z4yQ+GWi36pAGFap3HRb03Oxr5ahrQjB5a\np9YteYozeoiqQin63j2h6rE9Fr5+OI92tdwkDBU2cMp7IQ5BQt7eG06jb46q\nCRlau1wCBNeBt2LS1PJfliVq4VevE4oa36PCcoH8mFwhM6SduZJR/anAKVAc\nU2cee+HCBTaBehV196acAnbR0PUJR7PbTMOMgDPA4TbPP3esVGP+6seUYCOl\nn27j1eKNxC3UvNJYMoVquoUFPjplz8xfttODwJw0GSJ1ujBIpv/Pz7lSldj2\nenqM8KDql73Jr/py4pw5LKTITVX2PmPmMpz3RxD35zctZl8B7nI84JhLC5YG\npiBmXczAXystBVu76plheObxUP6IMihDFDFYwPMklSB2I5kuXPDVmVI3Gahq\nPqvNA5sqW9bXzjRacpiXS4/HX2HVDreknLRHpOhseXSRQ4ga2cC3Vl0XwG1G\nnJrZTWN3eThRS4VS8Tw3WYhzcHhGs4FxxG2Zgf48P08HhGwojP+GXRR4Hydd\nQQaF\r\n=yofS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFQrJa9+hkP7puZbPyot/rukOMx0p94l/epMB6GTzr6gIhALumWLFOo92tncZIuLT2mzhTt92H8NRpWT+rc7Kw7r+0"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561054339.63_1561054346277_0.02659091120837931"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561056178.64":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561056178.64","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561056178.64+f368598"},"gitHead":"f3685986c3eab0bb0b69a4b4c5d2dbe01aa68048","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561056178.64","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-xgm2Sx2VrnF6ZCkoRu72uZ6+YJUjhpIqmnDKKk6WtAu5pqqt4GLeqiaqWE7pc1e9ZSIw42VO6ZZ+J8hJrf4M1w==","shasum":"934294987dd95bc29daae1d82ae1448a09717230","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561056178.64.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC9O7CRA9TVsSAnZWagAAQJgP/jm0rypjWG6QcP62uedk\n1KcBr0uFcmxFvgq1bFHcwlFzuuntos+yQ+Nu06DBb5ZtjAbsnRlLmvGpXcIP\nfbU6yVsuUVGJ1xCav9YXXkTaCbYVU1eU3mPTVcHAdF84Nc0IRuMOPyefaxIB\nUcqUVO/MQ313EIjVGoVNaQjYCgYph7MZnU6w1GZxwa2BgsrSqKs+h3UjF90H\nvWL4XyeF5s8TKw/2bbWxYjfxpiHne6s8AN3jLkzBitbRLsNZSxDgyg/iYZP7\nsLsZu8lRlKZsqI1fNVxYONdFYpplG4pm2eza2ZccBrIn2Xa1FEjFJvPTShy0\nqdWkqniBag2q9Np2U/8i9favXq4eAgi2x81nkG5i3odzJbEnicg/yxfM/IVL\n2SP2lIyGFw/W5ThIMlk+ZSjOmiGPAgFZOAgDt9c39hmR1M4oFZ/rCy+jIZaC\nf00LBCNG9AQS79X365mNqUECaWSS8SHincmJlUObGS5BLRvfHxJ4mcJ8+d8c\nn68pOHf9k8N3yH5IX+ft453EZ4HXKPpJjW5xPRjY/8xDySQF8VT2xpf8XL2q\nBva85XC5SYvs9pWC+WS1KNWZv3N61MgjHwBfq5Yl7wFm7VsCxHQnlmj+MjiH\nR2PKjN38Fi8hzxSCB5dTRE/s9ZaQIqWr0wlbkcSCVdzcI1kGeyOUeJaNEnY4\nhY5C\r\n=YZSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAAs4t91KM1NtGp4G9luUSZdTRCIdpB1Xx6/olulrnVAiEA9iMW4rX1P6/oM4YaCJvSFJLfdFisSvwGxjFChJNkvBc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561056178.64_1561056186458_0.0833838301023404"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561058185.65":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561058185.65","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561058185.65+a9eef8b"},"gitHead":"a9eef8b878e75d86000a3e9c3dafd335754334b5","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561058185.65","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-7QCAZ4wy67sWrkqo92N009auvVPdJYc4rPIOKtcOV2OizJGt91cAt/34A4S1xSJZyYxnbejrXG5l/syErk7evg==","shasum":"22a9017815198c46d92fd566e149046b984477be","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561058185.65.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC9uSCRA9TVsSAnZWagAAu5YP/R4C5465d7QidteSzEp5\nMoEyO+mHEoQy9Vgar2fyxXRCGgH3sc5b1wWfUrWBRoQ9qKXlX50sTZo0ABVk\nrjDKbnIyjyqnrWjBJCA+ZjWzD5QAcCFFZ7wN+yu9/QWm2hICX5UT/t2UL8h8\nmYAOPdeWPspx/U6JrtZ3jWesy73ldHiz0wTpuH4KfhXcOg9ddpWJ8K/wMHUh\n0EbbBFMaLBbrVxgtGI6hsEoku2cRXZNiUDBjq5vB4dzAhg+iqeJ+Jdnii1oD\nDP25wh8I/9z4RMTYxhCUlGAhllkrpP7c9oPGA7S3Br/UyIfD7S64GCEjRrJE\n0EaSlCBbAHAY0qZs70LIQWD4v9APi+walk5CgRg8r82IeCZupDyL6C4KCDrR\nBCmVU0BYvuhXRgQJJZX3PjeQXWg9cHofHLgBwZ1Vs3jf9tP/uHqVxXEo+POS\nu6SrEgrsgFRA+cPzkdn6kkByP5Wq6CtXTyDXOS2KOBkQCSYEZmowMmGbdQNI\nLieDXEkGoqhcz7+5dC+e0CTx4d447IQLaXqZ5A+1noKkCwrLv/n5n29AMcOp\nZk3RdZ4Pd2wVaOT5091Hp14zQSUgt5XyMoW9Ezn9C7Y78a3x941tN7RVKtp+\nieXh1+sMrbpn1+490RIqd4QlyW11xgbedADIpmUHKnhILeeOqig8PKa+JlRA\n2lq3\r\n=wtGi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEszhQFcMfboAqPp9QG4/+n2DAmrJYPpJj6ZVQE8xnGAIge9V1z8l7WzBATuNOOtRhm0rp6is2UwgB+naZYdS/Sk8="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561058185.65_1561058193904_0.8740895020845652"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561059678.66":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561059678.66","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561059678.66+1b1950e"},"gitHead":"1b1950e1ab7c32869ff75ced46135df7695fe1e9","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561059678.66","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-pX/v4CvE8kRK/6YU2QXt2KftM2otwYpsVnzAXQdRBHJVOT3C3av4tsDP2J1vv6W8suWCHdbRog6catzJikfoiA==","shasum":"fe8634a1c8192e00b438f83a0fc5114ea30b8667","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561059678.66.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC+FnCRA9TVsSAnZWagAAJj8P/0POTHbUj3cbkBJj/SCN\nRU5ROl7MmWOzGHANk3fHPu0xauLsvmd7s7Yh+28ZcmScHsq5mxpmUEEqTNHT\n3e+uSFGQSU2fVlfiLt8I6tbSs24hazV5g8O36GQyBDmkd5OQVVo/i1W3im7n\ngkj0PLob5TgVsJuiRZd54+VYO9I602/nR9r+jSSPQlMAr8cVF3YEnkpMB55X\n/Vvvf8aiCGMB0cZYMNVmT79r0iAzHcAduHC4xXlVARiokc5B+GgQAf660hOL\nIp8DQpvuHQLpbChAPZkAoXPh1qWLc92iV5/Op/NaMvR64IlD9XdHmO9JCl9p\ngF7qTnXJnejdh1rdDfUdLIQ7ErJJcIFnDtZ5p5kxoMq233/7qgv9jd/i/JtV\nBIq74pXPi+KxKm5JbOVWozQZxjeAAhsyEGdVpY+brxF1O4T+W/cD8NTP8Yyc\nroLTFLsINln+AqMxQWyVimbFMltM8Ss9Y2mwnpg61BT6JtTEtqA/uMKIRHrE\nXqp2c9koaPohvYYCgdyBzYc5G2xLRliMhrAFw11Dh+YDnnvoMnQ6BFZovUlH\nCrwszaw4SUe4dK1UtkxDIFfdGQoadswX/0QQRSG7NOSaXte6LYfaGKcYaYOW\nyvI17dosCe/vmY5pB3ZCZBbfKuIMFukOaEtCdD9oJxUof7p2UTX0as55lSPc\nquWl\r\n=ZRJk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfrbbZ4s15HFtATERc4jxsRtfolSNlXEsNo79g0qik8AiBlkAQj49YbKm9IZia/n/rnLHIsAAfbrCSGGXQ835IA/Q=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561059678.66_1561059686372_0.0908511877287963"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561060646.67":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561060646.67","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561060646.67+e411870"},"gitHead":"e4118700ac1543798626a4454e32bf54a37d6c59","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561060646.67","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-jjOo8C+FLtHiimxNMWf1c5rWmg++4w94Z3CIQkrcaVgKrkFuvnUtDw8xCqMxMq5q6ond+du0Q5OPeikmuX15qQ==","shasum":"2e92de4c715cdf5c47205175b3d4b7627e4b136c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561060646.67.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC+UtCRA9TVsSAnZWagAAoBoQAIiuxAYKgyv/ARzWLc6r\nWNbGI1w4vCk/3j2V+lEbftCyHQSNcU/Uc4Z1ls3V1pPypyUcChBuytHpmQSg\nxplmRPBCDFgpFFidyhkojE4sV5LRco5KtY7jfhtOL1Jmr07BmWYcvO/vauDq\nYyH6mONPnqBQv/pi/xk/Bl9Vs2/EiRZZ+vc+mwANuKLpR7OYvp+c5Tjxk5rF\nuJyk8CZb76wFOsTsSjKNpIIy3lvLurEci29mXDuevA4T259vSjI9bzS5EKvr\ntigk56or8Fw/4TD6kGIH6dd96fwwYomaneePYb0ftzJgnJO3E/Em3nWYyNx3\ntjkZ/+pFQZMgqZzWlFkkfDAuU9din+XEAaSruQLKm0F9YUPN7tzaZ966dO5z\nM2v/mvzOwA07hxFFO/AvUyMtKeI9ZE+erbE31o3o2A+kkZA3KOTVEbtqUBKf\nio4cbZhQ3Y5aeBq+McWyF+Vj5tdbIjWpwfor9i6++aNeWvo7E62ougEUpYcS\nV34bhAYAMJIvE5PkI2AHBo8VuQ3v0EmTGROBmk3vOROQi9Yffx6oShXd2VQM\nJmc+pVGXW1dhf/SmSaSho2tNV6NOTwiPqovE8Z63GQIbMQ4hrSItpivVkRQM\nSn/UXiMtBy/KZCS0wk85nWZ7Tz7qKrgRa0y1mxCjBgP4C5dvapRp+FgddIOU\nyYVe\r\n=TRez\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9X6GHJpCpJe7Zp/QjvzEtlx+Sa16Wi3MvXDui09U2iAIgJUs+nWRUlKUXfelBGqv5IINC9qqebzNEqJZTcYvRyyE="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561060646.67_1561060652468_0.9737923106304616"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561061165.68":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561061165.68","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561061165.68+0ad6b8e"},"gitHead":"0ad6b8e3a0cd12fd3d7db118b597fae0c478fcae","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561061165.68","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-9Brfktsst2OvXbY3zQW9mLmJw6/MIsUZ7LDWmboXdI5Gtvsko4UKTRneFEbZU/7pmrAj0Ex9nBn7HK81k5u5NA==","shasum":"10f510a4866b4aec1b895615a9938ac2283a78b2","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561061165.68.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC+c1CRA9TVsSAnZWagAATBYP/1WN6xRFfTjUatNiSe64\n/fTDLP8Ma1JLl2BI4ubTfsGQeAWXIASoX4U9D9Y9np2p8HvvUTBbe/h3SKWx\nEiR1wWbWZ4RfziA3AJxZBpbRzweK2DGB4SwFjR84ujfy2utnzYkyh9MXJ1Cv\nXtrvQxjfSf2oypQWSSdol6laMYHgQ/UdCI0xpdxX27BRDnVIoOjQzWD/wEis\n0DWy9ayaQbjvMghOaMl/fop+QumPBVFdBhRGiKzegtJM4TPDYch3fS0jjRpk\nJoK/lh8vx4Cz56Npmg4201FQ60WmsN86ZDM/AcoCNRdJW6gG5pGXTS/tPL/U\nNm6Ox9DMzyLhwcbp5Kg8IfIpHSanUB3UgNNiehJ0feSNRd9lsWGom4mpR6U/\nrUE+jUqlRtMCs5l+HkwcIaxr0h1EqSEAOUP0NE6wf7IYnsFS/kBckIlLyLrB\nO4RxqyX/BKKaQ3QC54WK28L3k8RHgYEjCg+AC6+0wM7GFZ6cTRDVlLgZXfP1\nQr4cgLv7sH1RrAAEe47rrLluhkUDhoVj27JpXuqV48UZQvcKdnJRuM731Zft\nnf6zinubOejBw+KECXeqqagLG2wBNJ+WV1UZFOCXDpGie3CXMIvFD30cgF9C\n9JDr5SNtmLL1GyHPZdzCvgAftDBUPenn4S1Icg/52DYCZqUBBHX1r/HlmXoA\nJ6ov\r\n=VEwO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHbkYAgPno6EFdwhEIoNugj7jVNzWEE3ejecZ0reM8bgIhANzkVqjUcb9vJu2wtqhr5c1KHPYhdO2Prnor+Bhx/Tuv"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561061165.68_1561061173117_0.7865126203303405"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561062231.69":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561062231.69","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561062231.69+1be893a"},"gitHead":"1be893aa945f4b2dcf42d63f56d34224f0945492","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561062231.69","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-q/AJIdrUN+byfR5bQKcBt2EwTdTvT1LJMtU1Sj03s42zubVJYDMSSa2KYOF1XceK6rTCzYz9cctf3Gt6CsOmDg==","shasum":"94147983e41e82cdbfda2c189bc5d56bd5d6bbcc","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561062231.69.tgz","fileCount":119,"unpackedSize":1267987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC+tfCRA9TVsSAnZWagAAvPwQAII0lXTI6WAtuHg8qPEy\nx44Zk1CNjhaSDSY/gnWk3PC3O1AzB+rGFnjD3czfu34BypPHKbknyE+VmRg2\nv5Dk7JnxhzFp/N284xzy0BKNDedu89MpGDb3JbLybA1wwC0jDv48ubPSzNbV\nPKJjTC0B/TJ9bSILkdllCG/5YqyU8edxjioNnW/MqIojWghOp0+dUmsj7SX5\nDJAxQTyXjgrT/hB0uHYvrfNP7LyV9p0e/vjy1ArPRlJWLnX1a5Jh3yutKJFw\nLAqWrc6k3KSAyrMYuUptPyPUQ6kIWpUc2smm78A5CklUZK/MvkHu/G+M8BYi\nIreimm9ytGRSSqS1VAFin0B9GuMTT5g23qg0USwXDvOIzFp9ViFluFaspSst\n+OUJmMoMK4hK49ltY+y0yN8tWIz3q2uEztGTyANUhoWQKyU6ECWCygmZx3Ir\nPlQsdAtSWe270m5SDqIoNw4zeRDV9BoSfeJj+WXGyo4Kutve3t6HBU7CTmuR\nSYoaXs2ME8sH2x+GF+Jsx2bFwIvRBaXog+matCOmFp/qKjcYGoeXOPBuM8dm\ns9+61g3kesi6jQ3VFW4tW9rFOJlgwPzHoyFnxNY3St1LfZbnRrvFhndD6IRw\nHMk0FdXSMO6Vi0WAN4rXZPc56kxLQ7ZSdtz7l3TlA+OCDqST0XJOVgx5AKsa\nXl1F\r\n=R6n1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFSviz68QDiqvMSUJjgIp07w1vcqauoGwN1lk3UvJ+AQIgMwe8Tg6QeQWOdDhcb08L9SEg5DGKu8WmD0EY86OZCpc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561062231.69_1561062239263_0.9831211863587814"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561285132.84":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561285132.84","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561285132.84+a679579"},"gitHead":"a6795795ee92f387d4441f9c7d3645b468460ca1","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561285132.84","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-ExmT5tzS1B4Qy2t1urHDtthuFvly9/s7n8xU9GEX1HldeAaZwGzRzbYRLJhwMFlkhwmuAyzD9vqUZQ1dGLM4oA==","shasum":"484b3fd887f47513b8a36267db51a6a9a5db4c8e","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561285132.84.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdD1IXCRA9TVsSAnZWagAARj4QAI7IyRcZGWQnBuc9Twi7\n5mexYTNEJcyD1/ojfJsS3PS3zRnfoTRUiVIuofUWcTiF0FVBf52fv38j9vrW\nvl8A3Sw/fceEvZAvWYkP5HeX7ID2tkBPkDdJe5ffdNKv1QUp7MtLmHb1vBK/\nD/7wWmQldAqcpPrFd2CuKZq32AUrsQ6MvdO0aS98b5OqPzslJpWyriBv+EcH\n+Qg0ttZim0w4/UriFPJCygeZFfuF7LJ12BkuQR//MCeeivM9Rb/+XeIfi/ly\n698yUOQRe/t6kXjAhEFrCDKdsPArzzEsxZCdd1Sb6ll9OQ+zo58R5TfZ0r2Z\nH4UojFg1tq21iN2DDPJ6wbFSNHa0kc59n4VJkKXowEPlAjUxKUL0FoQ7hiE+\nM9Hbv5Fpe7z0OSR0UT/SP6QZ8HVCqR9GtEUs3NmKRd1ULRfB67Lzahxfg7Kv\nVoB8WspcJtygm8Y11zRi7L0nxlw/pNlOj+jdQvwzBXgqXrRIN67D15afkikY\nsV8vs0VaT4CNBavcl5FlHOjmJAnCUOo8RpGVPoOmFfuIsP6ZUgPavPIVMYTo\nz00KmbOXGDCl3cXywGJo315YCslzaZmrLgLIzq1gD/EWwwPryXcZbHNC8K8p\nkiHwrxwn4ZFfqZfo4ca/877F9QSjoBn6IoYgpZz0IcW0hWCjkRKraj6LjMMy\nr4RL\r\n=7Exl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOOKX72ZEMAE/dNowEBCqBGyaJ5EnGxiGtGmvJfef5dQIgLhmNiHhyufcmGXM0nydFEN4d1O3wVY9RI056ehUqDhA="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561285132.84_1561285143046_0.12336498338966995"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561302091.92":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561302091.92","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561302091.92+19c846a"},"gitHead":"19c846aa0651e7f85aee27611b82dc7ec2af6da0","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561302091.92","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-ggFuiH+C6DNf20IWAQWcRZCfCKz6ijVgB1Mzt4P0gAjUV0zLX7elfKRwUm+K95V4B2dMznog9zOPzuelEhfjAw==","shasum":"e20297056384a352d462468cd066e69249606a8c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561302091.92.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdD5RYCRA9TVsSAnZWagAA2uwP/jbAZSyfcKBf5TNsV+Ze\nP0KSdY9W715asLsqZqIMhi33SQQWAxaHUIhxFkXEGvRCVa71xluDfYF3x/e6\n98jaVte6RaMC/rZRGjmXwsnu9rCB5Zw6fC17LN+3152PEQ5iwn8HGQg7bR1e\n9Z8Ech6Qfs41uTZXmXGP5WN2s04rT9FCEVxq4prbybGI8DqglLstGJ8VFelQ\nrOO7BfBYU68kibyRFSyaSalfC5qz5Q+AL/qiYQttRc6GbJhYfdga7IMUaVK4\nhf+6Mc7x7Rr4vHZedeAalo0+A/XmTrt7PIZbR6SJ9/b9kA1sVIm7P7mpb/Wt\n3iOf8FxiQSCCpNxoH2jwrgaE3jl//PFamUDasf7jopAYiXDv3lqNXf2B/n22\nSRDNt/ziA+3ZQn0Z9mY0RHLYN1ijazQrvukFh76k2bJ3jyIZXWoNmpQYTll5\nU4+CcvJQM7cD8qsjty4CD5rbxZO50xHsg863ceRgBhITnM42Vda45GKhWC9D\nUCmBIdbj+EhaS7N/v8jFqVJVtMeSOHqpyh81SzKRBvOm6z43tCGR2z2hwLRK\nWl56jsefewhl810WBYzH5YtPOKAuuPjHduSMmro+B+K5uqk75g34kNKMBb+R\n9KgQTZeKWVKBgsACkmQF3eu7AfmCtN55kafANnJOWFRd0NYkCCZeQtoUEbrs\nfBIN\r\n=nM6w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCkeltD/r/xcEKdgV22l1JRaYpDQXps1hsczSfHENlMAIgeHmRKckbiIZC0gaR5rtxC8pgeID90V9hrlb5rnP1vLI="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561302091.92_1561302104216_0.7429670270081958"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561359432.94":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561359432.94","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561359432.94+0a30f46"},"gitHead":"0a30f4605eae94467dfbd45feb7991eb5b97feaa","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561359432.94","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-0eRKerH+b9CzVyq8K70XbEYbRbtM1+UIi5kxlD9zsCBytG8jzalmLGIifsP2I+GTcOjguL1Ubgk8EYmugu8GXw==","shasum":"bd37302a4522d43535fe2cdedb1bae1a18f87152","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561359432.94.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEHRTCRA9TVsSAnZWagAA1PIP/i3rM4ZItRrM50QbhncW\nXeAttbemfmW6xeefPAmGHfBXFknWkMtnEYTHlKHMaxGdgX/jP8jdgyh1Xic1\n8gY/Vd2q/kBGljKOb5OAtgUC0Z029g5t+Sxx29Ftj9sQLLgaSqdHWOzVhYsF\nhefo2kcvlGvxb8lozJt+t7njoXY+qT3LtDS5Rm66BsVuPJbSxmIcE2aeCZfV\nbrtvGbXP+D5FXT3SZ0nLqi1YEKU1XmMEMB1o0FPWRv3XHXfxj8KV+OZkTbJi\nPVrcCEg5hztVanxJNg/pnboJkD1245QEBVinvNnsenV1hSEZGz52Z8jFZ7+I\nmpdVe6otpUce4YencS2jqm2YvSfd7KQd8w41F6YJrXcn7mDZLl0az/zALEok\n7Lk+AJSfT20HXSVYwNCqI7Kgim11gOtPb1cJMQXGLiSQ1m0sAnnUwB4SqtxS\nA+rbocJCME1Ac8HFzuFmPMr4K61dVlIiBtjNEX6S80BBYozBn3peyRRmNKji\nmQv0V1D3QfaZ1tsAXw6aGPtHEiGjNYHdWeDHiovefRP5cYPBMbnarAV7HkA+\nLg+EvElnyhDoG5/rU1+GxQwS8nLMhTIIurfJ1BSUCbrLSYV7MfARwXMrRZOK\nnhBxPFLfSeiYYiOuJ5+mIWB3A7fq+oc0na201YWQw2aR4r5hqCQXOhyn+XMI\nW9IJ\r\n=6uKr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjYCeQwPQhEqTXfAkH0BBplhhCz9IZUeaqMkt32sTYBAiEA40EmHwXvyHT8vJlWyFzUi5uy+hGhPO05nXBY6ORs9xE="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561359432.94_1561359442377_0.5852646198485805"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561363371.95":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561363371.95","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561363371.95+38c93d3"},"gitHead":"38c93d364f8351c9d85cfee31cac72b46c13fd1e","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561363371.95","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-rc5hyNrBzAmujFKhpTE365Dug81yjZuPac4a4ReWI2yxbLy+2U34bGz/0iAPfLozcdN0R23JTiHA17/iaFJT3Q==","shasum":"aae8b87f23b2628b15b222d74c7627021d6de934","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561363371.95.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEIO7CRA9TVsSAnZWagAAcQ0P/3ejNEd5XfnLquwkKQUV\na+3xsJCE1iQ8EUxwUUlbsHgfAlDQVdyeZe5kcAX5TM7RODIuTdPc412KPoCm\nCJm/3EaGtkpTyx9lopub6vMbKHlQNWaFkEmvl0rsLnGOWYrKPHibDBiOEEw/\nL7tuu8WCDLONYqmWPrBisH21zeawZeKL3aYgryYz3Twt+bLU8ZbFc3/WlCY/\nGjc28buDV+0F9NX1ytqGktAonOfZd9dcrnQ9KJvEb8XuZ/O2lJd8wqjfo+mX\nan5fd/M4aXp3Xjq8cs/AtbA/aqz0veKWnXgrnwpXeG9/UIlwJ1gD6AwoDM2n\nTr+eaDNRpktONK5ItpbOmYLihbh54qNNp905k5Xi0R735vHzhQKneQtivXjp\njV4Sr3PEI0BJe/OxLz8oalng0uGECh1ii8kXFYHqNC8ZOD5olwML9qBg5K3W\nDnyMB7Hbs5PqnE1tuoQ4Bwc1FSJ2HbToA0JQcH58IYCeta2eVAsTGhGaABWW\ncnEgcgOO0Sb+LSFJjgDfBnKWHJSdipFTI7aPr59GixPsmsMJNVaYGUy6HWgz\n7nznFw4Rbq9iX+IXFaV8qQta5gGPuQwEq/MvP5ldA3ePFPYzJAOVsVn1s0pk\nxVlQxp4DpTcyEf8hWAorQN0X7Xyd00323mPjSrjh92pni5E6v0S7U/w6/+SG\nufli\r\n=PQHD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVapTOJBDAowlp586JWF3+PFds+ErdCxNOg6xe7mnqxQIhAIZoGg8IUoGCPHXcppzXOcSCdpro9b2doSeNXRYMRuby"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561363371.95_1561363387300_0.6222167530923477"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561365744.96":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561365744.96","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561365744.96+c797484"},"gitHead":"c797484c72507d7ee8e46781e3dfd728ee19e147","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561365744.96","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-r5Xlymr6902BmfmknZpdViAfLoMIlFkLFnchb1fm23rWWAT3DyzZVBio9AXM3eqWQwyCcnhYKOVP4Bz2yALEdw==","shasum":"6b1970a447503cb282fe9fb4b08a56bd0688854c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561365744.96.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEI0GCRA9TVsSAnZWagAAHK0P/jPr0e573jpnlK3zAe7y\npzh08RjQ9hfqt8Sb+453nmgZ0g8O/c7y5GIqNQ3tlQUbgDXPezGq55clS63q\nUMcdf8y7OOiGq09JJcI2Q3sPoHCsKX18oH/+i/ucK/I/uw9Q0fpUbfxsrb98\nUV0esDDYsNpMIVdlXvGonkjs1OoLyQgIAceNQ0lViS5mjf4+UPUPnmbylBEp\nGcvQhalPUFvMjOEN0+c3RgD0NIKpSyVK9U10IWr4pAiA3HL2Xg7uSx3YiYqV\njUoOAnOqnI5Z1bFC/vrvhQ7qtUUIhVKjoIPyrBeKpBCgFaWLLjwHdmRZfItN\nzez39k1V1L/kxSoedApzTA/N9tgCNISFcTY5i6N+AF5Yn7mz+J0SEgiTxk30\nbEoEeAZAJmXynuZLGVQb/+w005UtC9Qt9tejLixIB9708vto37q/3RqQPWXV\nmfhaH6F6f90T2z/zhg6QmRRyCZM0Kl5AAXtSc3OMHqs4HQVv0J9mDZIZ9zHM\nEbM6X42193sXNy/P24cQfoVkhfyUZG49dIw1SEZWBYY3A4Qr22XIo4dfhHYi\nYW45dzcFkZiGpeeBDeNtCbAF3ci1rQa3S5U5vvVm6rv15kZP9MBxkzzsYRJP\n0qAC+ZgIDddxoDNlt326cKbmQE5iZV2lx6jW4erMdBhRVTu52nEiUDHTSaj5\nDxCt\r\n=dUu5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNxDS8qbUtHJYLHVt01n+RrJyf9CYh6p6xHDE1tJN56AiB5NJSr2FPLqgxCDI2JjznaDxgZnXgy87b6f7CmxalQIQ=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561365744.96_1561365765356_0.5596115826393988"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561367055.97":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561367055.97","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561367055.97+6db391a"},"gitHead":"6db391a7fd6de7c042caf03ddd37868469ab185a","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561367055.97","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-QwmfXAVjJ9M+VG1JiIeXxPJmRjGAFFp50QpyjAOPVVJxi9OaXUZuZen6xK32M7oNm85VZZnYlFGbOBWrtlNEAA==","shasum":"43e71858f6f8025e72d8a03cc5201028e6a544a6","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561367055.97.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEJIcCRA9TVsSAnZWagAAyM4P/1qsGpVFSbg9OcodIwTt\nk04g9ccqRzCK98WCOKkFjqT9UIaH7HfRJCWfSzZI4s9l+oOUSOq+YGRFII7k\nnD/cxpffHs+VUzH+Skl0KcCWTbZFgep/mICtU+/Rgs3wTBm1wLnlBW/MO9nj\nVnl5k51oIxzGjMhRANzIR+DUBWOmTPjB/mzXdbGLyBoPdh7NCvJlVV/77eI4\nIBhUNV9P9DNbrqdv29papZ7kC3G4CjJrL+QE8bD7tOSQfPayTRqJZ8F6ICzJ\n6aQ82YLDIh4G1PuZc/Su/dxiDmQCVA2jm9i2DK6FMXINT89/KiL4mCPazq6h\naE53MefLaH+RUz5j0ygVzMhrDkoLoGn0anSWnIrT/nE0zzpFhyTcGj0q3FNT\nOOKNzmie0Z/980EvheG4L4iECqMhfsQxcQBD6/elJV/wKc7k++04GWdoDwlz\ne+57aSnbHP8/FgAyvakdhv2X6zC2B4Ew5zjNTfJKjarJSWmOTHXd5m4FPEXJ\n6n90frn2M+w/J2BtKMco4ztBLnNi6WTxyGkpBnQvxq0zsfVM4sROi21mphMz\n805avgIIeKj/GvAu18A58MzrciJiHfMMqjsZD21P7NN/iU5P03dGkSg1t47q\nieVBecNwKFlRe2ftOdiDXCH2Ffbcslgo7ejlJYtWRXCliSlZfXutdI3SePA4\n7o5o\r\n=wZe0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2BCoEXiNLuqOPMDiS3d7DBZXxJ+8pto4JWyNBJ988lAiEA3ZXqUwB5jgUmOT9PTdyC8GhmAdS5rE5rH1Mx3lks7sE="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561367055.97_1561367067974_0.141857827486372"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561368432.98":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561368432.98","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561368432.98+b51509a"},"gitHead":"b51509afbc5ad32a6a001cdcc0d58df0feb75877","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561368432.98","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-Lz2+ygV1banRJs69uVcWZh7YoN8k8sEBoPAOo3ZhH9CCnefVN4sNxn7yEl9snKH4XQUscaA3NG9zQWTSwV2vIg==","shasum":"e844c077a745709172fbc52cb977a039e31f8b51","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561368432.98.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEJd+CRA9TVsSAnZWagAAfXEP/2/y4SY9gENH8CZybzuY\ndnzj0g3Gren50RvJtV3AHtKw4wbo9kcdwBZaOD2ErOTx21SCi9moaC5mok40\nJvEpErAli28J2rZvT+7J05zeBpX9RsEBNJZwdg6ao3Mcvn4+sFPDQ0OkGGxJ\n4IKmgbFFTynWHO5uPEBeEo8LUkCLoheFXKAGb8TM5DWxseNlJ0mSHf6mOk7U\n7u+eIkAhV23s4oLFpxk+WsPAx3uHjWdoE8G1EGflzL8XeBUziXYaSMk8fMX5\n0Y3YHdp4XvqQH/rP+sqFcVUMBJS1bYQfgIA05sQRmgCG6Yf00zKIM02o7Cps\nUzWMXJ6mn+w6ZHkkhhbeHxEs3jdzu6IhzJNQyjlbZ1LFEEiJVAc7Sur4qEPc\nx8SBqvbyxZ3KnBugzKmhH8mkB9JbS8oZ9h3uVVHYrUEU8DhshdfI0IuIdeQQ\ndGtErUhSdXwf5oMdhab+MgGyqKVi2PZNmnwZlNfgaw/N/bRqet+l5ZzZGgqv\neLJ+kV4zyYfExXI+alh45ZR/jASrHRmohA+490U//AaunnW3vxY9Oatsd6sO\ni2H99POfs+h9nT98WU5iwJM0OawFl2/aZDQhwlbtfFyjNv/u5XgDio+E119d\nTtbb1nzc1GxNE2BKDW1Sc+n4TUfyTHpvCxH/H4zxCJxhP16nhjTmhJd7HtlJ\nXO3X\r\n=QqSA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4d/0JD4JtoaNtTm6QvPiKJGzGLRN+aYknqFatRq2R9AiEA2qh3p/Q3fFRuXI9mN6+1+wZqURzKLzE39lg0c0saIhg="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561368432.98_1561368445358_0.7440377398891478"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561372369.99":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561372369.99","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561372369.99+21796d1"},"gitHead":"21796d1bfeeae38901881a8748f69a96b2055c16","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561372369.99","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-+udAM2frrvv561k/jONy81kFQX0zBhDMTsPGgHb1NOsgc3Cy67OYXZhCin3TvnpCBjfVvMKoSI3ESo+Dr3z3PQ==","shasum":"92d0de3e05761fe241608622f353e16128a40bb0","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561372369.99.tgz","fileCount":119,"unpackedSize":1283630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEKbfCRA9TVsSAnZWagAArrkP/2qhcjAId/IMoHG6AuSy\n+CHxvy3YhNIBsWtkvxRdsyYIWDzud0ysDxznLO5YAcR0aRplUcMoQ+KxZq5i\nEdyYMC9zWa/wCvOXezjA6gNROulWXJdGRmXQ3NU5RV717qPu41YXqUEuFx8j\nF5ODmiwYYXs10QvHD1RC0t5bvupqycUr863u+F+EtaRag53XeRD0xNeAeEKT\nXZdifNOWNyRSWhOesEViH/9f6+i9NAJZEyYmsQcsKoncK28iJORQVz7tHdeD\nUA0GbghRNgwe9baK3PWxef6OjoloQVNf220QHde4vxxyNfOasWOAdg5LnJiI\n9Quvy0Y19RWvkpV4gZ3c9zfDZMFhqwWuhLhSr8VPVpqXZj5pM3p/mSyeW0JK\nfXePGKG9hYdrjKbChzUGHmCfCBo/3NXSBCmgFFUktrFFVmkhRFdw5gQZL87Z\nq4lF23wdnP0hgUumSC+5t8lmyhe1o0cpgeHCn2d8QbSNASHTy2Kl/+DQISEE\nlI8xPHR0CJArQ3kJN7caT9AN8SRaFCUDJ+vb/oKG5z9ehkSxNY9NUe6mH9bx\nCT+nfGSeUm/F68CRym33X09v2Jud52ppWAFUM3y+6fKXiE7lsmU+vjyNZUXd\ntswCvxcEuwgh2f/EOtpjeTA8KKlWk5plgTU/BozRbHXdM7MoqgLggDv2nZ63\nz6DH\r\n=CtCl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqMEkSmbliRwe4w7JyMtRgzxddQboDICoUyi/xLRbVjQIhAIw7p2VXIQOj9Ojl9fb2gaWGVJNk4F+k1aYClh1u+KY6"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561372369.99_1561372382784_0.7703305586078577"},"_hasShrinkwrap":false},"0.0.2-feature-set-CI-CD.1561398974.104":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-set-CI-CD.1561398974.104","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-set-CI-CD.1561398974.104+ae46cb6"},"gitHead":"ae46cb6e4e089ddf87d08390b4412109f8764fe2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-set-CI-CD.1561398974.104","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-Dn0VF6OXIzyjHNo/rFsESvop/VCL1DRdSFL/1XDVQHD+5KJbzlW+Eo/cqu7IRkTQnJOKGx2G5b6gwTYkn+9p/w==","shasum":"0aa7b4ad794e148b0aa20449aa4d3bb81962952f","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-set-CI-CD.1561398974.104.tgz","fileCount":119,"unpackedSize":1283676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEQ7NCRA9TVsSAnZWagAArQgQAJuv/HJ9VFuB/S5M8Qds\nAa5yJDi5UyuJvN0SY2HTlIhbRLYqWgg0H6ZrI4fPU57F6p/nMP57NN139gaN\nHCRax7r7dzfDvWkRvpO3vAW7X3H6/wwt3EuwKuzlm4OduvtcMzc1kC9JsoPI\nCovFCbRcy1sozn5FXLmWxt+fXwoKkmTek8gkWz+aTRyhMNS3cJKKwpWYA0Np\nUakEFP/aARk8xAFxHlUKaIszcX3TyOnpOYKgd0qLdnMcR4NWP98QgMLZeLY+\nauSz90cSFZsgyYy1oiS286Luf7YeNo/AY3d4xlPiPn8y1l/kYQc5L8gWhlOw\nVL5PLplz0p7ZbcUjUBo2h14S3iX4HJPVrj5WgItNCb1HlengYoAqiM9fcWwQ\nmmZAhLz8vFIv8vlinngMiNoa8eGkTC9HJzYR3jIIMARiNRFMXyeQIWjoLuwt\n0FdgsRbUJdERkEKs0E+JCuPgNogyDdgjEK3A6LyS9pEZZxLB+pJxGAhTzHKr\n5IWsSHJq2qU5Z4zhGuESGjQ5XbbYtu/4fXbukzJjoeIbjI3wa8uAGWLU56Ok\nddSw5DS2e6fkrZNMiwmINDK9PM3+goUisPa4B+xbgzGEXx/UtNXIqUngyaoc\nz0O3+sV7/8O7PVJcbbsHEvRQ6AAQjQ4hmEprlQxGPoHBcwwZCgAu6/l1Msx3\nzA5n\r\n=DzWf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHSrVIoaMCm0IP7kFsiJKuHOO1ZhAASPv4UxkmtD6sgAiBB/pwWk37BTDXYOooGWtIRRGlXKIX6jAeVtDTLZ19mAw=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-set-CI-CD.1561398974.104_1561398988417_0.7852093744966999"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561459223.49":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561459223.49","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561459223.49+24fb279"},"gitHead":"24fb279ce5b2852d55b3a44afdfa66a1d88c4a8c","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561459223.49","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-+qndFD0poAGdFS6FwKHM4m6wvLthOZ2TRbKheIQBULmoxGwzh3c2WJMAsvjzgxtIHMruDQPpifPMk201FarJoQ==","shasum":"3b2f1f94dddfc70f1b7d0f85856aea7ec7ec2b97","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561459223.49.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEfoiCRA9TVsSAnZWagAACEAP/3Y2tI0UWRUtyjimNYGK\nJFI0yf0lBnfpG7d2MGUbko3Q3ArqQhBAGLLiqcmNzbk0dS+IICGDyD/obTL3\n3MBnAszvMPaVH7JqUAlHYm1B8eGT+lu9jn0QjTukOmZNJfGnffP/qw3JXNMV\ndUZgUjCRtXx68z+1YKPa4xUNtX2KpGfcNlumxGBX31wsUW/ZBri9tMQ+RmdJ\n019vyJi1+flGEkQDRebWYHk81vWSX1TqqPdwtWYn9gtXyYmrey5hJC09GOOD\nk7fyX4qH0TSdpFdYuhAhdt2JjMzNuBHwwFNth9pkf7n4QBKOiZ7beLDp5Oo0\nL+JBaTbjWDe7MGhmdiJzTh920mYKzHKbcxUywkbQ3k3FO8lBRaxsbX+JFryZ\nQBIITbp4oQqZYB3r0FpGyQGj8A5QmamETky3LWmm3oJ6833t0svAFiAhV/kw\nYDOSxKyUlsUi/bNVnEN2I6yODWGJnx6446sU49oe9HgsflTPJqFRgJyH2LUN\ni3HGmaJFWAsedSwmXl3Oxeresjz91GVpI42kMts3vV8RYdfZr4++QgyT0Rrx\nu4/dyvlgRlargJ0abD5mapsF3HbsadIXeBNh2Wy61pfE9TbmCrfU4ohtXIIq\nGl7EXwOZFT1ZWU/CrRmsbfhzmie4dkbLldMTLyiBkSLCROJUHSAxPd3CmpQj\nz4lf\r\n=iHMP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHm1G4U1yf8EH4iJI+OAyjAQ7xMeLXjP0Fya6d3FOaa7AiAtCv9/+A0m1bYqGDex0UtdOcXV9vZIqs7TyCXZradr/g=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561459223.49_1561459233683_0.4864742805901898"},"_hasShrinkwrap":false},"0.0.2-alpha.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.0"},"gitHead":"dcbb9ae0245aa2b4715b77f4b14b72ce7e500d04","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-aNnHivKrJ1cfKguG75sUYbTr9U7sW18roiwDR1Ek+Qd8rB4QG5rRHsFN6eq8kT8CQWscMpa7SO+rDv9LLYavmg==","shasum":"d0d8f4da607e1535ad5c822dad45798917c1b406","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.0.tgz","fileCount":119,"unpackedSize":1283610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEgebCRA9TVsSAnZWagAA13sP/iAKMeyu2oc7vJIFCBGd\ntJwx99zTxOBQJv6eUssST9QyfAib/KBg5sO+qc4ha+StxMcgpXAOD7jIU8il\nqhoeIp8bmNgSYEGrHiSeKvMkCidFw/TFfvGOiJ4ob/m+c0Ws8hXuBuetjxh4\n0qsVFvRASyZiqeqeQai5Gg4uSZd4GwMN/9BiiCkuVxKHuZEYAHLu2uvXvZ8g\n3Cmzx4Kh/MzRyDHkMWjBw0HgtFZQb/Be0yNqCDjbAeVvMhd/BudVd3CuC2q4\nSRPn5h4kwGvYvuzYeGEG5mGarS7Xs91ekO/eLucBXHXszoqmuWBDnmNQvOrT\nuXigVqOuWl+I/5CLYz/8cKr0A6gLniw1+zuAkb/qc1WitBO3OUpud1Fo7yxK\nthJOIWwiBOfqDSJzQyxqs90r3eWup5OURoutXEOkZBEOiQiz+7tXVk15PjZF\nJhbVLd4KdttxeegnQ1i2rtB7xTjEHG0Ti0jWZvFD3eWkvIb0DyzI5VO3nn61\nDqTQY1or1Sx0bDdZPLo39y/PtKSzxEsUTeCA7NB0fzggTPSwO8K9lZ0wFjDr\n8DfALH2F9UkiAWbmZSybicgMI51yLw5zG7c2abhsFeJHlPaRtErTVJ4QxQwI\n20Vv0SFQex3x9XYeX71mttSKQsjV2Zwmrt5L0Vw63crLWk+lP5DzjKYPaQvw\nEiv7\r\n=nDdI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5+SXiE+B/kuEN5mwyFC/7GNIGMwOJmmR6D0EhlS23wwIgL5bmUpI+d9hRs5iPxPpO9YqW7MdyWtd2NMXauCmLUfo="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.0_1561462682862_0.5482233914643373"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561531308.51":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561531308.51","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561531308.51+9bc1e15"},"gitHead":"9bc1e15bcb5c72aa9c5aa1de5dab3c40db0ab715","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561531308.51","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-/s3nACfUPUlZVcxRJ8+1cLIQGbrgvl6A175LZA36oDhK4OFDaMA4lTXBR5tdX9lzy7xUV00PwrJTE4+VAiWNFw==","shasum":"9bd53a0f8974b58e8a9ce905e5e9de036444758d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561531308.51.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdExO3CRA9TVsSAnZWagAAMIEP/12oAYjE0VThbB3QXRed\nG6kHKHRUbXa+JzwSmHG+gsV38ANpDLzSzMTv0QEUuONMMpeo5TVRSxoO24BX\nQaZTgmYneXEKEpAm6Wo8gnK73oVJW6SsYixFUsnk4tGroXTzQq77YudE0h/K\nvaETX+XoiwkrJ09YNCIKsEvzwQpPjpvJ2sLemuGpHwPIHcoyDK3wXBIa4sbB\nowLC4TOTctRgkpxt+P6UOFVv/JPPKRowgQ3XYIeZ3uz+Ra0xDWmL/CYfUH7c\nni1i4heycO1uq7+y4XXFstR07GxlrIw2of68PvUMsQK0QioZCQQPpV0m+Yru\nIxTMA8Dw0EKIC8jfOCaF0f2WA9Vn2sEDyg/CrTM+J2q/9Sy2Pa+ILGOElawL\n1z2vRhT9RG76pkm+jwJmXjbNmi1EVdkkFjCmuNOMuSc4WnLQSd5VoOeIeFVQ\nsTntD3+VpmVr/wMI/v4cb0Bn2oCkAw+4t06tXUzBOE7m4K3/q45akXe/nv3P\nWpc3IdB9KuZbKQ5dOQK1Nr1IZXbd5cFqIOI9u1v+KNZJRfy6w1T7/8yqzBJa\ndZL0wHdRLPIeDXkYx9O6zH5425/v7SK6O/uZp0FlKL/+kYGDi4NDPvW2m2eI\nxpDQcjb1wOk07pGVY++gx8GmeAHo4cvZdZA9O8bpxaWIXIdFRWOI/rVx/FrJ\n7SP+\r\n=FBr7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAsVe/HD+msh2aqAD02vWLiPDA77LrTnxXr283OsOh5gIgUqfOTU69IXBrOyvxY4AxhJVIQ6RD13/MRCiaF4tllGY="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561531308.51_1561531318693_0.7384968427738976"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561532353.52":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561532353.52","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561532353.52+3fa1800"},"gitHead":"3fa180045d537cefb4d7d78461a798579f4552e1","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561532353.52","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-kkavsC38YKpquMGJDDNva01S2iwHg5wjnBcbO0sDnlMF/ob3mhdlGoP2YhCfzhHXsBruluot7gGSPlDkfsHx/w==","shasum":"a4e4c90ce4cedec5aa0b090aeb645eb3fc85f7da","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561532353.52.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdExfMCRA9TVsSAnZWagAAEo4QAJFpxv46/+bs3FOtU8Pm\nTGpUpSoKV0zKwM0zf1AT/j/9zbqKI5snt+bQ72uT9ljZJPbOw9ZYVaa6bbiE\nhFit3vI2fmAj3Ee4WFUIVCi9JR0DBh4O1XG+9I1iKEoIvnWc7bEyABJl1N26\nyOz98eIM6PXcRq/8G6XU9A6m8EIi7pUvXoFUF7o6FANgdsDGTFb1AZeBuAee\naJ7FfolbMU7idmy+y6XyVCG5sOjXpCpNQr5EyaXzrl2LHvgaJ/Z3tXQ2sqNw\nyEM40hWQ9rIOv7S//0ZhwW3STzhn/KBajyBDNMoDAmsfskKB1I6lu6A3vtrj\nu49mHMDi7LjIxT0XrcWC05eQ9+ocHjNJM/6c+qsph6K2lH0b5YYCvdjXuLhA\nL2CusoUsOLV5/PfVHMrDGRZwBizzGV7fl32boQmpC7K3tnE8GMk/WL3xWZ0m\ntxiJ48WCS/hkjeK/rGHrgD+HOrgjBFUjeaeBP3FShz/V4OAjtHRELBba4h+Y\nuSgfdYT18i/cwQH/CsKKyrF6J53e2EpfjSGf+6F3tmkn2AMlf+sCGPbIovZK\n78uz9IvYfFmc/6db+Y0PTX6oGlEC5rO6z5G39EnzYIX9RQ6WNZH0G+nb943O\nrwnRJvKu58B3YqUYi3DadqNRfLxEZXn4zwyXkVwwgN9wfmcnCy1r/LI4AMS8\n6UKj\r\n=7+MS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZZTgSUjy/s++DqqkmjJn0JySRkd8cTufvTfyvw85JzQIgWHCdU5G/PiALeDfzy39C1vzNL3aiozbJi/oNEk6YKWM="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561532353.52_1561532364105_0.8427185045282726"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561533297.53":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561533297.53","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561533297.53+b1bd24d"},"gitHead":"b1bd24dd0b987aac4e40edded7e9b2d06b9682f4","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561533297.53","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-eT2zNXU1z3JP5z7GtTG+PyokCrujVe2/40Sg+MZEonuZts8hHOfkFPn0mlPZ+NwUpiJje2iI8Ry/Sc9wHGVn5g==","shasum":"17d633007e4ac8f7f0fd97b14b01f32d4bb6e732","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561533297.53.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdExt9CRA9TVsSAnZWagAAKjoP/jdAiDMargKxk1zyRxy8\ngV24y2/g0Ftuh/k2fKhluoTx9Ya1CME8K/ZxU5bedForYEEYXQt/DbHlvtz/\nvjclIkLA1qKtJ/W1REQMtxxL/aasN07z4XS85pjOi/iy7/duXDI/B7Hrz8g0\ntUI1yRCQ/gK1dIuOpW2Kt2ntdPgDsSERJ2AdZBeE7SU2FzuJwk+xy9gAfVva\n3fpbR2+zWwHhX6uqDClp6UaOu2c9nUynedd7PHh8hlJli1hs1ql3xKI7Ru1C\ngHXLhrq4ib0rZscMORDBEnfa9A0BBo1poMz7eH0Qac6SUkbiOyG7l3rfbh1Q\nLfuqNqxwmpdJa8NfZLaFHU+pUXTLbtRJYwYb7G/5X8apOyJ7+GTZOwNYUtbm\n4ofJU/chaEmyBuBkPGejkSTtCDRSsp43QnprKSS4/20oljdWNNQeJmzw6irp\nVtX6DuG7va3eH9aj/zYezuNiYxwGyygagU4VYxtkL+hx7aZQhQbBBg0YJm6F\nC+2edEON0PUtW+5/HRBpIUuBd0wdpyXHD+ztJyirO1CuqFqFGFsiBGafSJKY\n6I7F1o6MkN1MiuHXl13GTJ/P+3S/RIkHQTzK86UHTRvqu3mNhX/3NKydrPhg\nA4aNNHQlrmmdRZfGHK5E9IsRvaO+piUK9RDi0fmD9rAeBzcMClWHkyx54yk0\nacBK\r\n=HdSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJK6qbUQyrGfiTV1sUsRKWhU9EvXxHk8s5zNuJUWdUvQIgTO9+MBjtT8q88atdpiQxe6DUlc0Iwe92jB0mABOZ5eE="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561533297.53_1561533309156_0.32421016572074124"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561537952.54":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561537952.54","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561537952.54+cb017ec"},"gitHead":"cb017ec70bf816fca7fa274015bd962b84f5457c","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561537952.54","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-K09UCoy+Au7rTZOmbmNTUcpZF1/eAqlkLNKato417XLtjW4lIVBygH1PTEx3nN2QD5kmfr21uZhhb1bYWNO3vQ==","shasum":"a4abef60eb4c169452ac8670c71d1e5b471ebe14","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561537952.54.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEy2tCRA9TVsSAnZWagAADkgP/37HK5lnrIV/zIJtS/1n\nzMX6M/hiw6kJRVEO8SpAN9VTiHb/z4qWyymnjI5I3gMY0dwXPEjkV7InMArv\nTJ4MsTHrhoNhCxoKZAuZhebO+YDYr5mtPkFjRPSPirJkWdRPSNGjIoDieOKB\nDddkB0rDwsf8mVZGTfHhqfIKLO9VJXd2cyer+r6kqlAEuDZe7gL9jPKqjFxI\nDHLOslaziP9WOFBRHJFC5tJwng6JAeHSjWIcoV7BEEf77o7ty/sz/Ja3I9fu\nx3e/GggTvxom4AH9eZ/IpH4FttBIhKZ5xgdzvPZy4xU2k/obzdAKo5AjOVYj\nSATP2Yif+bjJ9V/Wp2w9SxwOw2TUqFc8qsH7qZMiaiJ877oyQ4kGRfll672m\njoLVqrzb0y7wDSJ+urDn5DH85H8mgQTmM5qKZEsNCD5SLLAa38RXXedUQRF5\nKxGAdfexV/qnRQmNOBoiLJE3RH8H9s5qgzNVMvA/faMc9Lxl2s/ny97kl2WE\nFhzq31gx6SxfRhkcVFkymJ0FigGTxswHA7pDNh4LV9aJXDrFjqSFbRndTuN0\n77ZE0nFLQNdu/ex7Jap07p8ns46jgFYgDGVt31eaFU/Yk+UIi9C65k9xKBu5\nTEyArOJpeVsZpQeZNdCighOqVojMpBaq5FvCNFgYul+Q5TorkcHxGEysyVAY\nQPQ/\r\n=f7GF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1EE0F8PH5mC5NHbKSZONT4JkYI5Agx0hPtkV/aNB62AIhAINFndUblUY/xvZ7U1KDwhWz+XOzIIxCw2U/OLFhDrsW"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561537952.54_1561537964505_0.8590765916060674"},"_hasShrinkwrap":false},"0.0.2-feature-improve-table.1561538649.55":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-improve-table.1561538649.55","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-improve-table.1561538649.55+9387827"},"gitHead":"938782755ef181f5d1a83f499806f23b1edeb058","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-improve-table.1561538649.55","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-8eU47DzvhaMBZWjwiWLIHf8CERp7eeGWDFY3NE+3vh6JVeTH2XqImeFTWezFGscUR6/uWUdI2jSHmGOffgSBaw==","shasum":"f04c97fc51d2a2cdb0842cdee2037a8e2d3d7c66","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-improve-table.1561538649.55.tgz","fileCount":119,"unpackedSize":1283682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEzBlCRA9TVsSAnZWagAAu3AP/iZhEprt2ZM67QrKFbeQ\nOyKQvGp9Qjc1AeJRVpRKnywy8Q2+mEqS7ByDZAwYd2Ydalg/AC1fc7KWw8a4\nbJRwyPBlh73gFyeQpPE+VljtGTFapIym7COJtlZc1ABaBWRjbxc15rZg1Jct\n9buRVyPMGCQk51IYeXiz4834Rz0A1HDv5QStzXhMQ7hfx2a+KUl5eUEEqPc5\n5Ph5WyXBZ5XcKi3AbVEwC+6DlIPeK3ejL4iC903CSiapf6dMgIDx1XhPo0ou\nkBr0KjpUv0xq4Qgij8Y3c9Z5FiDUFwtJWOnQJx4rJEmDvjRvVDJs/99wUTQY\nIMarCTV58VMb3s8MMBn7ODckoGTYzTCqla7T4hN5qrpXAR0XR9BVP0JkUBWH\n2AHoseTaQs74cWYGb5Yo0T2VF3W6YP9bq7RVqBZrjhA5fbIFJdHb/Nsax2AL\nn+A0ePwV4srggb66BB5XX073mqLeAs0/0YsFIMRpvlU+ljtmau/EDjsqv8FO\nDPgNeuWvwWmd+qTEMGdj9tevPLwCJvyqKkakWzk56eFEX4w2Wf81f0KpbZd4\n8jQCGQW3hH5UoocY36m1RU7JbmKFZOonQoWwkPNOKBtj6nRKdV1ZgOVQ8RKb\nfaLZODeVK00jGM0GcX4yx1+s0TXP/PCZjSaVMgLka6DuY1gHYkJx30LajymU\nuYst\r\n=15aN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5zEBytLiDCGT4FD2NeYbWyXbYvIuhQdpuPQxkgx0C/AiEA3hijkfZQGWvIdsWHNdehpE51H1dH+8FuEDti20cHFsQ="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-improve-table.1561538649.55_1561538661109_0.18607869636369578"},"_hasShrinkwrap":false},"0.0.2-alpha.1":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.11","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"486f420a93d1f20af3f68331d59f10d8cd808ce9","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-gDz2DcZUspqCepYRApDe/yHeB4QRDc4np4ws2o6KY9AB4ZO2n80HrOfaexxNcY8LJ2NftO/qTSKq8sl9rF4P1w==","shasum":"b8e44162ec6d0a2655798408b61d4491290e8b06","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1.tgz","fileCount":119,"unpackedSize":1283610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEzvECRA9TVsSAnZWagAAn68QAKR9SX7azgkYF4vE5SPG\n4p6QQgQ7Fj5yk7CIv5TdO0GoPrC0fb4FXkQzLBbILzoT9M5d9vqmtLQFR6jp\nBwE4OqQZCNPptA+vlhLfOgTU6COJ/oHpw+6oxz0YW4+UBucVHYIssUtJM2Om\nnm1Tq2KCw3tBKW8SroSbcKtQTvnenONVxjL6ZaYwV6k1rsveXykYWbvxzrQD\nIkgb8RQftGztHye60Qe8V78CUBu6AyxoOY8lXENhkK+Zu+/KTU1Glk/MvYZ3\nT/tHRKhpTOzGjq3VKnn4hFDjojbIsYHM9plIbtjcx1n5Ng2fVKOxoLnX40l5\nk0w2kHiADQsovq/e5uPJCNEXoHVSzN1rwO6tc94FlrVwPE0qUUj5w6dKfADP\n0SncGHfgmSPGNLemfoOa75zN/v+ll0roeOPGuwlR9CBeZI0D9gJ2o/4bYPY1\ni7m9F5f3RVoErQVwz14QDff9tIXI4jbTd1SQtayF0uGyc9oJN08AwVerG6eA\n2fNGNW8De8SmQ/omsi+dpsiYLo3GRzwATlbcciWSOjCM/B2mTe3F50FzHwF0\n+o++YLBELvP9FlJHWtzAAMbVWDcRHGCpXppGtdDhGXKpt5MkXt0Basefa16H\nZkj5OOwkaRUwYv24k03kZrN+CmRppYM1ru9y0MrHESaRmKaPSSy6SdS/28CP\nXjSS\r\n=s7I2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCuOdggYNp8fsA9Tm55kmuslaSP0z6ODxIp09Z106ZPgIgTPeetSOQrjN6QKJ+zZiM8XktGt3Kc5tT6t3gu5X3Goc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1_1561541571598_0.15200423661330742"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0+21c9f41"},"gitHead":"21c9f415b9576d078d75d6f9c958f35692c5a51c","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-4Z4Ni5k+W05arhhnwu7EGimHAnn25tF+wXB+m/l5f2DKYg/TeR8zGdQgn21l1Te8rn58bz72pPGgLa5MfXRUnw==","shasum":"d820be9a6f227dc097fd6fe6aaac7da681bdf68b","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGH8pCRA9TVsSAnZWagAAcHIP/i3QNK6s+6dZyGTqTijM\nUlfRS9lamQGGJv/X3+VYr0Q+6dTA90D0+7gbPFSInN/oxdL4+ALVKQv4228t\nv9FbYkUlyUVhNzXxe9NDuQCOKwVIM9akShpQbNuzC/plYkR3Lf55EpjJz+jK\nPRPClbBDzwChwMAPS7l7loSFHANqSQ2Fa/198rizy7gMXpUOO9P91kygNewR\nx3wYJM4yd+UBFjYl0Cp+x45XhR/eu6+ADptjbo6u4OBqEOfDFdwdkNlPN29P\npqDBj4/2kwIFOkk3wGkAaOvCwBFiBvC+ca+VtaTMp2B9ntNklqqT+kwVJDHG\nEHLil1SpwfTTemupPDiuCUs2aA+8FR/i20xcSpKsP68Z8hUwgp8xeGTvYt8b\nXvdpDFatubRO2sY4MeqPFgMDk75Di9f1PwzZhIXDevSKhVpMgC/C2FHZeufS\n72976j+S9SNaBwXZbjTNaIOsIoCTUgkpcbRt6ZfGj9sNPJqTq0y7iKijaZcx\nkzuhge3eXIbX0nvsmNzMaXaEmMOpg/8a5NdSQamONNJFWRLVBePNTG/l+7B2\nkeNHQrUuVZDqqAlzy/+dj9WMX5lhkLzhs/9fiUl3rz7YpeyRknrdRFjKEDr1\nAlC5RRfNLKh8ZVaVABIZm8hhRI8f4PJbfJFVnOQH4Tvq1VAEg8zklMybHBmt\n4ol/\r\n=Kh/Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb45cUkXsQAOhmsDI98XB5IrS48rVSsVyJEA/KlXIpcAIgIWaNanjAgMy4nB0WY49DqoFAkgB5w4kylDMjsd9kmyw="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0_1561886504341_0.7391743819866039"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0+26b7c12"},"gitHead":"26b7c1294d6a824e832750b0f73379fef161d1e9","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-lj9tiNHXmZqYtWGT6TNU4ySyXvK5d5kX++ZbxM/UtoGr8/VK+CBXAA7BukB1cj8vkQaasodFLo5pgI6/2FPpAQ==","shasum":"75b430a2f842aa00d03484fd249516762eabbdc9","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGITqCRA9TVsSAnZWagAA9pYP/AzfZT/NGPg9KdfVGexh\nC4oOk5e8NSUtvSiudIr62wvtiPACw9fcoNRYakbclea/o27wWWi+tR62rjxw\n+IP61yl8SPr7KV4hxuQGJjASP2uApE6E+Wnbl6xw4tpfwVZnFm0JH25DVIty\nXZF0lpxG3OOH+sXIvmKbUJcmAqHN36q772++IK7+FNAz7Q2gk5QrK9yEzE59\nodHUtzncxW2ekkU7l+D059fwvk3ubebSCqlWk+HUgyDIFUnRvFyrorG6T5m/\neTBhcv/huOccvUa9gaHpkKHjzgisMueXSykAnmsetb0t+CdSLA4GIbdnONnB\ne7YGGCc5b2Em00aC4sDyjC3f/QZwkBN6WNGhJoFjnCP+Bo9w5KIr2WxaJYMN\nX6O+I39e61tc31foSWACFunWzbMKbBuTNzGJrFWqFOwg+fgQZdYQoSmY/yVu\nU3+rBVFJEdU69V2cic0c9rok8ZkbUoTdtQTyYjV0FfDlo2gE7DrNHuvVXX4L\nT+ij70T1f5avbBUx4aqtFfJocxjF2UBgACtEbb7xA0EoTfGWQ61i82yh04xE\nKle5Yw91m7vZNABE7tMnzbKP/3CodVVq5IFKrXytI43obeBagzxSLHwg+YE1\n4n3gSs9KljJIyhXvWJ/4NrvBBDkfpMHiVAXP478gGHSQdiXSQi/sC15REMYN\nGEsD\r\n=Djhw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKvKQKEeg708CMG1H4fFH7z6GnW6BbImGMhhPdsfqJWAiEA2j/H4QjsPXu9hHrEikemYIHpggYld5zgWTwIamfoY7k="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0_1561887978024_0.7861945546143467"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0+16ac89c"},"gitHead":"16ac89cac23fcae0b6484891295c6e04c4b6db58","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-QgSOazYt7FiqcXpcBCQigHAjECivP5UzvrUhvx/KhNuFa9hNzRysZyfFo7O6oEo2Nf/QAffXMFYdKEjK4JLaYw==","shasum":"f9d89c9527b90e08bf92c829c4d132da0443a28a","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGIlRCRA9TVsSAnZWagAA/60P/RFLEOlM/pEZNCwCbgGj\nfykYLUJBZ0i1vbRghxq7/5OPEYTDKiNesL3ez0AG/ER+UBCAm1nchEK1hroK\n5yNGTbFtgpF9swF8Tkry19sRJb01cWl3dYeMR8nfe6N8c3zhLyZoFY6A2wmh\n/xWuq3VZKuslG9YNQmoCpS6mYLXIZyehLdOpo9J4nIAmI2b2RYBDIMnTndTH\n2Tekv10QC4yqKO4IFWx4IHjhBHCtW2rUeNKyI/gRHxYYuwUugA2w2AkY/21L\nIUwfyxCmbmeJAKuNQRIKmiK9FWGRskulP2Q4o6jcdf537lgv1Wt1ZT/PpAfg\n0apPGoKCzWG3PWfFlaK9vRKuXU0l75o4jerr3ufhz04WcU1Bh0YKUkwD7FiL\nDBIIwGEehohYvy6VvRRGImw7UteiCHhf8wWG516+tLmADKG4BCW2HwjUJ7yP\n8XW6iNYybrPq4TROocEJtPUwaIHDF605Y5CvSn/HxVGN4nPc0RlWkBx5R3yo\ngSIRNLy6ezB6nvHFqBkLjO7rBNl8XHFTCetkkDUE3iDzgKtv77NGTHKh1iTi\n3VjBzUxYDXhZOvup9rgOoivIVpv1jdRcTnXeSwrUycPGhFNrlENNztyKL0G/\nka74q8YosjNlh/gXWeLcoePm+bgGe8o5ltmenZmRitRv1Uu5yfEHj14VIRP9\n7kmG\r\n=OcQP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw2YoORBZ0ejXDQ34VwcevTClYS6jsauMfabi/SUG89QIhAPm6ENgVfOKOwDmdySyMUvnwPR1581nl594fCVmx97Q7"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0_1561889105033_0.1984684570950861"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0+92acfd6"},"gitHead":"92acfd6e9ee2476a84ecc2c95c86f8021f64cd64","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-N88/My8KLqawON9LLomPXRFQ8OG7CZ1MYCe5FXWCZT8psEpFA0DM/b98ueD4Iq1nagvON//r2fZIGpI9HpC7KQ==","shasum":"e2232ebd2144a79c11947b43918fb8d60f5bf183","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGKIICRA9TVsSAnZWagAAJs0P/R9u678R5TFGYwKA5D2h\nJu8mfUwm88JSqzqQvaCShDLGBj7l225EdlTWzCt2z3Gr8gYwv2KNNyh1/qhY\npKGHdPjg0QS3c4G30dkyP1AP3FhtEGtXyI02Ru6U4OOGxahWfDOLx1YIPoHz\ngDTxcfk0XsGI7Biiz2XYZWrKukAKqZCvQKM/o4J95mTBQzFtFacqhMkcOiYl\njEsBSk6c1vHRH/+LLo8CvkRR4V+hhr3P6OOgmGH1Okr3OPIjlRMxPWZDeDMV\nAaxHcLVePIn2oEjgItO9SUILzj5xzR4o6jOGgumFcEIzjA728cs6mqKXrMRR\ntc0fAEjSI6O8Am/WhLE3db+VtzfDhXEOJ/UEZ3jfw8x2Esfab8KQ2IOx/tDX\nUUbUgiNQrfy47mbEr02OHFwpUeyus2udGl4aKK77Th9/+0cfZtmJ3jA8ewMA\nW86VQ5ltxHmLuqGttDPEzHBEXEXwyuZJ34JFtSyG6SFpmGc4H6ls2uHFnm6N\nBGGm3ZUUnZOeB7Pc3q9/ThMK15yCvIClWXOcON1hESikS1iLAlyLwy/KY//K\ngHOX7z1p7GaN+bwwcNvFKlB8ReLFFkfF2UANumdclGpaKqeHXw3uTojnvZea\n7JzmzizZpyDiRQJFnnGVJgnOx3gFhEDoXNWKjwMm8g+tNilb4V0V6SdhGuQz\nwNRB\r\n=xWjg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAC9nDTTLzxhLwVL4enVaH86myUBV1qJwYMP0FdWeadGAiEA+zSLsoEhikkHH0OS1Jp3/ws0BPdVu/IR/Gn2/V/tnbU="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0_1561895431918_0.6754983410817703"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0+5d776d8"},"gitHead":"5d776d8854560c854ede1ee078c6eec01eebec6d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-nMI5F64nLeHp6z4FzvYisa6dqqRxqH3lOEqTjF/zO5OJajbJJcmlP94hBxOkJZCr1jDR8zSiAFyQU5NbcCatnA==","shasum":"ad14e7dce2b13c1e17b7b7f588ce3dd60725b5af","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGMJwCRA9TVsSAnZWagAAQHoP/2mMFGtNB0sBzy+KSON9\nBRNAq0yjZxCPBKhaUXp9UFRAexhZkMwB9Rf+SXFpL0rN8lnLmvguZ4WteTvc\nOEoq5XurxmX0v+JBtX/llfWiMNF/8ZEtm8VRHr6l2uAVaZDp4fleJVFpnCYY\n6yDQ2g9bHdzklljGVq1LVP7MIgp0l0DaY0s5EsqkjbQfVeomhnXGeahBbFRd\nzQCEIMhO9aGb3rRdoitpAADJAzWdQrzxz14Ipja8hQHQY+R5LXl3qFCglk1p\nlHiH3R3FB2XIwc/iU3UmIFU0NWh6BXNSFxl+h9NvN8fCj0pEBYRaTsSiBUcL\nf/h3wh7Q/n7zFJJssDQsagJLOX68EnxZ3wKD2lBETOzhbffHdnUQ7KAR83xM\n3z3SNXCRS3d/GUk8GC78bK7+T/5nWpWt9RIlVAJOTVXh6JYQyAumFsDb761H\nTmVemWm542eJ9Elct6B7Ff8o3Jw/RwD9tMtfftJyx2FfREofg8IRjDdWHD0m\n5vvkxe6h8E7r0aSnkUyuy5HXg594WbXl3fp2yK9gNiOi3ARrlROPFSRksFMz\n/IaTEabfqANK2KF6+EpT82/YqY1+y7yINVnCSibjB4TWdcwhRWdZ/7BcpRxI\nVnZdtT10KRXfsLpg4dJpNFX7OtCoxS7pLdzV+p1cLRwisO/wtMkyBxFgHs1K\nt4oF\r\n=Mr+4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr16Bo4TvDBKg8vc07lYHe9H11ShNP35M31zxdCdefqQIhAPv4AxRXPw6PdsaE+5XE/OJHxQamzB8Mm2j9OHwmjrBR"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0_1561903728074_0.8217717281379464"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0+7a6ce42"},"gitHead":"7a6ce4244f9afc60565494246176c3d6e43e698c","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-D14lATYDYxBGKoJ1E0xJJN07zB6+a2GFXOf0glzVwYOKxX5+ditg8QTFgLLB9TeCpxTiRlfT5QkUJosAQtg55A==","shasum":"74ff2df145e79e48952922b2f7ad6b93a4af1264","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGb7+CRA9TVsSAnZWagAALb0P/jlwzVl2A/VZym+Vrg6q\n1quOP4LlTaZYjpbnfU3xmdhWmhSQIDLnx7iJF2xdBlcUdeGbsOOryJdw+1nN\nZ7sui6RjjHAV8xwT9B0gF0GIvcmQKbVi6SOnmamdtWo/txQmocxBD8JrDGbz\nvaQ4v3skMPlrzadV9yL2Hc9Bx02j85VW583wm/iiNuF/v9wVe+cIZQge0tsc\nm5agP7juJ4UbNIv1FxQ2f051ozkC9EYQYNsPrnW7BpV3t4sAmbcblr21xyVt\n00GTiYcy+VY8uTn8me5CwKvrgTeuOby9NO5RSES3yeKhOiP9cs5lOYM//zcF\nnGlNqRvf2NobuYjVTh7eVFfC3MXgZjjn6+ZwPJr+lQjQsJs6pWnATmz9ERM7\nXBQlCnFu1o/3Er/bXB7WFd4qv5v3Q009rPi1E2DIhpg2fSLJ6JhOQngdUEwD\nlV4Qt6XAMjwLrG2rjV9d6gyzYmw9jR+hhEgLjjpZZt6dkFuF1COoOBUZZTnB\nOVcA5o2nUQxvXn9L2FSDDibTS6TtGu52eVon5nXYCpp8zTKTqXTqW2bO06UU\nlZbUsUgOLOzzlYEl1K6iYYvy7/ApSmtAvkL6MFZiuV8qgJjfypJaKEJHyoez\nF0iWEnS4F++UX20MQJFe7VxeNTh2ZzgQqauqLL+dsv23epu+JDhwxMfbBtHU\nD6/u\r\n=A2pS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYwDDJKYm531+3hB7/OubvRusBsttKpDoMCVI3rzHDAAiAiXGAS50RgbzwNq1TgKAChkuYYRIi6axLxHQXt7KlEYw=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0_1561968381979_0.43685531244107434"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0+81d58fe"},"gitHead":"81d58fed8983e04b6f2f48d40984e5b108384643","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-sKy0Kc3La4sohFgmDztVt/pmzYE+IDR+hO6GTRpEmiuCxxbC7DynjDet4p4hiJ+lT+a74fu/ZddsskgfNM5eLA==","shasum":"0d364d8c4a1bfc1debcac8ce3ec2a72bae78cac8","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0.tgz","fileCount":119,"unpackedSize":1291119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGcTFCRA9TVsSAnZWagAAVEwQAJT1G9VQoDuoySpw5Uko\nfVASS/hi0ssgsEHtnBOdNARMR/kx51z7HEfEvAF5KqchYkQRGOFnWaEwnKWs\n4qOPZYbT2Z4oyAYhY2wl8Ih30+dhcZJE4NULaTQ5I1txsswWHg96lh6A+JrV\nfDqfkxunWmXEYH3dUyqzuTXyBV0IxBd1Zt/M/JB+iPmZWoIJheP8rAtrAG16\nuoQ26PA6XfVYrQy9ZhLXNdKfppYNq9thGIgSvq566YI/InQCvFcqlvewksiy\nwl9sjn7LPS9wJSvee9LTxeUUczJk370nzwVvQnoN4NDH14nkc0LFwwjn5pa6\nfwPGlp+oXL2RCrWv7Psg1wKxuN02fMpGCwtg47JRkplPh+jfg48ydfC3x23F\neaied+R0J/oTno/2oIwr25EQx3ePWEOmF+vOCLUKhFREpkWMuxPE6adQZqRb\nkWv1zuERNvj4CkOFG13c8HqIiEsET7JQTZBbRdB3fVGzJfCoDx4HjfvV7izC\nBJhwIa1Gum23cjXYOmjfFVVBbZyxdbmw5wLe/Ge2JgYR/pLu0cIi4X3d6bnc\nxw4XZS5yslhomeZVQSehYWVRsIxSgtK+8Gz6zHmjll6hGw417g5BzLpITtxt\nUgNdLM56mYBOI5jAmpiXfM4lBtsxld5+iaIqSVgSHNo6IwmiIzqKABbaBhxm\nhAer\r\n=o1DZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNbm1h526t83NBl4gDNHbIkNLzyBkn1fBI9W0Wx1sthAiALuDDgHOGWEtYQQ57QNHoiGzFUJ220fkX74Q1AbH5wDQ=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0_1561969861126_0.02713400895669338"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test-":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2+d452c5c"},"gitHead":"d452c5c684da4b841b438e858ffa75f5b6f5bcc3","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-CIEKl3h2ViicC1Uhq9Z+DhsVcsCii5One8m+FYmaU+no5f55qXh7e8e0SBPbzKTFyBfussFKYOtIuYthV+CK+Q==","shasum":"60fad887a42849d5656a3b01e71336564574dbc4","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2.tgz","fileCount":119,"unpackedSize":1291923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG0fhCRA9TVsSAnZWagAAE9IP/2i9vZXwSUBcbXBmzyxD\n7gF3CHlc9AAP8Vys7N43gbFW1G2ZcRSFRhHWji63f7QcrLowZiYxDlIQZDAa\nQ+S8VX6ehH24BvRiBLI15ZL648JPUNIuIWQ/ObnXOnhjC35p4uuRjRXQf7YW\nBhkUQz1n6xyRvMrx4XD5MsBERjP9N4QO1yntaqDxTy9Crz2XYi96MwEnMzfW\n1pQPfmjZNH5Qnk3SD2Ud2+y03bMfLUh2Z7O9otpkC+wRYWdBlog5BsTy3zvP\nEg+TUzg4GEcTgdQi5L6NleuuHH6DyoeVGvkTiAOdTBvKcriorGKS1O3SFBDG\nj/KnZcQ1mzpBAB7UM2bSdctBxZeJXDkY72zVKjLFVLR0/g8odn2iGeKOnbHt\nDkUCikPBNx0s0PsV+tf1Zb5JqKDvyLDSxY3AOwu0gjgm7FYEjpHs8VYXLToU\n2mQSEF5muf/u7lD6Fs9fLotAdm1J315sG7EtZsIYIbv76emS/V8fmIEqhI9W\nvUc0IydNZnJjzLrgFYYjMJ4+h7FLkbIO53UhKGmexaxJ/Ar/B45aq9ZkYSIk\ns9+yfGkmAaasuAuD6hk1yJIpKsoEL6mB2smbtoT3ioU6Bf6QP+ghqi1A3ijw\nKd2cKOY2t3dJBSBvPEiCWiMv3vOKwqoSZpNjK7hK4MiQOJCd9VzKm24H4tcU\nIc3h\r\n=YAV8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlHCBUdFJtPXuReZwElh9+dlnWR9eb0B7IYr8UdKE4lAiA0GGkxVrMQpW/AvIUridYUSLVxHi3nXkIXwuJUhFqbqA=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2_1562068960598_0.9892210742927272"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test-":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"1dbc5dab0d4d7280cd6b20a14dee4d4e8656dd93","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-myl7jD9oesXSPaK+HDzUz1Ck4p/LzZvm5ocCf7NiUYqKTVh1SUaaJDQYewKM1HzVD2LIYvZqxdsb08jaCL+fIQ==","shasum":"e32633881f533dca8d8cdeda1aab3a78db81cad3","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2.tgz","fileCount":119,"unpackedSize":1291860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG0uuCRA9TVsSAnZWagAA6QkP/AxiqJvpTUMhv/1yrkvq\nUV06o02QQQIvOFmjB+FJYpC16uYy5SxnDvJM1EDvroPyR72Wo/4CTx8bDIdp\nWyonH4DEUu1YfosxUTzovTtxfGBOJXgAhnqtpaSQwm8k0hg6AoEddEkXUM3g\nh6GkDbFJ1RMN9LZNlfe9UuIH41PIwIl3NBIa8z+D5w3F6Bql2f3KrOo86YDX\n5RaSqa2phbOsWQE72hvTq9zpCrE4ld8Ny7xzawsxMoLwteUjcnVcXMcjkXBw\nhhqcjLK0u/TViFWLht567T30xluWJ1chhauS11NnIyN/ne8k71E61JA6B+fQ\nmmfPBkR7iEF/shsA7FNwvmjTJVCkWfAuPal0ECdWRVxCfuJXmt9DfrFts2Gy\n+Nuxxljpe+g+DDtWYTQBYXqK03Wjc8VBOVu+Egg7XFSl9S9a2kPd5wMwkGmO\n1YbB4SKKfRIBjtaJa4JofmQubwC6cKhjEeG31mER2Yv4YgiFziS0ykZKWFYF\npQ2sMH9ouG/UqzyX4vetzq9RPgwtK7sl9YS/2n0lm4E6EkSxRdP4VgVPvUxg\nYWqp0wztBniBY608xqcSpPLVDzE9CCEFbn8tsFYTbYp55YuqxKc0T2xpumRe\nwKjzeKwbgjIJ++YfKLHuFU41OtYlS7T9zkt0bfesKyJJEJho4E9o9LLLZdkx\noMUE\r\n=oc1J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGaq67M58KJKCRAp9KBC+ibRPC+f4mBSULLkbW/pQYYgIgD5+4npGD46B7GiU+7BxH8dFvPmx1Wgtr3RJZaorcE98="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2_1562069934210_0.3444226661730829"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test-":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"c4f8280a552fc4d390bc58335149fa0dc874f3db","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-XNdlQQm/0YquCR6Uc3QTgxJKxn4HTcDA5R+uTNJffsLNRvUF7QDiD1IUqJciFZxB6iC7TlbAnQg5toXzXxBOrA==","shasum":"eac20bfdf6d09b88a9614a795c8f8bc90a2116b6","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4.tgz","fileCount":119,"unpackedSize":1291860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG1ukCRA9TVsSAnZWagAAA+UP/04T/6va7sz08UxPpAk8\nAHfRwAjg+WBO9vzIDe4FZJRPAqUbGkshJBu1yEciFscIqXwWfNZbKDL1wSd4\nVFvVKoCAlkighxDJRmuGm+2imsPWa0RfpGpFLXuLeqp0XyrlpFdyRV3I78yA\nc7UkDtPcFVtmglN8RvT6dIgfYNkc3H9B9s6sRXrM4Lm7IRioNdDZUdpLrxkO\nsVtOounuhzoX1Hk4hAMDBqHeNvn7oWCXY4tcM8Xeom6Nuy06ogn70AAK4/n1\ntE5YPhnu4gTIkY4d2wal/fh+BaYzeSxbzfVBDqVaH/NXV4FCOJHhc9a0MvIV\nNB1e4PxsYwNjnDS67uZQl9hyQpHSMKaiqdpz2cH1IDKyD3LXArYE7VPd6xcz\ni+iO0Zvrt6dTvGTmD8GYm0P18SJ6C2TyxbNE37LG27ylUFDL9t07qVRLjFEz\nbV/GKYn6PsEX+LytbVOQ2q98CjCxCGPAT5QqRs3U7vny/IPhz8StUd+DaJYh\nBqrlXqjK3ZfZWAGEiXLSW34VfRDVg5zYDpqHHZBVoN9QQ2oujOle1YoeO/J5\nY+TeOetUrJsoYzNzVasUC0x//Poc0eBtTAXB2pSEtf9ZqSOCXDttkUt7VCHb\nepd6Q0Lvdv0yeT4r0cllf9rZJrQPNaAU72sCeDQ5fW9OWb8+hfFDbui6aGup\n2EBK\r\n=3beU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2dd0j8vgvL1q1cEV0IcaBoJSsQ596e9qMyDKoSopQHgIhAIUdX4QTVz+ZO9Nmp9grAESQrSaPLBpOkYQg1Spnsn4v"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4_1562074019407_0.33488175286728117"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test-":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"0ac081a1a0dc6bab47e10883e1216ce28628ac08","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-nGhCLbHFJNbzqQlhSpOiRGTe3mAcJ6Dfj2YR0lk4QBYiQnj6fLh1366ufZTKSgkkWrFbyR3Xy3x7hmiBBFWasA==","shasum":"0555da76dffe81d40448ef9e6e4d761908e916a9","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4.tgz","fileCount":119,"unpackedSize":1291860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG2tSCRA9TVsSAnZWagAAWnkP/1mNA4C5VxJ/WBFGJf39\nXeosy+SmVjEzd+nB56PXmI6NCgy5hJD41JKG/34EdTqcQRYKYFa81vyhQKGl\nPBEBYFj6G9VhgTdjuI392q1R+MfwBl2ukgQyXcHtoz4m5Xml0JLiKWpD3nY0\n/NNX+i0pJzepMPHYg74LOmeuzx6BouXX6Tp34OHYHeEyQOhZyjHU8aBNW13U\niTBeY/Nxh5zY/i5Whh8YXekaAnEJcvvsQ5zNlUotJFWraQesLvVAHQtgl7VB\nAuSoRCFz1qs4rbM7X4jZgym0mB4Eu1FfY4fGulnMM/uaXF40rypb1ZFPxnKr\nut4TqADx6HnVHmn2X2SlQNIgH5WBSg4ao2wYI0Um6u2W4qOSRYApiZxRK9ft\nWoGhUDAtvdEEigxK98Fe0X8FF5xFP+05YnaRSH7ZWeMLo7oUCBHzC9tlbhtn\nu5ivtu0CgBwEyT28YlaO059DXJr91mRVkn72zBTrV1HrFSVBDSiz2uYTQPDT\n6dvV7HQBZxFKAL+Z4kp1vsdtNMvRVDIEeuJkapMSdNzajdH1qekz36+lVa/D\nQq9Czkgp+wc+dZnrDH4X0cHC7cP540nQr+MXyejy4sQP2ABUI0+Pf5k5bJBI\nqSAl9S4ZkOj5X4HfVbrTCniEoQiG/jWNCHjbeXedqxrYS4b9r24DJcSTAT61\nOLzO\r\n=vWXM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8muRGWP23AyD6HKtNCUV8BOyd/V2nCnjmQEK3l3a4hwIgckg8a/YdBZURYCTj4OWMeuk53XbZ4bTJ8JSjhDHPNp0="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4_1562078033540_0.8910720186644292"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"6b685398cfec4010e2dd3a5390e7e4ee473bbea4","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-xU5crE4Dop4p3Y4FXvosxHElNZM1ztyPffU1j5FA3gHZLmwiCihQ5IiezeL6Tnw6TXmiZP3BIjqPmGLZaLXa4w==","shasum":"cae52b81dc6f345f63d57508100a40bba85991f6","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4.tgz","fileCount":119,"unpackedSize":1291859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG3u6CRA9TVsSAnZWagAA3HkP/3SCV0ng800ipRbUq3nz\nz5BGKYAGpfX10w1TnbXDrh8Eup/QBe6tjteu2WNEer0xxsnYVYPBWC+mr3kU\n6Lv1xGLK1AX2QOt20mqSqEH6oinQ4XFb8M8q6oVQmnzXIKdnrD8MOioJxPLm\nVx8PMoGaG5EdR4wXBaZpNdkljM1Fq/kOxV8u1w1RQjjmEufQ3539kyg1lUjb\nLvDQABTuobtAERXmdq2SrdRKYpOlLk9K9TmRXRHzlYUgjY2PGi0Jx3yQO90c\nFi6QQjTIGPiMHcciF4+RoXnj15f3tOeYi65YNwdbW108pN4QoWdX2vYVrvH4\nkQk3li9Hh0Y0RB2jgx4hR2TDiYoANIt/FYjH8/enGzIp0wlodHA5zFtQEvck\nbuoYJav6RFz7c4ArHMFufbYaYZj9TIWSJJ+F29ahPoC88ZCHgEeyeD0SXPHO\nNiHNk+MgOzWV2Q+UZqJ+NZ0O3Mt1OWVY1Q3LPtmMWKSZIHfYCGYILCiVFDPy\nTo28s7up/JXvnzfoPvHQs19/aGTheRaiCrJcJX37OgyP4/tBG7e5myEqedqC\ndsH6H7ELBUHYTqws5zKcuXETAYuzo8JrsFckNtPojfI/J9djDcJjITele6gu\nB6sICxJOfK1680dSisBeywQNsulDjmXKjdoh5m3IaYf09pV7f6dsJb4CeKy5\n/PoR\r\n=TagV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICk8VXmXh6IEUfeiSoA9zVm1NU/QE40tqdSPocq5g6vPAiEA3M1tHL/KvkbhHWTcdPMieWoQSCSRRzcaO7VQL3PRZTU="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4_1562082233899_0.4658392880902211"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.10","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1"},"gitHead":"24b747736bf544ce76849af3fbfc49f4d63a604b","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.14.1/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-Dni8wpcpbW6SBT+sRo6dKsuPZLP4QMXddotuqIaD+VAkvkuIHTZsdErfhvBoQdWPKPf//wIymmTyT76C+QlJzg==","shasum":"858ce911fdfb6ca1f5d2eddd0fdd8d07e8368b24","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6.tgz","fileCount":119,"unpackedSize":1291859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHE4kCRA9TVsSAnZWagAABxEP/1WzYwa3uM1Yxoxs2Ic0\nwtddRi01CBKYCOW4OTriYEcf96h+0biIJJdPhqQmlxsXRHkEEATLohwLQNeZ\nH5texM/xgEosmcN6l+yhuuI6kuRjMweofnz+15FsReiKnXTKk7latv6qCrwS\nI3Vu/ICXOI6i+1DXye1F6laWTtg8BNoTXaAL+2OJytN1QRuxQjKu7/oqY26N\nHNVZNmuEcLyzN+hEQAASmFoV5JH1z6ExrUd+3b04Lg/AbuAyeRgzA/wvIU1q\npEb82y+KpYi3l6v+tF0uf/kHVmr28oj9sAjVUS00bKq7MRV86m6zYPO270z/\n4E0r0wZkmiBxEN0iFmusDJY1hsoPkNOiFGo9JcKXBrSlJii0rbhLwMg7n+cu\nFCRPQkekfzwqBu7FXZpu9yRWEZFha2kYMdoY7hABIPzGyE/0kGJ0N0Mh9di3\nnCcAcSEmD0y6sJymJEL0gsNYafMnY8dKYEgb8yK3SykD4zYfEfeY4OoXGzt6\nUw/IED5iW1pxw/FhLj0Y1xV08ShGfDPMCrnUUw/zDEWjspLVcudYoH+ePIV2\nG6gKvsV4QMXICqKs6jFaJIBym9L9XL56A6DAoh/PkAMJBRRNRWfvHIIz1IRK\nwyIIocaxKnTL73tdlOjBC9WvLgllddjIyC6EYeU4UXdlt8cfASly+8n4d0BD\naWxs\r\n=etbO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZI5ZZlL3haAzSWmRUFSZ0QLAogxLu7mOd2Eos+GSCmAiEA+nBrKEO/7S9Z2+ciXd2L14OFLC3v/KXRWkB/Kx/0eL4="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6_1562136099981_0.2642458277301354"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1","@types/uuid":"^3.4.5"},"gitHead":"013807a1eac2c9645be651ae65b36c8dfd3f7446","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-ZR8+fb701ToFaK8ptSHbxvLIDlGXvZjESVxsGrWbzvQZPqL4UXRgxspk617gSzui7TxQNqwWYX0aJsP5gegx7A==","shasum":"1d851902fa14f4e3013b2f2711f62109d4f20973","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6.tgz","fileCount":119,"unpackedSize":1276913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHGIBCRA9TVsSAnZWagAAFoAP/2Ql9cP73ztSpRPZbG5d\nVOUfkjD9eWr9vdoYeqJHeDFAaL1MYuvyGm0HCitAPDgfesAAdwLHT6hVQl+F\nWIXuBmIXOm28ykJVbFZhmcTl0n76m5pT1JHHvc0AHNwaUHIfH8AEsl3PE5dM\nu83iDn2GlqoVnbeseKKXq+YV4xm3mWlF2IB7SQFs8oriQtcJ58WpS38QS4MN\nwQKkJB0k9oapw2CiqiZnyRNE23EI8QgOlrp/y3Eeg6eArS1dk+fdqaKBS6N5\n1zBXq54tbTa0J0srSEAQos+Ei6srQWTMUVP/ojtODBALCVUTCbj5H70PKour\nTvd6dOZGJ3/KvHjpzKnO1ITpY4/Hx65yBFx88wBdcgLUGtpoEXDgFWR6+1Iz\nKO7Ddu3lL0Zfo22sybUM1bQIS033E2vNAXimAWO9eAbgYLIogCDxPZP7ni52\nYnY5LdXSrN+oKJfS6fOUMWZn8WvRy+g757rcsYhn4wJ+aCuRgkdpMxqSqbPU\ni8dHbdRlzPWqc2207D/xdsrw9aT77s17J3pWZmNBTnfWla3xi7KcuWd2LpbG\nfBYoutjTo+6xVKQw65o+BCeWY4rzt6H5t+4uEhNhpDcyvDgxO+9QUDBWmS+F\nI73IPFgBgc1cw6DWHf9FpK3sd+tNU/qUXzZhIdsi/hLS9rB4sg62biHXArwl\na9ev\r\n=ZP08\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGUcS5lj+rJcGHtHDBq1z5WGJ5zhQ45XE3xJfjNmipsQIgATkM6fuQzUTs/Bq6MeMf9v3E7JZBd9We6DMhIZti2lc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6_1562141184522_0.9948223935124652"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1","@types/uuid":"^3.4.5"},"gitHead":"86d15c36ce17f2908643bd6d7d44cf9f4bae1cfe","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-dcbkX3QxaccVtSy2QFvo0lF7QgV6CIf4fb5Y+8Xy+SRU8Hd7kCP9t5VnMUd3V78M+MSqa5BZstG3oNrsAHQ/WQ==","shasum":"0e428916308fb6c77b0362dd93f35126f26d8b95","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7.tgz","fileCount":119,"unpackedSize":1276913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHGYaCRA9TVsSAnZWagAAGhUQAIvsS9t9q6PL9iPf7sxw\nK71GhXrqt3jpuHq/fKMeFYIfge6nrneyL1wOQzA4LvnRFR394SrQsai//86m\n8Dbgr90SfufbEDMZFiiMFgFWX6dgJMa9oIaQQH7IBqO8fi6O3sTvkSi5AcHg\nQw0gCv7yucoe34cTXy4GvfYBd09VaKRJQcc4M26Ys8mKhDqAXv55/iTCjzst\nD1TWXbf+KjjxQj6GMCi/Nfg5uaMcrfwEikPOqIOpOSiDlMprq9aDPyeAllPp\n3d6tF7ufhCw0iSQDGTrxJVpcMEAfJm6t7jCmebn4BHHZjiPxGFF5Oyh6x8+5\nkcsrYwm3Jpb/HJQzPQQW5kc+EWN3bEwBQ1pzEOz4i5FmYFDR8lNs9BTUmx3Y\n13vrfwj1nQR/5l9rHMfykjM2Df+aQtI5ES8zIodyZ7g3RYfA8uRd5bjInAsu\n3vozP88yoivqCdcrrt+o9eLUYwmj7DLbbKQ9WnxVI3YySAcnTxvKdzPHKCzf\n4+s8CTvuiej8RQaF6hZBgpVtiAhoktz4OCPRJ5DxQ2uN1XFdQJ08UyeGJbx4\nk8M6Y2ZBcvZssFjZudaxU8qGQdf+Y5yqHJbjli8b+FPGRfTKlTH0magFmZ8g\ngX3kMsue2SRHSl2CQOQ+NqvnOONQfX5ny+BMPz9OKkxQ4OaFj4vj6Egdqf2e\nXsvT\r\n=QmtO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+Mn/cHQwnhDa6y1WKjLiH374wbTw+M/0987gCci7TCAiEA7iQ/x9wZt+mDpo3sclqHF3o+pLpBT0JAvC8wD7U2yhM="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7_1562142233861_0.3861385414045686"},"_hasShrinkwrap":false},"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1","@types/uuid":"^3.4.5"},"gitHead":"4802fa91a31afa4634f062cbb760bf600693055f","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-t4EyYBDL4LmvJmtGLmfy1nPJlnQzE9rg7VH6QrAs11BDLqyeBekVmLpudf/FpS6BubcLtlBLNONhw+fl3wuPjg==","shasum":"a898bd802adaaa2c85398047f120e061a544e0fc","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8.tgz","fileCount":119,"unpackedSize":1278943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHGyyCRA9TVsSAnZWagAA5mkP/209a9l0Il5xkIEhwxwJ\nOEiMFuii+LCN+3B6iLypcnNEIEIyj+Y391LbrkOosmQEjkQ4KMOyfWwXexs2\n0G3Zl8fz/w7B3ely8AgsZN/sJDaFkeEjrKMW6UK5QLwcV6k/cCSfpY0m4ZC3\nImHxNnyWZLLDAys2yHJHL6ExLxuMLar+SVR1/n4wgTeRe95DcWDhckCSjEeY\nzac3C+WxhpX1fScPj5kFa9ttxNi07DIIUMbEAzZwflPS8gKwt/YDHi7N585Q\nN8kKBUNH154xmIRDhh1Qq6eEm6sVNjxEX7PHA1szEy7wisV2t7BtwZKLmOMW\nSF8/JDGES574VScXOdEZKP9Hn05vTU5iRv8X8PQM7LdHRiQjTz3hsFNW+oP6\ngstLDZTfAS/hzNIKXH3vjWmwhZ8gj7XVBwqw8phS9R3nAONLJGOpyCwDgdCn\nYYKS0QG9PaQTiMYIQTnMVZbiwDtEqJ1/BSBdx9z2Svze6FCdsSlJmHQc3rtL\niIye2KjjYq55KGIPA/nagGN9KAq/UMiiV7fykfMV3cyGLbAxfwhZBGV+94oF\n6fAEVtxukLXR/7fwo/pbMrl5pl3ymBFM/yeF5ycJv1eDr4XEkulsnfFXy1JM\npUFOWaHOUQM4GJt6D3WaghyzXTzd1M+Zgo8XC0aUWRuNDK02QoN26vQhDMSK\nQ0vd\r\n=+8Ti\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwaFuijrL/cKE7LRHVVsBQprtf6UWkORJIVCTwUASoTQIgaz9EiBJW/3rAoFs551HTXX0JG4F06LtZykIYb4k2kOQ="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8_1562143920679_0.1355409791544595"},"_hasShrinkwrap":false},"0.0.2-alpha.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1","@types/uuid":"^3.4.5"},"gitHead":"bad2068f906d693a0fdedeb672d19c47a354b849","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-nXvjqF7ZqjQIAkQrcMKiNaIAIZxuBLG32Of0fHB8Lo7JTYDNjEKS3e3ZLm+xwrLlZHKLDfpYywnxiL+irKtgxQ==","shasum":"f4cbb8c79975b9c2ff54baa0ada9f7991a8ec490","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.2.tgz","fileCount":119,"unpackedSize":1278880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHHx6CRA9TVsSAnZWagAATC4P/3ToGU6qLGHz9uUfxq16\nBiQzgHV79wNlrcI7wg2S/8E5lPNWAdcks1F6ftejmZDmnstcZ8u+jHXKm8Ug\nIVAzvtoEReSwmTzXmc1fNLXGNGkhYo67Lx4eQwc6GkcIneZoejHoWMNgX8Zx\nKAOostrc08nugYZ3UJuT7E+YKLRIQbd9pQAwp6nE/PrNPgcpLgYSONRvNm+j\n8fdVu2rbL40p4Z+eAda7U6s79YNSrPipo7VjRBAQb+SC79/VFEJ5Glxd7t+9\nGeWRtLM/YMtb0IdGT4LQMvWyIIE8mmjzyAgJ4pcBB7krMXR+ieuoalyjJbhv\nNdFnQYAnRW6z6Re7o8BWENI4cHUktRNjWRlRPg7V9I8Jr4gc6KY/rU1+iuDg\ns51oVWGmjuCTP6GJGpBoClI+kWYtuf60r1BziO0alH/lJVRQcFYOwHmmk9+v\njD653L2w1zbRBsjY3yOov/KZR+K+Z6DKJbLzUuJigCKJt4Z3NdR5ZgmvFjRV\nxjlloRctBbQsnAOctKHDcSEA0NPOTDEbb/cUY1S/Vt7FgDtMsOqNG/BMcO9a\nx8N/J4wRPC6Bb+HP+VgvGYrlUCfnkmtBSNxnA7n+JU4GfLug/ElWP6wP3QZT\nGH0hYdafTTQWq1+Yxgv0PhtiFtrv0cjX/7xxCQmPdguw92evRZYmzoPm5187\nhzf7\r\n=ZV6Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGwbqLWgmIrU8tqsob1Jy6AqoKYUCRanONBTGjSlUgYAiANeIpbafPKUVb8H7HhWRPSbDzIU1IGecSORbowVs7/3w=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.2_1562147961666_0.36891297365059517"},"_hasShrinkwrap":false},"0.0.2-feature-change-capsulahub-mount-point.1562225519.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-change-capsulahub-mount-point.1562225519.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-change-capsulahub-mount-point.1562225519.12+3532062","@types/uuid":"^3.4.5"},"gitHead":"3532062815ba5cc7e9c422772683857738c6c893","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-change-capsulahub-mount-point.1562225519.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-WWBbQp7CnhZ0LarGRGpyrFm+QEgaQPkke0qHRLSC0jDzbXStG9AAtJnsFT+wn2HRXDO8SlVqjHTwmG/v0zbAWw==","shasum":"a53c43a22cd847155c5820eec806c7d093ac6fce","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-change-capsulahub-mount-point.1562225519.2.tgz","fileCount":119,"unpackedSize":1278983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHat0CRA9TVsSAnZWagAAG60P/2Lc+Yed/zUVDZcX8hHm\nBGR1iBThdj3LFb2KQvu7SkGVJjnnFeLk9gmNDlMkz++2QkQYusXpBxvVpMe2\ndg5otJP1sZKFrnu6I7za7Zk2rkaYvgzCTs23/8DaqaROGMms/iu70vv/ILyv\n4qG1ZqHFzbBSqIXmyR+ksyC2+r/MG5uhfzj7WkYLTYD/TQL9kGdIhm9INULZ\nUOrWncXX3oFGQ9/cCKwUPGOuu3/YthRoQIbZe0Yqe2fUJgQHZKcluv+Fm+wK\np3AkH8ppWTpFinUNFbIJAE2EkUTejXLaWGZqIH2HsTzFYgXPJ7V8T7/XXcwb\nnHnrcvLrKzRWw8PAaf/HviukdIeH2qMDhCldhYVe5sALMhtr45K81jQQa0LC\nij5p401frE/xQvi4Sv//hlGt+jD5zNSgwhWfgiEaBI4iMZjhH8q6Ke6djfcO\nn5CpEwjZcxK9KWOE5/ygF28WBUM9dATl4KWBpcOZI3d7MdMJQIuE1vA8yN1l\nOhlCQHbk6CAuYfJMTUmuiKR4hSBB2MwhxibqnD9tu5jpRCvWR4WnrcQve503\nk4F5mYNgi1kKNnVNmG+sLka+FPVtN9ND3UXVKE2Wmpbx6UwxeDwoNCyMZ/dF\nsHfKhmIBbSc0uPxtA0ICZzxvN0myuoRlqmYgvwBPWCROjQWT0ieLiV6aZg52\n4nxb\r\n=zNoS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG9KKRF3odmeK+uM08l2e4yaJPOjS0QPktQY3I78LG5SAiBbNU6yVA3NlDwe3NXHFmHvJrlrErm6FdsfcNgMAV3Pfg=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-change-capsulahub-mount-point.1562225519.2_1562225523314_0.715534889794178"},"_hasShrinkwrap":false},"0.0.2-feature-change-capsulahub-mount-point.1562227752.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-change-capsulahub-mount-point.1562227752.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-change-capsulahub-mount-point.1562227752.12+cb948b4","@types/uuid":"^3.4.5"},"gitHead":"cb948b40f7529c70db3cc35f1f12ec93c6c85ec0","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-change-capsulahub-mount-point.1562227752.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-TgSQuOlP0whyjGfv1oiWxxaEk2OmTEIShCACSX+frAICDbWmtIRCPkb8pHfi1SUTprwaXX7B6rrCNhzjCs1q1Q==","shasum":"fed48f62d93adebfe5874f416a4f40d706c946a2","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-change-capsulahub-mount-point.1562227752.2.tgz","fileCount":119,"unpackedSize":1278983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHbQrCRA9TVsSAnZWagAA11gQAIs+SIo9NBXTNLaAWtr3\n9N+LtTO05KNXavtOiSjHnq+QCHHPeesMJyzU4zkUC264WukMzHqAu+g03TV3\nVW6a+dtRpk8PKNeltucnNn3+dxasZiTfrLCYMgCyYJqMMfqwU04YgYyg+ynX\nzXthpCnt45JeanfYdqGvQOVtVUPYXSMk8BP6Qkszds6V7aXMrSoM6TYdj/U0\nS8aEXq4TDE1eVTfLFkvh+w7n/lySf9MPwR7b2Pciz3kPd8MRuJbaTP2XbllC\nwzZy8gZBLgN5zM6YX1j6lXp7+HJxbhxtAlBxxh4kKc2qEDrSVony2qwYmpDR\n0stXMNkd0PpqIl4IZuiNAq2OCc3SvHwkATU4Cvq1QqH4BO15ZnLHJ/yyVdV8\nkXawktk7VJ/7TLnUKH8KcVxaceULPLngU0pVPdpOEyAbh4p9m0b8fuMdE3NL\n3fYSJMrDStJ8FCnqUvmJU4jUSueX1YPgRcNHNzu+S6eFXjGzn/7Rr613WwLf\nLYxUvRzNdMgXmk2zCFySFoPklXIWmk3hRo9gZJYuy8jzRUgkV4B3fXI3bbTx\nIfGo3tK8w0Fw4F9W5sHkoxUKnY/OQolrJmOj39XToieKoYnI2+GMdxfFJALN\nRnr3sGwX+0kT8RZcyYR6weth+OUOxkdT1u5w4YQT+0AN0w6L8vTNR8xc0w/G\nbTmV\r\n=dXB9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSgTI1D9jVVkD8G4SxIDJJrcEnu8H45KytO2Z8QaLQBAiEA1Nr7Wy/o5ieZEQp3U2si4oswaWDYLCYffVHxb1VprIU="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-change-capsulahub-mount-point.1562227752.2_1562227755105_0.8604780854699308"},"_hasShrinkwrap":false},"0.0.2-feature-change-capsulahub-mount-point.1562231829.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-change-capsulahub-mount-point.1562231829.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"^0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-change-capsulahub-mount-point.1562231829.12+93ac21f","@types/uuid":"^3.4.5"},"gitHead":"93ac21f20ecb74699a517ce9a18394b933d19cfe","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-change-capsulahub-mount-point.1562231829.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-0nmIydMpV3zGjd5ZQ4+XuTOpYlLkuWhIWBWkbSLGAH7HLQ1NGVL6dI/bNxFeEAoD/5IlBoa1hTEsdTTaOT/J/Q==","shasum":"6b4690531efb7f491fc73f06f031c12d7f4fc3aa","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-change-capsulahub-mount-point.1562231829.2.tgz","fileCount":119,"unpackedSize":1278983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHcQZCRA9TVsSAnZWagAAHVsQAJfSpeMals4p4lIwNqHx\ncZH4dLRPS/Uqfrkl8LY6iSZaSkE8zZXus4n8eCoUQkEPUZ+ypWQP9YE47s5k\nof+GthpXHWf8FckOUn2ZcxOD4/d3OwC1MqakjuV6fJ/Fh3Du4byqplkrLuhl\njdEMKyNj97+OwCoDVPJHcc5hdMcPeoeQ3iwhCYKf7Fg1ph6aI1Tk9DJYNOx8\nG2YbuqOoopQQpWtyMHtzbXOeIY+vZ6N7AmjAijFN4/6j9GHCqlsKXJU9otnz\n1PfY9MnsvFp2/SrcnkPARMO8oSjDdlHiO7wDdi7mCDVCILSQGUAa3fRrlxwY\n8cvPCOV8Dw2SKiQhj4f2V1gzwqOhu/aUCGQHk7Ht6RpAWXE38MT+bdRU8HdQ\nBWRx84i3E39XKOQVcKNC7bwld3BtIw2FUnZK/3pAFUmmuJ1aWVhb9f2CDLB2\nRxoDQRgqGgFW40O87r5E7cNIQS0dTnZwxrrugvHRY6ysTVzZ1YapfKEPPAUY\nYDIdJzoIlr3eu6kUapzSWyX4hNlaf5ryX3zul1YdHUrRAkPhPb/3GfJKhpBd\nKcskafzppp61XbSiDzFXCbvitndzEdD4HTH1Mewq557JzQVljRM+qw9KxroL\nUdV1OggN8L45T/YWMuiWA6wPNbjga5SkJ7n82GFTxt5VjaUjIMjVTvVORIRs\nHqFa\r\n=3NMg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXP9gAmgkmjGXW3zYUS1N0pEzjAUTRH02Z7WUDp/u/fwIhAJ9Xa/1xHcddIc4ev7e7hSonGrf9k8XtOTcNmQCvflHE"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-change-capsulahub-mount-point.1562231829.2_1562231832696_0.5788167208168444"},"_hasShrinkwrap":false},"0.0.2-feature-change-capsulahub-mount-point.1562236696.3":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-change-capsulahub-mount-point.1562236696.3","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-change-capsulahub-mount-point.1562236696.13+8618ee7","@types/uuid":"^3.4.5"},"gitHead":"8618ee73790c43f19ae7610329a0b115b57ab160","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-change-capsulahub-mount-point.1562236696.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-rSpWuQjN+oNEOC9F48AHbskNbjr+fzhXfX6fXBegzzikGLZ9lbzbHATO3EPVfQwDusdZpWWICsR1HpIg9+RphQ==","shasum":"4dbad0596bbe65237b986aa0f9a2bef3fd6ca457","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-change-capsulahub-mount-point.1562236696.3.tgz","fileCount":119,"unpackedSize":1279886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHdcbCRA9TVsSAnZWagAAgdkP/Rma+W19+l23CzJ0gwUt\nJoZYW0uW0A/Z2hStW+Ou6z+695QcOIXxUwcTukNYt5Y2B5d7c661jueXDT77\nwLD69pqk4OPVDWQbREKRR4EEI9FaHMGz3QzRHEGDxGVSyGUIoLumtgwDmYy5\nZpwibzCR/52ghRmn0GLvFBHEvRHt1+DxYO47RBfiC8xBdrqbsykKzQcatCgZ\nMQAdjGZclLpR4ZYx/1aC46w+2UI6MdaWtBLhkqpiQ/8WOctug1BIOBxePvGq\ngNwZHpRZF7w103F13w/2jiCzskxGMA4J5yhRSQZCT4z+ZEi1r9Jssp3RymZA\njszELhuEBwjeOuQOPvhl4GcyOrnjilD/CjN7zmtT8N1SSVcB4nDZiuB3CsKg\nkrD7/pCQYRCqR6Q4yuIj66qwfplEAXfQWHvXFK+ToxiqqNdXjSxWJ4G5ddcw\nr/MDcz+GkFYwlvt6SfgFtcaFsgDoBFgUznpPVXdyl9YW6w0EISWdA3sM7GjN\nqyWrkftfGYZv6rwbNBBjedtWBGNtiLCxOt+Ecj4ZTD2bYZKyqosplN1b1L5l\nwxKf92npOdTaiqt13EAtosaYV9ltbFRdzbt/HLRXgOjfsIE2ncjsq91pVrD1\nL8TU7BZzuVhMkvT/FxOTaLXXMyx9ObfhPSeWvHvsCP89/3ZQ+qlvU1/WnepZ\nb3qk\r\n=8Lek\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoIpvKOxpLhCE/7igYPG0r4+E8BjKC+5Yj0v8G8DrgFwIganj38zHg/HOiuPMmbWPy7wpmjUJt6HuMF4dp3sSJJsg="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-change-capsulahub-mount-point.1562236696.3_1562236699107_0.21619864774265918"},"_hasShrinkwrap":false},"0.0.2-feature-change-capsulahub-mount-point.1562238689.3":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-feature-change-capsulahub-mount-point.1562238689.3","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-feature-change-capsulahub-mount-point.1562238689.13+c5668ba","@types/uuid":"^3.4.5"},"gitHead":"c5668bade34c4fb42d7239008dc5b573ae4aabc2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-feature-change-capsulahub-mount-point.1562238689.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-CQhdRpol02NQTHGMmdwsS3Gz4yLA4+IaCOUK3nuVHqwHZY9c5+tMUGsFmBeDAynljdmpV7hDGWdA6fh8RK9pug==","shasum":"bdf3bd826a020c2ad7d9ff7444d9af89d955fc6d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-feature-change-capsulahub-mount-point.1562238689.3.tgz","fileCount":119,"unpackedSize":1279886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHd7rCRA9TVsSAnZWagAAAIAQAKQA8hisMxNP7OV3l7sH\nxWFumsWiPIT2Lm7VBEsDi0AzpeEwi6opSvuGyAxFG7SJy/F71WwTqwbkRvtI\nnyfa+1S/xdXlpBp4vLisnt6SrJDx5ucOcgSU+pg2BrsOfBRXGXiWKnS6/HPT\nvsMdRU9SKppQH9SMfqoIGqZMqEVXzxNX5oO5G2/DTANDgP2YqcsI15E07xZy\nUb3AdlljxnbxHNjOt9mypj+DgXGQtMWlRTwqcbcsJOiaCr5IfVQyn05YnlBS\nFVwATRSgOzbgWcre1WrxlAuR33ciCMHIFhUVDWqjUs3kjr7VJT+xwe8y9Wus\nFtvB4kudV8DeylwPw0sBw/Yl/cX5DmAhp2xuehLhAbEhRxpHTjPOeGVacCPt\nbmsl2m1eWQWx3IaGvHyvgnUGHbxDReSAqRHAJP3ihktpBL9MLttyrjX4r14T\nD2RCWMDT54S2zJCHPaAi2yF4mi7XuNUpfxJX8yfDMEY+vB86YvLhHguOQQdu\nR8CcX9n5tP4PRsEQGOqll3AogIXHY3Ld0aV1LENzMBPE9A9kVyNzpiaZ+6BR\nGD4gVOcnuixMnHUE4e+zv198o5+ayNi1q42egmSm8+vs5xbV2H2u2xlCrmZV\nRKSC88McHoSFaYFcT1+yUWxPdkvHRUpPRZV3X1bRSq22yW0cBvdmeqzBU9Pk\nkjkn\r\n=LOAg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbfNCXw7o23cB8QnWYVAg6RuxmcqDIl3LQH7I6OZBANAiBT1QCuJEcF+JNN7Z9UyIrq1nN+BeyY8s2rFjc6mXMVrA=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-feature-change-capsulahub-mount-point.1562238689.3_1562238699287_0.3314847941345813"},"_hasShrinkwrap":false},"0.0.2-alpha.3":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.3","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@types/uuid":"^3.4.5"},"gitHead":"cc32ef69b20108598dfa022f5942df420091a5d0","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"name\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"grid\": {\n        \"componentName\": \"web-grid\",\n        \"nodeId\": \"root\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"nodeId\": \"request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-IHiuPUODMerIWugxs1HF8yZT7U5koC1KGWeT1exXsmzRZs6Lo21UWqBNcoZCZ22vvi/nDMJEjBigJXEXFXwOkA==","shasum":"ed9d6b98bbd1e5af5e638b73689f19b2e97926f1","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.3.tgz","fileCount":119,"unpackedSize":1279783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHedqCRA9TVsSAnZWagAA12EP/iJwQYF0MrHAkdXVWuW3\nFL/afbZFcKU04EA2UNrkrUEUO4/cu0ZENW6+goRYkiIEY53TPvy7x9bpC/1U\nDf0G49T5NHIIuN1OUgEITMM69vafU0/dNuztFkC2B4r3RemHa/C1k29FQauJ\nOrkVft9G8r3Zab3JE1d99whszOWSTtpjg0rM39b3r902SDvtaF7JzxTkzhH5\nJMbB9uOUr1t1Lm2/SAV4MVMlTClSOA9PY6n2ez3nwlJqh6MQoH3zouSMujlM\n7zfgWRtLK/0hzVqH4SaYIudJ8uoCZAT2Qjt5Z6FclHhIWRpNoZ9Aqzow8HDU\n+aSwjv5ili+fnrrHBcmsim8jRGB68BisaB5C9oq85/WCE1fDdXu7y4IaCzx5\ntNrVxs3Z5Q2YIgqZymsYzNeg4oLn/mKT/U2WGuB3m9vju635BeYPKw8ahBCV\nNNMWGH/HZMBaEkb5nBr1v+3b5Rauh03E72Glx/azS5Vcf0JPbhJhGuPjvYGy\nQi57Pb2KzNbGiFGrX2ukJhLiYzoinXiukggE9pAnlXHaEKqjlbYitk9bUj4y\nWq9b3M95FeNrehwXJTGYkcLS+6Fqf3LzJR+50HdLQbl0OvMmsMKDveNQd7Xb\n0Iqj3Ng9eXscBZGYtKj7vpE5AsgqKNJTZ/lkYgq8XTxVjjGFphMN3Y54jvHZ\n6zlS\r\n=4K2X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmybelVQbIWVJdkQr0ZUY9NLffVGXODPBoqs7JgsaeJwIgTr3dF/bXycVvPdWY4SlbhfCGVHne9c3pE3RU+3CPiWM="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.3_1562240874156_0.007804325434911608"},"_hasShrinkwrap":false},"0.0.2-alpha.1562256599.1":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1562256599.1","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1562256599.1+7b24ba4","@types/uuid":"^3.4.5"},"gitHead":"7b24ba458a6624dacb58ce7f75d7e41c981fb1c2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1562256599.1","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-ZGvyfLwHW5rCuyJc8RHICpHgPQskshIDTo/YQs7/bj+CJrO8ToI0wFXptKXTzKC6Bv7ZffQn9rSTkblj8pK92A==","shasum":"051785fbe0c5c4848341fd324ecd5670e1f7bc6b","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1562256599.1.tgz","fileCount":119,"unpackedSize":1279623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHiTgCRA9TVsSAnZWagAAS+MP/j2bRIfnS7AOJDTo2I0g\nlJeoHH8ID8zEnD+HNYcngfx0di7VOz1ESZDtVp1sX2dweEu6CGnmuGfpIfbN\nVLPU6jUPeDo0njbvux29M092E/61gkwZyPlAJTgihsJfGZYfXCpVtA2eHie7\nDq+QnoswVRJoQci5pesA8bu+/l8NNNeTeVw0fug/2SCbWEpvOquK5OYl1uIY\nLPeMXfwsKcdTD1/k5CzA2LeZy/+TnZblz/fxTp0lUO+Uhjrq1vT0yQ9Zz4pR\nAzdiY8E1YyTqSxHCCFd/wxowYorV7/NMmIAplFe3oFcV3xaQ593NgoPSN5MV\n0/yU/dSnkJsXjwHY8C3pOgDvoNLl8GXLc+75rmnOkDbqPPUt5djgeJ7Y6199\nB0sFVjlc+pO5EY5enAS7ArKG6rZ9oTHkQUsrjFp5J2z+g+o+AXkZ+YaMmtRw\nuoiTPZ78YdN8ZQOlCfqV/eRL8WygPQ4khFWs7eb2yfUqdhNYLe8WVHyQeTxU\nPnka5XWWfafUDykiMpi+ORE/lgsZOmDA0IWTJuT/3Nyg4SQmUA71J8aRn13p\neT/EavcKSScUlZwGdMwHndE9woP+Cxd3ns0K2Rz6r9o7o/l42mNV/ss4GFOt\nwzB2mJACsqUgM4wfBEcOQVPp1q1xDlZdqIsztv/QmRpMPjABGEQKpP9sbF/c\n/KKp\r\n=Sjih\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDrK10n3l2Swn9MmvW/MkRG2TgVSWqOTkXnsLPmTFYl/wIfc773b5ei6uIYO9F36EEMC8RwQ8XlVpypyCb38QHXjg=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1562256599.1_1562256608002_0.42943756315977555"},"_hasShrinkwrap":false},"0.0.2-next.1":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.1","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-next.1+260d8eb","@types/uuid":"^3.4.5"},"gitHead":"260d8ebc03d1d19838f4a533e671be3869c87d47","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.1","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-NKWCJ45tipW1xq8UkUHX6DiBN0InbjVKhhqlvCSdIADOQyfQDzYoDQ15n2ud2nL68WQWBteJIo7HVnK6dUOHZg==","shasum":"24286a64dcf82209a9eb86a0db495ae67d2b1f03","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.1.tgz","fileCount":119,"unpackedSize":1279599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHjcuCRA9TVsSAnZWagAAg78P/Ags2ZYQuIlK2DPLtyYu\nifNyeN6W3jBhJjpBr6XLeT6XtIV8erpOBnZhbKFfW42HlP+POR7SAwo/2Con\nLkN8KhtOi8JGjNa1StIDYwQSHJ0PPdat9vv+/r5ve5sh2cSHDJf2jUEBMf87\nTcTfty0PKcN3pJ9ZZXx1R58oqJAQ3xg8ZI2Z0fijjbsb2U0E15a0fY3Usqsv\nY67K5cU6l5mhpJpP+ITfFTum74FabajPzxpCIafwlCRW7dXK9iBP+GkGKeit\naTfbRxCGkmKHjV+EFUivf/IzCkcs+igCavbEElnmMdXLGOzptsGxlNDdAxv6\nS6mT2L6e7YunJREGNDHmHRWzmkckrIs3zWVeqGXLRvg/7+2/hxuaHIOdVYD8\n7XqYSzWxvUBSWgJgFOiOqhw7/z3dAOapC5nLR/mbrFWYThRFQbpWKnXykxML\nETymNGjf6vN0dMaFYB2HW5q7yLowurDwOxbyhxV7ZcSN3I08AeGgW/uuJGIn\nOw+pZ+sLD/cAd/qpZyc48i+Sm/V6H66J0z5q+VeZQcrjZP9U0b6FTWAf/hqs\nD52nIBOLfD8GFRioBpWV2vqcChaEWwW757e5LPU+d7AjNVlAyZkQzgzaaztR\nF1LYyFEReBQ8PUMF+clUGWsMm8r7gxZoy/hV8TEJd4RBg5ke3HpMiLzjoJKZ\n/+gr\r\n=KMpE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFaf9NlJcirtpRmHzMjMUuiup6R0yK7FNrVSK6LojtAVAiB9WgblUCHHpEsauHDwcoPnJvDtW6EE4HrsXE6ooY7Uow=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.1_1562261293366_0.6626061576529747"},"_hasShrinkwrap":false},"0.0.2-alpha.1562587243.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1562587243.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@types/uuid":"^3.4.5"},"gitHead":"65130584d61763802f4888e6f40d7d6c54b85c67","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1562587243.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-mq9f5ay14mvFL+0HKOyhF5lBP2tzdmSXmg6EinUBRQepm75lwIi67rMksTZATkjeipOSXuI2DIIhfaWzDiPWhA==","shasum":"c8b1adff7ccfd5cdd89d949db1c7e9104c714f5c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1562587243.2.tgz","fileCount":119,"unpackedSize":1280923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIzBxCRA9TVsSAnZWagAA1BYP/24EAHSnDLGtLcSo1jnp\nBlqDD8iKM9e25kO/tjgY9h8614uzt4y15fiIpMB/yIkKdpXWQ8L7/wHo+EJF\nmxP4ZLcPfY45jpXO/cGxldWbBHvF8qvWZd2iNeYNczzZeLoFWxJQ9tfR6m2J\nLXHtPsUVmI6T5l9M6lKnooACrUaxpU/Y00DDYH4Pb1fQKwD+OseNQp2t7js8\npBNHaBPWWzk4dCWxBiZkXL+9//Wwe0TTgVd7DVE32eNLYnOg/8Gu7fcP+pVL\ne3aibFuPAV9iP+sBySH/Qb0eDESmiVHhZeTfpz4mQzQHX/M1XJEEBpmB0bSO\ntwfX545Ie6kLbTP67GesazOi/tgvb0+yEDTluz0h7605mt2IN93hl27Cj7oU\nYuwUDU96QyPukLstTM/1bbH2UmXTX+Cv6UfCmjkl8Fg4w/7Oc+XP8pbnROtC\nhO6Hu9b0B++Rl+ImBPjnTjIfyUDWjXiCLItGVq9Z1EtJpyOiA7D5UuMNmS5N\n881s17iw3qcTWlOd9I1/uOuTK4oCT9WPr7VjTZWX64xJedAAFnjsCzWeDfVG\nmdd57xxyU7QGGRSsLpvTAGBhuQG6vGgnktT9J6xsQj1wk+Wq8qPl9fR7XLSU\nIPWwe513Bm5dNIGNXi7Sgo2Ee8XFZp3SOQzA3gfuvtoZeDZ0B0mCOaE9Z1HY\nxkCQ\r\n=SNg3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGW6wG594KSD/QxjyY1K3r1vn8Huw9VhGhPNnSeIsYV8AiEAiJI/fU9bdXdA1fiQNqyvFkRF6qEs8m2sfCKTgbXTWz8="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1562587243.2_1562587248428_0.32693648241496387"},"_hasShrinkwrap":false},"0.0.2-next.2":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.2","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","rxjs":"6.5.2","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@types/uuid":"^3.4.5"},"gitHead":"995a8c9a2c9ffdb04183b4d78c25391fa2dc86e2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.15.0/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-mkAOyZ3fAMWLwiGVCCUQnxtbr4Nt51hma597kG3F3nHIj2QjDDe3eTdD2dcdRFzbyR/rkYzFbtxucvl64SJvrA==","shasum":"14f1c5f123c4ad099276b0a2f84d2660f1abc316","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.2.tgz","fileCount":119,"unpackedSize":1280911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI7ZJCRA9TVsSAnZWagAAD0gP/jdQXxfRiV/WHmNI732G\nZbfJ1dpmFDU283kToF5T4mOlsfPhq580aZjPYf3POPue3KAchScrGzESaGii\nEfbTte6r1BC70BCZH87oYvIzBlqHPO5UgvbjnlCxOGTWUam6GfTZPlKgMDyi\nKtLa1yX9LNFS5LiftMQ3gDx+3dM4CMgSH3jn8f5LzaRPikQdymQXQEfQSHNY\no87Ku5gzT5YA4ZNDMevRccL+ix4X88qwkFywckc9Nz4egy2o5uXPg/IKPKK8\ngPsfhfpLP/UMZNVL0M3Y3vf5+3rydhPmyNjSLIvRrYhSy7vp/T4rJ83rbPDs\nItOp9HoXPYm3iW/erpvNWMFOTD6Zrk8SG8WYJTbzC4zI63nYDrYb+zCi0OXS\nUfsv0duW+jBVsePjV4mEwPX4nmA3N53D8BICojzQ1kcm1B3CqtMl29RbQhNE\nNoPb0n8QtmG7lQvbDZYVyQFUN7n9sM5RLEJ6SiKNnikBogXBXJHZjEJKni9R\nC12kUblulRkOX7x2sjTQvfCsfRathUDv+kgBLDUFYY4X7766zVZl1QS/N6pm\nWp8WL65QoLN6ln4R0V8Go66tyhcGAeQNI3Qhx/Az0Pw+JUfmM8HvFo/dk5ST\nCTo3BPhmoDV9ImSRwTDrGnNLRLJfX42hS91Sn8tbItKbSxhM3Ef1GTxLXx4C\n3Ux9\r\n=037C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO6UVAbsH0mwj/awdvGkDahh84bwdl1M/FMB6EqupsRAIhAJqaSABG9CZZ/Iwhe9TFQElsozedrCwF/uwsjwOlFDop"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.2_1562621511944_0.04734521855757001"},"_hasShrinkwrap":false},"0.0.2-alpha.1565077029.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565077029.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"0a0ad52b40ed85012907ba91fbe7e27e80604e0e","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565077029.6","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.15.0/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-Wy4heswPxhvtSNGqTxD7/AgO41lt7KRt+DYxdj/l5AfcSeurcz2tI2ZULlfMkV5IcPQlQ2gYQPPi0norNuz63Q==","shasum":"4a69123072879e3bbb86854e1bd52299c70654e7","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565077029.6.tgz","fileCount":123,"unpackedSize":1294723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSS4oCRA9TVsSAnZWagAA8h0P/i/UntL0fUKMIKD1m0it\n4+oiPtsrY0DkZdGLtmY3erXCqNUFP02OC1zFM+WXHOJ4NKxESAVF/Q4NRhuB\n0Zmd3/SwBfyL0jBxND2x1l4kl0utd+wShH27s75uj0wQmia8G0qXMWux7TK2\nQq0s2yjyzjS0QKdL00bOjsHfNA4a9O76JgOMp3YLS+S9MxTisSb65//hHDVs\nzuPzOObfbShOpJoQ5I2D2Y3GjGPIjGBFHbLpVQwqRiSRceS0IE3RGhJEalQn\nxSAboMOq4xib8fjCn3y2VA0PePT2e3SlncBOWZpDLK3yAPxEdsrXKx2OBOLU\ntqjLS6GiuaFk3zgXhdf/ix9U50ivDnymlQfdjf1wj/bcejMTJTvfGmm5A98p\nF6AD8W/q670acmrpMfX3xs+wYwvN7+WfZ3FmVzNIEQt0yqIyDlgctPQWETIV\nluhhrWyg4pVj0dk1B+mm9MM96By04iO5MF9Eijj3l7asJEwJEMUr6ymTFcau\ntmW6+Zp4UwuYBQnlJAEWy0C99zonerzUANsffpFTX1k9RTevnqkqiHp1VPd2\n+OocSLW4uq26ssjrBbfciIpR8IAW8f0cEtDHee+EBuHAm31KYvmImWMrlsu8\nzkY8RyTxCc5IjuCvW63ACQ+XFiVWtM+IiKDrNZ6DKyrQ3irCP3GiItZg4YGa\n3CjL\r\n=Krf7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICesWROcCH5FKXsy1qOL3EwaQtmSUJjugYiPSIWG1ThMAiAUroK/nwgGKGDK4Ti4tHHyMfm16iP2O0d7584bz3GDRQ=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565077029.6_1565077031950_0.2188996403316903"},"_hasShrinkwrap":false},"0.0.2-alpha.1565077289.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565077289.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"4faaba700dd0d2f10aa0a655d57083594673c195","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565077289.6","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.15.0/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-zapesRA+1lGOkcmE08KbxHjR+boub3FkeO9fr3DipjRyK4bZ1FYYhuyW3/98KN4f9em1cg1hpCD/HX2Der3eTg==","shasum":"32e6e2c1c21439ac81dc45c4ea077baa8ae4b719","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565077289.6.tgz","fileCount":123,"unpackedSize":1295436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSS8tCRA9TVsSAnZWagAAmNUP/3gx3uEiIWoR7I0qHW0L\nYcZJFTFdBBiuAtXP9oWG8aIxEUoKY2OxrbNmDwrHgd8Q95chLeSn+ymixn3D\nMLuIXYF/Ry0S931q18V5lbdT7pzICkY3siYdoWyCIoEXs7fk3gXHfDSNT/LC\nXIKaXeCQnUqD+ycFMKoXsnxL/EpRC91tndId7DdK+9ijun6EhN5EhCK3c6Ln\nyxtCLyg03oTp/muzcKfYBsz3km8AsYipFkuv2DlHwsL+guzkChKW2o8Zl36C\nBepvE6NDRA+WsKaZVe6ROmsVHBy7aX66O9bdK0N2D+TxKnunI0osfET/3pYj\nxO4TJbtbjAwktu3KZxubLvAekc+YWs9Ls8A/LTz6g2NxSUQDEJYjjjbIGET7\noqjQ9AaS01kUuIury1XmOwlfGI6Kz7AFRU4BmXKEa3YuoUbNmVTPHaexYKcr\nXfVCBJ25ke2oDRhQs12F2yE43qz8bxN8VtZM+IrX56JvdWMA9k0PKd3yIO+6\npIoSoH70n7pOqM5FTAc8mYYGXSlCxyqwfk5PWAqY/tOobnha0khAda8bURGq\nrtY9KPpXX2+HY86RqBYWn0sNjb/b7O/QzwzXYnJ9zvOzrJM65/e1W9TD2YNP\nSMHwpbiZnSGq3hZTCU1umsd9GGRwiGhyZsYIfN5WJCWHwHe/bOrRBEsdPmFv\nei3d\r\n=J98N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcQf8fUfJgX280q6IAHU1x5FvMMo6l0nROiJzAVkSydAiEA8WVMWGfZTY6Y32sjm/0LdmaML2l4cFVLk+77/pP96EA="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565077289.6_1565077292802_0.19310125384408683"},"_hasShrinkwrap":false},"0.0.2-alpha.1565087923.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565087923.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565087923.6+9dcf498","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"9dcf4989ce758734a3d8ac9b46b33ab7aea29ad8","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565087923.6","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.15.0/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-RyfORuyd9Z+Ru6nAd2tuQ/unDdbqjTG+WsXZFJosDmwKTEyN7z1Fmo1mjEevSOiUcDb8LXNu1QycQu9daFsWHg==","shasum":"3b312a85683fc10dac9ecbd042e5bdc96b083466","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565087923.6.tgz","fileCount":123,"unpackedSize":1292946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSVi4CRA9TVsSAnZWagAABFoQAIEF1vpmeaNx6ZK1mgSf\nQ3iRDISLRuTKpsNTWP2j/fN9Y07Nz471k5p0krbnU1hXWNQr26jBMPmtTJi+\nymLLJmw29kYBYkcBB2mNeE8VXmGLXpxHtQoeFRF3CE9+BCiUOACNA6c8aCa3\nm0jLxQwl/TkAwlJWAVCbJq396vju5h11o4gVt61nGYihT0K//9PUCw38X4D/\nhDp+ZTzhJG5qR2gdasNGN5sCaJTqtDl1j/F8570o97YxxvEpoSC/MhX7Homg\na3Zl8qOiH2FOvqy1I1d2fCTrSkq9IEWHPXT37Rj9yucAJ9TZjMusLu/p727V\nuhed84LfrhtuGRSLuPXDI+J9B+FVNM6s7JmYRmfWKN0UAe0uwDn7p1o06a6r\nBbT/tbWm+2zdMlgKhQu7PYqqjLrNP5q1bkgN6PY8tG5OYH6yJJs4uXYyZozO\nrmabb++CF9OXkKOzVOpmqhgoqK8b7QEgQDZBzedE04O4Kukpn5noQwA+y7vq\n5s0b6oZHN5z2+H6qO8EbnHu92LZVtGYf9i0zMUL2v0A1KHxGJgrjwZ4XMkWQ\nxJmlssRoIrQgLwHMy8VZ8X1CP5znpdX1VkAEZQA0P41gyyHvylVyFK0gD20S\ndUJ/qL54nKuCc83q4chdWC2Km0LkL3xZpVzpabKjB9r1ooj9UdRQfwJdxDGE\naMVr\r\n=1ZfI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEp4UAAeteuNrx/MxnFJv6BV98tbuHTf1P07xX9/y35YAiEAhFRtdZ5aVMXyQd/RX+xWbljz6EnQLJ/O2IqXTpJwl0A="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565087923.6_1565087928136_0.6923534105789084"},"_hasShrinkwrap":false},"0.0.2-alpha.1565089269.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565089269.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565089269.6+0359e00","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"0359e001ea363167799dc9d9dd7d621381c793eb","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565089269.6","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.15.0/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-eI2O0DMGuqEem4EjIA9MwJA8SRXI8g/ESmHHAp2WJnXvIMr6eC5SDnVbWBsyZs8vJ1r6YmAxq+ZG3HkQfwPPdw==","shasum":"70f43c9820942791d0b913cba802b07c6bc53ebd","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565089269.6.tgz","fileCount":123,"unpackedSize":1292946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSV36CRA9TVsSAnZWagAAehwP/RecHA50jgpohupHboAZ\nl8pInkfYyi+JNRmpgl9fbyeChwLMterr+5rb9SFXN9A7ww4Wa35ymeWeNRsS\ndVNTpS/V+JleKXlOrL2TzQQYq0ly4/Qvzw3ihKoiAnXCclvWjWzyLtn1p+CL\ndpLJ6St9ZgGf8n0B7G7czPKUfS6jwxhP+z01h4KLUoeogYq6Swu0j5Vpn6SL\nfCk8TIdS0y6F+9dFWLSymLYPrfpoUJM5PZpkjxCMqDr9yMXuPOBast6ODXS0\ngheV2aUA1EBLiznStqgPAf+XcwqMtUMdBlrFs7Bs6CKo8ce4unmx59oRDz8s\n+IhvuJYpNhDNvG5um9ybPZjo5ImUfhHEJhMAyE0xS53DPwcXtGwko3Ncso6n\nlv+as3gbOce042ih+DFnkOwISL2pnleEi9OJi08QbEK8+vedNfFvmxiWgGSI\nY8YFPgWzrgp54XXNeHKvui7bnKr9/cl362hJHzAD5GykLNAKLTLoNqgSnSQU\nq22dmYsZpeDsWThMH9FC9/lk5K5Fkbv0pmNvVFOgfuccdG7zjQRrA6KMgQUN\nH/6xNjYDJJDKcCBM9pyFmmah9KjgK95jT0+hbUIhkmixY/bCys00hwt5NQzo\n4vU2caKinrOJghwISb3OMqQM8UM//vdHDhpSFyb8r8L0HJTAmK5ulScCZSdW\nNMKj\r\n=DiP4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwI9OgHVC5S3hqyR1iMtB4b8FtHVKjVMGX/7O+sQuMKgIgMsgE4f8xVIQ4PETCY2w/qnj/6nTSfvRBN4Veqy8K+No="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565089269.6_1565089273898_0.8107113553736267"},"_hasShrinkwrap":false},"0.0.2-alpha.1565106263.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565106263.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1565106263.6+1cb2c16","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565106263.6+1cb2c16","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"1cb2c16f6b8c52057d42527d6d49babd9e04f2c5","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565106263.6","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.15.0/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-WDIB0A/Fsg7Cke/4J1nYTkEGIyMbfytRVzW1+jqJUoT/Lm0GOrpQiS6eqIN5rhc5CJzSmZZcEgPk+y/TJPKYng==","shasum":"ba0069fbf3226d199c671b38e84d7b9a4f250c41","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565106263.6.tgz","fileCount":123,"unpackedSize":2384577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSaDjCRA9TVsSAnZWagAA9p8P/iUbEEsqF0Zmq2BT0GaW\nYyLZN1IXr/T+7VVBJqDuTIs2awXzwriDJA1CdT3/JwA5khPauP+TAqgG/79D\npAS/QlXwJpBFuUw9CGZjfR8qe28aJoAqNQmgg8dXoS0cic+0BXLXzY/K0NSN\ndjN3SyrdzDrmt70Xn/Adib1IXtq9SWsdm/WMhqynR4htLRdGKBCK/wi2xUp/\nbs6h0VGva2D18PCKgWIOnlvrlF2pR9bfWICmKettKEMRTLlnSkcMu7rgpO6O\nah4mLSwIAU473ODWthwwiAw48TJfEyvba/2S5tdrFcKj/UIPaCIybmupVWFB\nctexYnuVWGRrMHct0bIm8PBO7/Qzs0rO1YLlhleKhfv8NjrwOJKgttZtqGvl\nUapaRiXkGDHOELww6+xBUvl5qfF+RR9zu8ZrvL96k/VYxEjwCq2Rv5I2oFEd\n8kAX4mjHpRjHfkCjD+SFNw966mwFlfYEuLJDIJGE/P6CvXQ9OrpHxj53gbHa\nzo7tn8R1P/dkNIi26OpozaBf5LJw0dafPmFBTpMneaPtIyqHeqkms5WPNOna\nqEPiendsx+WpH/9doZquWswzrNnpOiK7yc3XTz/J+b9ng/Opu9/mujZpp6wC\nXZDugcVGJthYJPuKxg1Xh5WHec3tt1bn2Ek1U5ED5hM2cZv9DyHIXnKgVzA+\n6tQg\r\n=eQd3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyzWkB7v7mVW6puTvOiRKb0w2XbT4YZIKrx8Gxlol6HQIhAOg5JsNELbSys6kr9TtnhK0PKMwlXwubo95caH8WEvpq"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565106263.6_1565106402509_0.404747454224464"},"_hasShrinkwrap":false},"0.0.2-alpha.1565166890.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565166890.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1565166890.6+9194f8b","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565166890.6+9194f8b","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"9194f8b4dc9bb5178f934736a4b1c1c4a8cd7f2d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565166890.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-kwSQ8GpFrupdxVrAkuaFHPclGxP7n1d2NPR99Wvakk9JOJu5+3Al0s5GBbE0VBOrn4VRdbkrjlGy8OLnWeNkzA==","shasum":"6e35d6c319fd425f3825d7b8b4180d0631dee501","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565166890.6.tgz","fileCount":123,"unpackedSize":2385880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSo0zCRA9TVsSAnZWagAA+icQAJiyyVzkgyfm+0L36+ub\n+7J9ngLP17h5l/ODR6SoE0z3M7oRejKdfesAFFhGcbE6XdJXDqXRmYp97R+S\nY5HnubOv/A3U/q9AwpeVUf9oBBWTBEf8aaKjkyYt44ul/Rbn9mo4nKBw9EX9\noSGna1yMPV004IL8moDlinf6dajk+viLtoenD1N0EijBDj9BiCCgWOAwvmwQ\nZ/41vdScEzEro8hJ2cao2OS6EKZC2+Ksczx/j+A/Gz57eXtqiCKnuQQdcDPI\nmhvtLkStCfyeG+GStboE15oIGcuRf/GBlXydd+hoTyqgLc7dm2qzQ9ZZjgZx\n2yXISGoB14Ny4uFRYb7HR13QIfZdT0PqC1Vc5Sn0Jny/U+c3zBU1UgvdaBrG\nX+HR8F3RV9tM4+3eEJqz9EvRZKlHgM3JgUXII+drOASM1nm5u5c+7+eaiI+s\nQQJEKaFQ4w65cvrnEt3kVCJhnzz6QPOaP/cOHokOmsSnnvKHwbzVGj9j1T+w\nM2PGOPfCYCufcT6gSbCJJVYCfRbswBD/oCb1EtQni0QYPjwZjfw+MSakpNHb\npM/ovQ1a+zzFw67OI96LSeJ0WU/v/kXMXcqa11lIX2uopx3BT4KszryJfEAO\nTmm+A75Hvzeaw3chUNSBh+1KRpVe5g467FZksMg1N+xFVKq9AmKBJAPCj15m\nTRNq\r\n=CJ6a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIrRnsb5sJZrpnhL1XdVZtLDWElzbs3xUN/p0jzCJXLQIhAIlgEUSBcRK5aSD1PMocE0Y6hdEUPHzH2p/P3XVg7Dj2"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565166890.6_1565166898721_0.20485397423771223"},"_hasShrinkwrap":false},"0.0.2-alpha.1565167388.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565167388.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565167388.6+db68e12","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"db68e124d18cee7a9454675a595988d9cf945823","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565167388.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-Ic9B8oRdHVv5jpzfZozNHBTd0GNITKDGAWQbRB0/MoX9M7mlJ98gpBZE4uyCtzi77x5PQr2GkOcH88MbAlKfmg==","shasum":"b764df28cd4d8f2ae836be0e0ef998b88132c93d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565167388.6.tgz","fileCount":123,"unpackedSize":1291547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSo9hCRA9TVsSAnZWagAAIFoQAKKnJvYpxkXr4lTtkfB+\nfGUzNLcePTZbi2HFuMSVzLZEnrRI3/n4YG7+9F2Tg8pdgqZrELci64Qduc3v\nZGeNYDJ68IpWBqtyVjr4jdU+Jx10oQglOE24wXgmcRCU2VZZp8Abd2gcjUJS\n+EvTY6EQXhYsJKx3UC3W+7mkRAqnUuylNbJdcw2Gu5gDGXeQjimoSihU7UJq\nwMzz5h9lea+An/Y6a8tXldwsc4t9AlDHB78L30VG2K++sEUH8b6rPoh3Zd0R\nuozbeEKDaVCZ1gntgx41BTHN4XAHBooh9oHF3foe+s+z8dSwj1f7K/SLBmq6\nZx4434+Xg4zejmCjlbW5Im4t5peHz/ziCF6ug8MxkPt9r6my5XHmVSuNKO9M\n4//tXjmrB5nOUmAPTTe/Sv6s3juL9L+gHIutVKoXoY8zA9ORgHSLzMRYb/2C\nLw4WYd3AqrAvPSBITgvgsDRUcuXCYbnGZF/tZ9CuO/HzW+osK3Gr1AMESNZT\nnZTeZM0hoWLIRrOR23hsotb5nZta+OVmctwWr9Aty1JJGnKMnbldnBC2kk7b\nKBoSlgDJ6xezjwnev+GBb6RhMdaNCpzSWsy8ay+jWuP9zhVsnGi3AEyzbkMg\nYK5kx7LHVBVYUPoETzINomZ5IOYGlLm6tsMTW65IOlMw8Gof+Cvm31J3P6WI\nVBmJ\r\n=dAgb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhefBKw3a9Jn11jQapL1MkltXaV/Q6S15mhFWbKLNgkAiBsjj+Ilnfsi9wrfcOGmzjxTt2IxZ6qzRTISxrz075DbQ=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565167388.6_1565167456797_0.12190753311963443"},"_hasShrinkwrap":false},"0.0.2-alpha.1565180247.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565180247.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565180247.6+4861595","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"48615955d26ed77461799d8af1193de172d6eaad","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565180247.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-lCZVhcfEIyEgUFUbcMkwSbToUnpYigoDSnTgyOKzzPwcpL1AcfmNXHxWU1jKuAUV1gazcvtWgc/Jbxxj9sxfng==","shasum":"5d99671089960813dce9200b452074ca3e861ca5","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565180247.6.tgz","fileCount":125,"unpackedSize":1292643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSsFbCRA9TVsSAnZWagAAiAUP/Rr1Lr617oBUrJHNDni8\nIYSHaNBguDpCqBIqEJfITxozW+kUQbjRGc98NhZ3dRWR9c2TjHBFQ7R36k7f\n2eSBI0P4dob5yG1hyZlZZYRWOovQQ91b7K6e3cNu6I/oUcojP+HWL1qSPh+7\nhNgusbH09kPmBeEv2lxE+x4UaKDx6ismwuZ+cMUzRBq19/raEfNyxAH5geRi\n+oPJZj4ezmVOYgxBVeRpEO4/b3aookENqnvM2vejjl3K9KHJncyiVm+91uk2\n304Iq95F4AzQ11jZC3ZVQw1Ll4Igf+6jk+9KV3zDW+6GvDO7e8ZcKaKDjRce\nVamqiyCohYn/IP4aL5Z+PHHfQdp5hQguswKRBF/wfflc2NOD8lvsdNuTs5XA\nF3Dz2vZMjR7S64P2A2x1DbfaH9UMO7INdvelxkSqPNPM4KvCWHDqK0y42EUg\n3uLf+nfkH5F4EkW9B5cRJ8vhwJsiwQqwYLVNwbXzX5E6U9AlDU8aYFxpd439\nntIWOR6btTrVIxLGZlO+CnOGJWyOd1ewPHILx7MzJuKD91iBubPMge7oUoG5\nxVRiKIWHLxnQ5liLRjOpiS8IapmpSRqFcSP5RIyzh0IBw7y2t1TivaSx2fIO\nwxjIXFlaTaL/Fsus3XKUhgAhKv/LbrthHc/wyRzepXriGBewCIMqktzAUuby\nkMnT\r\n=IJly\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+EoRGfdhtJbq8H4CpQZecECCNLyTo3mxKv90hf+yE7AiEA9NaCezj3EeVLnMuTnB/4+T2DvOjMSMn6QOYGi7dhHnQ="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565180247.6_1565180250980_0.64356347135476"},"_hasShrinkwrap":false},"0.0.2-alpha.1565183327.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565183327.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565183327.6+97228b8","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"97228b88928aa6f9ab695ecd3a30f74d59d58993","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565183327.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-B+Egm73lKqLnkBy0SvOzYD1oknIEmqHPx5h7a7R7ESuKr7HDobPlXlHm0N9VY8LPfEEOhUA+MvWhQWVsSASoSQ==","shasum":"5e1e7f25466594362c1d7cdd8ec8eecc2d9ed7ff","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565183327.6.tgz","fileCount":125,"unpackedSize":1292639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSs1jCRA9TVsSAnZWagAAI0wP/36YPdEbehuN0Jr0LVeA\n3oZvFsYpuB2rUcqSKCVcx/6mNvQmLPLreI5B3aID9mfPIRRM8wNjpQQMjU+D\nHTRVILCdhF9YaDn4VUF2age8iVHpZb8LGRgVbDFE75wJQr7QtVEWBP5gUvCT\nia3xPkuOD2T4fBGz7HJezKuS/T2jyXMw8gt11tCiwY/EmgpyN80FKvoMmj3Z\nYTHPTWPxZbdRicwuQb+P86e0Qfskxu5O9/hcgMq/fSBoo+5q835EpiVryyZp\nxiUCpJnvgX1OpF37LFHSOWndbecO+UkxI2vfIfm2lLLQC8hJ/jUn7eQc/87N\nZ8FR66U9e9dIsYeMfUn3Tr2Uk8D8TEe0LGWu+PlaIVlGTnGD/ENnI33ZSYuQ\n8m01OTTQp6SzQPj9Ol0ZFCzDxjPU+hwSTDBbff0fmpL1zhpraOiP9l3EcQ9c\nyZh+yvZb2zEqmNQnyrsa5l5JTUuR/aZQQCUQQtDpkZFrg2Pcjs2oYQ3puX6p\nsmiPtBbN3L/UZZxJujRpBIvlu33xRQx1HjxaGo/lAAu/JKStTjvRrqYj7DuZ\nrWAtDduEh+bwXDaZNp+OJr50VzpggYJ+EML45cQfpA+QgLomZHfm25CV3Puh\n8crDGcJqeL8JQypBcbncV1WxVde5P+NPpDaUMtWEYFBQjNI9x0f3CeV5XX1z\nhtuA\r\n=7XV2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIMhLq4NX9Kz4GinxzfEMNshS7/4DwJYswFUnMrYC0DQIhAM1MWlliFLWAsNsFwMHB6Ry1K2JMWqHHJtnbPX0Aaj27"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565183327.6_1565183330899_0.3070151783877595"},"_hasShrinkwrap":false},"0.0.2-alpha.1565184726.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565184726.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565184726.6+d715b63","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"d715b6337e88a490693bc792286fe9bff20c0c50","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565184726.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-lKcwEWzOsfBSfoJk6a10QHbpHHWOlO5/Lf9zzKklXlVfuwstn+uuJ0onzTlrGhfCOvm9r3DMqSIAoCB0X6j0CA==","shasum":"b6f92a329710bc713694951b549ea344b05fe8f0","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565184726.6.tgz","fileCount":125,"unpackedSize":1295655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdStLbCRA9TVsSAnZWagAAaxsP/iTB4RvRHicaJhj4ldVs\nmASq2vxIvDmlbbCgbLZT2seg92WYaaM+Kbft1oZ6p5flY8c8gJTThvMTYP0z\nMBE7sjazakmE2aR1eFdccIAYSBnvUdsrGIubHGI0u2tUabwNNMuPK3M+Gv5n\n98hivhXY6jxYavQkLZp/eQc8HfJ7vhzHdTXyl+n5HmU/2yO2wVYhYSJpcZRO\newnVP6OoXyafyI7vBx1Ozq+aaeyrf7dZezVTy2Y8tzFqsYwog6DV51gpKWtY\nYJLuIbd+pbtnF76urzYjdsC9VT7YLHoU0s84p6qTvDEu3YcHp8kxE/YUYvaP\nI51eSJSdtWirLvSc339CZZIOW4YN+KxUCKunDmfHyX5Tui1yEb6V5mrLpcFL\nU+DUR4KG3FrV+yqw2NKh6kXyMpDP149+bC86DswL2DXay4w1k9nupE17Z46i\nJAFxF84ZKZ9LCzHxyWWxKlHvaU/HrHix2Wy6C8ywD5DbjXcMtdaCUzYbVASP\nWnN5RbfOzXbTh9x3prC9k5S422JI5OB0JN7E2fzXMjjJj9k66k0lAhdEXXRw\nEb61o9XAnNYzMtduTASEHBuYmaRCh9MDHs3nDeVcsnYgRs5/gCR9RI0O8Is5\ns3hWbLMIZjx/BvKCLFGEJxLfnZmiqYsWo7I805ybxWYI7mWLkPd/7oSgXmlR\n6Wwc\r\n=fu3n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjNPRExHS8PUeNd8PgLbZMAN2AiQJQ4Sni4E1L1mEpgAIhAJs7XOaNToTzCxd40WPa93bAb6neAb84D+SHWKq2epp2"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565184726.6_1565184730771_0.3573267026496769"},"_hasShrinkwrap":false},"0.0.2-alpha.1565185979.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565185979.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.1565185979.6+34f8305","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"34f83058a80b1312605739d92db667e689e7ce27","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565185979.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-pUy7pi8Q36DdqAEzUw3Tkz9JUmFuiaxCaRN2tkOI2KDO2HEFnUPwdFdl++v2TGm0r7MTB4rLAXT0rcl+BEp2EQ==","shasum":"ad873073e6e15b6046ae7a7235e49fd0b93a5ce6","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565185979.6.tgz","fileCount":125,"unpackedSize":1295673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdStfBCRA9TVsSAnZWagAAjcsP/Rqk3JnfHLxuiCDMmVWK\nLYz7JnNsO0DP+xMDoYzCWSDPM5ToGhJNcEhAUs99w7V/KJchc+IWNKZ7HEy6\nRfOOC31H4AM7GqruDMqFVPR9u+cgiLk39uLmrp1ueEqbJ8tI61RplyEYGp3r\nY9aPbTEVXlK1UD9NdluhIZMTXd4FIvRI50PvIl0JOP+Wk6FWe/vZEqVGxkGs\nVrPCO+1nLJxk3GgD54YMPUBN0sWTMf44JocTXBXjxaoYB1SlOBywYzp3vzH7\nhy3qJnkr86/hFmdc/OtJNXvvGAZq2hgnPzn2pXE+voFsiEGtQOZSK+bH3YI2\nOm+Il8PC6mWGVIrulzZWKT4EA/nnG1rRuE9Iq2D5XxxaMRYU34z02dx660pI\nDm/GsHMcw4KJkktjw5krnZPvcTH1Q64FnJDL63e2IKzowUw8yz1SbF74046s\nvlEOQ3GQhwKAA7f5X+tXgNXNw4lOpFJMzK2x+flxNV14Fv9OEpWzpQHWmfLG\nRYXEoObh4RJhuIdbh3GGtcDEDyaGPnakuoucIzL/iJz35XPI8owPWvOlMe2J\naeK9PkmRwR1c330VfBX0lHhzItBoFLxqF0IrDVlvz3u6jjQpy6+uPBnbARIJ\n5hHZ6KrHsjuz9PjpLNZEH6KtRQyznnS9Qyf1Xbo0bdUHfCalAVRiz15AU74f\ndGPQ\r\n=bjdh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEg0SffjAiFHSCluL05VhbyYCWCvAWHEW2Bebjg1wbp/AiEAmYIqDqn4+hZgW7G3pUyCcNdFc3K2KCGdUYSx3E6EhtM="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565185979.6_1565185984828_0.45186118187746827"},"_hasShrinkwrap":false},"0.0.2-next.6":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.6","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-next.6+42366df","@types/uuid":"^3.4.5","rxjs":"6.5.2"},"gitHead":"42366df43e60167d427ec43ee832bfc35716e1e1","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.6","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-oPhy1n9McmjgWfnijR72ULR25OZUKSo1JHGm2rEUredt6hDDhcFirL4YEm9CjiG2bjg46dBl/hKRk/HEo0oOUw==","shasum":"71ce03bc2984d8810a6a23f91843d6d1776766c7","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.6.tgz","fileCount":125,"unpackedSize":1295649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSuB0CRA9TVsSAnZWagAAMgMP/jv7k5Zt5fy4lI8a+QCu\nk+xJWqV7Ub7WBTdqCr/eR0hZTiTTEqt5uUcdT2ScpZMKRWr1/UvhbSFri7SM\n17xjEv98WIZiJo0VypXEkQFYVEd/1axddZFhzwsyt9ZUP/Ij3KkUE6Ty6R/j\n3Drfpf5fGfsaIUaDwpy3VItD8OjPc4SXIARNPV2kSZQ59Uc9Xv4KZIxZT4e3\nQYiyYglyIgUuD8Sro9jpFDjwuUpikbPlgBK1Y1ujupmsNXw5tsVbac/fiQsK\neGqEZ0UAp+18CeLtjEEMKuCRzLHq7GieA/8nQZYBcSmtJHfWo28olKaQ9qr+\nXrv7GnZyYoqesiocL0ThylOQd5h4hbNFB4kTAfk2w0vQ8CIaamgPWdHWlHIh\nlQ2iN5KHOUZxOMWZ/CU12Zh4HvPVg44k6EaaUhxHQenx2fT7l8sD0HEpRXY9\nge3/0vVRF34qvilLFWgVGlYzvPz1yGbL7Nd77mlu14ZTYBSJfqv2lvKS77MK\nBVPsZOP2CUyQvsHZrSvc3xDpwJNIb7DdBDW42CE4xvKnMvfkNsoVRObHHLUX\nDgRHXtNkAsje1DHeggAhe25iV0rdtTEGRtq+nvHSfdYwGcV9yt97HBruRQJL\nwof5a6IqPxQ6To7BUqDoL3S0sBAT2UyUKyfKzzmFEZgNoewf/td049lKRZUw\ni8Rd\r\n=LRzo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICp6g5TWu7oSeEefRYEhuB5vwPnsLh3G4HpcSnT0//3HAiEA7iZ+DK9VJ+1k+2RpgjYj4i8JSAWSizW3VQzIc9YZ/VU="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.6_1565188211576_0.5026886853800943"},"_hasShrinkwrap":false},"0.0.2-alpha.1565263029.7":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565263029.7","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.1565263029.7+4ea2b97","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"4ea2b9772a21daea40e7a9fb54608edcbc5d4a19","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565263029.7","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-aMRsN6KVPF7lU402+uOqYs2NX6ZAgUAV0FhsFlH6XDx3EuO6PxN7doZIP2KzFMBhqWK5Bl+ZUuvPPCxQodTpxg==","shasum":"ff7328edaba545bcbc688676733dd7613fe4613e","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565263029.7.tgz","fileCount":125,"unpackedSize":1301311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTAS5CRA9TVsSAnZWagAAHCUP/R/dJk91iPbVgq5s8Z+/\n7R9TVVlnWlREvpKuPA7T7Fr1oX9Hdh1m+T1XrS02ZakKTJxUWYxmWAeXjK1U\na5X9Fymq9hcZ0gAM2HJFXGXVoY8ahwoEoiMk5pZM/1yQLgmWviC1JFAKYiP5\nd1W272G8y6Nv/076/pBoGY9BVJMZN26ucxpj06fYna3K+S0oKkNXQSNLYcF7\ny0LS/aPV/ioDknvIJnSQW/j2VDS9DVp51WJVzh6pNJeYbUdmCOyteKTGCU78\n91R+dDz2abugUBxhOMlQY2lfcLtYyhz1iK4XoV8dLbYOwwdRmGWiMCf9Vb2z\nP+cC+axY1e/FQL2QtfnUl2PyVv1BE47O5lU4VL4tk4e1/n9CGXhadc2sC7/A\nogWGrPW10Ux6ZmI+ZCWnJwnmGT63aazpnRJFAGZ8roKBcJRzkxuDEAB2BGNe\nYSpfR6bQ8eKwy3PYzBGKoxoKeRmYv1rx6VXXpDQ4FcxweMHYnCOlimtf9cti\nOa5vNlq0+jRVRTiN/vueuVPGId9UagWpyrzISisyR9YDlxSly0xi1lOgEKb4\nktoePlCywbMnnxue2D6y4n63iT2uJjjOUPYEhl4ltbTQnHEyljMjj1ktx2g5\nJTlp2ReZKl1f10Wr7OrI6eFkJzH2bLukkWgdCP0ZzOPKdaZKtblV8FiNHrRU\n0kuy\r\n=Jth0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIhZP37sdRL9L7UuPvUEjdeIrGtSq5Pm7m7U1iQrSCJAiEA1roMSGeGXyQJ5caw0gE2MEnYpSLs2oYc7VUcvBmDCEc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565263029.7_1565263032672_0.540254311931083"},"_hasShrinkwrap":false},"0.0.2-next.7":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.7","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1562076916.11","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-next.7+a5fb400","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"a5fb4002573fb450604001fd62745fc5d3f6eaf3","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.7","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-3S1ZAFD+V5gcCgRqfiXpUpSGpXQmTNgdAJDwwb8QtaPK7QAj5LvyPUgrogfcfXL43k1e74lo0vxIhMaZLkhScQ==","shasum":"be3dffc2bf3e814e912f2cc40fd3985df9c32c20","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.7.tgz","fileCount":125,"unpackedSize":1301287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTBF3CRA9TVsSAnZWagAABNwQAKPIjIobbPGMRY+KKNRU\nVXIz+Z7Uu90bGZJ2sqXkQGHFDnvFxH4SdX9GtymEYjxfTo3C95erkJ5TxMMZ\nTvag8VgxV8sClkFzSL58W8sFoPY7cejbCM2Kc48ohW9dZeZNDtsHlSAGvvB3\n+oZ1iP+153CEII8EaKMdO07O/l+xyykVixD65OFIB0JUbEuWivvmjx89y2OE\n6wKvj50N8yp5gtknvrpr8bLB7J06Qj0BJeFCDLuwARyU1IvTUpYN426xo5XT\nsWk5PEd7bhGc7p4lT+LFkDSY0LODcwoK/xKaHJsU5Z8aSP8o5e5UQaklffJG\no+5+pSUEJFSrQwFA7kj9E4+K20GQEIxuBCZb+L0/HmfDZNnj4uM3cpnK/c+K\nb1kcIeBYSKTE3/SjomWldxY9M0cCCy49xHOQG8wsNt+SgT5CL438d0WR9do7\nf5X9XYx6r2wEQdHT1fIXUd8ogdx0/jDK2Vdu1PlQ+0KEpsDzGAL42MIg2F9D\nMlB80dAeJYu7lEIlsaACT319KU4Lw/dhdTnJPJxuDkzO2/bd/ow+TLfIF+J2\npps1AfLzGN/7fBBCV0uEVc4LQdhyD8m0hJVwCQxrWnEYzc6YLvlp2E5dSj1n\nJwBNMBHgOLdCwnDmw1EG7L3IJbrBrdVk7K6G8+Ybdi+7Tk5cUKnAijcyv6Tw\n7ZT7\r\n=J6at\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHnrsxtFnNAWDPYHADnCl+WmDaTq+jHQ/q8/espscm7FAiAd6puXeMa21rjmzDseLjfVCuZsXO/0eammc6rglgCJzg=="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.7_1565266295274_0.5620486157608631"},"_hasShrinkwrap":false},"0.0.2-alpha.1565771176.9":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565771176.9","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/api":"0.0.2-alpha.12","@scalecube/scalecube-microservice":"0.1.3-alpha.35","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"3484a597df691fcd42da3f802901842a7bcb0457","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565771176.9","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-OadFlTWugWXELq9dwop4iQWBePbRQNR8Ku6wmbk/e0AWJqKGvoF8zMn/gBcRjEiEt0qX12jETI4JpGV5q0OkMQ==","shasum":"66dcf44fcc3ba01b1ba89364cc4c463918e503fa","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565771176.9.tgz","fileCount":125,"unpackedSize":1313430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU8WtCRA9TVsSAnZWagAARk8QAJmCUfMmrn4Qettddk3z\nsdLZ8aktx/2tAsiLuY8LdECrIYcGW0EwGg416NLHKtg++h1kIZB+a4LvfW/I\nR3s72NR28yx3HAXVHgy106u9ijRtkoN0/j1tiAOI/J6y0efgmLrMvsubFgzi\nD6Ijpe6t5aCqHV///Yg2aM4mrvDITmuJwfPRTMSMwe/xLH/KNjjcUHjXD2Ph\nfw8xbfSLDeQq6phm3FzMsOoNYnHcX6smabx2amjymIQh/ds+S8aowhc6sox4\nWA0Nz2VhAGQUkA1InLpPJ27VJbfvQr8ujXH76wwS50F0iy/+UgcsS+szFjOs\nfO9j9oMgsXr4vjVzPiYmNX/ZYtzdEs5n//nPwxnwizPpjnafF2BJl53S+U/U\nwKJc6eSLbxh4fPis9rfgnR4jV7Pz63tgaypRb8Tu5F+O27uDcq2krBa8kwbp\n894+Knhi9bTW7F2zGXBq5KjH+dcT+RXpIZiL936YPHGoATyxq1DAXULKc2cY\nh7yA/6S5isCjXmX/pdZU+esq9szb0tPgxroOyfyiZ3bRfZ6XcQCp1J6VpT6Y\nz2N52cDcdofx2gG9afQgcBPTxhJeslGp1xTLeLq+5UxhBSQG0t9eGejaSBBF\nBnngnJCEUuFpbzeXNaCL/FsROKwaqTrrXB5Ml+BnEzrZRFuY8wPJm0XW/OPK\nDTlm\r\n=NLry\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFeZTNVuvb8c+lkDnQHKFpWNJuSG1GNhL8M+74+GCNuQAiEA8Ht4onhEpjjp+9YhPlBVS2em+C5XK/FIuDVueOgisyk="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565771176.9_1565771180423_0.12166302393206196"},"_hasShrinkwrap":false},"0.0.2-alpha.1565774694.9":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565774694.9","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/api":"0.0.2-alpha.12","@scalecube/scalecube-microservice":"0.1.3-alpha.35","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"4b80a60cd0842cedfcbe088c97cbb4732833b9ca","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565774694.9","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-9DzGhwSe8Q4km6OUCDPLkDaIN/9xeDQDOvrp4cm99bu39RVQvvD5vGHUFvFFK+iGCrVjd316b9fsZkxQNah0UA==","shasum":"5d99e04b6b2fccf5d119b74ce9a33e22f28cd496","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565774694.9.tgz","fileCount":125,"unpackedSize":1313439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU9NqCRA9TVsSAnZWagAAMM8P/1XXS8YGUsy2hVB4pcbe\ntImztHFycTbohRmhrO9vRQ9O3fFcz7pKvN7ZkxhYYRUKhu49wHEEdp82osEW\nsC8aFXZvEPElLEChqYBU0xIm+eNeywd5A3C55cHlCbK0AGGckmukaCEd6dAx\nPXy70LEFhAdMS5lXgIkAzdYHfvNFUvZ6bQ/YrpVzludoeBm/ZDpiSmzqMcY+\n14l+XuYsAYeHxG0W+uRwj5Oi8t239dUMDBu4CCd4NkDNT3e+HifydO1MGxZS\noPeggJeii+sqnyCGwH0E2/6+/KZlhU5GrPZtuJr0bjGqH8y4tYbejCxhjuV2\nOmP22ELKHAxYNqmB8ERCE3KmkT8Cwu4D+LwAfGjv82KXNOBh+VrpRw4u7Pn+\nCXSkdSRZvXpblq0OZq1WC45pslJ/kKuCK3L+3TJm2V3safktcC4zSy+R0+FG\nIvn28wo7DlVCHmiskuuSES3LBvGkMhUotfqgNvc4zs/Hir9WyntC+WWVKpje\nQM56KNTpZS9S45sTc+UXPeVpDGbjiV32lV3TAAZHIXNxdKrrbat7HMyRnRkR\nsa/uR5OkZxWSJmgOYsEkN1nc7pHikvWhzboQSVYccesSmTA/0jET4T4JmzAA\no/NuQK/11ju4SfqGpX1B491MLbUJstMVkIiWKT8J0KEz7Qxg9KHW/dwKDFBv\nlsn/\r\n=x27X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDczwJlQK0OQ7gIt4QDsA13C8URzoQGG+bBIJgZYnK6iwIgehTjlXDnlsQ8wCYYOBx3BdCzTZmyY5yP6LJiuM1hrC8="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565774694.9_1565774697416_0.6995991711101064"},"_hasShrinkwrap":false},"0.0.2-alpha.1565780037.9":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565780037.9","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.35","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"86c26fde14665e6392cbec3f9770119e907d1a40","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565780037.9","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-Utr9NxkoAV94yXk/yj5W1tQFO5r0QduBVGIiTz0K7BGtnvjwXdec0veZ4ly+NiSsw26Lm0Xk45JusQ2iQzt/+A==","shasum":"e0b7420a32e5e2aa6b541f2be78d810079028b31","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565780037.9.tgz","fileCount":125,"unpackedSize":1313439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU+hICRA9TVsSAnZWagAA8XAP/3blilqVQcQWg06pGVZb\nB6/huPawTIQvHSdWQfVf+xB4CLQ7iZGNAMAT7QL3+EAa5LsiJ+FvaAm5YGiq\nD7o6pgAuby8Xzs4gvDLfB1kOn/4UBJA5itoCLAPl2hH8xMNe8L2bOSv8/Xz8\nVOFG2/xsCvUemLSQWubIc6KVAajjdFYjB9g7/VT6BSqQ72m5iH2BcQfmrHSt\nlnBToOdAIp+XzMudh5vodz4C9PaB0BKes10yxxxe4G3uEcyCfpU81k5c9G7t\n3UTtQAMKepDKu2HIPKeCsh41JrWJuLZCnn10NmNd+ZysJBk27DdUtTaiIcEP\nmkMCSKhwcYVRss2hFNM4KUMn1puzWf46wA4eognqsAGQx8wfFqR8Vqu+qiiv\nWvYsIjTALkHEEJSOAntkzZxlBGmA8TfrXDREPW2OQERFqqla6vnG2b8zS1BC\nVHmztfnP8eUEhoS+bUM1JYjAJlo9zefLPKbsVdQGPuN/x2zlJio0Q/qEl2LB\n9SgGNZvLDUNFgGnsvzSGkyBBpKEA0f61xynRsKLwM4ycVSW2QQTRw2S2qb1c\nLSQbgRTNGhEbeDM6KH6cMekwiRLSPJch+vXUpeAyepfxYjJx1cFD3MNgRG9K\nX4ewiN2/yk4jLb//GTG2nMGdHr+r1Zvy1tGyCUEdVNAuzYFhI4kwzNq0krsN\nyE5L\r\n=rLIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcutNWMQhc+wN/GTC8s30IJO8udtZV5VhqufueTssfTAiEA733jGqxlB0OFPKUIt48JL8RoXMq9N/5cZTsVzRSQz+s="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565780037.9_1565780040199_0.5455507346931261"},"_hasShrinkwrap":false},"0.0.2-next.9":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.9","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.35","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"ddf424b2a7dd91a8d94c8215d973060f3c7b3653","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.9","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-pmdG1gDDGPSFwRps9EM/y4HvS7XTHtUSGXkeNjMgxYwiJnyvqBncJBFYAxxY5Z8QTOYOQpmvNQJyHW61BGzYwA==","shasum":"c65ed407ab915c9b3a935abd460c32200213aee7","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.9.tgz","fileCount":125,"unpackedSize":1313427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdU/evCRA9TVsSAnZWagAAajEQAIGMG6ZiM0bGy9V1WnN4\nTH3Sq7EdXD/kQn46b6skYCDsO5o9+fuKj+127vddaH73TsWs2j+QT2TbVVUB\nCmAs/qRQVGB8Ui4yDuKZ+kczV5oavG6XSRfWCFUcPTKT0nT9/VX/d7sKoqCS\nsXxc/C/5BC3pVm5qxZyHMhKIeY4uOc3Xl79JIYzwmV6i2C+zAKH1tNPm20vr\nBmJanvFAb6Hib8c5XWDCKzr5kpnAIyWoywZne0ba63dHl70SwBBNQnoYogun\n1+TMb77OVmaqfhqjlSWdZ0g6pzQwG7z3zozxsMsvAeUTbsxO2fUboYJP9uk4\n65J80CPNeJit4V2gqEKETKpFEBlEDwf7T7JenmkTV4z5qo4rptIccU0gehcR\nq8pZh/uqGGJ6f5QVQkC+vlUebcdtGiD2cuojmp+CuOfbvzzbeP8GlcaM0jnS\n0bom+Ivad8FvyNMOOkbhJys/B7Asashn2JbU/dL2YkK4rQcqPL4/B61dLsE2\nnGaSAmIy5Nb++l+47HKgNNQGG/LRn6yrPLl5OM0REtL3co444tRh3WPIiEMo\nr4qQzsLmxfLBc/MWFMRkHwIBTzb9ygkcBpQ/s1+ZE6zDn7XMyv7j4rnXZNOS\niIQcaoKUtalnBgNVBkm7KRgCc/t9bZHqGbTEuHvydCWIxm2RM/GCKzndoqnZ\nVbQT\r\n=Kz//\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx/WWAeMGMG2Ak74hL1J7G6UpEROC5MHHf6wrBOmUE9gIhAJUF55xOYEudMRqf/us3QyT1O22fYwYQUnDcnzZJAW6B"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.9_1565783982798_0.8891891542747803"},"_hasShrinkwrap":false},"0.0.2-alpha.1565790701.10":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565790701.10","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-alpha.35","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","babel-loader":"^8.0.6","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"3b249d375ac7e05f0602ec93b4872fdeeb103d0a","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565790701.10","_nodeVersion":"10.16.2","_npmVersion":"lerna/3.15.0/node@v10.16.2+x64 (linux)","dist":{"integrity":"sha512-SUraQrEjsggK9tgFOVIMrglK485oSj5luvAf1/xv0aDD4fkXhhIdprWLvXjn468Dclb1j8TOktmqZOZkLbCk/w==","shasum":"261267b4d29cf4fb814e15a62fa961293eabe18d","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565790701.10.tgz","fileCount":164,"unpackedSize":1316844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVBHyCRA9TVsSAnZWagAAXM8P/AhpesqoqZ6NxrIKx++k\nz8+UK6LYklLmz0gj6/OS3doZjiIiKhfzfMvMIrmLkU6e2F45nfZaf8diAZzQ\nJtGVqq7Niyr6oVarF50HxclJC0MSYAjs7Z02LmLfAfcLW8M41tnuvs7t9f9B\nVVga+veM7qkzdKARkcZ7yhSNOJyjIaSmi/SiWgPje/2W2C7fqLnhFmTTE0K0\n3y8S7EF9pgx9/k6M11jYmWnYbR/+l8YulzOWRRQwgDFYL0U71KQY8PaU6ihQ\nyrspOPH7kIYTpxnTmhpMMyjd0wWjZwhbuAP2m/llHnE+oo5t7tc2/ngGv6TI\nahNEpJEgOqWTDo4lYIFv7J5u1rzzSV2ZesozbnieOWbfnbjL2jY20Qa6KwXT\nYImRZu1Vg5QtbQ9P+C7AHskNsGz8zJEHAhsS9y/VGqXsFe4yCErl3+KARt57\nTM+JgseBcM7N+pf2SfJb5O+DTzEtX+62llKN+VN4toWzqCKhtJib95Z/+mvE\n6L3ehyoIqrIiPRyCGH1dATOwtK8NjWkmrAyseuXmTweKxnO27TsoDQJw410t\nhXx1HPNy3oDfgGtLubvvyrWCND22CPCRpZYJuT6EbWsHeHVGvOdGiC8IuSTp\nO0jLyOFH1vsUC24yI5iFQfzotBL4BtlZ7MWR6t9eYi8hJE1TkgXD1CxVhLzC\nfWO2\r\n=ZBWV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUP6sDKUzMXjJaRwCAwU7lhxKvZQVeqEIAn+U/uIhv5gIgVkbh+XvHiDRtkGNpUJXM1P36XEuWxNb2YJ9/dM/6krc="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565790701.10_1565790705349_0.2120964167998547"},"_hasShrinkwrap":false},"0.0.2-alpha.1565944352.10":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565944352.10","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1565942097.0","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"24422a43e36a8535f36870e7be383b5d67561065","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565944352.10","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-DJSKhf4qJM4L0Kq9vjvGioQ33WICBf70oT5kqb1lHxpVNXLxlEKsdGz5/U1WCcXL0JgOYoyuIiG2CR1zJPsA+A==","shasum":"e2dd5b2d2c3f7a26bb43fc4cbccecab080bf1ec6","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565944352.10.tgz","fileCount":125,"unpackedSize":1313453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVmolCRA9TVsSAnZWagAAo54P/1YYt/AkvYUO5tul2oPG\nI+g2vOrnFQCgrakpnmKtZWSW+XhH2jKr6JuNfttAGGb571+JUWb/LDarqG2D\nVSOxUq0DtibT1vbP14PsrtwhihEh6FnE1iExpzEBGtvQtZ2hAxPevv7mgRQi\nRMeOzbulEVZHhk9ubbX3ZoX5N34Pmt54KT541/n1oTJCw7N7gXLR+TxWSufI\nxRAi0xmdsit7Fw/1zq+iItBmqzbVa3Muhs1KVwjSl097n2QFb/wpYA6RwPLu\nqLQLBaCvi7frx01UJruvEjvjdiKcN2A1dzW/UMBXUpV355yqIEtTEJgl1Dzy\n5XBwshbwfuxEK5I6ioQ3/OXuaIMbxLMQ3T8yCurlCH7WElboNF8AGKAx4PRe\npOO5Lv+aZ/xyZH3yAqf4gYb0v+xIzxPDH2wSCGYp70jqNTEQdJoM1yzhQtsX\nS2weSWZTErhZuJnZVL72Pz9jN5VB63iDl5xhqlG2HeK70W8AGWD8rwvIKmkn\nkzQ2M7p5vS1QsIYaXnL08T+i6jBv1g5cZCdkn5ZEDA1r761zygWG9Vb6Qj+k\n/NcOqHtVEz1u0Lk9KbSkT9qGrfRko4Ue6UESwxsKXkRJGwNBhdJGOkPIj2as\nMUezh2PYPLhPTCpM0O9uhC+xXStpKM+vgV7phHZ+bxUeAzsLWjVEMkbx53Yb\nwUYT\r\n=zsWp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaxNR/G6nchcv2t5xwBZgP7jxRMAL/LkkLzrj22Y80VAiEAtu2pADHi3m4w8ED6NZ3PYS445e4dYDtXbpCfdbSrnLE="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565944352.10_1565944357115_0.752262743499519"},"_hasShrinkwrap":false},"0.0.2-alpha.1565949238.10":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565949238.10","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1565942097.0","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"de87025d6849e4b01d0a59f565279052fac3f0f8","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565949238.10","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-DN11oI6EUHDGtTcvZBkXpeNQvAyw06iDIZ4hZYAoPhM6e2l5h8uZo9ibBwmSfdLhulB3pRk7B0nu9IE2/Q1zDg==","shasum":"a0b38aa5e4c529bc716f7a602820ecd38fdffa18","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565949238.10.tgz","fileCount":125,"unpackedSize":1313453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVn0+CRA9TVsSAnZWagAAz+EP+wQAZP3E5wGA1rg66SNf\n/6UK3xp/y0yJ7awvzbcoRmrWgswK3HWwrJKQjexu8ePgLN01Oel1n/DJKBNb\nZEN2S462DIQfld0+ay6bYWNOa6hw+1hW0g9meD2a7Tbfn8dbA7YOjzwSBLbK\nhb1gJznjCE/AmptS9U8slP+7/Q81G80S9rXHniRPQ0pySG4krtUthKLqbtNw\n4R8guJ4x/S0KvUp3Q16zAQ7UglmCexszB4nXq9S8eJnYrJ4wamjVcucS1G19\nCgk8tMNVfEOvT5WMluwlhR+rCf9N6lhqb/EzCWD6W8mksGw2+zod+/5j756N\nA1+mUIGVvKtc+kmRizf5ZzCf2x1pzwpnbefnxkx4leCyASEWZXmct4gWxrQ6\n04e9YB5HIuCdja3SVQafnQVBJBTLQGMOi5xQdrJONlX5XSQVaK1Bb+eFJka1\nlvAwkJAAyeKWNvjNM3vY6xNVv5Xwsj2MPEC3nUCWeycrrRcne60FKEUgucQU\n2VOBSA3U/5zXv2g+2NYSn0h/BeYY/ldRygQRG3LMyV86ie3BOdb1FDY2Run9\nhvH4FnwCJIr/Ee7qamgfkT0xNkLP1zUCnXYCL381+seqh8SKZYuKWNTT8YUp\nPWXpZ3TwYbkJRs6onlH+OXxBbnnYpITETypYiJjvRbXH1Z6EDMnO5+ZPFFBK\nrwXD\r\n=PtzK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMG3J8fb1ZW6aSeAqFB4sxX1QhRFPA/DNa73rgpcZzZAiEAkwu4WTt3513/rNNIdg1P+0fytkaGW79a4qvj0SvwlAs="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565949238.10_1565949246242_0.5587441354479366"},"_hasShrinkwrap":false},"0.0.2-alpha.1565950770.10":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1565950770.10","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1565942097.0","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"0fde1a4573b900867cb3086e4d0d01ca5fd94831","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1565950770.10","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-kp6W2KMY8X5jnxM8gLvdr6+08fZ7zZoHhSs0TCNnzujVToMu9iuuANU822xnllhN1F5Kr+Uqe87p1U0HxUUs/w==","shasum":"84c0e5dc0f5c7010857cb6f1a0e5e0c05fbf70f2","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1565950770.10.tgz","fileCount":125,"unpackedSize":1313453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVoM8CRA9TVsSAnZWagAA0zcP/0vKL+QzjaqWJFMyGPki\nQ10va58GOAE2klstY00+mGEho7FGfXIl7h3gOyV/U3JJfe+1hrVgiIKyi8xm\nJw06QFHsMdG+zY2YfWIwxEfGVanyeUS1odG718x+/eQ6xwMBUOZYhWuiD++U\nZRc00nxuCKYZwKBx9n0X2z1+BzHTLK/WZfo6RIsz1XR1C9CCBVL2xMNKCQPx\nvEhSCGRByh90s+EEYP7m+dv1yj854xxnI6FHiAlJ1SNIvi4IAf3Ylt5J2F+1\nDMzRX3ZoDy6vCUNvw7v2C9mvumi8EPDxzew0MFZdQNI0qUcL+SIKSu0ikstL\nwhfPevGj2YPsfrK1RHvUV1SVd0HaT2Ul5bXdoz21lp+lR37U8jWUdPBG4Ea/\n3njGxM2Ftj3wnXrou3sG0YI+DhUPMN4gqeomqc2xV1sfRcERqaMarct2nQno\ntz7OcJr17CgIzYh1ZnQFwxbKvU89hM6AUMFWmxL29IrEQE4PG8nRh4WIkUfU\ndVF8qci67ll7q3UBGBMwP3CfAn2glcJBrNp/h6IvbgM8ONsjNIjUprdRJWSG\n5dc76I7Z1prE39jy0AwiHYx0iP0EaI30Ui8ijGRQFYdMpr/FS7yZ9HFdkv1D\n5C0GiRJAgYmYrTJWqXK7O6MAC3aTttQlEemzyGm9/ptJfbKXQXd4pm3IYwfU\nx6z/\r\n=ydvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMKEvg1X8d5HYNV6/JRQ5s/WuxDvPBSzDRZIweBVO9nAIhALhz51gfPVjdp3U/ZwiKhbBsHmLPnf1vk8k0oKaGl9AJ"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1565950770.10_1565950779831_0.2542933694122267"},"_hasShrinkwrap":false},"0.0.2-alpha.1566111779.10":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1566111779.10","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"e21d95f541665670a542629b1a2a56d0519fb9ab","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1566111779.10","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-jfBdpN2kuEKl2nsi1i9OFDdEBY/HKNtpj7xVxTvtb0TOOjmAW+O/expvIHWwCbusBJdRoQcMrz/p/oVRH2Fcqg==","shasum":"7b3e8abaec415fa818a118e0582fb00397755d56","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1566111779.10.tgz","fileCount":125,"unpackedSize":1313904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWPgnCRA9TVsSAnZWagAAVZ4P/2BF4qhIMxK/vBt1iANW\nsGgOkjCoMTWu9myy3z3b0+k9H6Y+Aup9lgZ/TG9GDUeeEoTPXGDbChH3bJFC\n2Lla99NbYBeQ7hJTU9y1Vh19TIFWxJBUUSg0Du85bjg4IfrmAPPWNFaouJoh\njNOVKiZAM20QAVZbt8MLWL2Wo3nSPnHCIT6cN86dbsPvj1FCQ2Qr0fFmYgHN\nnlssizOF5h5nfJH5lUB7ccBUdfhqrzGkFKUS3w1Nb3zuJJqvQfNW+6XxSQ2l\n4YmDdcEcV5rLypVPVKeyf8/Eh/GqEA5ZVMIVbpyWCk0wdLzofLDKdrHRMC/+\nCdR+7J6c6Rjy1DZr2vCWD+Tc/MgyuJ5SBQ+wa2JHMX+Pa6ggEhXNhap/wanh\nWTL+gJLdV/TBvIV3mvjiqo21frYliiKQh1IY08waS+u7GwPV/3G4lX1Dk8nG\n3WXLNEDr24mym7wVVhiKMPoJNxsvavTbpvR4rjduPuQbqd/Wc4ezE0uFrha1\nuA4jmACoQoGpAWU8kAMwEAhWlrXPKiXGzCv2g4Ng+kXVuJbSV1QthODfYL1o\noJtd6NRtDtxXfLSp6UyRCyk9eovO4V3lRslbSoUl0bQVm4GBwBj+mAX3ME1V\n+eVzPehGtwQAcnzfBgQUDrW+pF3OwBOFNJl4BQnNjs8hoMvLPnzdanSAQh+m\n8HW8\r\n=GlYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMtdQ3Zu+pfTLy0KCnb+QMTPuxuTl2lJ/clfV4uTbpPgIgNPNH3QPgxWT8ZZv9/7sHterUgMwWZualu0Jpy2P43gs="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1566111779.10_1566111782242_0.6336599279693851"},"_hasShrinkwrap":false},"0.0.2-alpha.1566203317.11":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1566203317.11","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"7ebda145c683ad01c109d59c6d0b2f5700d4440e","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1566203317.11","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-Qo31csJJqeRmLrhNlM88sYvHsjXFGdVSxtcg6tt96VAnVqSm6IsAkWO3Js9ZyRDx0TTBUcngICAmJLAkvFOsuA==","shasum":"651df0e28a9b42510be518b6b22108a36192f30b","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1566203317.11.tgz","fileCount":125,"unpackedSize":1313904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWl25CRA9TVsSAnZWagAArdgQAIr4HBor/wJVKwrt6sRM\nc3V+qxKO0PKtyLNw9ebVfgNNPT+76XPDxT4w5KF5mtcMOTR5i8E0owQvIQHf\nT+v5PqQGn3oEJsiBjzL5vFNLTfnERFqprl2ZdwrEasLfWgzl2NFLwYacFSux\nx07RXgweX4NU9GDmjvg32r+x0f4PGe2nS8gqw/8Ax01GbkzSu0DjuXjR2vYj\n9Qb29bq1t5Dlxr1vSKgQoupck3wZRfhG+Hjrk/Te2d+gVt7lfUFLaTJT1kqx\nIeO0ZDYCn5CZErNyffHo6PFibdXhlHhVwvoNzThjNAlgJPuHDqmvHlbxzze1\n/L2fwwJ8XWxQxYdVy9G/DzErbiZJPwLHFoa7rrwZjxm2/1AQTpdf5IphU4dN\nVTXJLtOMsmLBzXdUEyk/NJH5DX41ZYKV//77VeXwKg41upPbHop29umqjpZ2\n66rshRKNX4yyYyRGfTHSb4/jPUtqhC4/Pt8ZqEkgIv0MEEF5NP3BHyiFn7KG\n+lcCKTbdpuL7z2hN5GBCwJg9Faw8MtisLxz1ujg6qF0jWoK9hiPDwAwhRPjZ\n4Pq9FhCu0woOJ6UZo5ev+Plo87drYzOqLsG12PH8SCIsUdaOf+oC/kz+KngI\nv4N5l6k1kFEsV6W4yRBJ3Y4d+PTSyMGcP981XgvZgnIb7XdZf5kpbSaAOlDM\njcOn\r\n=YntM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDP9WLoJZBMU5LY7vde8sNggKTqphaIf1KhaXvDAQVXAiEAoxhGWW6C0dlElQepaZ91x9ZzX9a1DwyDmsJtxnJMmXk="}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1566203317.11_1566203320409_0.6211808810359658"},"_hasShrinkwrap":false},"0.0.2-next.11":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.11","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"0.1.12","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"974efb0e413fef4e064fa1815504dff2756e789b","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.11","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-B2MQt1VX1xsRrZgWy7MqQAUgP246tiSYqwsijMteFKfZKiXk6JA1wSya0FFcGCeTWRoMWuR1YQ8wxUwPFHHx2w==","shasum":"a3dde5cf57091794ce295c32606728c38a9181c8","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.11.tgz","fileCount":125,"unpackedSize":1313892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWmelCRA9TVsSAnZWagAAx0EQAIy/jSK7UOw4mfRZ+CvA\nzTOG+3gIj7W+wOivk+DbIgimmSNi8E9HGcsdO8OM2xGaE882JLcgiGmSsT3x\nrfq+aiWtYC6nLgQSEQwDXtHhot6/q1s3eixeZVTIMhZ40qsEojo44RcgyVxP\n+G+DqlFUQ/mguM+5q6kTbKqJWd3KEDMIrCO8eHJBoHsqyym0WhHAZZRnl6r2\nyRNzfmquJL7Sulwijre9Nntq0BbzM2Lnl8rH8ETc5SHhGKyRspTuaQNireJo\nzU7WfjhR14Qi95qoL4O5ozoJA5EVqfwvcG7Y+o6rNHMxXf5YvM1WRDtTTp0d\nLqKh9mKef73721LAar+3QshAu2TrqGFCIj8XOrcFjBRBOjSaXkHtIsSjk+Oi\n+AhGReeju4PPWwTSLcFoNKZMzk34H95AB16cKK6ELl4rM7gfJ/WNAYlHu948\nRxKcHya8ASN3EFgq4Tw8LnfTPhgadwM2ZWkB08CpE8m4HX0fAwuvBEqsgch2\nZlg2lvpQ2JuUggnkRDZIKEVoluSby1nF0yRJs67HLIVUAmRCGkHh+cBx2JMP\nQxHhSjz8/ISbSA+zH9l0Uqabad/8qkI4lJI54Tj+W/5niFgRE8W2RrQblAjd\nvx+l35oa0I6fOlkSZ0gFzwr+KJWkmXj1SbSCAspAwI9lPwetWogmS2xn0Zd7\nGc6y\r\n=ga8w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBzmXKyjjT1sZmTyYpyvSsNwO2Pk1JO+oY7SSpctW5AgIhALxr0BxETA4ha3QZb5qIBS6QvD7y1xxGTONaFbt/3qb3"}]},"maintainers":[{"name":"95kach","email":"michael.paliukh@jivygroup.com"},{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},{"name":"idanilt","email":"idan@ilt.co.il"},{"name":"mikesquall","email":"michael.arbib@om2.com"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.11_1566205861148_0.5168710892576618"},"_hasShrinkwrap":false},"0.0.2-alpha.1567172799.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567172799.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.14","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"0853545646e9075b4c1c43070d5b2de4dafe8143","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567172799.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-BBL1Y5aQP8YoOy/M7NQOqPXUTxkxK9FrG7ToZb7567TyCCvsq4bYQBcDiZPdP492L5fat8f0ilKZ1OWnzmbYRA==","shasum":"57cc3bf6d0e6d66488b23441e14194a8023215d2","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567172799.14.tgz","fileCount":164,"unpackedSize":1319409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaSjECRA9TVsSAnZWagAAA+4P/R+g24wS/FDj+t8rHrV6\ns1EaKShMED51qtv57/jFdpwFQp8QC7PlofO40qYc5teX96pzaYt09xakIjR6\nMD+lStnED+/sZgbURTP2XXvm+Yx//NkjYxeFpTuNEUsi/WBJfMYtVhE3ButR\n3n+N8C7gEhJnWqCzyHUQ/nxILT/J/W8VRB3qLDBw8tSG6EYxaI22wHZprPH3\np1dZ/+qd+w7wcddxbhYCtGWEdYKU3R5/ENK+mfacaIaQD0z2UJxye+LLmxeP\nekymcwC9l2B74Px1MojGMUVnD8GJWU7DfglBcH9f6mo/1VdbGwT0c5bBhbew\n8eI59Zj/QOQfbxVr95PuxqlufXITCXY4KlQcsl3NajEnYswuNHhLKl0V7e95\nOZKJy9CwdmDe5i1w5+QZFFfLSdsRdT3XO6rrysurKmSzSDgQ306Z2TVuaWah\nIDnTKFuv9LuqtUpnyZvZtyX0kh4pAUrjVEwG3fSCEOcbJE0FkGWpaxcpGCeh\nSIYPNxBSeEe9Ockq3xNd/qdz5q7D90aMEwvH1AlQyzeK+13GdOwVXnSCPm9W\nCfeB6BqHApN4XwBvLFVGd2agFvHAFHEY0YCePtBotsRJD1Y+rb8IU/8JbZae\nxuGyzjH2PuiTku/wiaR8n96RmttNfv/BGQSZdl+MRpClqPDYAYIXwUw2oA2Q\nwatS\r\n=DwDY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmVgMdHrhgSKDxN17YweLlAIxAO3GDnsEAtI+4nNTVEAiBUjkGUfBn9+rJinLykiUYhiGrIrCitA0QZ0gluLh9cHw=="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567172799.14_1567172803531_0.2835129396471652"},"_hasShrinkwrap":false},"0.0.2-alpha.1567234320.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567234320.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.14","@capsulajs/capsulajs-transport-providers":"0.1.1","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"14eefee4490fc31549f8c2aee350983b6d1224a2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567234320.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-/wC9mCuBM7MF8NAymzRHrY9ZK/wQZ1Zhy7U78uFyWQSNHiyBNUowGuN41V3HAdzjdgsaM+YHcKRGh2lNpdBscA==","shasum":"20854f6c9b1cc73b5cd9eb81e0bbc90f9acff65c","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567234320.14.tgz","fileCount":125,"unpackedSize":1318054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdahkUCRA9TVsSAnZWagAAAmsP/j+rS5FXjNQrk1+G3NtC\n7hIIGQqtJYQi2Hr4sMmJ+rKUwnAdzmeVhznJg0ILv2BqQxYE7iznY8hocbSH\naCY4JQcifENGisP+1RG3G2AJ18j5fJuvYteSZK1oYxg5mn6b38/ce+gwBMAj\n0pIcztEJdczkRz97PFv72HB3XQL9rGQ36+DYZqWa+fVD11kNJug2629BOgD9\nBBmhZ1d00C57jsH151RFd4E2l7Si35glWDix2FXL8qY+4Eh9OqamRFSR/teb\nJRGIh9rO5pcjAB6MdH8pzVNzF3y90DuUPtCTgxJC/FU/hFA3JU5ffOHq03VG\nxhyTLgT5uQVNJKI4ruFNyP1ENV0vdHr44/0F4EXzMSSah9rFBZ7z1g9fYihK\nKzntCrGHG5aygVMe0L3Rf8slxTISpdW0g+19xfRfbUYQmZXMzPTsGsDu2yso\nzN4Xe4kGOFsBZi2N+1qIDy9fL8acsub6zqZcznnBacnUYuehtZcer0wJDzw0\nmDOeei1Q0U6Iopq2dQwbKIjmKyVlijhHth6k+3Esdv/Mo3iOv8MvfhEJLlZj\nQiivTt7iJ+6BW2qL/m7NZlO/hC4z8CltKBuqGdo5lg/nwBc+XW2ikAeJXdLj\n35cxizrz+CM8IubOsu/Di4cWaG/vEWPSS0SrzsFG17ia30nCKM6a6wTpQNjo\nK4hi\r\n=Ox4/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqf3dZcJ1JM29G8nkX0OeF54qkqK/WoOXH8AcB3dVqvQIhAK921JhZJewg9IZCvCSUuQicJteWi99QP6ecbdPh0lmy"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567234320.14_1567234324113_0.09221224011572104"},"_hasShrinkwrap":false},"0.0.2-alpha.1567239233.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567239233.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"04cfce88e125f56d3718c386c84fab6c309c54cb","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567239233.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-My7X5InQMdwPu719PtGHVfyRl0W7F4iSe+fgYm/KVT25MtPFOFfQ3gTeqs7sZYFjPrOV96M3b4OhEIWwa8iawg==","shasum":"d0e2d19c319ab6fced742a530d8c03c4306c8371","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567239233.14.tgz","fileCount":125,"unpackedSize":1318054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaixECRA9TVsSAnZWagAAntIP/2GbfOxt2In2OUXUxpcM\nULuIpU5LxlVYqXw+BFim8hFWmPlLMYsuNzOrQI347+vHlcCbfiRr5gj0K+Im\nfBHCTpoSOfP+QHjqaheiSzLlHtQfhNQdOmVLilRUC004JMUVGCuDvG0stQAJ\nw+Cb6hoJx2BXoWNIkSLYMJQHDBX7FYtMOHm6Eo9n0KLA3pM/DjQ0z54HoAXS\nwGtsKTDsWKICVwDp1So8Dkhnr3Xyrjc4Euqw1q/SEB7L6/7kI6EzbeL1ypsx\nASU762MTyrkGQLWRL8N2iTVSmfdpLlLQw2TeQQAY5cxy9OoKu7mcKyuwATmS\nNos91gJjd6f584wrdgtOfYLjd9Lewp0FErb07KAOdfir6H+vGM1dE835UcuH\nMlbkk93I9lbRQtx9UXfPthUWjtA1sDHJN+HzZiD21bSi4BJ89x4p2BGGDAUB\nIP1N2+0Yhon2l8NewXqr+VmiHO2ov5ne7LL8A+6/8UN9FKZ6OcMcFj9LoXN4\nB+MWr+zVjaIm9XNsjuLs/+wSu5EZ++oR3WrXU2m/qRZL9TqmcWE1omWYoWIF\n4V0Dn7aMejFZ2z8IkRFtTyKNZtE0C1VAJubLyKpD67FOK/Pm34D4bswc9lJg\nfHnTnxwWh17pWi862dAImsEa6PdEWSk8DG7SZ/yIMUvtYdOC8XYL37Pit/TX\nvPnX\r\n=X0mf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOx2Qoq0W1KX0odxJ5945c1gPODoUbgQVmjTA+KIXC0AIgflAYe/EjDa+1JgW8jrtgeJvSRT9nkNa1tYgYBX32/RA="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567239233.14_1567239236254_0.15419224503272666"},"_hasShrinkwrap":false},"0.0.2-alpha.1567240793.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567240793.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"38eb4a1d81d807cae5d8813bb14198a90d68a74d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567240793.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-WGy8plziBvRYDcYt92kILiwCYN4DLrSpi8B1mbgq6dkz8iYwkizJaavZejSDDC7gmtA8R4I8zYRIxNaEaU7QRA==","shasum":"f582a165c6bad0930fb908ee196bb20d3bc90e2e","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567240793.14.tgz","fileCount":125,"unpackedSize":1318054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdajJdCRA9TVsSAnZWagAAYFoP/iMHA/43CawIug0NU4Bv\n6AcIdWSuKjQeiByRH6Y9PX8n85nOrW8oZkfMn4D+UVXyiHJCnXCqD7mU/Awj\nogO4TdNfeWrjjFF7pC9JvGP2HE3kbiP6s9U9KOGorT1u9gGau57MwK6we0nn\nbeeD1AyeXMKwgyuUGheyxuZaxALniOCPk2YFZTbaiMCf1TYztKQ1Yup9srxM\nvtoJIgw4RhR4FNC6YO93oUpY/ka4qN1l5pg2JZxdvPN54E+m28abASNCELdy\nnLcVc7iunnfckV+dn0Y6YgrX37+bI/T/k/Jedz/l1u1c38PUvYsvWrSxcx5n\nBDcnaes8FVrdOXZ4qGmAQn9JWMGeN2q3i+102WAtFD2FfiMlL/wElhl0cDOq\no0GhAUy3mxDVoUCf8WmBbefPgt3KG772e848RxCImZRw0tsIt47ULbwU9N7K\n6cNuaj1sKqaIDQdSZ4NVtzoNujq4AfT65+CGCBUx0Aqbb8tLt8WxJ0h0C61J\nRRgbyBCcCFDSvY+zWAwUC/M/6qMi92l7ZXYbKzbqV70jNSN+LL6GEm1d3A3R\n3rH8fdu7XCAL89TUhwyt1PtL9UbgYQAMX2I/WkvfZuyczfrpFsTTbOisC9dt\nVZcgx1ERlcGJsjGp6pFEHgsGipRwaZJXfdwX7PVYvPbQhNdeFp+rDujmCYId\nzj0B\r\n=T/GR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBYSLNwBWl+zePZh5m323W40OwqS7BQ/tQMqDIkOXncAiEA3uuKkpBtu0dTTz2HMCUeFbWfzCTdDPxF37DtKpZeZ/Y="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567240793.14_1567240796624_0.36551190539454637"},"_hasShrinkwrap":false},"0.0.2-alpha.1567322639.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567322639.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"efe8d05d4c1c2fad948560e49dbf0bd4b258dd42","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567322639.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-8t0UPlbK8GfpmxIWx4/vd848v/Pv7VwzNGfQbu5wbSK9LJRqNyGzY1Afpsy6UyM9uo0pmB60kXvRyaHdvj9aZw==","shasum":"378fe57041102bc6b133fa292c2bf022d6b3fd95","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567322639.14.tgz","fileCount":125,"unpackedSize":1318807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda3ITCRA9TVsSAnZWagAAAhYQAIC4yn/rY+Jz9Td/PDdp\nUSPTD5bBgQ0HtoxlVRhooCs+QoBxLYt/qAfLGDdmCre3Iy40jrMhhD1gpXwa\nIfg94vjGW1VGekhHUiRuLkhiXLslt/gh0rxGOKWFsuL9RS3eSb+mNngrZULc\ngy+JjCfRkuYtRQvrZFABp+WzmFt5wgWmZmn0J0xy6xwK9/stYZZgi8W5LuT0\nF7eyqnxTdU+jEnNlge4a5c4089EcCZmwqbtBOvYh4xCefUERCGkRdtxP0iwG\naKCY6a70ozfC4M7QbPvGbeNFqYNoYTomhHrU30kU12OqRD9x1LPS+G7lPFGA\nS8/3rY1ZMrSf2TTfWFsrEIU9I0kt1YxTOibaDK2APFOsQRbnGFQd3p4i7Clh\nwEU+Km28FMYT/BDY+e1H+G+ElrfC6xLWL9OsAxVXCLUVssYZ8Qx5GN5XhFft\n49a5MDb6pefwNK1zBtN0WEGHaJq8ZsJ0IomqC+xIrLbOgp9WE0lrPwFaRrha\nHDQYlkb1/vV0dyDgrimWInt0Gdb7mLUDMqyVqyGoQN2EuTnLzSueQPyuQe1U\nX7QruXkHrYzFv8PZbJP2Fxi3vg9/dVHzzTGfP+zqsKwwUdSIEPrtjqPTpo0S\ngkme44l16NFDqCvTBuSuRUTS2TLZh9ULKGHdV7sgunGDR9hAcfEMfOxfAa8/\nyiZP\r\n=z0Ym\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeED/Ua3Ilm7Kjfu4QtB6Zz/93ye62AJDMQVGtadlbygIhAMDhDIalrcPhgy23AvXHj1oVm98u/vYQkxhYBqwNw57Y"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567322639.14_1567322642831_0.524462451596053"},"_hasShrinkwrap":false},"0.0.2-alpha.1567330424.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567330424.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"0ccc9624c8678b307af9bc51f162a79e1cbf4e9d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567330424.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-ghW4GGqStebEB4OtXnox2M2hCUioNG8y5CgEKKxMKhnm8r94XmsFDQpc9yyxS/lOrVGSreyQd7iJG8XsIAa1fA==","shasum":"5108654d5f0d1e139bd5e8334750a3e57c973586","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567330424.14.tgz","fileCount":125,"unpackedSize":1318807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda5B8CRA9TVsSAnZWagAA9JcP/iQE6husVcr41+xvYnB6\nKJDcUSoMaUffCr0864BGEkbx3/UQboqa4nH5lEHzoy4kd+ldTc/ImbMnJHcu\nwGzUn+S4QjFLcTg+9Ijby6+Kp73x8da/QjSDCBCeyaD5PKSLW6wimc5dj3vh\nK5J7FqQP3DS4jqZFkQITcIYg4mLETUtGbeAsjTG33FP3ah9NP4RWnYw2HFKL\nYnSjkpuVP9G1BAADW+LqF6rJCXuDhu++/eEOV3hJnQkG6iX1xTkff3r4jKKT\nX9tFiZjBUsXmhzbwSdnIEQx0vnpuoS6vaP+I5fINlHV2Q/wF0CqxejwXP331\nA6EEDTMYvZyLL3YOjUvq7IRxVM2k7EaXuBBwFquSunqYWb2ugxu/C437objk\nVUPQLwcW4D12FK2WJi6hC8DxJJpgIbr4vMIiFsnwYf5ThEtXxQERTBo4x+wA\ncVpPyOlYPpSjDtmly8Zj5VaTL2fgTLmYgwy5gg4oZlM2L/sMdcDKVYxUIZ3a\nI4Xdv6bP6Rpfu+rhklfobJ5qb4KKBhrbluKkpdLIBJYM2P0FPPmzs1Se/d7t\nV91U32amTEm8PAB2cxr/Xe7Ai4kujivUlOWwDKl0K+vYLDE1eqnk9MZ3i5IR\n0tonXr/C5f+j6HHiT7te0e2ydOPJ6/UC/wkEn2J2TU8uRZWAXRvlQod8YWex\ns2fg\r\n=Ipmu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7XZNTTYuP6BXTj62lvMtkw51PhWjU9gQJtTsuN9/6mgIhAPFlBuM7ZEfzDWVjYEnWN2QO8+r3M9+6ajAb4o9ZieJP"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567330424.14_1567330427643_0.04136904919211415"},"_hasShrinkwrap":false},"0.0.2-alpha.1567332840.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567332840.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"fcca80c0b736d19b425d0f954d1636d066e3cbca","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567332840.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-9OeosPlE77SdPn6QypD+YA/ytxrz7MUmegTPw7sCd83FjjuwVxc4ClOhyDAgXu3KiHPGjlblfoaZqmI992p+8w==","shasum":"fcea92fb1bb83a418b8866e736598dae64924461","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567332840.14.tgz","fileCount":125,"unpackedSize":1321520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda5nsCRA9TVsSAnZWagAAvuYP/3VwWqQq3oj2iXTSvBjJ\nHlBYIPzDo+2VxbVDJuYTIlPG3OB00JEaMlKHRgkrg8F4ZeyGZHWQeaqJE2M3\nnjfqwEd2DSRYTQMFl7KLywGjmEiXYX33m8+AI6qvPP1dlxnNjLsLXZ72tXT1\n8HvVXXPnBcKGDJjEOC3J28DCsvoj7bCy8GHwliifAp2Hjdka+q3FHAZR2LG1\nQAohBiieV8VEw68m3MRIYIzmcImyiQEWK6uBnI9EscqRvrUG7tra/4lBF71u\naiphglTvSgbzuEgq8z2PCSR/dbwlgfOItp/8iJqooxP5mljEZ+iQoGOQ20hu\nlNs82b3Hn1lZps7Tg9irkVtecv3wKsjdZWi5oYCkL0h+JevSdPokfMncR61y\nI9EcUlifMPaONEP/A8zkEx1E6etXmjiwIqNqupeAp8wfg5Y1BnHiiafShDJA\nVeBFE9orLHRLG3u69RLXyFZJAU0f1/fR23SjKBKMU17pKPaDBDxSU8IzuQlw\nqVpgwrR+sJ2unIwECyjp1JhOlxfFLZ8vfl+c76MGKu5s6HK0hZbWArv7Lhbv\nM/MACKhTZMr0RzLWkyJiQ91iU8iW4Ts0gjWdhx23ZehHW4H8+0uxhU18aout\nTjlVa9l2FJHCiKDRt3JhuXXY4AuWYdMMEPU3TAlUgyJ+1gzs7crha2LohFv1\nNkhH\r\n=EVab\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDs89w7e+dLG/xA3yOt9JaW7gZfxfIj6G6rpRDt1+xpHAiBd82ZPnQcXrxdxW/iodsAGSynWTY0BvEoh/s6hyPvmBw=="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567332840.14_1567332844063_0.575449830882627"},"_hasShrinkwrap":false},"0.0.2-alpha.1567335839.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567335839.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"95d1510ad96cd5a9a2bf74b54defbbcebb7cb0d8","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567335839.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-YqMFoEoNif4PqmhlKNRgn9krhqlmzlzj9p7n/YzZQztiCOYYT+UOMp3AloX8rTNyiRD9erN7eulDu/6N4BpDVg==","shasum":"856dac775cd3c3f232f3294ff0f17dda82067a4a","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567335839.14.tgz","fileCount":125,"unpackedSize":1321520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda6WjCRA9TVsSAnZWagAAzKUP/26zzAX/C9vVrub0Zavs\nWW5BPfg7WKHxk3XE2CI73Rq6pXLMfu6iey0V/1MFfnF8/dJzXN+8tsdckfRE\nmJqB0OqivyRrJBAbgKb3G/hSVYJJTWyCnLIyBw5LbZ1JRShMY6AN+Kpc+kq9\nKdjDOaO/G1htxfyS3r+v+TIz2rvcfkdrG5ebbpKm7/x9palUwSWYUfSntt/Y\nIIoDNIJiCJhg7hDXd9tNPZpN1hBrwqrt6BhOvuUJM36Jl3UxO1GQDXELCnqm\nDUicMf+KR+egRVNkPWuRxGak6IcnBt4g5yfMcwBSLWF0rB3dXDnZyfWAzVEQ\nvAyjhzVToEDciqkXfhhI12vb0P6wmW5EZhgHdKQh/vFWkwzuVS4D0SOjRNzB\nMO8o2E71JEteW+C4ntXhaCwHTchHF0DA//xEsvJhdosTzCj57VwwAkmHKQA/\n9CXKrBld1OoTEDjYbTrrc8mTV8Mahaz/dYVgmf0bjJbRyqO9qqVAyk7AhCv1\n3+Q4ecCt8JaE6aOjclhsQOuyxrKR0d1ZMdsFPoUQYWehLmjrkzY5PejeNFVh\nHOuUSVYp1IX376k8yVSEEw473hBynPR4Bwz51K7wvZ4nFB0jcPip2GVDHOlg\nz3uDVsFGuRswCYWhRDKD0BnGt1TqS9zxp4hjC+BmbvE0KNkc0sEhUnKviTeX\ncjuI\r\n=1CEF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv4kDffOnI0M2yFskBSx3jzW+eHDRAVPpkeMxEzbaFcwIhAORKLu8odNTHv3GjcGcUhTjJKOW5mdE3Fqs103i3JlGg"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567335839.14_1567335842562_0.6543043042816767"},"_hasShrinkwrap":false},"0.0.2-alpha.1567341061.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567341061.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"7e0599b33a45df290c9ca3d189ad571ec8f90e4c","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567341061.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-UhVDa2jW/uffM0TKGsj2tDtokGzdC9P1D6YGHwSoMFUvoKyTCGvOCtwjQt5wmNnF1IPQt47Y3jBr9GpIb4RUsA==","shasum":"63aa9403d21d15280c478714e76dee9c97649f9e","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567341061.14.tgz","fileCount":125,"unpackedSize":1321950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJda7oKCRA9TVsSAnZWagAATysP/R0VeouQIrO9xG8R7ZeE\nkyiOmzV7xRiMhbDZ9YgBTHpKsUO2OsOSAya/XQN2i7YTwyx/CtFYvPd194pk\nxgBJy0K/B8uZqyiV6k1cWgMrT5UYFONf4scHUcjOCXdoEVzMBhsfV/88LLEQ\nJyV64PXSaewiNePrVqXDc4Y1QaVcQmFAGzke1qfwfhr9d/D51T6Rxw0bgYjl\n1cfxqesRb5JzsHNNKZ11nzMnP6ngwtFgRoEm/y9ARJgbiKYFq2+A/pKHMUlo\nCM1cFoYcRrrKzwjog4N9+NygiKpB3wL6kx1PbWPg0TUTZwCuGccZM90HTht0\nfWg09o6BoZyxIFWY2/OGL5tiU1D/g/TVN27POcO1zjROfW8OnmYcLyj7Ax1+\nnoLHQqNrmBUkAMz1mJqy0sdPhDPayq3nM8Nd5WIu6eZCf6T/CqHf5xsulKCp\nekdfdWz71d4RSlj0Fhw953XaSesobHnMZPS1J1DiSfjJkgeZc5ktRUn6nI5n\nhof2Lx6rmE11Rfm4u1YpCCf6vafMYxEHDs+WQYp3ZZEEfU2ioPyjDrH/j0cT\nR3WPI4KH9VTdY2YME1VWHDTK+8y7WJ7EOWWgLL5yjnqxJ9fecNRSvSMEsJDN\n6xy4Be/0GZnigMZqasLgS5WEd0KsCbUw6Q9RJ0i0Xx+k13whndXK0KRXDzte\n9ogw\r\n=X6SJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAKRIcnMedNl0IgWzuZ+Z2WCb31xa9nYn1ho5DT81sfYAiAulChdJ6i0N6eSYLhPnIvgUZy+1XxICuF5738D05dEiQ=="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567341061.14_1567341065314_0.3174038068923535"},"_hasShrinkwrap":false},"0.0.2-alpha.1567414963.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1567414963.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"a60949ca76c12453bcc85e7b58fc14f50ec891d0","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1567414963.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-E6yceGbBisj1H54NJsuW6JP0ljMScDy549wXHtUZseB03B3wEET84qw/zuJI8SaAak/DUUDZsSz6lCVQK24VqQ==","shasum":"adbd81d627410887cfc1fb95291557735f7fba01","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1567414963.14.tgz","fileCount":125,"unpackedSize":1323146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbNq3CRA9TVsSAnZWagAAVO0P/3obl7z5baQOyTqOyF7I\nIYtHJT0cNAcbgaIKz+bhPk02ZWpMjzc0AJ26CTJpP0c9xMvpJ9skYw3bqIi9\nMyVkFGAdcfS/GhAuVRliU9GZuycC5cc4HFWbBqxVkr3YPMPYe6Lbjfqx9Myj\nVQpdbWg9KhZ1e1T6Ul91B1hXF4e0Ft7pAHho5Cora9pEhhsqnozWBnl9oWu6\n4vwf04W3HUdHNxuXrnixvEop6dQu0yqH3xr7cfiTe9iFOj7FCoy5cflVl6Gu\nZADyGww0/0E5sgtboPJt26byADrN4LgnxV0FJ3V2gskqVvJ8p1ZMKxsQrb5Z\nUudvcDfDs6V6i2hplUqvMK50bSo0TSbHNF/t64qzi4TVPPHabpyubW5cwSju\nroXelyEgMZYEL41/vt+qoU8mcBd5dv6G253798A3DsL+99NtU0pbV52YfwdS\n8STV6ylpQNmkgumQmp4yQNWpqUYHMi2yWsH20mLuiyz5dONwkCX1Sr5GCPp+\nebNxUAtQu9LmVb/bKYIFjCp3c23xqxC15/8nnq6Hqe6ZzgEc8GIbNICvaSNQ\nAvvzETEhtoI2bCCjwG1eRjrbaPHz7JRD1hPJ+OmHZcJT40GIwTrYrXAR8m1o\n9YM8RAbU4Z0p2ZQm4fb3OzxYN+UVf9YKETVw1lLkMZ/8r+tASlQv9DGjSQQm\nFDMZ\r\n=zToj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPww4rXxTPhELVOoyaa5df7JD5R7E+E6S4+Y7ntcc9CQIhAMg/uhbgMG8Rvkw8/3eyoHYOA3v4m3LUZYSbgz5yrmoB"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1567414963.14_1567414966264_0.6247177164928841"},"_hasShrinkwrap":false},"0.0.2-next.14":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.14","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"latest","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"72d4a546b36bc3e4328bdd27e7fe38a2b8bea1d2","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.14","_nodeVersion":"10.16.3","_npmVersion":"lerna/3.15.0/node@v10.16.3+x64 (linux)","dist":{"integrity":"sha512-hFkb/yImpzO3AcIxsBLybdoWlced0ez09YeQUUDA4DGPe+VpfDouHTP1surjWb65eHeK0yebIK01OECWTVPBZg==","shasum":"c8eb6879d747c44280261f7c445e8d898fbc1eea","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.14.tgz","fileCount":125,"unpackedSize":1323134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbO1PCRA9TVsSAnZWagAAihAQAJGfbWljmHfthCZE+LCG\n/0+pNS7VvzatQ87XRMWHTep5AAtGnUHasYI0jyf7u9sdNPbkb3VP7jY3CE/8\njr8qOBh4v80xqXx++fYzAvN0FbL5ZuZFfy8Q1FHKpFHAdbM+X/XZjEMwA/bC\nXKZ04DxrKQmlzf0I/XR0pQXWBFi2dKfqg7tlO6PfV2fCJt4MaYGU/QJiTwW4\naN2DgXbKVoY+VVFK5r7gtcGKqa74/9cRsqfTRtcTZE1Z1lXA1JwIRlYH9zq1\nygAtdn8EoHQIS+xwUzTRbjKTHBoBORmT1a6tWI2WBCPjJkzPJoEE40tmMxTz\nBuVHXAU7+dGXHHeieSVfZgRGErn+M8UaShbm1zc3KChi7PcIbEoGl8jrLy4s\nHEBMXJgRtd7LBR/VL1Fo+S9ZLrvq/SiGPDNq5S3cYs5H2vqKJfKjFpKldr65\nfNjZraLe6vs6ZmfIAZ0nWuzig3tcf0Q7COnYjqOg8U5IhwKto51yzi5MDpeX\nusQE3x8GHV7sUp0i+vjhFABYcQ7yP2ngc2n6oE5RDy8oGcxagQMlImN4Wvbp\nfjKGaoEJmxhMl67flzO/Qk4GuXc3uLF/lPHB3J3qMLY07g33h8wHtQYbk41S\ncqbKoZnCXGUDkL63pQIuobVCtSG9AB+RjL3ZQksUMqQtH1rX2oR6GDw261ti\nvB8w\r\n=+H8l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXDyJq/+9YyYXDEHOuQvSQO3hgNHnYZJ0ptNffjusDVAiEA/18XeWNX75a9T5ikix4bIWr6ZfU5TbEcKtcXxhT88E8="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.14_1567419726410_0.045474014555750175"},"_hasShrinkwrap":false},"0.0.2-alpha.1575380902.32":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-alpha.1575380902.32","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.16","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"c9086750e29cd2893da2a3879ae37fdb72b885bc","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-alpha.1575380902.32","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-317esCNBByN5k+YiX32SeC3zwTyH0j19lHr7fsdLQbpfwftG0fQa3x9T19hAcsUpsii1O7nLTH45qoV5Yrt+iw==","shasum":"5cbddc781351276cb187d67d9f523a651a30ac20","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-alpha.1575380902.32.tgz","fileCount":125,"unpackedSize":1334316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5meuCRA9TVsSAnZWagAAcGkP/i91tE1UT2lfO3zNeVGj\nXLfz7QtKLDinZc+DJPhgBtCPRA9BxACco0jEaKIuvP43Q3cvzysBVV4V75rW\nu69A25pLgOrlOEGoa27r+CQ1or7qGeld5hiKfgHBh1odKGGgysXPRlfXa/AJ\nmdBayyNMmOqR5nNvC58HWjX/v7Je47D67D2+cRdmUffQBG25bRcA+VU/Xi4Y\nErWvT/jSkdPhQV+KO+tM3gQ3I8mMWYt/gaKoWWFNmOSPOUxR60C43VL7nqoo\n3Dpab3/7omthUHqmuyMa0x/d+9j93EZrjZK56cHZpnhsWCU2IaDCdLufrmh+\ntqx2CbeIKuYeYPxq7ymlVk0FFm/R7iwCsuSY40OqtZ49Wt+WE696LbFlvqxL\n876nIxQg1fnyvpE9J04xLuzqZkKRvoMPjQtkuY5pXwZgHU/uaEn1JV/j9To7\neIeSS2miwFoWeIOMHAaiu89IaJZST6eORHpnUeoD7t3QZi6+HS0cxUDdJRcd\nzh/fTR9vqjyyBQnMSei4O2wR+01AuE8YQHs73Pxd8fUSk5lR2Hb0JhVXVCkE\n9/9/kaKSD7yzdC0u/dMhDjlJajjbL22jC5dxVHrRqc06r2smKlfXjFZmaEzv\nuR2aqBAxHoQFPe63qTnbMD0cx9IvclFZtvpAXokeOa9DKNWA4aQtMVmv0vO/\nGhKR\r\n=HDD7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6UNhQ+A1EG0sX9v1gNET1z5h76KZzlRRSHq1VKjhoRwIgAjuNUnHo7yRg4Chrc4a8osG0APxDvJzSQXdMZDdv+Pk="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-alpha.1575380902.32_1575380910145_0.4861303299929325"},"_hasShrinkwrap":false},"0.0.2-next.32":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.32","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.16","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-alpha.2","@capsulajs/capsulahub-utils":"^0.0.2-alpha.2","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"4ee062c4ae6a25b3b0378ac4cff620fe12e54fb0","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.32","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-Qbpguy7v5RGb+oTcpOro5eOdF5wOCPX72S9VPRTQwJFxSeset1M3qxc+6+UXTSW85dQWlRzB1dHzFRrWAh5u8g==","shasum":"47bb907a8ac3b9ec411d545c776a0e48b5ba4331","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.32.tgz","fileCount":125,"unpackedSize":1334304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5nHXCRA9TVsSAnZWagAA49oP/j7ncuBd3QVfvV/ZWXGJ\ne8MbyEclASuW8JPZ+Xq6PZ6IJInryeyp55jL+1cGuCstWBmDLIJhqtSQAbsW\ncn+4N36a/tcyI6LMvbxXk7ztrkXh6RVktz1QPN/WRV32sOPK6GIXfb++BjAj\nrkzwfPQdsmussQckyqdjtTYrVkdk/J5r6vFvUUxP0WUUR+w5qEP8tsLnW7Vs\naAt5eGEwb3FCAcO/HFLeJknX0Z1SQcTffidt5hehG/aJrp+vA9qInH0JE0Ol\n6V5IW2kgA4B8kNcgWSMzkPSmrV9Axf3xs7N3W0Zd128e/AMXrRQk6xE2Ri2b\nLggVosXkEF4dY5DJozxlCS3LHwk0T4JEHmqnvKXSp/JKnscR7mJFALT5iyAG\nZpYufwwVT4cMNkmlp6o2PubB5a0iSy2sIsk00NJXJl7U2JGfdvZNmnQ9zVBR\nmZr1ty448vYG9seGIBjz/XU/31CrLGN/xTpgTmGd6oBx+V3ofoojRQiA6GWd\nmbUVAkAcTxSzoQ/By8UVV3z83ngY+sUTwQ2hTLm59lVOT/5a2b06xLAtpxRx\nX4yBlmvh17wvUWDouaEzznZSUTUVf+iYFLvVVRfHkd770owagSnJtQm6Cb/r\n+QSpG8+LzxWya/GNy7uTNu4MZIMwDwKORnDTCHkh71Y8N79WJHAOESPFlk7z\nTtZD\r\n=r/Xh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDskKQQyWe4/KiA78j1yXE9PsEh5pV771sj+o5DQ5S6ygIhAKExknZX1HjcpWVafktnXYUCJeARVaCY75BUj+TWm11B"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.32_1575383510996_0.4709665158766225"},"_hasShrinkwrap":false},"0.0.3":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.3","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.16","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.3","@capsulajs/capsulahub-utils":"^0.0.3","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"683bfbcb478282fe9f6a48a3708e4075e591b2b0","_id":"@capsulajs/capsulahub-workspace@0.0.3","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-/OMRIVoV7WUBYl//u4UGwNZxwB/tFuqGvbuUwpNDB/jCG+IPi//6moZieXkKtgfcCwLeiOAn7cGMYFY7YSyhFw==","shasum":"2ef7ac9cc12571e48986a5b4b641548d7211abd0","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.3.tgz","fileCount":125,"unpackedSize":1334272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5726CRA9TVsSAnZWagAAsvkP/jVlEGA6IE370K1tK99b\nITn6tEvcBcaB1ad6vVm8xtE1sphIM8FE9IM6wR5AYzioBeYR9GrJ25nJMGnT\nDZaGDeoOurLaVBubJHrte3L7+y1KQEOKj5WPIMRgFWJFGden3NjuWmohumRg\nRjtp3p+CsrQN9JNi89c+OVP97cUicPKp4Z27iUDGu3v8t4eL/bXGMSjsITrY\nkxfb1upIDOuVzMbIT1CkqmHFz0ysKRxNFcju6V9c6rxV67Ba0P9/s8caiuIl\nrbHe3Loj4HoaX9H8VTNG4FSHwMb55p4w2Sj0fhDK3GBMs1UIuRZq7QHnlqxM\naDUrSDdR1sk3HwsOKSBRUskIDu04WuCFEd3bwnTY3t++Nv7aGX5yhfSlSczX\n3itsqCsCvnMIeGi5sFI0+EAQi80BI6oAeBA4lPMkyPQ9VVzTDXkhNrTeQ1+5\nUMw3w5NfIhb0EDfGVPS2VnBugYtyAxirGzAbLysoB0BKrd23nrK3ceB1Wy/B\nyV8spg0Om2A1uJDyt15CAioof/6oFWy8sW6BlAZPYp6JZKrQmlQo47XU/8JI\nlPiiEPCGJO1wXvxAu9CvOoqRVIUSICHRfRlMBLshSIKTVhWYUx6p7f+/y0mn\n98lOiq2zFhZvoDMGFsjTPWRgf3D4PiSB7bBxe8Z39bQ9iM8qT3xdOSprey4V\nrxCR\r\n=0g0+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXiUoaYVUfZHxT9kzmXJA2imr5v+1DnS4RrF1z4wmF7gIhAIMD7vIGj3q6MuvAe8TqRGcLUji4kTLX8nioTLloFdVs"}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.3_1575468474068_0.4402230193918901"},"_hasShrinkwrap":false},"0.0.2-next.35":{"name":"@capsulajs/capsulahub-workspace","version":"0.0.2-next.35","description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","main":"dist/index.js","module":"lib/index.js","types":"lib/index.d.ts","license":"MIT","author":{"name":"CapsulaJS"},"private":false,"scripts":{"build":"yarn build:lib && yarn build:dist","start":"webpack-dev-server --env.production=false","test":"yarn jest","test:debug":"npm-run-all -p -r start cypress:debug","lint":"yarn lint:md && yarn lint:ts","prettier":"prettier --write '{src,tests,cypress}/**/*.{js,ts,tsx}'","clean":"rimraf lib dist node_modules","doc":"typedoc src/api --out ./doc --mode file --hideGenerator","http":"http-server ./src/example/http/ -p 3001","build:dist":"rimraf dist && webpack --env.production=true","build:lib":"rimraf lib && tsc","cypress:run":"cypress run --browser chrome","cypress:debug":"cypress open","jest":"jest","lint:md":"remark . --rc-path ../../.remarkrc --output","lint:ts":"tslint '{src,tests,cypress}/**/*.{ts,tsx}' --fix","publish:comment":"bash ../../scripts/publish_comment.sh $(echo $npm_package_name)","deploy":"SERVICE=$(echo $npm_package_name | cut -d '/' -f 2) && ../../scripts/deploy.sh -s $SERVICE"},"dependencies":{"@capsulajs/capsulajs-configuration-service":"^0.1.16","@capsulajs/capsulajs-transport-providers":"latest","@scalecube/scalecube-microservice":"0.1.3-snapshot.1566108010.1","uuid":"^3.3.2"},"devDependencies":{"@capsulajs/capsulahub-cdn-emulator":"^0.0.2-next.35+0e9ee31","@capsulajs/capsulahub-utils":"^0.0.2-next.35+0e9ee31","@scalecube/api":"0.0.2-alpha.12","@types/uuid":"^3.4.5","lodash":"^4.17.15","rxjs":"6.5.2"},"gitHead":"0e9ee31aec6f2ed47d63456940ed0bfdc7a1182d","readme":"# Workspace\n\nThe main core service of Capsulahub, it is responsible for:\n\n-   Loading services and components according to its configuration;\n-   Allowing services to register themselves;\n-   Letting services and components communicate together;\n-   Exposing to the services their configuration.\n\n## Install\n\n### NPM\n\nTo install the package from NPM registry you should run\n\n    yarn add @capsulajs/capsulahub-workspace\n\nor\n\n    npm install @capsulajs/capsulahub-workspace\n\n### CDN\n\nYou can get the default export from the link\n\n    https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/index.js\n\n## Exports\n\n### Default\n\nWorkspaceFactory class.\n\n### Named (API)\n\nThe public API of Workspace.\n\n## Usage\n\nThen you can create a Workspace as following:\n\n```js\nimport WorkspaceFactory, { API } from '@capsulajs/capsulahub-workspace';\n\nconst workspaceFactory = new WorkspaceFactory();\n\nlet workspace: API.Workspace;\nworkspaceFactory.createWorkspace({ \n  token: 'http://localhost:3000/configuration/workspace.json',\n  configProvider: 'httpFile'\n})\n    .then((response) => {\n      workspace = response;\n      console.log('The workspace has been created', workspace)\n    })\n     .catch((error) => {\n       console.log('an error has occurred while creating a workspace', error)\n     });\n```\n\n## API\n\n### CDN\n\n[The documentation about public API.](https://capsulajs.s3.amazonaws.com/develop/capsulahub-workspace/doc/index.html)\n\n### Local\n\nRun \n\n```bash\nyarn doc\n```\n\nAnd open [doc/index.html](./doc/index.html) in browser.\n\n## Configuration\n\nAn example of WorkspaceConfiguration:\n\n```json\n{\n  \"name\": \"baseWorkspace\",\n  \"services\": [\n    {\n      \"serviceName\": \"ServiceA\",\n      \"path\": \"http://localhost:3000/services/serviceA.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceA\",\n        \"methods\": {\n          \"greet\": { \"asyncModel\": \"requestResponse\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceA\", \"message\": \"what pill would you choose: red or blue?\" }\n    },\n    {\n      \"serviceName\": \"ServiceB\",\n      \"path\": \"http://localhost:3000/services/serviceB.js\",\n      \"definition\": {\n        \"serviceName\": \"ServiceB\",\n        \"methods\": {\n          \"getRandomNumbers\": { \"asyncModel\": \"requestStream\" }\n        }\n      },\n      \"config\": { \"serviceName\": \"serviceB\" }\n    }\n  ],\n  \"components\": {\n    \"layouts\": {\n      \"capsulahub-root\": {\n        \"componentName\": \"web-grid\",\n        \"path\": \"http://localhost:3000/widgets/Grid.js\",\n        \"config\": { \"title\": \"Base Grid\" }\n      }\n    },\n    \"items\": {\n      \"request-form\": {\n        \"componentName\": \"web-request-form\",\n        \"path\": \"http://localhost:3000/widgets/RequestForm.js\",\n        \"config\": { \"title\": \"Base Request Form\" }\n      }\n    }\n  }\n}\n```\n\nConfiguration can be changed in **[cdn-emulator](../cdn-emulator)** package in _\"./src/configuration\"_. The name of json file should always be **workspace.json**.\n\nThe extensions also can be changed in **[cdn-emulator](../cdn-emulator)** package (don't forget to update configuration file after creating new extensions).\n\n## Build\n\n    yarn build\n\nBuilds **es-modules** version (in **lib** folder) for NPM and **bundle** version (in **dist** folder) for CDN.\n\n## Example\n\nIn order to open a simple example you should run localhost:3000 with extensions included there.\n\nIn order to do it you should go to **[cdn-emulator](../cdn-emulator)** package:\n\n    cd ../cdn-emulator\n\nAnd run:\n\n    yarn start\n\n**In a different terminal** you should go to workspace package:\n\n    cd packages/workspace\n\nAnd run:\n\n    yarn start\n\nYou will be able to open an example on [localhost:1234](http://localhost:1234/).\n\nThis example is also being used for running Cypress tests on it.\n\n## Extensions\n\nIf an error has happened while importing or bootstrapping of the extension, corresponding console.error will be shown.\n\nKeep in mind, that if an error has happened before the registration of an extension, the promise of this this extension in ServicesMap or ComponentsMap will always stay in pending state.\n\n## Licence\n\n[CapsulaHub](https://github.com/capsulajs/capsulahub) and related services are released under MIT Licence.\n\n## [Back to the Main Page](../../README.md)\n","readmeFilename":"README.md","_id":"@capsulajs/capsulahub-workspace@0.0.2-next.35","_nodeVersion":"10.17.0","_npmVersion":"lerna/3.15.0/node@v10.17.0+x64 (linux)","dist":{"integrity":"sha512-1a9IC7acMtyRz2bSwdYIoiQAKe7cRswQbvGZCtg0PsdNz4aDtz34+BGeNz+VRSHRlaxH1Ap+tc+X3bZN/c+wMw==","shasum":"e2a93ef56e23f7225ca9e6dcff82fdc4978e69d4","tarball":"https://registry.npmjs.org/@capsulajs/capsulahub-workspace/-/capsulahub-workspace-0.0.2-next.35.tgz","fileCount":125,"unpackedSize":1334320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6MksCRA9TVsSAnZWagAAuXEP/iyJWDEhU/BSTTQ67QIf\nvDQ53Vz+hhkCehAaKZrcdRb3sOxflOilBXaYLc45EYJr3WwbWdV8Z72BgnYk\nJPpR571kAucpTe2vfi3YnglldISKpqz7rZZpVCF9lW5qxwsdO8jccvbFMVQS\n7RhcJwLeG6Wksy4lCP30bB6nS0ze6MrFoaF7MroZW6a8HBQa35OIyrWJktq0\nKefx++VCKE6xlcvus9sd9hRJvAi8GIFegSjXOTCf5P5S2PJwqxi2hn0KzNfQ\nb81WTMzaimiBv2GzadyoBzn4BA4Gp3qn7iCrdLkAYngX5hX5t68MBBv9tiSP\ngZDB9vDmFQylEEIXcEH45P9oMHYXjBVv/7pZ0+x5VZfvI0jGjv4EfF2s/s6h\ngzzlFDmMjKXroWnVbZWI8OPXeN6iSZxlEYPNwcnGa5/GL0QIk1+XHwmxCqBT\nx9si2uHJNAMJ+7WutJz/nnTKyw8FPz12bWHNktAkFkML18g4WjBY2JDB4Y5A\neOEvm5efaFkRE560STbOtC4p00ahvTDCk1ND4bjj5qR+Tbs97x4S2wk6/GDQ\nT7l2Y3NJWk2mCUbVcNWzrBG1iqjf6CJJYWuyFqZczfHRrDuViMmc2nOLVL2k\n4BAUxLF3djCayPs48I0xTHVBvsWn1AmP8mgmE0ZAz4zoKqd6HzMTaP36bt9e\nIGhW\r\n=/QXM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsn8Tv5846t/pYnISGqiSB8KbK7BATOPYEliWzs6lqGAiEAmxPVT2210h6JMhmjyrwIeAS2IslrVBXbiYH95TxvMxc="}]},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"_npmUser":{"name":"capsulajsci","email":"CapsulaJS.CI@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capsulahub-workspace_0.0.2-next.35_1575536939711_0.7926771880857171"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-20T13:27:12.582Z","0.0.1":"2019-06-20T13:27:13.027Z","modified":"2022-04-04T21:46:49.198Z","0.0.2-feature-set-CI-CD.1561037640.57":"2019-06-20T13:34:07.420Z","0.0.2-feature-set-CI-CD.1561038696.59":"2019-06-20T13:51:47.877Z","0.0.2-feature-set-CI-CD.1561041240.60":"2019-06-20T14:34:06.699Z","0.0.2-feature-set-CI-CD.1561048159.62":"2019-06-20T16:29:28.352Z","0.0.2-feature-set-CI-CD.1561054339.63":"2019-06-20T18:12:26.469Z","0.0.2-feature-set-CI-CD.1561056178.64":"2019-06-20T18:43:06.648Z","0.0.2-feature-set-CI-CD.1561058185.65":"2019-06-20T19:16:34.113Z","0.0.2-feature-set-CI-CD.1561059678.66":"2019-06-20T19:41:26.572Z","0.0.2-feature-set-CI-CD.1561060646.67":"2019-06-20T19:57:32.667Z","0.0.2-feature-set-CI-CD.1561061165.68":"2019-06-20T20:06:13.252Z","0.0.2-feature-set-CI-CD.1561062231.69":"2019-06-20T20:23:59.513Z","0.0.2-feature-set-CI-CD.1561285132.84":"2019-06-23T10:19:03.167Z","0.0.2-feature-set-CI-CD.1561302091.92":"2019-06-23T15:01:44.439Z","0.0.2-feature-set-CI-CD.1561359432.94":"2019-06-24T06:57:22.578Z","0.0.2-feature-set-CI-CD.1561363371.95":"2019-06-24T08:03:07.507Z","0.0.2-feature-set-CI-CD.1561365744.96":"2019-06-24T08:42:45.530Z","0.0.2-feature-set-CI-CD.1561367055.97":"2019-06-24T09:04:28.172Z","0.0.2-feature-set-CI-CD.1561368432.98":"2019-06-24T09:27:25.687Z","0.0.2-feature-set-CI-CD.1561372369.99":"2019-06-24T10:33:02.911Z","0.0.2-feature-set-CI-CD.1561398974.104":"2019-06-24T17:56:28.582Z","0.0.2-feature-improve-table.1561459223.49":"2019-06-25T10:40:33.913Z","0.0.2-alpha.0":"2019-06-25T11:38:03.024Z","0.0.2-feature-improve-table.1561531308.51":"2019-06-26T06:41:58.858Z","0.0.2-feature-improve-table.1561532353.52":"2019-06-26T06:59:24.488Z","0.0.2-feature-improve-table.1561533297.53":"2019-06-26T07:15:09.457Z","0.0.2-feature-improve-table.1561537952.54":"2019-06-26T08:32:44.709Z","0.0.2-feature-improve-table.1561538649.55":"2019-06-26T08:44:21.251Z","0.0.2-alpha.1":"2019-06-26T09:32:51.768Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561886501.0":"2019-06-30T09:21:44.531Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561887975.0":"2019-06-30T09:46:18.307Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561889101.0":"2019-06-30T10:05:05.195Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561895429.0":"2019-06-30T11:50:32.146Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561903725.0":"2019-06-30T14:08:48.281Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561968378.0":"2019-07-01T08:06:22.137Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1561969858.0":"2019-07-01T08:31:01.354Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562068940.2":"2019-07-02T12:02:40.816Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562069916.2":"2019-07-02T12:18:54.348Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562074006.4":"2019-07-02T13:26:59.569Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562078010.4":"2019-07-02T14:33:53.688Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562082230.4":"2019-07-02T15:43:54.063Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562136096.6":"2019-07-03T06:41:40.166Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562141181.6":"2019-07-03T08:06:24.703Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562142230.7":"2019-07-03T08:23:54.045Z","0.0.2-feature-Build-and-Run-commands-for-CapsulaHub-CLI.1562143917.8":"2019-07-03T08:52:00.814Z","0.0.2-alpha.2":"2019-07-03T09:59:21.808Z","0.0.2-feature-change-capsulahub-mount-point.1562225519.2":"2019-07-04T07:32:03.556Z","0.0.2-feature-change-capsulahub-mount-point.1562227752.2":"2019-07-04T08:09:15.363Z","0.0.2-feature-change-capsulahub-mount-point.1562231829.2":"2019-07-04T09:17:12.896Z","0.0.2-feature-change-capsulahub-mount-point.1562236696.3":"2019-07-04T10:38:19.268Z","0.0.2-feature-change-capsulahub-mount-point.1562238689.3":"2019-07-04T11:11:39.434Z","0.0.2-alpha.3":"2019-07-04T11:47:54.404Z","0.0.2-alpha.1562256599.1":"2019-07-04T16:10:08.451Z","0.0.2-next.1":"2019-07-04T17:28:13.545Z","0.0.2-alpha.1562587243.2":"2019-07-08T12:00:48.558Z","0.0.2-next.2":"2019-07-08T21:31:52.120Z","0.0.2-alpha.1565077029.6":"2019-08-06T07:37:12.128Z","0.0.2-alpha.1565077289.6":"2019-08-06T07:41:32.995Z","0.0.2-alpha.1565087923.6":"2019-08-06T10:38:48.401Z","0.0.2-alpha.1565089269.6":"2019-08-06T11:01:14.184Z","0.0.2-alpha.1565106263.6":"2019-08-06T15:46:42.657Z","0.0.2-alpha.1565166890.6":"2019-08-07T08:34:58.850Z","0.0.2-alpha.1565167388.6":"2019-08-07T08:44:16.999Z","0.0.2-alpha.1565180247.6":"2019-08-07T12:17:31.144Z","0.0.2-alpha.1565183327.6":"2019-08-07T13:08:51.047Z","0.0.2-alpha.1565184726.6":"2019-08-07T13:32:10.899Z","0.0.2-alpha.1565185979.6":"2019-08-07T13:53:04.969Z","0.0.2-next.6":"2019-08-07T14:30:11.739Z","0.0.2-alpha.1565263029.7":"2019-08-08T11:17:12.925Z","0.0.2-next.7":"2019-08-08T12:11:35.483Z","0.0.2-alpha.1565771176.9":"2019-08-14T08:26:20.644Z","0.0.2-alpha.1565774694.9":"2019-08-14T09:24:57.688Z","0.0.2-alpha.1565780037.9":"2019-08-14T10:54:00.364Z","0.0.2-next.9":"2019-08-14T11:59:42.934Z","0.0.2-alpha.1565790701.10":"2019-08-14T13:51:45.706Z","0.0.2-alpha.1565944352.10":"2019-08-16T08:32:37.339Z","0.0.2-alpha.1565949238.10":"2019-08-16T09:54:06.367Z","0.0.2-alpha.1565950770.10":"2019-08-16T10:19:40.115Z","0.0.2-alpha.1566111779.10":"2019-08-18T07:03:02.412Z","0.0.2-alpha.1566203317.11":"2019-08-19T08:28:40.617Z","0.0.2-next.11":"2019-08-19T09:11:01.446Z","0.0.2-alpha.1567172799.14":"2019-08-30T13:46:43.748Z","0.0.2-alpha.1567234320.14":"2019-08-31T06:52:04.293Z","0.0.2-alpha.1567239233.14":"2019-08-31T08:13:56.539Z","0.0.2-alpha.1567240793.14":"2019-08-31T08:39:56.850Z","0.0.2-alpha.1567322639.14":"2019-09-01T07:24:02.988Z","0.0.2-alpha.1567330424.14":"2019-09-01T09:33:47.850Z","0.0.2-alpha.1567332840.14":"2019-09-01T10:14:04.212Z","0.0.2-alpha.1567335839.14":"2019-09-01T11:04:02.975Z","0.0.2-alpha.1567341061.14":"2019-09-01T12:31:05.527Z","0.0.2-alpha.1567414963.14":"2019-09-02T09:02:46.502Z","0.0.2-next.14":"2019-09-02T10:22:06.654Z","0.0.2-alpha.1575380902.32":"2019-12-03T13:48:30.344Z","0.0.2-next.32":"2019-12-03T14:31:51.147Z","0.0.3":"2019-12-04T14:07:54.437Z","0.0.2-next.35":"2019-12-05T09:09:00.143Z"},"maintainers":[{"email":"michael.paliukh@jivygroup.com","name":"95kach"},{"email":"capsulajs.bot@gmail.com","name":"capsulajsbot"},{"email":"CapsulaJS.CI@gmail.com","name":"capsulajsci"},{"email":"idan@ilt.co.il","name":"idanilt"},{"email":"michael.arbib@om2.com","name":"mikesquall"}],"description":"The core package of Capsulahub. Includes the implementation of Workspace, that inits the application and keeps track of service and widgets extensions","author":{"name":"CapsulaJS"},"license":"MIT","readme":"","readmeFilename":""}