MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / beforeInstall

Function beforeInstall

blueprints/http-proxy/index.js:19–30  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

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' }]);

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…