Skip to content

Commit

Permalink
use our own version of ember-cli (i.e. latest)
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Mar 4, 2024
1 parent 2f5660e commit 0ee46f9
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 669 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const execa = require('execa');
const { merge } = require('lodash');
const { lt } = require('semver');

const Blueprint = require('ember-cli/lib/models/blueprint');

let date = new Date();

const { addonInfoFromOptions, testAppInfoFromOptions, withoutAddonOptions } = require('./src/info');
Expand Down Expand Up @@ -164,7 +166,7 @@ module.exports = {
`If you see this error, please open an issue at: https://github.com/embroider-build/addon-blueprint/issues`,
);

const appBlueprint = this.lookupBlueprint('app');
const appBlueprint = Blueprint.lookup('app');

if (!appBlueprint) {
throw new SilentError('Cannot find app blueprint for generating test-app!');
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"test": "pnpm --filter 'blueprint-tests' test"
},
"dependencies": {
"ember-cli": "^5.6.0",
"ember-cli-normalize-entity-name": "^1.0.0",
"ember-cli-string-utils": "^1.1.0",
"execa": "^5.1.1",
Expand Down
Loading

0 comments on commit 0ee46f9

Please sign in to comment.