Skip to content

Commit

Permalink
Merge branch 'master' into update-ember-cli-url
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jan 5, 2022
2 parents 2e0877a + e9651d8 commit 3e95bae
Show file tree
Hide file tree
Showing 59 changed files with 1,083 additions and 1,025 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ on:
schedule:
- cron: '0 3 * * *' # daily, at 3am

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
linting:
name: Linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.5.1
with:
node-version: 12.x
cache: 'yarn'
Expand All @@ -39,7 +43,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.5.1
with:
node-version: 12.x
cache: 'yarn'
Expand All @@ -56,12 +60,12 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
os: [ubuntu, windows]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand All @@ -86,7 +90,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.5.1
with:
node-version: 12.x
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.5.1
with:
node-version: 12.x

Expand Down
11 changes: 9 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
/assets/
/dev/
/docs/
/docs/*
/docs/*/
/docs/build/*
/docs/build/*/
!docs/build/data.json
/tests/*
/tests/*/
!/tests/helpers/
/tmp/
/.*
*.log
/yarn.lock
!docs/build/data.json

# the GitHub Action CI configuration is used by
# lib/utilities/platform-checker.js to determine what versions of Node are
# under test by the current version of ember-cli being used, this means we
# **must** publish this file (but it would be ignored by the `/.*` line just
# above)
/.github/*
/.github/*/
/.github/workflows/*
/.github/workflows/*/
!/.github/workflows/ci.yml
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
# ember-cli Changelog

## v4.1.0

#### Blueprint Changes

- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.0.1...v4.1.0)
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.0.1...v4.1.0)

#### Changelog

- [#9700](https://github.com/ember-cli/ember-cli/pull/9700) [Chore] Update .npmignore to ignore .github and docs folders [@SergeAstapov](https://github.com/SergeAstapov)
- [#9729](https://github.com/ember-cli/ember-cli/pull/9729) is-language-code@^3.1.0 [@kellyselden](https://github.com/kellyselden)

Thank you to all who took the time to contribute!

## v4.0.1

#### Blueprint Changes

- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v4.0.0...v4.0.1)
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v4.0.0...v4.0.1)

#### Changelog

- [#9675](https://github.com/ember-cli/ember-cli/pull/9675) Fix using `pnpm` install inadvertently [@balinterdi](https://github.com/balinterdi)

Thank you to all who took the time to contribute!

## v4.0.0

#### Blueprint Changes

- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.4...v4.0.0)
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.4...v4.0.0)

#### Changelog

- [#9679](https://github.com/ember-cli/ember-cli/pull/9679) Bump ember-page-title from v6.2.2 to v7.0.0 [@raido](https://github.com/raido)
- [#9694](https://github.com/ember-cli/ember-cli/pull/9694) test in node 16 LTS [@kellyselden](https://github.com/kellyselden)
- [#9696](https://github.com/ember-cli/ember-cli/pull/9696) commands/init: Fix `--yarn` usage [@Turbo87](https://github.com/Turbo87)
- [#9659](https://github.com/ember-cli/ember-cli/pull/9659) Ensure `ember-classic` ember-try scenario uses Ember 3.x [@rwjblue](https://github.com/rwjblue)
- [#9661](https://github.com/ember-cli/ember-cli/pull/9661) Set default CI config blueprints to run all builds [@elwayman02](https://github.com/elwayman02)
- [#9666](https://github.com/ember-cli/ember-cli/pull/9666) Remove IE11 comments from `config/target.js` in app blueprint [@bertdeblock](https://github.com/bertdeblock)
- [#9667](https://github.com/ember-cli/ember-cli/pull/9667) Update eslint-plugin-qunit to v7 in blueprint [@bmish](https://github.com/bmish)
- [#9670](https://github.com/ember-cli/ember-cli/pull/9670) Don't emit an error when the `lint:fix` script fails post blueprint generation [@bertdeblock](https://github.com/bertdeblock)
- [#9574](https://github.com/ember-cli/ember-cli/pull/9574) Update link to Discord in README.md [@MelSumner](https://github.com/MelSumner)
- [#9613](https://github.com/ember-cli/ember-cli/pull/9613) Fix test that started failing with v2.17.0 of qunit [@kategengler](https://github.com/kategengler)
- [#9579](https://github.com/ember-cli/ember-cli/pull/9579) Add `--ci-provider` option to `ember new` and `ember addon` [@snewcomer](https://github.com/snewcomer)
- [#9618](https://github.com/ember-cli/ember-cli/pull/9618) Reload `_packageInfo` as part of `reloadPkg` [@brendenpalmer](https://github.com/brendenpalmer)
- [#9563](https://github.com/ember-cli/ember-cli/pull/9563) Add `pnpm` support to `ember install` command [@Turbo87](https://github.com/Turbo87)
- [#9580](https://github.com/ember-cli/ember-cli/pull/9580) Add `.lint-todo` to prettier ignore [@elwayman02](https://github.com/elwayman02)
- [#9589](https://github.com/ember-cli/ember-cli/pull/9589) Add link to visualizer to perf guide [@mehulkar](https://github.com/mehulkar)
- [#9595](https://github.com/ember-cli/ember-cli/pull/9595) Add support for `addons.exclude` and `addons.include` options [@bertdeblock](https://github.com/bertdeblock)
- [#9623](https://github.com/ember-cli/ember-cli/pull/9623) Update app/addon blueprints to use ember-auto-import@2 [@rwjblue](https://github.com/rwjblue)
- [#9619](https://github.com/ember-cli/ember-cli/pull/9619) Update watch-detector to 1.0.1 [@colenso](https://github.com/colenso)
- [#9605](https://github.com/ember-cli/ember-cli/pull/9605) Properly set `loglevel` flag for npm [@jrvidal](https://github.com/jrvidal)
- [#9609](https://github.com/ember-cli/ember-cli/pull/9609) Ignore additional `ember-try` files for apps and addons [@bertdeblock](https://github.com/bertdeblock)
- [#9644](https://github.com/ember-cli/ember-cli/pull/9644) Default `ember new` and `ember addon` to use GitHub Actions [@rwjblue](https://github.com/rwjblue)

Thank you to all who took the time to contribute!

## v3.28.4

#### Blueprint Changes

- [`ember new` diff](https://github.com/ember-cli/ember-new-output/compare/v3.28.3...v3.28.4)
- [`ember addon` diff](https://github.com/ember-cli/ember-addon-output/compare/v3.28.3...v3.28.4)

#### Changelog

- [#9694](https://github.com/ember-cli/ember-cli/pull/9694) test in node 16 LTS [@kellyselden](https://github.com/kellyselden)

Thank you to all who took the time to contribute!

## v3.28.3

#### Blueprint Changes
Expand Down
4 changes: 2 additions & 2 deletions blueprints/addon/additional-dev-dependencies.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"devDependencies": {
"@embroider/test-setup": "^0.44.1",
"@embroider/test-setup": "^0.49.0",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-try": "^1.4.0",
"ember-try": "^2.0.0",
"ember-source-channel-url": "^3.0.0"
}
}
8 changes: 6 additions & 2 deletions blueprints/addon/files/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Tests"
Expand Down Expand Up @@ -47,11 +51,11 @@ jobs:
needs: 'test'

strategy:
fail-fast: true
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.20
- ember-lts-3.24
- ember-lts-3.28
- ember-release
- ember-beta
- ember-canary
Expand Down
4 changes: 2 additions & 2 deletions blueprints/addon/files/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ branches:
- /^v\d+\.\d+\.\d+/

jobs:
fast_finish: true
fast_finish: false
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

Expand All @@ -51,8 +51,8 @@ jobs:

# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
- env: EMBER_TRY_SCENARIO=ember-lts-3.20
- env: EMBER_TRY_SCENARIO=ember-lts-3.24
- env: EMBER_TRY_SCENARIO=ember-lts-3.28
- env: EMBER_TRY_SCENARIO=ember-release
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
Expand Down
4 changes: 2 additions & 2 deletions blueprints/addon/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
Compatibility
------------------------------------------------------------------------------

* Ember.js v3.20 or above
* Ember CLI v3.20 or above
* Ember.js v3.24 or above
* Ember CLI v3.24 or above
* Node.js v12 or above


Expand Down
8 changes: 4 additions & 4 deletions blueprints/addon/files/addon-config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ module.exports = async function () {
<% if (yarn) { %>useYarn: true,
<% } %>scenarios: [
{
name: 'ember-lts-3.20',
name: 'ember-lts-3.24',
npm: {
devDependencies: {
'ember-source': '~3.20.5',
'ember-source': '~3.24.3',
},
},
},
{
name: 'ember-lts-3.24',
name: 'ember-lts-3.28',
npm: {
devDependencies: {
'ember-source': '~3.24.3',
'ember-source': '~3.28.0',
},
},
},
Expand Down
4 changes: 4 additions & 0 deletions blueprints/app/files/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: "Lint"
Expand Down
34 changes: 17 additions & 17 deletions blueprints/app/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,45 @@
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.4.2<% if (embroider) { %>",
"@embroider/compat": "^0.44.1",
"@embroider/core": "^0.44.1",
"@embroider/webpack": "^0.44.1<% } %>",
"@ember/test-helpers": "^2.6.0<% if (embroider) { %>",
"@embroider/compat": "^0.49.0",
"@embroider/core": "^0.49.0",
"@embroider/webpack": "^0.49.0<% } %>",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^2.2.0",
"ember-auto-import": "^2.2.4",
"ember-cli": "~<%= emberCLIVersion %>",
"ember-cli-app-version": "^5.0.0",
"ember-cli-babel": "^7.26.6",
"ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-htmlbars": "^5.7.1",
"ember-cli-htmlbars": "^6.0.1",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-data": "~4.0.0-beta.2",
"ember-data": "~4.1.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.1.1",
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^6.2.2",
"ember-qunit": "^5.1.4",
"ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.5",
"ember-resolver": "^8.0.3",
"ember-source": "~4.0.0-beta.4",
"ember-template-lint": "^3.7.0<% if (welcome) { %>",
"ember-welcome-page": "^5.0.0<% } %>",
"ember-source": "~4.1.0",
"ember-template-lint": "^3.15.0<% if (welcome) { %>",
"ember-welcome-page": "^6.0.0<% } %>",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ember": "^10.5.4",
"eslint-plugin-ember": "^10.5.8",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-qunit": "^7.0.0",
"eslint-plugin-qunit": "^7.2.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.0",
"prettier": "^2.5.1",
"qunit": "^2.17.2",
"qunit-dom": "^2.0.0",
"webpack": "^5.52.1"
"webpack": "^5.65.0"
},
"engines": {
"node": "12.* || 14.* || >= 16"
Expand Down
21 changes: 21 additions & 0 deletions dev/online-editors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Online Editor output:

repo: https://github.com/ember-cli/editor-output

For each supported online editor, there should be a folder
with the online-editor-specific files for that online editor.

For example:
```
stackblitz/
.stackblitzrc
other-editor/
.other-editor.js
```

This would result in the following branches on the
editor-output repo:
- stackblitz-app-output
- stackblitz-addon-output
- other-editor-app-output
- other-editor-addon-output
6 changes: 6 additions & 0 deletions dev/online-editors/stackblitz/.stackblitzrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"startCommand": "npm start",
"env": {
"NODE_OPTIONS": "--trace-warnings --unhandled-rejections=strict"
}
}

0 comments on commit 3e95bae

Please sign in to comment.