Skip to content

Commit

Permalink
Remove refs to Bower
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Jan 27, 2022
1 parent 7d6fa24 commit e7160cd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions guides/advanced-use/cli-commands-reference.md
Expand Up @@ -83,8 +83,6 @@ ember addon <addon-name> <options...>
aliases: -b <value>
--skip-npm (Boolean) (Default: false)
aliases: -sn
--skip-bower (Boolean) (Default: false)
aliases: -sb
--skip-git (Boolean) (Default: false)
aliases: -sg
--yarn (Boolean)
Expand Down Expand Up @@ -639,8 +637,6 @@ ember init <glob-pattern> <options...>
aliases: -b <value>
--skip-npm (Boolean) (Default: false)
aliases: -sn
--skip-bower (Boolean) (Default: false)
aliases: -sb
--welcome (Boolean) (Default: true) Installs and
uses {{ember-welcome-page}}. Use --no-welcome to
skip it.
Expand Down Expand Up @@ -683,8 +679,6 @@ ember new <app-name> <options...>
aliases: -b <value>
--skip-npm (Boolean) (Default: false)
aliases: -sn
--skip-bower (Boolean) (Default: false)
aliases: -sb
--skip-git (Boolean) (Default: false)
aliases: -sg
--welcome (Boolean) (Default: true) Installs and
Expand Down
3 changes: 0 additions & 3 deletions guides/advanced-use/debugging.md
Expand Up @@ -88,9 +88,6 @@ Some common steps are to stop the server, try one or more of these steps, and st
- Run `npm install` or `yarn install`
- Delete the `node_modules` directory and run `npm install` or `yarn install`
- Delete the `dist` directory (found in apps with versions < 3.4), delete `node_modules`, and `npm install` or `yarn install`
- If an app uses Bower (a deprecated, npm-like tool), follow all the steps above

in addition to deleting `bower_components` and running `bower install`.

[1]: https://nodejs.org/api/debugger.html
[2]: https://docs.npmjs.com/cli/link
Expand Down
2 changes: 0 additions & 2 deletions guides/appendix/dev-tools.md
Expand Up @@ -109,8 +109,6 @@ Mark as `Excluded`:
Mark as `Resource Root`:
```shell
/
/bower_components
/bower_components/ember-qunit/lib
/public
```
Expand Down
3 changes: 0 additions & 3 deletions guides/basic-use/assets-and-dependencies.md
Expand Up @@ -16,9 +16,6 @@ The code itself goes in `node_modules` during `npm install`, just like in many n
- The `styles` directory, for stylesheets like CSS, SASS, or LESS
plus folders like `vendor` and `public` that can hold many other files of the developer's choice

Some older apps may use a package manager and registry called Bower, which has
a `bower_components` directory. Bower itself is deprecated and should not be used.

<!--
If addons are installed accidentally with `npm install` or `yarn install`,
the blueprints can be run with .... what?
Expand Down
7 changes: 0 additions & 7 deletions guides/writing-addons/addon-blueprints.md
Expand Up @@ -16,7 +16,6 @@ module.exports = {
In addition to the standard blueprint hooks, the default blueprint can use these hooks.

* `addAddonToProject`
* `addBowerPackageToProject`
* `addPackageToProject`

#### addAddonToProject
Expand All @@ -27,12 +26,6 @@ Installs another Ember addon in the client application

Installs an npm package or dependency into the client application

#### addBowerPackageToProject

Installs a Bower package or dependency into the client application.
Bower is a package manager that is [no longer recommended for new projects](https://bower.io/),
but you may find this hook used in older addons.

Each of the hooks returns a promise, so they can all be chained with `.then()`. The following is an example of each of these:

```javascript {data-filename=my-addon-name/blueprints/my-addon-name/index.js}
Expand Down

0 comments on commit e7160cd

Please sign in to comment.