(options)
| 17 | }, |
| 18 | |
| 19 | beforeInstall(options) { |
| 20 | if (this.project.isViteProject()) { |
| 21 | throw new SilentError('The http-proxy blueprint is not supported in Vite projects.'); |
| 22 | } |
| 23 | |
| 24 | let serverBlueprint = Blueprint.lookup('server', { |
| 25 | ui: this.ui, |
| 26 | project: this.project, |
| 27 | }); |
| 28 | |
| 29 | return serverBlueprint.install(options); |
| 30 | }, |
| 31 | |
| 32 | afterInstall() { |
| 33 | return this.addPackagesToProject([{ name: 'http-proxy', target: '^1.1.6' }]); |
nothing calls this directly
no test coverage detected
searching dependent graphs…