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