Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .ember-cli
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,17 @@
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
*/
"isTypeScriptProject": false
"isTypeScriptProject": false,

/**
Setting `componentAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
or GTS files for the component and the component rendering test. "loose" is the default.
*/
"componentAuthoringFormat": "loose",

/**
Setting `routeAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
or GTS templates for routes. "loose" is the default
*/
"routeAuthoringFormat": "loose"
}
14 changes: 0 additions & 14 deletions .eslintignore

This file was deleted.

60 changes: 0 additions & 60 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
- ember-lts-4.12
- ember-lts-5.4
- ember-lts-5.8
- ember-lts-5.12
- fastboot-3.0
- ember-release
- ember-beta
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,5 @@
/testem.log
/yarn-error.log

# ember-try
/.node_modules.ember-try/
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try

# broccoli-debug
/DEBUG/
11 changes: 1 addition & 10 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
/.ember-cli
/.env*
/.eslintcache
/.eslintignore
/.eslintrc.js
/.git/
/.github/
/.gitignore
Expand All @@ -17,21 +15,14 @@
/.stylelintignore
/.stylelintrc.js
/.template-lintrc.js
/.travis.yml
/.watchmanconfig
/CONTRIBUTING.md
/ember-cli-build.js
/eslint.config.mjs
/testem.js
/tests/
/tsconfig.declarations.json
/tsconfig.json
/yarn-error.log
/yarn.lock
.gitkeep

# ember-try
/.node_modules.ember-try/
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
6 changes: 3 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
/coverage/
!.*
.*/

# ember-try
/.node_modules.ember-try/
/pnpm-lock.yaml
ember-cli-update.json
*.html
4 changes: 3 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
overrides: [
{
files: '*.{js,ts}',
files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}',
options: {
singleQuote: true,
templateSingleQuote: false,
},
},
],
Expand Down
3 changes: 0 additions & 3 deletions .stylelintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@

# compiled output
/dist/

# addons
/.node_modules.ember-try/
2 changes: 1 addition & 1 deletion .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

module.exports = {
extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
extends: ['stylelint-config-standard'],
};
29 changes: 17 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,33 @@

## Release (2025-12-03)

* ember-cli-fastboot-testing 0.7.0 (major)
- ember-cli-fastboot-testing 0.7.0 (major)

#### :boom: Breaking Change
* `ember-cli-fastboot-testing`
* [#874](https://github.com/embermap/ember-cli-fastboot-testing/pull/874) Drop support for Node.js v16 and below ([@SergeAstapov](https://github.com/SergeAstapov))

- `ember-cli-fastboot-testing`
- [#874](https://github.com/embermap/ember-cli-fastboot-testing/pull/874) Drop support for Node.js v16 and below ([@SergeAstapov](https://github.com/SergeAstapov))

#### :rocket: Enhancement
* `ember-cli-fastboot-testing`
* [#875](https://github.com/embermap/ember-cli-fastboot-testing/pull/875) Sync with latest addon blueprint via ember-cli-update; widen ember-source in peer deps ([@SergeAstapov](https://github.com/SergeAstapov))

- `ember-cli-fastboot-testing`
- [#875](https://github.com/embermap/ember-cli-fastboot-testing/pull/875) Sync with latest addon blueprint via ember-cli-update; widen ember-source in peer deps ([@SergeAstapov](https://github.com/SergeAstapov))

#### :bug: Bug Fix
* `ember-cli-fastboot-testing`
* [#923](https://github.com/embermap/ember-cli-fastboot-testing/pull/923) Avoid eagerly importing nock outside of testing ([@sergey-panov](https://github.com/sergey-panov))

- `ember-cli-fastboot-testing`
- [#923](https://github.com/embermap/ember-cli-fastboot-testing/pull/923) Avoid eagerly importing nock outside of testing ([@sergey-panov](https://github.com/sergey-panov))

#### :house: Internal
* `ember-cli-fastboot-testing`
* [#926](https://github.com/embermap/ember-cli-fastboot-testing/pull/926) switch to pnpm ([@SergeAstapov](https://github.com/SergeAstapov))
* [#925](https://github.com/embermap/ember-cli-fastboot-testing/pull/925) Prepare Release v0.7.0 ([@github-actions[bot]](https://github.com/apps/github-actions))
* [#924](https://github.com/embermap/ember-cli-fastboot-testing/pull/924) Setup release-plan ([@SergeAstapov](https://github.com/SergeAstapov))
* [#876](https://github.com/embermap/ember-cli-fastboot-testing/pull/876) Drop fastboot@1 and fastboot@2 from testing matrix ([@SergeAstapov](https://github.com/SergeAstapov))

- `ember-cli-fastboot-testing`
- [#926](https://github.com/embermap/ember-cli-fastboot-testing/pull/926) switch to pnpm ([@SergeAstapov](https://github.com/SergeAstapov))
- [#925](https://github.com/embermap/ember-cli-fastboot-testing/pull/925) Prepare Release v0.7.0 ([@github-actions[bot]](https://github.com/apps/github-actions))
- [#924](https://github.com/embermap/ember-cli-fastboot-testing/pull/924) Setup release-plan ([@SergeAstapov](https://github.com/SergeAstapov))
- [#876](https://github.com/embermap/ember-cli-fastboot-testing/pull/876) Drop fastboot@1 and fastboot@2 from testing matrix ([@SergeAstapov](https://github.com/SergeAstapov))

#### Committers: 3

- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
- Sergey Panov ([@sergey-panov](https://github.com/sergey-panov))
- [@github-actions[bot]](https://github.com/apps/github-actions)
1 change: 0 additions & 1 deletion addon-test-support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ let fetchFromEmberCli = async function (url, options) {
}

if (error) {
// eslint-disable-next-line no-console
console.error(error);
throw new Error(error);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = () => {
// here you can add globals to the Fastboot renderer
};
},
setupFastboot(fastbootInstance) {
setupFastboot(/* fastbootInstance */) {
// here you can access the fastboot instance which runs the tests
},
};
Expand Down
1 change: 0 additions & 1 deletion blueprints/fastboot-test-config/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node */
module.exports = {
description:
'Generates test config for adding custom Fastboot sandbox globals',
Expand Down
1 change: 0 additions & 1 deletion blueprints/fastboot-test/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node */
module.exports = {
description: 'A test that runs against fastboot generated html',

Expand Down
1 change: 0 additions & 1 deletion config/addon-docs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable n/no-unpublished-require */
'use strict';

const AddonDocsConfig = require('ember-cli-addon-docs/lib/config');
Expand Down
1 change: 0 additions & 1 deletion config/deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node */
'use strict';

module.exports = function (deployTarget) {
Expand Down
18 changes: 15 additions & 3 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
'use strict';

const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
const { setConfig } = require('@warp-drive/build-config/cjs-set-config.cjs');

module.exports = function (defaults) {
const app = new EmberAddon(defaults, {
// Add options here
'@embroider/macros': {
setConfig: {
'@ember-data/store': {
polyfillUUID: true,
},
// WarpDrive: {
// polyfillUUID: true,
// deprecations: {
// DEPRECATE_TRACKING_PACKAGE: false,
// },
// },
},
},
autoImport: {
forbidEval: true,
},
});

setConfig(app, __dirname, {
compatWith: '4.23',
polyfillUUID: true,
deprecations: {
DEPRECATE_TRACKING_PACKAGE: false,
},
});

app.import('vendor/tailwind.min.css');

const { maybeEmbroider } = require('@embroider/test-setup');
Expand Down
Loading
Loading