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

Function removePackageFromProject

lib/models/blueprint.js:1141–1145  ·  view source on GitHub ↗

Used to remove a package from the project's `package.json`. Generally, this would be done from the `afterInstall` hook, to ensure that any package conflicts can be resolved before the addon is used. @method removePackageFromProject @param {String} packageName @return {Promi

(packageName)

Source from the content-addressed store, hash-verified

1139 @return {Promise}
1140 */
1141 removePackageFromProject(packageName) {
1142 let packageObject = { name: packageName };
1143
1144 return this.removePackagesFromProject([packageObject]);
1145 },
1146
1147 /**
1148 Used to remove multiple packages from the project's `package.json`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…