Skip to content

Commit be0c5f2

Browse files
Update to Ember 5.12 (#2598)
1 parent 6e95d79 commit be0c5f2

File tree

166 files changed

+14177
-12290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+14177
-12290
lines changed

.ember-cli

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
{
2-
/**
3-
Ember CLI sends analytics information by default. The data is completely
4-
anonymous, but there are times when you might want to disable this behavior.
5-
6-
Setting `disableAnalytics` to true will prevent any data from being sent.
7-
*/
8-
"disableAnalytics": false,
9-
102
/**
113
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
124
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.

.eslintignore

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
# unconventional js
22
/blueprints/*/files/
3-
/vendor/
43

54
# compiled output
5+
/declarations/
66
/dist/
7-
/tmp/
8-
9-
# dependencies
10-
/bower_components/
11-
/node_modules/
127

138
# misc
149
/coverage/
10+
/vendor/
1511
!.*
1612
.*/
17-
.eslintcache
1813

1914
# ember-try
2015
/.node_modules.ember-try/
21-
/bower.json.ember-try
22-
/npm-shrinkwrap.json.ember-try
23-
/package.json.ember-try
24-
/package-lock.json.ember-try
25-
/yarn.lock.ember-try
2616

2717
# ember-inspector specific
2818
/dist_prev/

.eslintrc.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ module.exports = {
44
root: true,
55
parser: '@babel/eslint-parser',
66
parserOptions: {
7-
ecmaVersion: 2020,
7+
ecmaVersion: 'latest',
88
sourceType: 'module',
9-
ecmaFeatures: {
10-
legacyDecorators: true,
9+
requireConfigFile: false,
10+
babelOptions: {
11+
plugins: [
12+
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
13+
],
1114
},
1215
},
1316
plugins: ['ember'],
@@ -32,10 +35,12 @@ module.exports = {
3235
// Temporarily turn these off
3336
'ember/classic-decorator-hooks': 'off',
3437
'ember/classic-decorator-no-classic-methods': 'off',
38+
'ember/no-at-ember-render-modifiers': 'off',
3539
'ember/no-classic-classes': 'off',
3640
'ember/no-classic-components': 'off',
3741
'ember/no-computed-properties-in-native-classes': 'off',
3842
'ember/no-get': 'off',
43+
'ember/no-runloop': 'off',
3944

4045
// Best practice
4146
'no-duplicate-imports': 'error',
@@ -65,13 +70,7 @@ module.exports = {
6570
browser: false,
6671
node: true,
6772
},
68-
plugins: ['node'],
69-
extends: ['plugin:node/recommended'],
70-
rules: {
71-
// this can be removed once the following is fixed
72-
// https://github.com/mysticatea/eslint-plugin-node/issues/77
73-
'node/no-unpublished-require': 'off',
74-
},
73+
extends: ['plugin:n/recommended'],
7574
},
7675
{
7776
// test files

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
- ember-lts-3.20
8888
- ember-lts-3.24
8989
- ember-lts-3.28
90+
- ember-lts-4.8
91+
- ember-lts-4.12
9092
- ember-release
9193
- ember-beta
9294
- ember-canary

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
2-
31
# compiled output
42
/dist/
53
/tmp/
64
/dist_prev
75

86
.DS_Store
7+
/declarations/
98

109
# dependencies
11-
/bower_components/
1210
/node_modules/
1311

1412
# misc
1513
/.env*
1614
/.pnp*
17-
/.sass-cache
1815
/.eslintcache
19-
/connect.lock
2016
/coverage/
21-
/libpeerconnection.log
2217
/npm-debug.log*
2318
/testem.log
2419
/yarn-error.log
@@ -28,7 +23,6 @@ config/secrets.json
2823

2924
# ember-try
3025
/.node_modules.ember-try/
31-
/bower.json.ember-try
3226
/npm-shrinkwrap.json.ember-try
3327
/package.json.ember-try
3428
/package-lock.json.ember-try

.prettierignore

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11
# unconventional js
22
/blueprints/*/files/
3-
/vendor/
43

54
# compiled output
65
/dist/
7-
/tmp/
8-
9-
# dependencies
10-
/bower_components/
11-
/node_modules/
126

137
# misc
148
/coverage/
159
!.*
16-
.eslintcache
17-
.lint-todo/
10+
.*/
1811

1912
# ember-try
2013
/.node_modules.ember-try/
21-
/bower.json.ember-try
22-
/npm-shrinkwrap.json.ember-try
23-
/package.json.ember-try
24-
/package-lock.json.ember-try
25-
/yarn.lock.ember-try

.prettierrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
'use strict';
22

33
module.exports = {
4-
singleQuote: true,
54
overrides: [
65
{
7-
files: '**/*.hbs',
6+
files: '*.{js,ts}',
87
options: {
9-
parser: 'glimmer',
10-
singleQuote: false,
8+
singleQuote: true,
119
},
1210
},
1311
],

.stylelintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# unconventional files
2+
/blueprints/*/files/
3+
4+
# compiled output
5+
/dist/
6+
7+
# addons
8+
/.node_modules.ember-try/

.stylelintrc.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
'use strict';
2+
13
module.exports = {
2-
extends: 'stylelint-config-ship-shape',
4+
extends: ['stylelint-config-standard-scss', 'stylelint-prettier/recommended'],
5+
rules: {
6+
'color-hex-length': null,
7+
'no-descending-specificity': null,
8+
'no-invalid-position-at-import-rule': null,
9+
'number-max-precision': null,
10+
'property-no-vendor-prefix': null,
11+
},
312
};

.template-lintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
module.exports = {
44
extends: 'recommended',
55
rules: {
6-
'no-down-event-binding': false,
6+
'no-at-ember-render-modifiers': false,
77
'no-negated-condition': false,
88

99
// TODO: enable these rules
10+
'no-builtin-form-components': false,
1011
'no-positive-tabindex': false,
1112
},
1213
};

0 commit comments

Comments
 (0)