MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / beforeInstall

Function beforeInstall

blueprints/http-mock/index.js:18–29  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

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')) {

Callers

nothing calls this directly

Calls 1

isViteProjectMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…