Skip to content

Commit

Permalink
Add Ember v5
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Jul 20, 2023
1 parent 539f4c3 commit 665889b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
<li class='list-unstyled' data-test-ember-4-link>
<LinkTo @route='ember' @model='v4.x'>v4.x</LinkTo>
</li>
<li class='list-unstyled' data-test-ember-5-link>
<LinkTo @route='ember' @model='v5.x'>v5.x</LinkTo>
</li>
</ul>
</li>
<li class='item list-unstyled'>
Expand Down
2 changes: 2 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ module.exports = function (defaults) {
prember: {
urls: [
'/',
'/v5.x',
'/v4.x',
'/v3.x',
'/v2.x',
'/v1.x',
'/ember/v5.x',
'/ember/v4.x',
'/ember/v3.x',
'/ember/v2.x',
Expand Down
1 change: 1 addition & 0 deletions lib/content-docs-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const contentFolders = [
'ember/v2',
'ember/v3',
'ember/v4',
'ember/v5',
'ember-data/v2',
'ember-data/v3',
'ember-data/v4',
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/visual-regression-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ module('Acceptance | visual regression', function (hooks) {
await click('[data-test-main-deprecations-link]');
await click('[data-test-ember-4-link] > a');

// v5.x Ember
await click('[data-test-main-deprecations-link]');
await click('[data-test-ember-5-link] > a');

assert
.dom('[data-test-deprecations-added-in]')
.hasText('Deprecations Added in Ember 4.x');
Expand Down

0 comments on commit 665889b

Please sign in to comment.