From ed2fc2b7ce842ec3663ca7f55a502f9967ec9ac1 Mon Sep 17 00:00:00 2001 From: marianfoo <13335743+marianfoo@users.noreply.github.com> Date: Sat, 14 May 2022 05:09:26 +0000 Subject: [PATCH] chore: crawl --- data/data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/data.json b/data/data.json index 9fdc2de..c8865cb 100644 --- a/data/data.json +++ b/data/data.json @@ -1 +1 @@ -{"packages":[{"name":"ui5-middleware-cfdestination","version":"0.8.5","description":"UI5 middleware for CF destinations","author":"Volker Buzek, Peter Muessig","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-cfdestination"},"scripts":{"test":"ava","lint":"eslint lib"},"ava":{"files":["test/**/*","!test/_ui5-app"],"verbose":true,"timeout":"20s"},"dependencies":{"@sap/approuter":"^10.12.0","@ui5/logger":"^2.0.1","request":"^2.88.2"},"devDependencies":{"ava":"^4.0.1","get-port":"^6.1.1","nock":"^13.2.4","prettier":"^2.5.1","replace-in-file":"^6.3.2","supertest":"^6.2.2"},"ui5":{"dependencies":[]},"type":"middleware","tags":["btp"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2019-09-09T22:01:27.787Z","updatedAt":"2022-04-19T08:29:41.875Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-cfdestination/","readme":"# UI5 middleware for CF destinations\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), making `destinations` configured in SAP CF available for local development.\n\n## Install\n\n```bash\nnpm install ui5-middleware-cfdestination --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- `debug`: ``, default: `false` \nverbose logging\n\n- `port`: ``, default: `5000` \nport to run the underlying `approuter` on\n\n- `xsappJson`: ``, default: `\"./xs-app.json\"` \npath to the cf-style approuter configuration file `xs-app.json`\n\n- `destinations`: ``, default: `[]`\n - `name: ` destination name, matching the one used in routes in `xs-app.json` \n - `url: ` URI to the host to \"proxy\" to\n\n- `allowServices`: ``, default: `false` \nallow [BTP services](https://discovery-center.cloud.sap/serviceCatalog?) to be used at runtime that are configured in `xs-app.json` \n(requires an authenticated BTP session!)\n\n- `authenticationMethod`: `\"none\"` || `\"route\"`, default: `\"none\"` \nwhether to equip routes with authentication\n\n- `allowLocalDir`: ``, default: `false` \nallow static assets to be picked up by the included `approuter` \ndefaults to `false` as usually all local files/assets are supposedly served by `ui5-server`\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-cfdestination\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-cfdestination\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-cfdestination\n afterMiddleware: compression\n configuration:\n authenticationMethod: \"none\" # \"none\" || \"route\", default: \"none\"\n allowServices: true # allows BTP services like SAP IoT to be used \n debug: true\n port: 1091\n xsappJson: \"xs-app.json\"\n destinations:\n # check that the destination name (here: \"backend\") matches your router in xs-app.json\n - name: \"backend\"\n url: \"https://services.odata.org/V4/(S(fdng4tbvlxgzpdtpfap2rqss))/TripPinServiceRW/\"\n```\n\n3. put the cf routing config file `xs-app.json` in the location of `$yourapp` you specified above (`xsappJson`) - \nrecommendation is to put it at the root `/` of your UI5 app!\n\n## How it works\n\nThe middleware wraps the `@sap/approuter` npm module that is used in the SAP BTP CloudFoundry environment for serving UI5 applications, including proxying the configured destinations.\n\nDuring development, the `approuter` is started on a configurable port, running alongside the regular local `ui5-server`. When a call to a URL destination is detected at `$webserver/destination`, it is proxied to `$approuter:$port` via [`request`](https://www.npmjs.com/package/request).\n\n## Misc/FAQ\n\n**q**: does authentication on destinations \n**a**: yes, works ๐Ÿฅณ\n\n- prerequisite: a `default-env.json` file at the root `/` of your UI5 app\nBespoken `default-env.json` file can be obtained [via the `Default Env CLI Plugin`](https://github.com/saphanaacademy/DefaultEnv)\n- `ui5.yaml > server > customMiddlware > ui5-middleware-cfdestination`: set `authenticationMethod` to `route` (see config example above)\n- `xs-app.json` (also at the root `/` of your UI5 app):\n - set `authenticationMethod` to `route`\n - in the route with the desired protected authentication, set `authenticationType` to `xsuaa` \n\nsee `./test/auth/**/*` for example files for the above!\n\n**q**: what's `allowLocalDir` for? \n**a**: allows to protect local static assets (e.g. `html` files) -in addition to destinations- with approuter as well. \nsee `test/auth/xs-app-with-localDir.json` for an example!\n\n## License\n\nThis work is [dual-licensed](../../LICENSE) under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.\n\nWhen you like this stuff, buy [@vobu](https://twitter.com/vobu) a beer or buy [@pmuessig](https://twitter.com/pmuessig) a coke when you see them.\n","jsdoc":{},"downloadsCurrentMonth":3127,"downloadsCurrentFortnight":1541,"downloads365":22546,"downloadsFortnightGrowth":-2.84,"downloadsHistory":[{"yearMonth":"2021-06","downloads":2004},{"yearMonth":"2021-07","downloads":1352},{"yearMonth":"2021-08","downloads":1631},{"yearMonth":"2021-09","downloads":1393},{"yearMonth":"2021-10","downloads":1586},{"yearMonth":"2021-11","downloads":1531},{"yearMonth":"2021-12","downloads":1377},{"yearMonth":"2022-01","downloads":1546},{"yearMonth":"2022-02","downloads":1947},{"yearMonth":"2022-03","downloads":2378},{"yearMonth":"2022-04","downloads":2983}],"versions":[{"version":"created","date":"2019-09-09T22:01:27.787Z"},{"version":"0.1.0","date":"2019-09-09T22:01:27.916Z"},{"version":"modified","date":"2022-04-19T08:29:41.875Z"},{"version":"0.1.1","date":"2019-09-10T05:16:55.341Z"},{"version":"0.1.2","date":"2019-10-13T08:53:49.222Z"},{"version":"0.1.3","date":"2019-10-13T10:14:28.781Z"},{"version":"0.1.4","date":"2020-02-25T21:51:09.290Z"},{"version":"0.1.5","date":"2020-03-20T06:46:12.831Z"},{"version":"0.1.6","date":"2020-03-25T07:04:05.281Z"},{"version":"0.1.7","date":"2020-04-04T12:08:32.634Z"},{"version":"0.1.8","date":"2020-05-01T14:48:07.410Z"},{"version":"0.2.0","date":"2020-05-24T09:29:48.732Z"},{"version":"0.2.1","date":"2020-07-17T22:05:39.683Z"},{"version":"0.2.2","date":"2020-08-03T07:51:25.543Z"},{"version":"0.2.3","date":"2020-09-20T07:24:15.032Z"},{"version":"0.2.4","date":"2020-09-29T12:13:10.267Z"},{"version":"0.3.0","date":"2020-12-17T08:32:17.172Z"},{"version":"0.3.1","date":"2021-01-25T13:38:21.161Z"},{"version":"0.4.0","date":"2021-02-16T15:25:57.756Z"},{"version":"0.4.1","date":"2021-03-10T09:57:25.921Z"},{"version":"0.4.2","date":"2021-05-05T19:24:39.676Z"},{"version":"0.4.3","date":"2021-05-15T09:03:14.680Z"},{"version":"0.5.0","date":"2021-06-06T19:26:11.983Z"},{"version":"0.6.0","date":"2021-06-07T19:10:13.060Z"},{"version":"0.7.0","date":"2021-08-07T20:04:24.127Z"},{"version":"0.7.1","date":"2021-09-29T18:46:38.382Z"},{"version":"0.7.2","date":"2021-10-28T21:10:55.250Z"},{"version":"0.7.3","date":"2021-10-29T20:23:02.484Z"},{"version":"0.8.0","date":"2021-12-26T09:54:40.246Z"},{"version":"0.8.1","date":"2022-02-07T22:15:26.308Z"},{"version":"0.8.2","date":"2022-02-22T20:21:31.975Z"},{"version":"0.8.3","date":"2022-02-24T20:28:10.112Z"},{"version":"0.8.4","date":"2022-04-11T11:40:04.530Z"},{"version":"0.8.5","date":"2022-04-19T08:29:41.800Z"}],"npmlink":"https://www.npmjs.com/package/ui5-middleware-cfdestination"},{"name":"ui5-middleware-iasync","version":"0.1.0-alpha.8","description":"UI5 Tooling middleware to sync browser interactions","author":"Volker Buzek, Peter Muessig","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-iasync"},"scripts":{"lint":"eslint lib"},"dependencies":{"@ui5/logger":"^2.0.1","browser-sync":"^2.27.7","connect-injector":"^0.4.4"},"ui5":{"dependencies":[]},"type":"middleware","tags":["browser"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2019-12-17T16:00:18.198Z","updatedAt":"2022-04-19T08:29:42.085Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-iasync/","readme":"# UI5 middleware for syncing interactions across browsers\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), syncing interactions between different browsers, hopefully somewhat easing manual testing :) \n\n## Install\n\n```bash\nnpm install ui5-middleware-iasync --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- `https: ` default: false \nwhether to use the middleware via SSL/wss\n- `httpModule: `, default: undefined \ncapability to e.g. use `http2`\n- `port: `, default: 3000 \nport to run middleware at\n- `debug: `, default: false \ndisplay extensive logging\n- `logConnections: `, default: true \nshow connected browsers\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-iasync\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-iasync\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-iasync\n beforeMiddleware: serveResources\n configuration:\n https: false\n debug: false\n logConnections: true\n port: 4711\n```\n\n## How it works\n\n`iasync` uses [browsersync.io](https://www.browsersync.io) under the hood. It transmits user interactions of the UI via a websocket pool. Respectively, all browsers connected to `http://ui5-app:port` open a websocket connection, listening for and receiving interactions events. \n\nAdditionally, `iasync` injects custom HTML into `index.html`, manipulating browser event handlers of UI5 controls - see `lib/ui5mangler.html`. E.g. the `sap.m.Button`'s click event is overwritten with its' tap event.\n\n## Misc/FAQ\n\n> Watch Out! \n> Due to manipulation of the UI5 controls (see above), interactions of the UI might lead to unexpected results!\n\n\n## License\n\nThis work is [dual-licensed](../../LICENSE) under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.\n\nWhen you like this stuff, buy [@vobu](https://twitter.com/vobu) a beer or buy [@pmuessig](https://twitter.com/pmuessig) a coke when you see them.\n","jsdoc":{},"downloadsCurrentMonth":128,"downloadsCurrentFortnight":41,"downloads365":559,"downloadsFortnightGrowth":-52.87,"downloadsHistory":[{"yearMonth":"2021-06","downloads":19},{"yearMonth":"2021-07","downloads":21},{"yearMonth":"2021-08","downloads":90},{"yearMonth":"2021-09","downloads":36},{"yearMonth":"2021-10","downloads":65},{"yearMonth":"2021-11","downloads":34},{"yearMonth":"2021-12","downloads":18},{"yearMonth":"2022-01","downloads":6},{"yearMonth":"2022-02","downloads":38},{"yearMonth":"2022-03","downloads":29},{"yearMonth":"2022-04","downloads":135}],"versions":[{"version":"created","date":"2019-12-17T16:00:18.198Z"},{"version":"0.0.1-alpha","date":"2019-12-17T16:00:18.749Z"},{"version":"modified","date":"2022-04-19T08:29:42.085Z"},{"version":"0.0.2-alpha","date":"2020-02-25T21:51:25.472Z"},{"version":"0.0.2-alpha.0","date":"2020-03-25T07:04:49.500Z"},{"version":"0.0.2-alpha.1","date":"2020-04-04T12:08:49.937Z"},{"version":"0.0.2-alpha.2","date":"2020-05-01T15:38:43.412Z"},{"version":"0.0.2-alpha.3","date":"2020-05-02T08:27:08.332Z"},{"version":"0.0.2-alpha.4","date":"2020-05-05T14:47:27.783Z"},{"version":"0.1.0-alpha.0","date":"2020-05-24T09:29:48.811Z"},{"version":"0.1.0-alpha.1","date":"2020-07-17T22:05:39.663Z"},{"version":"0.1.0-alpha.2","date":"2020-09-20T07:24:15.040Z"},{"version":"0.1.0-alpha.3","date":"2021-05-05T19:24:40.063Z"},{"version":"0.1.0-alpha.4","date":"2021-08-07T20:04:24.170Z"},{"version":"0.1.0-alpha.5","date":"2021-10-28T21:10:55.252Z"},{"version":"0.1.0-alpha.6","date":"2021-10-29T20:23:02.550Z"},{"version":"0.1.0-alpha.7","date":"2022-04-11T11:40:04.531Z"},{"version":"0.1.0-alpha.8","date":"2022-04-19T08:29:42.008Z"}],"npmlink":"https://www.npmjs.com/package/ui5-middleware-iasync"},{"name":"ui5-middleware-index","version":"0.2.9","description":"UI5 middleware for delivering a dedicated welcome/start page","author":"Volker Buzek, Peter Muessig","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-index"},"scripts":{"lint":"eslint lib"},"dependencies":{"@ui5/logger":"^2.0.1"},"ui5":{"dependencies":[]},"type":"middleware","tags":["browser"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2020-04-04T12:08:33.379Z","updatedAt":"2022-04-19T08:29:43.047Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-index/","readme":"# UI5 middleware for delivering a welcome/start/'index' page to the client\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), delivering the `$index.html` of choice (instead of the directory listing).\n\n## Install\n\n```bash\nnpm install ui5-middleware-index --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- index: ``, default: `index.html` \n file inside `$yourapp` to deliver for `http://:/`\n- debug: ``, default: `false`\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-index\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-index\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-index\n afterMiddleware: compression\n configuration:\n index: \"index_peter.html\"\n```\n\n## How it works\n\nThe middleware delivers the configured `index` HTML-file to the client if the FQDN + trailing slash `/` is requested in the browser.\n\n## Development\n\nIf you want to contribute to `ui5-middleware-index`, please use [`Prettier`](https://prettier.io) for code formatting/style and apply the rules from `./.prettierrc`. Thanks ๐Ÿ™!\n\n\n## License\n\nThis work is [dual-licensed](../../LICENSE) under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.\n\nWhen you like this stuff, buy [@vobu](https://twitter.com/vobu), [@stefanbeck3](https://twitter.com/stefanbeck3), [github.com/margopolo](https://github.com/margopolo) a beer or buy [@pmuessig](https://twitter.com/pmuessig) a coke when you see them.\n","jsdoc":{},"downloadsCurrentMonth":349,"downloadsCurrentFortnight":164,"downloads365":5345,"downloadsFortnightGrowth":-11.35,"downloadsHistory":[{"yearMonth":"2021-06","downloads":419},{"yearMonth":"2021-07","downloads":392},{"yearMonth":"2021-08","downloads":442},{"yearMonth":"2021-09","downloads":433},{"yearMonth":"2021-10","downloads":418},{"yearMonth":"2021-11","downloads":393},{"yearMonth":"2021-12","downloads":447},{"yearMonth":"2022-01","downloads":480},{"yearMonth":"2022-02","downloads":735},{"yearMonth":"2022-03","downloads":449},{"yearMonth":"2022-04","downloads":327}],"versions":[{"version":"created","date":"2020-04-04T12:08:33.379Z"},{"version":"0.1.0","date":"2020-04-04T12:08:33.562Z"},{"version":"modified","date":"2022-04-19T08:29:43.047Z"},{"version":"0.1.1","date":"2020-05-01T14:48:07.558Z"},{"version":"0.2.0","date":"2020-05-24T09:29:49.358Z"},{"version":"0.2.1","date":"2020-07-17T22:05:39.727Z"},{"version":"0.2.2","date":"2020-09-20T07:24:15.480Z"},{"version":"0.2.3","date":"2021-05-05T19:24:40.513Z"},{"version":"0.2.4","date":"2021-10-28T22:44:21.978Z"},{"version":"0.2.5","date":"2021-10-28T22:53:06.643Z"},{"version":"0.2.6","date":"2021-10-29T20:23:03.229Z"},{"version":"0.2.7","date":"2022-02-24T20:28:10.191Z"},{"version":"0.2.8","date":"2022-04-11T11:40:05.143Z"},{"version":"0.2.9","date":"2022-04-19T08:29:42.971Z"}],"npmlink":"https://www.npmjs.com/package/ui5-middleware-index"},{"name":"ui5-middleware-livecompileless","version":"0.2.5","description":"UI5 middleware for live compiling less files","author":"Sebastian Mahr, Marcel Schork","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-livecompileless"},"scripts":{"lint":"eslint lib"},"dependencies":{"@ui5/logger":"^2.0.1","less-openui5":"^0.11.2"},"ui5":{"dependencies":[]},"type":"middleware","tags":["css"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2021-05-15T09:03:09.624Z","updatedAt":"2022-04-19T08:29:43.053Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-livecompileless/","readme":"# UI5 middleware for live compiling less files\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), live compiling less files.\n\n## Install\n\n```bash\nnpm install ui5-middleware-livecompileless --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- debug: `true|false` \n verbose logging\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-livecompileless\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-livecompileless\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nbuilder:\n customMiddleware:\n - name: ui5-middleware-livecompileless\n beforeMiddleware: serveResources\n configuration:\n debug: true\n```\n\n## How it works\n\nThe css file corresponding to your less file needs to be maintained in the manifest as described [here](https://sapui5.hana.ondemand.com/#/topic/723f4b2334e344c08269159797f6f796).\nThe middleware will watch for those css files and searches for the corresponding less file, compiles it and serves it back.\n\n## License\n\nThis work is [dual-licensed](../../LICENSE) under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.\n\nWhen you like this stuff, buy [@sebbi](https://app.slack.com/client/T0A7MQSJ1/D01TDU3RMSQ/user_profile/UBV5L8N8M) a beer or buy [@marcel_schork](https://twitter.com/marcel_schork) a coke when you see them.\n","jsdoc":{},"downloadsCurrentMonth":170,"downloadsCurrentFortnight":61,"downloads365":1214,"downloadsFortnightGrowth":-44.04,"downloadsHistory":[{"yearMonth":"2021-06","downloads":11},{"yearMonth":"2021-07","downloads":37},{"yearMonth":"2021-08","downloads":132},{"yearMonth":"2021-09","downloads":116},{"yearMonth":"2021-10","downloads":89},{"yearMonth":"2021-11","downloads":141},{"yearMonth":"2021-12","downloads":64},{"yearMonth":"2022-01","downloads":91},{"yearMonth":"2022-02","downloads":144},{"yearMonth":"2022-03","downloads":90},{"yearMonth":"2022-04","downloads":185}],"versions":[{"version":"created","date":"2021-05-15T09:03:09.624Z"},{"version":"0.2.0","date":"2021-05-15T09:03:09.726Z"},{"version":"modified","date":"2022-04-19T08:29:43.053Z"},{"version":"0.2.1","date":"2021-08-07T20:04:24.202Z"},{"version":"0.2.2","date":"2021-10-29T20:23:03.275Z"},{"version":"0.2.3","date":"2022-02-22T20:21:31.960Z"},{"version":"0.2.4","date":"2022-04-11T11:40:05.173Z"},{"version":"0.2.5","date":"2022-04-19T08:29:42.987Z"}],"npmlink":"https://www.npmjs.com/package/ui5-middleware-livecompileless"},{"name":"ui5-middleware-livereload","version":"0.5.11","description":"UI5 middleware for live reloading `webapp` sources on change","author":"Volker Buzek, Peter Muessig","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-livereload"},"scripts":{"lint":"eslint lib"},"dependencies":{"@ui5/logger":"^2.0.1","connect-livereload":"^0.6.1","livereload":"^0.9.3","portfinder":"^1.0.28","yargs":"^17.3.1"},"ui5":{"dependencies":[]},"type":"middleware","tags":["livereload"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2019-09-09T22:01:27.865Z","updatedAt":"2022-04-19T08:29:44.319Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-livereload/","readme":"# UI5 middleware for live reloading `webapp` sources on change\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), doing a live reload when files inside `$yourapp` change, e.g. on save.\n\n## Install\n\n```bash\nnpm install ui5-middleware-livereload --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- debug: true|false \n verbose logging\n- extraExts: `string`, default: \"xml,json,properties\" \n file extensions other than `js`, `html` and `css` to monitor for changes\n- port: `integer`, default: an open port choosen from _35729_ \n port the live reload server is started on\n- watchPath|path: `string`, default: `webapp` \n path inside `$yourapp` the reload server monitors for changes\n- exclusions: one or many `regex`. By default, this includes `.git/`, `.svn/`, and `.hg/`\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-livereload\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-livereload\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livereload\n afterMiddleware: compression\n configuration:\n debug: true\n extraExts: \"xml,json,properties\"\n port: 35729\n watchPath: \"webapp\"\n```\n\nor with `path` instead of `watchPath`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livereload\n afterMiddleware: compression\n configuration:\n debug: true\n extraExts: \"xml,json,properties\"\n port: 35729\n path: \"webapp\"\n```\n\nReload from multiple paths:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livereload\n afterMiddleware: compression\n configuration:\n debug: true\n extraExts: \"xml,json,properties\"\n port: 35729\n path: \n - \"webapp\"\n - \"../my.reuse.library/src/my/reuse/library\"\n```\n\nExclude single subpath from `path`s/ `watchPath`s:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livereload\n afterMiddleware: compression\n configuration:\n debug: true\n extraExts: \"xml,json,properties\"\n port: 35729\n watchPath: \"webapp\"\n exclusions:\n - \"wdi5/\"\n```\n\nExclude multiple subpaths from `path`s/ `watchPath`s:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livereload\n afterMiddleware: compression\n configuration:\n debug: true\n extraExts: \"xml,json,properties\"\n port: 35729\n watchPath: \"webapp\"\n exclusions:\n - \"wdi5/\"\n - \"integration/\"\n```\n\n## How it works\n\nThe middleware launches a `livereload`-server on the specified `port`, listening to changes in the specified `path` or `watchPath` inside your application directory.\n\nWhen changes are detected, a reload is triggered to **all connected clients** - so all browsers having `$yourapp` will reload the application. The reload is `#`-aware, meaning the current displayed route in your single-page UI5 app is kept steady.\n\n## HTTP/2 support\n\nThe middleware supports HTTP/2 automatically, when the UI5 server is started with the --h2 option. It uses the same SSL key and certificate, either set using the --key and --cert options, or using the default ~/.ui5/server/server.key and ~/.ui5/server/server.crt.\n\n## Misc/FAQ\n\nyep, cross-browser, cross-platform.\n\n## License\n\nThis work is [dual-licensed](../../LICENSE) under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.\n\nWhen you like this stuff, buy [@vobu](https://twitter.com/vobu) a beer or buy [@pmuessig](https://twitter.com/pmuessig) a coke when you see them.\n","jsdoc":{},"downloadsCurrentMonth":14177,"downloadsCurrentFortnight":7492,"downloads365":127298,"downloadsFortnightGrowth":12.07,"downloadsHistory":[{"yearMonth":"2021-06","downloads":9045},{"yearMonth":"2021-07","downloads":8591},{"yearMonth":"2021-08","downloads":8297},{"yearMonth":"2021-09","downloads":8446},{"yearMonth":"2021-10","downloads":10168},{"yearMonth":"2021-11","downloads":11536},{"yearMonth":"2021-12","downloads":9355},{"yearMonth":"2022-01","downloads":9997},{"yearMonth":"2022-02","downloads":13307},{"yearMonth":"2022-03","downloads":14568},{"yearMonth":"2022-04","downloads":13464}],"versions":[{"version":"created","date":"2019-09-09T22:01:27.865Z"},{"version":"0.1.0","date":"2019-09-09T22:01:27.986Z"},{"version":"modified","date":"2022-04-19T08:29:44.319Z"},{"version":"0.1.1","date":"2019-09-10T05:16:55.342Z"},{"version":"0.1.2","date":"2019-10-13T08:53:48.666Z"},{"version":"0.1.3","date":"2019-10-13T09:21:27.673Z"},{"version":"0.1.4","date":"2019-10-13T10:14:28.716Z"},{"version":"0.1.5","date":"2020-02-13T21:31:22.265Z"},{"version":"0.1.6","date":"2020-02-25T21:51:09.901Z"},{"version":"0.1.7","date":"2020-03-20T06:46:12.220Z"},{"version":"0.1.8","date":"2020-03-25T07:04:05.284Z"},{"version":"0.1.9","date":"2020-03-27T06:18:01.072Z"},{"version":"0.1.10","date":"2020-04-04T12:08:33.206Z"},{"version":"0.2.0","date":"2020-05-01T14:48:08.216Z"},{"version":"0.3.0","date":"2020-05-24T09:29:49.497Z"},{"version":"0.4.0","date":"2020-07-17T22:05:39.571Z"},{"version":"0.4.1","date":"2020-08-03T07:51:25.781Z"},{"version":"0.4.2","date":"2020-09-20T07:24:15.162Z"},{"version":"0.4.3","date":"2020-09-29T12:13:09.679Z"},{"version":"0.5.0","date":"2020-12-17T08:32:17.182Z"},{"version":"0.5.1","date":"2020-12-17T09:04:40.016Z"},{"version":"0.5.2","date":"2021-02-10T13:58:59.029Z"},{"version":"0.5.3","date":"2021-03-22T19:58:53.657Z"},{"version":"0.5.4","date":"2021-05-05T19:24:40.462Z"},{"version":"0.5.5","date":"2021-08-07T20:04:24.258Z"},{"version":"0.5.6","date":"2021-10-28T21:10:55.256Z"},{"version":"0.5.7","date":"2021-10-28T21:58:57.686Z"},{"version":"0.5.8","date":"2021-10-29T20:23:03.911Z"},{"version":"0.5.9","date":"2022-02-07T22:15:26.338Z"},{"version":"0.5.10","date":"2022-04-11T11:40:05.663Z"},{"version":"0.5.11","date":"2022-04-19T08:29:44.244Z"}],"npmlink":"https://www.npmjs.com/package/ui5-middleware-livereload"},{"name":"ui5-middleware-livetranspile","version":"0.3.9","description":"UI5 middleware for live transpiling ES6+ sources","author":"Volker Buzek, Peter Muessig","license":"other","repository":{"type":"git","url":"https://github.com/ui5-community/ui5-ecosystem-showcase.git","directory":"packages/ui5-middleware-livetranspile"},"scripts":{"lint":"eslint lib"},"dependencies":{"@babel/core":"^7.17.5","@babel/preset-env":"^7.16.11","@ui5/logger":"^2.0.1","babel-plugin-transform-async-to-promises":"^0.8.18","lodash.merge":"^4.6.2"},"ui5":{"dependencies":[]},"type":"middleware","tags":["transpile"],"gitHubOwner":"ui5-community","gitHubRepo":"ui5-ecosystem-showcase","forks":62,"stars":144,"addedToBoUI5":"2022-04-09T11:37:57.868Z","createdAt":"2019-09-09T22:01:27.810Z","updatedAt":"2022-04-19T08:29:44.302Z","githublink":"https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-middleware-livetranspile/","readme":"# UI5 middleware for live transpiling ES6+ sources\n\nMiddleware for [ui5-server](https://github.com/SAP/ui5-server), doing on-the-fly transpilation of ES6+ sources to ES5 (incl IE11 compatability :) )\n\n## Install\n\n```bash\nnpm install ui5-middleware-livetranspile --save-dev\n```\n\n## Configuration options (in `$yourapp/ui5.yaml`)\n\n- debug: true|false \nverbose logging\n\n- excludePatterns: `String` \narray of paths inside `$yourapp/webapp/` to exclude from live transpilation, \ne.g. 3-rd party libs in `lib/*`\n\n- transpileAsync: `true|false` \ntranspiling `async/await` using [this Babel plugin](https://www.npmjs.com/package/babel-plugin-transform-async-to-promises), which doesn't require \nthe regenerator runtime ([Issue #242](https://github.com/petermuessig/ui5-ecosystem-showcase/issues/242))\n\n- babelConfig: `Object` \nobject to use as configuration for babel instead of the default configuration \ndefined in this middleware\n\n## Usage\n\n1. Define the dependency in `$yourapp/package.json`:\n\n```json\n\"devDependencies\": {\n // ...\n \"ui5-middleware-livetranspile\": \"*\"\n // ...\n},\n\"ui5\": {\n \"dependencies\": [\n // ...\n \"ui5-middleware-livetranspile\",\n // ...\n ]\n}\n```\n\n> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.\n\n2. configure it in `$yourapp/ui5.yaml`:\n\n```yaml\nserver:\n customMiddleware:\n - name: ui5-middleware-livetranspile\n afterMiddleware: compression\n configuration:\n debug: true\n transpileAsync: true\n excludePatterns:\n - \"lib/\"\n - \"another/dir/in/webapp\"\n - \"yet/another/dir\"\n```\n\n## How it works\n\nThe middleware intercepts every `.js`-file before it is sent to the client. The file is then transpiled on-the-fly via `babel`, including dynamic creation of a `sourcemap`.\n\nThe transpiled code and the `sourcemap` are subsequently delivered to the client instead of the original `.js`-file. Because of the `sourcemap`, setting breakpoints in the **original (ES6+) source** will cause the debugger to stop **when the corresponding transpiled source code is reached**.\n\n> `async/await` is transpiled at runtime, but the required `asyncGenerator` sources are not yet delivered on the fly. They need to be `sap.ui.require`d or `