{"_id":"@amplication/plugin-transport-https","_rev":"12-abeb66cb0a399fd95a6338d0e2918c3c","name":"@amplication/plugin-transport-https","dist-tags":{"latest":"0.0.2","beta":"0.0.5-beta.pr-354.1e83d71"},"versions":{"0.0.2":{"name":"@amplication/plugin-transport-https","version":"0.0.2","author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","_id":"@amplication/plugin-transport-https@0.0.2","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"barshimi","email":"barshimi@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"ab69abcb3aade9b79bf1e2721a3537346b4fcfff","tarball":"https://registry.npmjs.org/@amplication/plugin-transport-https/-/plugin-transport-https-0.0.2.tgz","fileCount":20,"integrity":"sha512-OSIRo+YQjBvMqzqIbphTVu8FbfjDVX8Jx8vSSusTh9hiSfv0Ir3osJULWu/u2XCLbJQghCSg06siiqPVYQ5k9Q==","signatures":[{"sig":"MEUCIQDbx2I2aPnndd+TKWzUKuG0TxjSThCSHZ5N9Yy21ABY1wIgBs+e7OrFqo9YP+rN2XNFK1oZV6P3p+0ck28Sl/HVLy0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93056},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","gitHead":"05a6c8af0e35f22607232dcdc71e98e2d08f6244","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"_npmVersion":"10.2.3","description":"This plugin allows you to achieve TLS termination at application level.","directories":{},"_nodeVersion":"18.19.0","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.21","@amplication/code-gen-utils":"^0.0.7"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^3.1.0","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^11.0.0","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-transport-https_0.0.2_1704368796135_0.5683724205237277","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@amplication/plugin-transport-https","version":"0.0.3","author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","_id":"@amplication/plugin-transport-https@0.0.3","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"barshimi","email":"barshimi@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"f3bbc56066e6ebf709a17c5560035de1169c9d7a","tarball":"https://registry.npmjs.org/@amplication/plugin-transport-https/-/plugin-transport-https-0.0.3.tgz","fileCount":20,"integrity":"sha512-NJJzM8a+E5rG60+irc0l/7Pmj1AksrosPo3xvgE8udoL8qcZlUJQmUAGlicrhK128Ici+lLdE2WtdwbpYuDTvQ==","signatures":[{"sig":"MEUCIHrM3VEgNKSN2miC7w2Se8ET1srJnKfWe93XtyrDObOdAiEAw3ZJsf/kshY4Jp2mVmTDjJMJPKioyh3lmCH15oScIGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93064},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","gitHead":"b691b143f55c108c744eb526b016d08f3ee027b0","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"deprecated":"This version is deprecated due to bugged release.","_npmVersion":"10.2.4","description":"This plugin allows you to achieve TLS termination at application level.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.23","@amplication/code-gen-utils":"^0.0.9"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^2.6.2","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^12.0.2","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-transport-https_0.0.3_1709917731253_0.8588484996146384","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@amplication/plugin-transport-https","version":"0.0.4","author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","_id":"@amplication/plugin-transport-https@0.0.4","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"barshimi","email":"barshimi@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"97efb051e98b32f4e768ede5d44f47001081f5b6","tarball":"https://registry.npmjs.org/@amplication/plugin-transport-https/-/plugin-transport-https-0.0.4.tgz","fileCount":20,"integrity":"sha512-lpgWIY73+JTlSq9xpRCjazSu9Zh8Bzz8OjplNOdU7t7nVlw1diC/BbXHvwSKDXsDPIzXwNisMo363O9yseuRAA==","signatures":[{"sig":"MEYCIQCQqcmaLcrqiq3tNldx1tUStKsemjIdE8DlC8qG1j4xFQIhAMqdDIe6UG+EFP/8aqGYSfpYlyLBflyQRoMYT7sX0U5h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93064},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","gitHead":"3bcbdd3404d2d13b3033284d1504c30ac01fd037","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"deprecated":"This version is deprecated due to bugged release.","_npmVersion":"10.2.4","description":"This plugin allows you to achieve TLS termination at application level.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.23","@amplication/code-gen-utils":"^0.0.9"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^2.6.2","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^12.0.2","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-transport-https_0.0.4_1709920855556_0.4778473792661855","host":"s3://npm-registry-packages"}},"0.0.5-beta.pr-354.31d30ce":{"name":"@amplication/plugin-transport-https","version":"0.0.5-beta.pr-354.31d30ce","author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","_id":"@amplication/plugin-transport-https@0.0.5-beta.pr-354.31d30ce","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"barshimi","email":"barshimi@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"3d7a8b1a80937abfb94dca819944f973fa9d7698","tarball":"https://registry.npmjs.org/@amplication/plugin-transport-https/-/plugin-transport-https-0.0.5-beta.pr-354.31d30ce.tgz","fileCount":7,"integrity":"sha512-ZVWdu+VXa80+3SXVM+bJxcApFle18hy75nFySgQfdCsSLp4TqmpaE7c4mcqtYPWY1eMPpR7Wxwwyrz/Jvgx55Q==","signatures":[{"sig":"MEYCIQDvR8TU+ocLAOaBMV1dv+rUbGYJTBSAYHMj4Y0R8e25aAIhAJkYFmUPGOOGLnfeqAgp6BCcluPf+ykMRB+LovAg5xy6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67605},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","readme":"# @amplication/plugin-transport-https\n\n[![NPM Downloads](https://img.shields.io/npm/dt/@amplication/plugin-transport-https)](https://www.npmjs.com/package/@amplication/plugin-transport-https)\n\nThe generated service from [Amplication](https://amplication.com/) has support for starting service in HTTP mode only. This plugin adds support for HTTPS mode and TLS termination at application level. This plugin is useful when you want to deploy your application to a cloud provider that supports TLS termination at application level or load balancer is not available.\n\n## Purpose\n\nThis adds support for startup of multiple servers in the same process. The plugin will start the HTTP server and HTTPS server in the same process if `APP_MODE` is set to `both` as shown in [NEST documentation](https://docs.nestjs.com/faq/multiple-servers). You can change the behavior by changing environment variables. \n\n## Configuration\n\nThe plugin has following configuration options:\n\n- `appMode` - The mode in which the application will start. The default value is `both`. The possible values are `http`, `https` and `both`. If the value is `http` only HTTP server will be started. If the value is `https` only HTTPS server will be started. If the value is `both` both HTTP and HTTPS servers will be started. (default: `both`, options: `http`, `https`, `both`)\n\n> [!NOTE]\n> The behavior of the plugin can be changed later too by changing the environment variables.\n\n- `httpsPort` - The port on which the HTTPS server will listen. (default: `443`, options: `1-65535`). Only used when `APP_MODE` is set to `both`. In case of `https` mode the port is always the earlier defined `PORT` environment variable.\n\n- `httpsCertDir` - The directory where the HTTPS certificate and key files are located. (default: `./certs`, optional)\n\n- `httpsCertName` - The name of the certificate file to be used for HTTPS server. (default: `server.crt`, optional)\n\n- `httpsKeyName` - The name if the server key to be used for HTTPS server. (default: `server.key`, optional)\n\n- `caKeyName` - The name of the CA key to be used for HTTPS server. (default: `ca.key`, optional)\n\n- `caCertName` - The name of the CA certificate to be used for HTTPS server. (default: `ca.crt`, optional)\n\n## Scripts\n\n### `build`\n\nRunning `npm run build` will bundle the plugin with Webpack for production.\n\n### `dev`\n\nRunning `npm run dev` will watch the plugin's source code and automatically bundle it with every change.\n\n### `test`\n\nRunning `npm run test` will run the plugin's tests using Jest.\n\n## Usage\n\nTo start the server you can use the \"ssl:generate\" script as follows:\n\n```bash\nnpm run ssl:generate\n```\n\nThis will generate the HTTPS certificate and key files in the `./certs` directory. The default values for the certificate and key files are `server.crt` and `server.key` respectively. You can change the values by setting the `httpsCertName` and `httpsKeyName` environment variables.\n","gitHead":"31d30ceddcfeef89aba68f985ee37516408aada3","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"deprecated":"This version is deprecated due to bugged release.","_npmVersion":"10.2.4","description":"This plugin allows you to achieve TLS termination at application level.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.23","@amplication/code-gen-utils":"^0.0.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^2.6.2","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^12.0.2","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-transport-https_0.0.5-beta.pr-354.31d30ce_1710262275044_0.9444963676832723","host":"s3://npm-registry-packages"}},"0.0.5-beta.pr-354.1e83d71":{"name":"@amplication/plugin-transport-https","version":"0.0.5-beta.pr-354.1e83d71","author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","_id":"@amplication/plugin-transport-https@0.0.5-beta.pr-354.1e83d71","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"barshimi","email":"barshimi@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"b58042ad4bf141ec5f848b940c5ef88c1142fd11","tarball":"https://registry.npmjs.org/@amplication/plugin-transport-https/-/plugin-transport-https-0.0.5-beta.pr-354.1e83d71.tgz","fileCount":6,"integrity":"sha512-/OaHavXuBuybY//Br1ZyjtlRT8T9ub/NCmzHaBIPlrRIbQ0o7G8VcVLsZNLF6w25BJbI8J2AJpe6SScoHWDFUg==","signatures":[{"sig":"MEYCIQC0efu0+Bpk9dLNY8yGSpqII2RuWzxFc20C83jKSFiWdgIhAJ5SbEkknJgy5izXiIEdFKwNSJ8tLGjelrA1SFidwCx1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24327},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","readme":"# @amplication/plugin-transport-https\n\n[![NPM Downloads](https://img.shields.io/npm/dt/@amplication/plugin-transport-https)](https://www.npmjs.com/package/@amplication/plugin-transport-https)\n\nThe generated service from [Amplication](https://amplication.com/) has support for starting service in HTTP mode only. This plugin adds support for HTTPS mode and TLS termination at application level. This plugin is useful when you want to deploy your application to a cloud provider that supports TLS termination at application level or load balancer is not available.\n\n## Purpose\n\nThis adds support for startup of multiple servers in the same process. The plugin will start the HTTP server and HTTPS server in the same process if `APP_MODE` is set to `both` as shown in [NEST documentation](https://docs.nestjs.com/faq/multiple-servers). You can change the behavior by changing environment variables. \n\n## Configuration\n\nThe plugin has following configuration options:\n\n- `appMode` - The mode in which the application will start. The default value is `both`. The possible values are `http`, `https` and `both`. If the value is `http` only HTTP server will be started. If the value is `https` only HTTPS server will be started. If the value is `both` both HTTP and HTTPS servers will be started. (default: `both`, options: `http`, `https`, `both`)\n\n> [!NOTE]\n> The behavior of the plugin can be changed later too by changing the environment variables.\n\n- `httpsPort` - The port on which the HTTPS server will listen. (default: `443`, options: `1-65535`). Only used when `APP_MODE` is set to `both`. In case of `https` mode the port is always the earlier defined `PORT` environment variable.\n\n- `httpsCertDir` - The directory where the HTTPS certificate and key files are located. (default: `./certs`, optional)\n\n- `httpsCertName` - The name of the certificate file to be used for HTTPS server. (default: `server.crt`, optional)\n\n- `httpsKeyName` - The name if the server key to be used for HTTPS server. (default: `server.key`, optional)\n\n- `caKeyName` - The name of the CA key to be used for HTTPS server. (default: `ca.key`, optional)\n\n- `caCertName` - The name of the CA certificate to be used for HTTPS server. (default: `ca.crt`, optional)\n\n## Scripts\n\n### `build`\n\nRunning `npm run build` will bundle the plugin with Webpack for production.\n\n### `dev`\n\nRunning `npm run dev` will watch the plugin's source code and automatically bundle it with every change.\n\n### `test`\n\nRunning `npm run test` will run the plugin's tests using Jest.\n\n## Usage\n\nTo start the server you can use the \"ssl:generate\" script as follows:\n\n```bash\nnpm run ssl:generate\n```\n\nThis will generate the HTTPS certificate and key files in the `./certs` directory. The default values for the certificate and key files are `server.crt` and `server.key` respectively. You can change the values by setting the `httpsCertName` and `httpsKeyName` environment variables.\n","gitHead":"1e83d71a2b825d341f058cf3221885d6628f0e23","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"deprecated":"This version is deprecated due to bugged release.","_npmVersion":"10.2.4","description":"This plugin allows you to achieve TLS termination at application level.","directories":{},"_nodeVersion":"18.19.1","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.23","@amplication/code-gen-utils":"^0.0.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^2.6.2","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^12.0.2","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-transport-https_0.0.5-beta.pr-354.1e83d71_1710262955029_0.8650827963405321","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-01-04T11:46:36.016Z","modified":"2024-09-09T13:32:50.404Z","0.0.2":"2024-01-04T11:46:36.290Z","0.0.3":"2024-03-08T17:08:51.394Z","0.0.4":"2024-03-08T18:00:55.732Z","0.0.5-beta.pr-354.31d30ce":"2024-03-12T16:51:15.200Z","0.0.5-beta.pr-354.1e83d71":"2024-03-12T17:02:35.230Z"},"author":{"name":"Ashish Padhy","email":"100484401+Shurtu-gal@users.noreply.github.com"},"license":"Apache-2.0","description":"This plugin allows you to achieve TLS termination at application level.","maintainers":[{"email":"engineering@amplication.com","name":"amplication-bot"},{"email":"muly@amplication.com","name":"mulygottlieb"},{"email":"vanNoort.levi@protonmail.com","name":"levivannoort"},{"email":"mor@amplication.com","name":"morhag"},{"email":"hazaz.yuval@gmail.com","name":"yuvalhazaz"}],"readme":"","readmeFilename":""}