ember-cli 4.2.0 → 4.3.0-beta.1
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/CHANGELOG.md +23 -5
- package/README.md +0 -1
- package/blueprints/addon/files/.github/workflows/ci.yml +3 -3
- package/blueprints/addon/files/gitignore +2 -0
- package/blueprints/app/files/.ember-cli +7 -1
- package/blueprints/app/files/.github/workflows/ci.yml +2 -2
- package/blueprints/app/files/app/index.html +0 -1
- package/blueprints/app/files/gitignore +3 -0
- package/blueprints/app/files/package.json +2 -2
- package/blueprints/app/files/tests/helpers/index.js +42 -0
- package/blueprints/app/files/tests/index.html +0 -1
- package/docs/build/data.json +156 -97
- package/lib/broccoli/default-packager.js +14 -1
- package/lib/broccoli/ember-app.js +4 -4
- package/lib/commands/destroy.js +7 -0
- package/lib/commands/generate.js +16 -7
- package/lib/models/blueprint.js +209 -4
- package/lib/models/installation-checker.js +1 -1
- package/lib/models/project.js +47 -4
- package/package.json +15 -14
- package/tests/helpers/fixturify-project.js +1 -0
- package/tests/helpers/package-cache.js +1 -1
- package/blueprints/app/files/tests/helpers/.gitkeep +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## v4.3.0-beta.1
|
|
4
|
+
|
|
5
|
+
#### Blueprint Changes
|
|
6
|
+
|
|
7
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.2.0...v4.3.0-beta.1)
|
|
8
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.2.0...v4.3.0-beta.1)
|
|
9
|
+
|
|
10
|
+
#### Changelog
|
|
11
|
+
|
|
12
|
+
- [#9707](https://github.com/ember-cli/ember-cli/pull/9707) [RFC 772] Deprecate Bower support [@bertdeblock](https://github.com/bertdeblock)
|
|
13
|
+
- [#9387](https://github.com/ember-cli/ember-cli/pull/9387) Add support for specifying a path for the generate command [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
14
|
+
- [#9638](https://github.com/ember-cli/ember-cli/pull/9638) Update ember-cli's own dependencies to latest [@rwjblue](https://github.com/rwjblue)
|
|
15
|
+
- [#9680](https://github.com/ember-cli/ember-cli/pull/9680) Ignore default folder name used by broccoli-debug [@notmessenger](https://github.com/notmessenger)
|
|
16
|
+
- [#9683](https://github.com/ember-cli/ember-cli/pull/9683) chore: replace json-stable-stringify with safe-stable-stringify [@BridgeAR](https://github.com/BridgeAR)
|
|
17
|
+
- [#9769](https://github.com/ember-cli/ember-cli/pull/9769) Update markdown-it to v12.3.2 to address vulnerabiliity [@locks](https://github.com/locks)
|
|
18
|
+
- [#9781](https://github.com/ember-cli/ember-cli/pull/9781) [ENHANCEMENT] Remove `X-UA-Compatible` meta tag for IE browser [@bobisjan](https://github.com/bobisjan)
|
|
19
|
+
- [#9790](https://github.com/ember-cli/ember-cli/pull/9790) Upgrade broccoli-merge-trees [@locks](https://github.com/locks)
|
|
20
|
+
- [#9803](https://github.com/ember-cli/ember-cli/pull/9803) [RFC 637] Customizable test setups [@bertdeblock](https://github.com/bertdeblock)
|
|
21
|
+
- [#9804](https://github.com/ember-cli/ember-cli/pull/9804) Fix formatting of CI file in app and addon blueprints [@bertdeblock](https://github.com/bertdeblock)
|
|
22
|
+
- [#9817](https://github.com/ember-cli/ember-cli/pull/9817) update beta deps [@kellyselden](https://github.com/kellyselden)
|
|
23
|
+
|
|
3
24
|
## v4.2.0
|
|
4
25
|
|
|
5
26
|
#### Blueprint Changes
|
|
6
27
|
|
|
7
|
-
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.1.
|
|
8
|
-
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.1.
|
|
28
|
+
- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.1.1...v4.2.0)
|
|
29
|
+
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.1.1...v4.2.0)
|
|
9
30
|
|
|
10
31
|
#### Changelog
|
|
11
32
|
|
|
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
33
|
- [#9681](https://github.com/ember-cli/ember-cli/pull/9681) Update URL to Ember CLI website everywhere [@bertdeblock](https://github.com/bertdeblock)
|
|
16
34
|
- [#9726](https://github.com/ember-cli/ember-cli/pull/9726) Cancel stale workflows when starting a new one. [@rwjblue](https://github.com/rwjblue)
|
|
17
35
|
- [#9731](https://github.com/ember-cli/ember-cli/pull/9731) Add an `assert` and a `deprecate` utility [@bertdeblock](https://github.com/bertdeblock)
|
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ on:
|
|
|
8
8
|
pull_request: {}
|
|
9
9
|
|
|
10
10
|
concurrency:
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
group: ci-${{ github.head_ref || github.ref }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
13
|
|
|
14
14
|
jobs:
|
|
15
15
|
test:
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
try-scenarios:
|
|
49
49
|
name: ${{ matrix.try-scenario }}
|
|
50
50
|
runs-on: ubuntu-latest
|
|
51
|
-
needs:
|
|
51
|
+
needs: "test"
|
|
52
52
|
|
|
53
53
|
strategy:
|
|
54
54
|
fail-fast: false
|
|
@@ -5,5 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Setting `disableAnalytics` to true will prevent any data from being sent.
|
|
7
7
|
*/
|
|
8
|
-
"disableAnalytics": false
|
|
8
|
+
"disableAnalytics": false,
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
|
|
12
|
+
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
|
|
13
|
+
*/
|
|
14
|
+
"isTypeScriptProject": false
|
|
9
15
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<html<% if(lang) { %> lang="<%= lang %>"<% } %>>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
5
|
<title><%= namespace %></title>
|
|
7
6
|
<meta name="description" content="">
|
|
8
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
@@ -41,14 +41,14 @@
|
|
|
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.3.0-beta.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.
|
|
51
|
+
"ember-source": "~4.3.0-beta.1",
|
|
52
52
|
"ember-template-lint": "^4.2.0<% if (welcome) { %>",
|
|
53
53
|
"ember-welcome-page": "^6.1.0<% } %>",
|
|
54
54
|
"eslint": "^7.32.0",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setupApplicationTest as upstreamSetupApplicationTest,
|
|
3
|
+
setupRenderingTest as upstreamSetupRenderingTest,
|
|
4
|
+
setupTest as upstreamSetupTest,
|
|
5
|
+
} from 'ember-qunit';
|
|
6
|
+
|
|
7
|
+
// This file exists to provide wrappers around ember-qunit's / ember-mocha's
|
|
8
|
+
// test setup functions. This way, you can easily extend the setup that is
|
|
9
|
+
// needed per test type.
|
|
10
|
+
|
|
11
|
+
function setupApplicationTest(hooks, options) {
|
|
12
|
+
upstreamSetupApplicationTest(hooks, options);
|
|
13
|
+
|
|
14
|
+
// Additional setup for application tests can be done here.
|
|
15
|
+
//
|
|
16
|
+
// For example, if you need an authenticated session for each
|
|
17
|
+
// application test, you could do:
|
|
18
|
+
//
|
|
19
|
+
// hooks.beforeEach(async function () {
|
|
20
|
+
// await authenticateSession(); // ember-simple-auth
|
|
21
|
+
// });
|
|
22
|
+
//
|
|
23
|
+
// This is also a good place to call test setup functions coming
|
|
24
|
+
// from other addons:
|
|
25
|
+
//
|
|
26
|
+
// setupIntl(hooks); // ember-intl
|
|
27
|
+
// setupMirage(hooks); // ember-cli-mirage
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function setupRenderingTest(hooks, options) {
|
|
31
|
+
upstreamSetupRenderingTest(hooks, options);
|
|
32
|
+
|
|
33
|
+
// Additional setup for rendering tests can be done here.
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function setupTest(hooks, options) {
|
|
37
|
+
upstreamSetupTest(hooks, options);
|
|
38
|
+
|
|
39
|
+
// Additional setup for unit tests can be done here.
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { setupApplicationTest, setupRenderingTest, setupTest };
|