Skip to content

Commit 76b53ee

Browse files
authored
Updated ember-source to v3.27.5 (#92)
* Updated development dependencies to their latest version * Updated ember-source to v3.27.5 * Addressed linting errors * Deduplicated ember-cli-babel, to remove the warning message, ```sh WARNING: [DEPRECATION] [DEPRECATION] Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead. See https://deprecations.emberjs.com/v3.x/#toc_ember-global for details. Usages of the Ember Global may be caused by an outdated ember-cli-babel dependency. The following steps may help: * If using yarn, run `npx yarn-deduplicate --packages ember-cli-babel` followed by `yarn install`. * If using npm, run `npm dedupe`. ``` * Updated caniuse-lite, to remove the warning message, ```sh Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating ``` Co-authored-by: Isaac Lee <[email protected]>
1 parent f023eeb commit 76b53ee

10 files changed

+1003
-576
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# misc
1414
/coverage/
1515
!.*
16+
.*/
1617
.eslintcache
1718

1819
# ember-try

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,13 @@ module.exports = {
4949
'node/no-unpublished-require': 'off',
5050
},
5151
},
52+
{
53+
// Test files:
54+
files: ['tests/**/*-test.{js,ts}'],
55+
extends: ['plugin:qunit/recommended'],
56+
rules: {
57+
'qunit/require-expect': 'off',
58+
},
59+
},
5260
],
5361
};

.template-lintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
module.exports = {
4-
extends: 'octane',
4+
extends: 'recommended',
55
rules: {
66
'no-bare-strings': true,
77
},

config/dependency-lint.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
'use strict';
22

3-
module.exports = {};
3+
module.exports = {
4+
allowedVersions: {
5+
'@ember/test-waiters': '2.4.5 || 2.4.3',
6+
},
7+
};

config/deploy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ module.exports = function (deployTarget) {
77

88
// include other plugin configuration that applies to all deploy targets here
99
git: {
10-
repo:
11-
'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet.git',
10+
repo: 'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet.git',
1211
},
1312
};
1413

config/ember-cli-update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packages": [
44
{
55
"name": "ember-cli",
6-
"version": "3.26.0",
6+
"version": "3.27.0",
77
"blueprints": [
88
{
99
"name": "app",

config/targets.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ const browsers = [
66
'last 1 Safari versions',
77
];
88

9-
const isCI = Boolean(process.env.CI);
10-
const isProduction = process.env.EMBER_ENV === 'production';
11-
12-
if (isCI || isProduction) {
13-
browsers.push('ie 11');
14-
}
9+
// Ember's browser support policy is changing, and IE11 support will end in
10+
// v4.0 onwards.
11+
//
12+
// See https://deprecations.emberjs.com/v3.x#toc_3-0-browser-support-policy
13+
//
14+
// If you need IE11 support on a version of Ember that still offers support
15+
// for it, uncomment the code block below.
16+
//
17+
// const isCI = Boolean(process.env.CI);
18+
// const isProduction = process.env.EMBER_ENV === 'production';
19+
//
20+
// if (isCI || isProduction) {
21+
// browsers.push('ie 11');
22+
// }
1523

1624
module.exports = {
1725
browsers,

package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"build": "ember build --environment=production",
1818
"deploy": "ember deploy production",
19-
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel 'lint:!(fix)'",
19+
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
2020
"lint:dependency": "ember dependency-lint",
2121
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
2222
"lint:hbs": "ember-template-lint app/**/*.hbs",
@@ -28,53 +28,54 @@
2828
},
2929
"devDependencies": {
3030
"@ember/optional-features": "^2.0.0",
31-
"@ember/test-helpers": "^2.2.5",
31+
"@ember/test-helpers": "^2.4.0",
3232
"@glimmer/component": "^1.0.4",
3333
"@glimmer/tracking": "^1.0.4",
34-
"@percy/cli": "^1.0.0-beta.48",
34+
"@percy/cli": "^1.0.0-beta.65",
3535
"@percy/ember": "^3.0.0",
3636
"babel-eslint": "^10.1.0",
3737
"broccoli-asset-rev": "^3.0.0",
38-
"ember-a11y-testing": "^4.0.3",
39-
"ember-auto-import": "^1.11.2",
40-
"ember-cli": "~3.26.0",
38+
"ember-a11y-testing": "^4.1.3",
39+
"ember-auto-import": "^1.11.3",
40+
"ember-cli": "~3.27.0",
4141
"ember-cli-app-version": "^5.0.0",
42-
"ember-cli-babel": "^7.26.3",
42+
"ember-cli-babel": "^7.26.6",
4343
"ember-cli-dependency-checker": "^3.2.0",
4444
"ember-cli-dependency-lint": "^2.0.0",
4545
"ember-cli-deploy": "^1.0.2",
4646
"ember-cli-deploy-build": "^2.0.0",
4747
"ember-cli-deploy-git": "^1.3.4",
4848
"ember-cli-fastboot": "^2.2.1",
4949
"ember-cli-htmlbars": "^5.7.1",
50-
"ember-cli-inject-live-reload": "^2.0.2",
50+
"ember-cli-inject-live-reload": "^2.1.0",
5151
"ember-cli-sri": "^2.1.1",
52-
"ember-cli-terser": "^4.0.1",
52+
"ember-cli-terser": "^4.0.2",
5353
"ember-code-snippet": "^3.0.0",
54-
"ember-container-query": "^1.1.7",
55-
"ember-css-modules": "^1.3.4",
54+
"ember-container-query": "^1.1.8",
55+
"ember-css-modules": "^1.5.0",
5656
"ember-export-application-global": "^2.0.1",
57-
"ember-fetch": "^8.0.4",
58-
"ember-intl": "^5.6.2",
57+
"ember-fetch": "^8.1.1",
58+
"ember-intl": "^5.7.0",
5959
"ember-load-initializers": "^2.1.2",
6060
"ember-maybe-import-regenerator": "^0.1.6",
61-
"ember-page-title": "^6.2.1",
62-
"ember-prism": "^0.9.1",
61+
"ember-page-title": "^6.2.2",
62+
"ember-prism": "^0.10.0",
6363
"ember-qunit": "^5.1.4",
6464
"ember-resolver": "^8.0.2",
65-
"ember-source": "~3.26.1",
66-
"ember-template-lint": "^3.2.0",
67-
"ember-test-selectors": "^5.0.0",
68-
"eslint": "^7.24.0",
69-
"eslint-config-prettier": "^8.2.0",
70-
"eslint-plugin-ember": "^10.3.0",
65+
"ember-source": "~3.27.2",
66+
"ember-template-lint": "^3.6.0",
67+
"ember-test-selectors": "^6.0.0",
68+
"eslint": "^7.32.0",
69+
"eslint-config-prettier": "^8.3.0",
70+
"eslint-plugin-ember": "^10.5.3",
7171
"eslint-plugin-node": "^11.1.0",
7272
"eslint-plugin-prettier": "^3.4.0",
73+
"eslint-plugin-qunit": "^6.1.1",
7374
"loader.js": "^4.7.0",
7475
"npm-run-all": "^4.1.5",
7576
"prember": "^1.0.5",
76-
"prettier": "^2.2.1",
77-
"qunit": "^2.15.0",
77+
"prettier": "^2.3.2",
78+
"qunit": "^2.16.0",
7879
"qunit-dom": "^1.6.0"
7980
},
8081
"engines": {

tests/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
</div>
3030

31-
<script src="/testem.js" integrity=""></script>
31+
<script src="/testem.js" integrity="" data-embroider-ignore></script>
3232
<script src="{{rootURL}}assets/vendor.js"></script>
3333
<script src="{{rootURL}}assets/test-support.js"></script>
3434
<script src="{{rootURL}}assets/ember-octane-vs-classic-cheat-sheet.js"></script>

0 commit comments

Comments
 (0)