2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
*/
|
|
|
|
|
|
2020-05-18 13:14:29 -04:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
|
|
|
|
|
|
|
|
|
|
module.exports = function (defaults) {
|
2023-10-11 17:17:42 -04:00
|
|
|
const app = new EmberAddon(defaults, {
|
2022-10-17 14:57:30 +02:00
|
|
|
'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,
|
|
|
|
|
},
|
2020-05-18 13:14:29 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
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
|
|
|
|
|
*/
|
|
|
|
|
|
2025-04-17 11:36:46 -07:00
|
|
|
const { maybeEmbroider } = require('@embroider/test-setup');
|
2022-11-04 22:15:31 +01:00
|
|
|
return maybeEmbroider(app, {
|
|
|
|
|
skipBabel: [
|
|
|
|
|
{
|
|
|
|
|
package: 'qunit',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
});
|
2020-05-18 13:14:29 -04:00
|
|
|
};
|