ember-cli 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +8 -4
- package/CHANGELOG.md +34 -0
- package/README.md +1 -1
- package/bin/ember +0 -0
- package/blueprints/addon/additional-dev-dependencies.json +1 -1
- package/blueprints/addon/files/.github/workflows/ci.yml +0 -1
- package/blueprints/addon/files/.travis.yml +0 -1
- package/blueprints/addon/files/CONTRIBUTING.md +1 -1
- package/blueprints/addon/files/addon-config/ember-try.js +0 -13
- package/blueprints/app/files/README.md +2 -2
- package/blueprints/app/files/config/environment.js +1 -1
- package/blueprints/app/files/package.json +12 -12
- package/blueprints/in-repo-addon/files/__root__/__name__/index.js +0 -0
- package/blueprints/in-repo-addon/index.js +0 -0
- package/blueprints/lib/index.js +0 -0
- package/docs/build/data.json +472 -411
- package/lib/debug/assert.js +37 -0
- package/lib/debug/deprecate.js +111 -0
- package/lib/debug/index.js +6 -0
- package/package.json +10 -10
- package/tests/helpers/mock-project.js +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -14,6 +14,10 @@ on:
|
|
|
14
14
|
schedule:
|
|
15
15
|
- cron: '0 3 * * *' # daily, at 3am
|
|
16
16
|
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ci-${{ github.head_ref || github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
17
21
|
jobs:
|
|
18
22
|
linting:
|
|
19
23
|
name: Linting
|
|
@@ -21,7 +25,7 @@ jobs:
|
|
|
21
25
|
|
|
22
26
|
steps:
|
|
23
27
|
- uses: actions/checkout@v2
|
|
24
|
-
- uses: actions/setup-node@v2.5.
|
|
28
|
+
- uses: actions/setup-node@v2.5.1
|
|
25
29
|
with:
|
|
26
30
|
node-version: 12.x
|
|
27
31
|
cache: 'yarn'
|
|
@@ -39,7 +43,7 @@ jobs:
|
|
|
39
43
|
|
|
40
44
|
steps:
|
|
41
45
|
- uses: actions/checkout@v2
|
|
42
|
-
- uses: actions/setup-node@v2.5.
|
|
46
|
+
- uses: actions/setup-node@v2.5.1
|
|
43
47
|
with:
|
|
44
48
|
node-version: 12.x
|
|
45
49
|
cache: 'yarn'
|
|
@@ -61,7 +65,7 @@ jobs:
|
|
|
61
65
|
|
|
62
66
|
steps:
|
|
63
67
|
- uses: actions/checkout@v2
|
|
64
|
-
- uses: actions/setup-node@v2.5.
|
|
68
|
+
- uses: actions/setup-node@v2.5.1
|
|
65
69
|
with:
|
|
66
70
|
node-version: ${{ matrix.node-version }}
|
|
67
71
|
cache: 'yarn'
|
|
@@ -86,7 +90,7 @@ jobs:
|
|
|
86
90
|
|
|
87
91
|
steps:
|
|
88
92
|
- uses: actions/checkout@v2
|
|
89
|
-
- uses: actions/setup-node@v2.5.
|
|
93
|
+
- uses: actions/setup-node@v2.5.1
|
|
90
94
|
with:
|
|
91
95
|
node-version: 12.x
|
|
92
96
|
cache: 'yarn'
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v4.2.0
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.1.0...v4.2.0)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.1.0...v4.2.0)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#9737](https://github.com/ember-cli/ember-cli/pull/9737) Remove jQuery integration scenario from ember-try [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
13
|
+
- [#9739](https://github.com/ember-cli/ember-cli/pull/9739) Change blueprint to generate apps using 'history' location [@kategengler](https://github.com/kategengler)
|
|
14
|
+
- [#9762](https://github.com/ember-cli/ember-cli/pull/9762) Update @embroider/* packages to 1.0.0. [@rwjblue](https://github.com/rwjblue)
|
|
15
|
+
- [#9681](https://github.com/ember-cli/ember-cli/pull/9681) Update URL to Ember CLI website everywhere [@bertdeblock](https://github.com/bertdeblock)
|
|
16
|
+
- [#9726](https://github.com/ember-cli/ember-cli/pull/9726) Cancel stale workflows when starting a new one. [@rwjblue](https://github.com/rwjblue)
|
|
17
|
+
- [#9731](https://github.com/ember-cli/ember-cli/pull/9731) Add an `assert` and a `deprecate` utility [@bertdeblock](https://github.com/bertdeblock)
|
|
18
|
+
- [#9753](https://github.com/ember-cli/ember-cli/pull/9753) Upgrade to `ember-template-lint` v4 in blueprint [@bmish](https://github.com/bmish)
|
|
19
|
+
|
|
20
|
+
Thank you to all who took the time to contribute!
|
|
21
|
+
|
|
22
|
+
## v4.1.1
|
|
23
|
+
|
|
24
|
+
#### Blueprint Changes
|
|
25
|
+
|
|
26
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.1.0...v4.1.1)
|
|
27
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.1.0...v4.1.1)
|
|
28
|
+
|
|
29
|
+
#### Changelog
|
|
30
|
+
|
|
31
|
+
- [#9737](https://github.com/ember-cli/ember-cli/pull/9737) Remove jQuery integration scenario from ember-try [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
32
|
+
- [#9739](https://github.com/ember-cli/ember-cli/pull/9739) Change blueprint to generate apps using 'history' location [@kategengler](https://github.com/kategengler)
|
|
33
|
+
- [#9762](https://github.com/ember-cli/ember-cli/pull/9762) Update @embroider/* packages to 1.0.0. [@rwjblue](https://github.com/rwjblue)
|
|
34
|
+
|
|
35
|
+
Thank you to all who took the time to contribute!
|
|
36
|
+
|
|
3
37
|
## v4.1.0
|
|
4
38
|
|
|
5
39
|
#### Blueprint Changes
|
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ Community
|
|
|
65
65
|
|
|
66
66
|
- Discord: [Get your invite](https://discord.gg/emberjs)
|
|
67
67
|
- Issues: [ember-cli/issues](https://github.com/ember-cli/ember-cli/issues)
|
|
68
|
-
- Documentation: [
|
|
68
|
+
- Documentation: [cli.emberjs.com](https://cli.emberjs.com/release/)
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
package/bin/ember
CHANGED
|
File without changes
|
|
@@ -56,7 +56,6 @@ jobs:
|
|
|
56
56
|
- env: EMBER_TRY_SCENARIO=ember-release
|
|
57
57
|
- env: EMBER_TRY_SCENARIO=ember-beta
|
|
58
58
|
- env: EMBER_TRY_SCENARIO=ember-canary
|
|
59
|
-
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery
|
|
60
59
|
- env: EMBER_TRY_SCENARIO=ember-classic
|
|
61
60
|
- env: EMBER_TRY_SCENARIO=embroider-safe
|
|
62
61
|
- env: EMBER_TRY_SCENARIO=embroider-optimized
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
* `ember serve`
|
|
23
23
|
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
|
|
24
24
|
|
|
25
|
-
For more information on using ember-cli, visit [https://
|
|
25
|
+
For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).
|
|
@@ -47,19 +47,6 @@ module.exports = async function () {
|
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
name: 'ember-default-with-jquery',
|
|
52
|
-
env: {
|
|
53
|
-
EMBER_OPTIONAL_FEATURES: JSON.stringify({
|
|
54
|
-
'jquery-integration': true,
|
|
55
|
-
}),
|
|
56
|
-
},
|
|
57
|
-
npm: {
|
|
58
|
-
devDependencies: {
|
|
59
|
-
'@ember/jquery': '^1.1.0',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
50
|
{
|
|
64
51
|
name: 'ember-classic',
|
|
65
52
|
env: {
|
|
@@ -10,7 +10,7 @@ You will need the following things properly installed on your computer.
|
|
|
10
10
|
* [Git](https://git-scm.com/)
|
|
11
11
|
* [Node.js](https://nodejs.org/)<% if (yarn) { %>
|
|
12
12
|
* [Yarn](https://yarnpkg.com/)<% } else { %> (with npm)<% } %>
|
|
13
|
-
* [Ember CLI](https://
|
|
13
|
+
* [Ember CLI](https://cli.emberjs.com/release/)
|
|
14
14
|
* [Google Chrome](https://google.com/chrome/)
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
@@ -51,7 +51,7 @@ Specify what it takes to deploy your app.
|
|
|
51
51
|
## Further Reading / Useful Links
|
|
52
52
|
|
|
53
53
|
* [ember.js](https://emberjs.com/)
|
|
54
|
-
* [ember-cli](https://
|
|
54
|
+
* [ember-cli](https://cli.emberjs.com/release/)
|
|
55
55
|
* Development Browser Extensions
|
|
56
56
|
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
|
|
57
57
|
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@ember/optional-features": "^2.0.0",
|
|
27
27
|
"@ember/test-helpers": "^2.6.0<% if (embroider) { %>",
|
|
28
|
-
"@embroider/compat": "^
|
|
29
|
-
"@embroider/core": "^
|
|
30
|
-
"@embroider/webpack": "^
|
|
28
|
+
"@embroider/compat": "^1.2.0",
|
|
29
|
+
"@embroider/core": "^1.2.0",
|
|
30
|
+
"@embroider/webpack": "^1.2.0<% } %>",
|
|
31
31
|
"@glimmer/component": "^1.0.4",
|
|
32
32
|
"@glimmer/tracking": "^1.0.4",
|
|
33
33
|
"babel-eslint": "^10.1.0",
|
|
34
34
|
"broccoli-asset-rev": "^3.0.0",
|
|
35
|
-
"ember-auto-import": "^2.
|
|
35
|
+
"ember-auto-import": "^2.4.0",
|
|
36
36
|
"ember-cli": "~<%= emberCLIVersion %>",
|
|
37
37
|
"ember-cli-app-version": "^5.0.0",
|
|
38
38
|
"ember-cli-babel": "^7.26.11",
|
|
@@ -41,28 +41,28 @@
|
|
|
41
41
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
42
42
|
"ember-cli-sri": "^2.1.1",
|
|
43
43
|
"ember-cli-terser": "^4.0.2",
|
|
44
|
-
"ember-data": "~4.
|
|
44
|
+
"ember-data": "~4.2.0",
|
|
45
45
|
"ember-export-application-global": "^2.0.1",
|
|
46
46
|
"ember-fetch": "^8.1.1",
|
|
47
47
|
"ember-load-initializers": "^2.1.2",
|
|
48
48
|
"ember-page-title": "^7.0.0",
|
|
49
49
|
"ember-qunit": "^5.1.5",
|
|
50
50
|
"ember-resolver": "^8.0.3",
|
|
51
|
-
"ember-source": "~4.
|
|
52
|
-
"ember-template-lint": "^
|
|
53
|
-
"ember-welcome-page": "^6.
|
|
51
|
+
"ember-source": "~4.2.0",
|
|
52
|
+
"ember-template-lint": "^4.2.0<% if (welcome) { %>",
|
|
53
|
+
"ember-welcome-page": "^6.1.0<% } %>",
|
|
54
54
|
"eslint": "^7.32.0",
|
|
55
|
-
"eslint-config-prettier": "^8.
|
|
56
|
-
"eslint-plugin-ember": "^10.5.
|
|
55
|
+
"eslint-config-prettier": "^8.4.0",
|
|
56
|
+
"eslint-plugin-ember": "^10.5.9",
|
|
57
57
|
"eslint-plugin-node": "^11.1.0",
|
|
58
58
|
"eslint-plugin-prettier": "^4.0.0",
|
|
59
59
|
"eslint-plugin-qunit": "^7.2.0",
|
|
60
60
|
"loader.js": "^4.7.0",
|
|
61
61
|
"npm-run-all": "^4.1.5",
|
|
62
62
|
"prettier": "^2.5.1",
|
|
63
|
-
"qunit": "^2.
|
|
63
|
+
"qunit": "^2.18.0",
|
|
64
64
|
"qunit-dom": "^2.0.0",
|
|
65
|
-
"webpack": "^5.
|
|
65
|
+
"webpack": "^5.69.1"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "12.* || 14.* || >= 16"
|
|
File without changes
|
|
File without changes
|
package/blueprints/lib/index.js
CHANGED
|
File without changes
|