From 0f35016b655325b66c53118c21d94870701647b8 Mon Sep 17 00:00:00 2001 From: Jason Barry Date: Fri, 6 Dec 2024 11:27:32 -0500 Subject: [PATCH] Add `ember data` dependency to the quickstart (#1616) * Add ember-data dependency to the quickstart * Add ember-data to the blueprint --- blueprints/ember-cli-addon-docs/index.js | 1 + tests/dummy/app/templates/docs/quickstart.md | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/blueprints/ember-cli-addon-docs/index.js b/blueprints/ember-cli-addon-docs/index.js index b2f40b658..715910974 100644 --- a/blueprints/ember-cli-addon-docs/index.js +++ b/blueprints/ember-cli-addon-docs/index.js @@ -19,6 +19,7 @@ module.exports = { 'ember-cli-deploy-build', 'ember-cli-deploy-git', 'ember-cli-deploy-git-ci', + 'ember-data', ], }); }, diff --git a/tests/dummy/app/templates/docs/quickstart.md b/tests/dummy/app/templates/docs/quickstart.md index beb103e81..2cc07e752 100644 --- a/tests/dummy/app/templates/docs/quickstart.md +++ b/tests/dummy/app/templates/docs/quickstart.md @@ -2,10 +2,16 @@ ## 1. Install AddonDocs -``` +```sh ember install ember-cli-addon-docs ``` +[Ember Data](https://github.com/emberjs/data) is a required peer dependency, so if you're not already using it in your addon, you'll need to install it. + +```sh +ember install ember-data +``` + ## 2. Install ember-cli-addon-docs-yuidoc API docs are autogenerated from comments in your source code, and require an additional plugin to be installed.