* Ember `addon/auth` upgrade v4.4.1...v4.12.2 * Update .npmignore * refactor: 💡 Quick refactor Refactor `.eslintrc.js` to current `ecmaVersion` and use latest `babelOptions`. Revert `.prettier.js` to use previous overrides. Setup scripts to use `concurrently` instead of `npm-run-all` * refactor: 💡 removed `npm-run-all` Removed `npm-run-all` from package.json
34 lines
905 B
JavaScript
34 lines
905 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
|
|
const { maybeEmbroider } = require('@embroider/test-setup');
|
|
|
|
module.exports = function (defaults) {
|
|
const app = new EmberAddon(defaults, {
|
|
'ember-simple-auth': {
|
|
// https://github.com/mainmatter/ember-simple-auth/blob/master/guides/upgrade-to-v4.md#call-sessionsetup-method-in-your-applicationroute
|
|
useSessionSetupMethod: true,
|
|
},
|
|
});
|
|
|
|
/*
|
|
This build file specifies the options for the dummy test app of this
|
|
addon, located in `/tests/dummy`
|
|
This build file does *not* influence how the addon or the app using it
|
|
behave. You most likely want to be modifying `./index.js` or app's build file
|
|
*/
|
|
|
|
return maybeEmbroider(app, {
|
|
skipBabel: [
|
|
{
|
|
package: 'qunit',
|
|
},
|
|
],
|
|
});
|
|
};
|