ember-cli 4.2.0 → 4.4.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.
@@ -24,8 +24,8 @@ jobs:
24
24
  runs-on: ubuntu-latest
25
25
 
26
26
  steps:
27
- - uses: actions/checkout@v2
28
- - uses: actions/setup-node@v2.5.1
27
+ - uses: actions/checkout@v3
28
+ - uses: actions/setup-node@v3
29
29
  with:
30
30
  node-version: 12.x
31
31
  cache: 'yarn'
@@ -42,8 +42,8 @@ jobs:
42
42
  os: [ubuntu, macOS, windows]
43
43
 
44
44
  steps:
45
- - uses: actions/checkout@v2
46
- - uses: actions/setup-node@v2.5.1
45
+ - uses: actions/checkout@v3
46
+ - uses: actions/setup-node@v3
47
47
  with:
48
48
  node-version: 12.x
49
49
  cache: 'yarn'
@@ -64,8 +64,8 @@ jobs:
64
64
  os: [ubuntu, windows]
65
65
 
66
66
  steps:
67
- - uses: actions/checkout@v2
68
- - uses: actions/setup-node@v2.5.1
67
+ - uses: actions/checkout@v3
68
+ - uses: actions/setup-node@v3
69
69
  with:
70
70
  node-version: ${{ matrix.node-version }}
71
71
  cache: 'yarn'
@@ -89,8 +89,8 @@ jobs:
89
89
  - CLASSIC
90
90
 
91
91
  steps:
92
- - uses: actions/checkout@v2
93
- - uses: actions/setup-node@v2.5.1
92
+ - uses: actions/checkout@v3
93
+ - uses: actions/setup-node@v3
94
94
  with:
95
95
  node-version: 12.x
96
96
  cache: 'yarn'
package/CHANGELOG.md CHANGED
@@ -1,17 +1,54 @@
1
1
  # ember-cli Changelog
2
2
 
3
+ ## v4.4.0-beta.1
4
+
5
+ #### Blueprint Changes
6
+
7
+ - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.3.0...v4.4.0-beta.1)
8
+ - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.3.0...v4.4.0-beta.1)
9
+
10
+ #### Changelog
11
+
12
+ - [#9611](https://github.com/ember-cli/ember-cli/pull/9611) use more standard markdown for addon readme [@mansona](https://github.com/mansona)
13
+ - [#9818](https://github.com/ember-cli/ember-cli/pull/9818) Update actions/checkout action to v3 [@SergeAstapov](https://github.com/SergeAstapov)
14
+ - [#9819](https://github.com/ember-cli/ember-cli/pull/9819) Update actions/setup-node action to v3 [@SergeAstapov](https://github.com/SergeAstapov)
15
+ - [#9843](https://github.com/ember-cli/ember-cli/pull/9843) update beta deps [@kellyselden](https://github.com/kellyselden)
16
+
17
+ Thank you to all who took the time to contribute!
18
+
19
+ ## v4.3.0
20
+
21
+ #### Blueprint Changes
22
+
23
+ - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.2.0...v4.3.0)
24
+ - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.2.0...v4.3.0)
25
+
26
+ #### Changelog
27
+
28
+ - [#9707](https://github.com/ember-cli/ember-cli/pull/9707) [RFC 772] Deprecate Bower support [@bertdeblock](https://github.com/bertdeblock)
29
+ - [#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)
30
+ - [#9638](https://github.com/ember-cli/ember-cli/pull/9638) Update ember-cli's own dependencies to latest [@rwjblue](https://github.com/rwjblue)
31
+ - [#9680](https://github.com/ember-cli/ember-cli/pull/9680) Ignore default folder name used by broccoli-debug [@notmessenger](https://github.com/notmessenger)
32
+ - [#9683](https://github.com/ember-cli/ember-cli/pull/9683) chore: replace json-stable-stringify with safe-stable-stringify [@BridgeAR](https://github.com/BridgeAR)
33
+ - [#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)
34
+ - [#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)
35
+ - [#9790](https://github.com/ember-cli/ember-cli/pull/9790) Upgrade broccoli-merge-trees [@locks](https://github.com/locks)
36
+ - [#9803](https://github.com/ember-cli/ember-cli/pull/9803) [RFC 637] Customizable test setups [@bertdeblock](https://github.com/bertdeblock)
37
+ - [#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)
38
+ - [#9817](https://github.com/ember-cli/ember-cli/pull/9817) update beta deps [@kellyselden](https://github.com/kellyselden)
39
+ - [#9830](https://github.com/ember-cli/ember-cli/pull/9830) update deps before release [@kellyselden](https://github.com/kellyselden)
40
+
41
+ Thank you to all who took the time to contribute!
42
+
3
43
  ## v4.2.0
4
44
 
5
45
  #### Blueprint Changes
6
46
 
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)
47
+ - [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.1.1...v4.2.0)
48
+ - [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.1.1...v4.2.0)
9
49
 
10
50
  #### Changelog
11
51
 
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
52
  - [#9681](https://github.com/ember-cli/ember-cli/pull/9681) Update URL to Ember CLI website everywhere [@bertdeblock](https://github.com/bertdeblock)
16
53
  - [#9726](https://github.com/ember-cli/ember-cli/pull/9726) Cancel stale workflows when starting a new one. [@rwjblue](https://github.com/rwjblue)
17
54
  - [#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
@@ -1,4 +1,3 @@
1
-
2
1
  ember-cli
3
2
  ==============================================================================
4
3
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@embroider/test-setup": "^1.2.0",
3
+ "@embroider/test-setup": "^1.6.0",
4
4
  "ember-disable-prototype-extensions": "^1.1.3",
5
5
  "ember-try": "^2.0.0",
6
6
  "ember-source-channel-url": "^3.0.0"
@@ -8,8 +8,8 @@ on:
8
8
  pull_request: {}
9
9
 
10
10
  concurrency:
11
- group: ci-${{ github.head_ref || github.ref }}
12
- cancel-in-progress: true
11
+ group: ci-${{ github.head_ref || github.ref }}
12
+ cancel-in-progress: true
13
13
 
14
14
  jobs:
15
15
  test:
@@ -17,9 +17,9 @@ jobs:
17
17
  runs-on: ubuntu-latest
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v3
21
21
  - name: Install Node
22
- uses: actions/setup-node@v2
22
+ uses: actions/setup-node@v3
23
23
  with:
24
24
  node-version: 12.x
25
25
  cache: <%= yarn ? 'yarn' : 'npm' %>
@@ -35,8 +35,8 @@ jobs:
35
35
  runs-on: ubuntu-latest
36
36
 
37
37
  steps:
38
- - uses: actions/checkout@v2
39
- - uses: actions/setup-node@v2
38
+ - uses: actions/checkout@v3
39
+ - uses: actions/setup-node@v3
40
40
  with:
41
41
  node-version: 12.x
42
42
  cache: <%= yarn ? 'yarn' : 'npm' %>
@@ -48,7 +48,7 @@ jobs:
48
48
  try-scenarios:
49
49
  name: ${{ matrix.try-scenario }}
50
50
  runs-on: ubuntu-latest
51
- needs: 'test'
51
+ needs: "test"
52
52
 
53
53
  strategy:
54
54
  fail-fast: false
@@ -64,9 +64,9 @@ jobs:
64
64
  - embroider-optimized
65
65
 
66
66
  steps:
67
- - uses: actions/checkout@v2
67
+ - uses: actions/checkout@v3
68
68
  - name: Install Node
69
- uses: actions/setup-node@v2
69
+ uses: actions/setup-node@v3
70
70
  with:
71
71
  node-version: 12.x
72
72
  cache: <%= yarn ? 'yarn' : 'npm' %>
@@ -1,38 +1,32 @@
1
- <%= addonName %>
2
- ==============================================================================
1
+ # <%= addonName %>
3
2
 
4
3
  [Short description of the addon.]
5
4
 
6
5
 
7
- Compatibility
8
- ------------------------------------------------------------------------------
6
+ ## Compatibility
9
7
 
10
8
  * Ember.js v3.24 or above
11
9
  * Ember CLI v3.24 or above
12
10
  * Node.js v12 or above
13
11
 
14
12
 
15
- Installation
16
- ------------------------------------------------------------------------------
13
+ ## Installation
17
14
 
18
15
  ```
19
16
  ember install <%= addonName %>
20
17
  ```
21
18
 
22
19
 
23
- Usage
24
- ------------------------------------------------------------------------------
20
+ ## Usage
25
21
 
26
22
  [Longer description of how to use the addon in apps.]
27
23
 
28
24
 
29
- Contributing
30
- ------------------------------------------------------------------------------
25
+ ## Contributing
31
26
 
32
27
  See the [Contributing](CONTRIBUTING.md) guide for details.
33
28
 
34
29
 
35
- License
36
- ------------------------------------------------------------------------------
30
+ ## License
37
31
 
38
32
  This project is licensed under the [MIT License](LICENSE.md).
@@ -0,0 +1,2 @@
1
+ # broccoli-debug
2
+ /DEBUG/
@@ -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
  }
@@ -8,8 +8,8 @@ on:
8
8
  pull_request: {}
9
9
 
10
10
  concurrency:
11
- group: ci-${{ github.head_ref || github.ref }}
12
- cancel-in-progress: true
11
+ group: ci-${{ github.head_ref || github.ref }}
12
+ cancel-in-progress: true
13
13
 
14
14
  jobs:
15
15
  lint:
@@ -17,9 +17,9 @@ jobs:
17
17
  runs-on: ubuntu-latest
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v3
21
21
  - name: Install Node
22
- uses: actions/setup-node@v2
22
+ uses: actions/setup-node@v3
23
23
  with:
24
24
  node-version: 12.x
25
25
  cache: <%= yarn ? 'yarn' : 'npm' %>
@@ -33,9 +33,9 @@ jobs:
33
33
  runs-on: ubuntu-latest
34
34
 
35
35
  steps:
36
- - uses: actions/checkout@v2
36
+ - uses: actions/checkout@v3
37
37
  - name: Install Node
38
- uses: actions/setup-node@v2
38
+ uses: actions/setup-node@v3
39
39
  with:
40
40
  node-version: 12.x
41
41
  cache: <%= yarn ? 'yarn' : 'npm' %>
@@ -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">
@@ -27,3 +27,6 @@
27
27
  /package.json.ember-try
28
28
  /package-lock.json.ember-try
29
29
  /yarn.lock.ember-try
30
+
31
+ # broccoli-debug
32
+ /DEBUG/
@@ -24,15 +24,15 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@ember/optional-features": "^2.0.0",
27
- "@ember/test-helpers": "^2.6.0<% if (embroider) { %>",
28
- "@embroider/compat": "^1.2.0",
29
- "@embroider/core": "^1.2.0",
30
- "@embroider/webpack": "^1.2.0<% } %>",
31
- "@glimmer/component": "^1.0.4",
32
- "@glimmer/tracking": "^1.0.4",
27
+ "@ember/test-helpers": "^2.7.0<% if (embroider) { %>",
28
+ "@embroider/compat": "^1.6.0",
29
+ "@embroider/core": "^1.6.0",
30
+ "@embroider/webpack": "^1.6.0<% } %>",
31
+ "@glimmer/component": "^1.1.1",
32
+ "@glimmer/tracking": "^1.1.1",
33
33
  "babel-eslint": "^10.1.0",
34
34
  "broccoli-asset-rev": "^3.0.0",
35
- "ember-auto-import": "^2.4.0",
35
+ "ember-auto-import": "^2.4.1",
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.2.0",
44
+ "ember-data": "~4.4.0-beta.1",
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.2.0",
52
- "ember-template-lint": "^4.2.0<% if (welcome) { %>",
53
- "ember-welcome-page": "^6.1.0<% } %>",
51
+ "ember-source": "~4.4.0-beta.1",
52
+ "ember-template-lint": "^4.3.0<% if (welcome) { %>",
53
+ "ember-welcome-page": "^6.2.0<% } %>",
54
54
  "eslint": "^7.32.0",
55
- "eslint-config-prettier": "^8.4.0",
55
+ "eslint-config-prettier": "^8.5.0",
56
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
- "prettier": "^2.5.1",
63
- "qunit": "^2.18.0",
62
+ "prettier": "^2.6.2",
63
+ "qunit": "^2.18.1",
64
64
  "qunit-dom": "^2.0.0",
65
- "webpack": "^5.69.1"
65
+ "webpack": "^5.72.0"
66
66
  },
67
67
  "engines": {
68
68
  "node": "12.* || 14.* || >= 16"
@@ -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 };
@@ -2,7 +2,6 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
5
  <title><%= namespace %> Tests</title>
7
6
  <meta name="description" content="">
8
7
  <meta name="viewport" content="width=device-width, initial-scale=1">