Skip to content

Commit

Permalink
Merge pull request #59 from SergeAstapov/ember-cli-update
Browse files Browse the repository at this point in the history
Run ember-cli-update to v4.2 to align with the latest addon blueprint
  • Loading branch information
chriskrycho authored Mar 17, 2022
2 parents ef91113 + fe10c81 commit ed33359
Show file tree
Hide file tree
Showing 12 changed files with 1,727 additions and 1,310 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
extends: ['plugin:node/recommended'],
},
{
// Test files:
// test files
files: ['tests/**/*-test.{js,ts}'],
extends: ['plugin:qunit/recommended'],
},
Expand Down
6 changes: 5 additions & 1 deletion .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 @@ -59,11 +63,11 @@ jobs:
try-scenario:
- ember-lts-3.20
- ember-lts-3.24
- ember-lts-3.28
- ember-release
- ember-beta
- ember-canary
- ember-classic
- ember-default-with-jquery
- embroider-safe
- embroider-optimized

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
/.eslintignore
/.eslintrc.js
/.git/
/.gitignore
/.github/
/.gitignore
/.prettierignore
/.prettierrc.js
/.template-lintrc.js
Expand All @@ -35,4 +35,7 @@
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Installation

* `git clone <repository-url>`
* `git clone https://github.com/tracked-tools/tracked-toolbox.git`
* `cd tracked-toolbox`
* `yarn install`

Expand All @@ -22,4 +22,4 @@
* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).
21 changes: 8 additions & 13 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,39 +24,34 @@ module.exports = async function () {
},
},
{
name: 'ember-release',
name: 'ember-lts-3.28',
npm: {
devDependencies: {
'ember-source': await getChannelURL('release'),
'ember-source': '~3.28.0',
},
},
},
{
name: 'ember-beta',
name: 'ember-release',
npm: {
devDependencies: {
'ember-source': await getChannelURL('beta'),
'ember-source': await getChannelURL('release'),
},
},
},
{
name: 'ember-canary',
name: 'ember-beta',
npm: {
devDependencies: {
'ember-source': await getChannelURL('canary'),
'ember-source': await getChannelURL('beta'),
},
},
},
{
name: 'ember-default-with-jquery',
env: {
EMBER_OPTIONAL_FEATURES: JSON.stringify({
'jquery-integration': true,
}),
},
name: 'ember-canary',
npm: {
devDependencies: {
'@ember/jquery': '^1.1.0',
'ember-source': await getChannelURL('canary'),
},
},
},
Expand Down
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,46 +30,45 @@
},
"dependencies": {
"ember-cache-primitive-polyfill": "^1.0.0",
"ember-cli-babel": "^7.26.6"
"ember-cli-babel": "^7.26.11"
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.5.0",
"@embroider/test-setup": "^0.43.5",
"@ember/test-helpers": "^2.6.0",
"@embroider/test-setup": "^1.5.0",
"@glimmer/component": "^1.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^2.2.3",
"ember-cli": "~3.28.3",
"ember-auto-import": "^2.4.0",
"ember-cli": "~4.2.0",
"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-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^5.1.5",
"ember-resolver": "^8.0.2",
"ember-source": "~3.28.0",
"ember-resolver": "^8.0.3",
"ember-source": "~4.2.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^3.11.0",
"ember-try": "^1.4.0",
"ember-template-lint": "^4.2.0",
"ember-try": "^2.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ember": "^10.5.7",
"eslint-plugin-ember": "^10.5.9",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-qunit": "^7.2.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"qunit": "^2.17.2",
"prettier": "^2.5.1",
"qunit": "^2.18.0",
"qunit-dom": "^2.0.0",
"release-it": "^13.6.0",
"release-it-lerna-changelog": "^2.3.0",
"webpack": "^5.60.0"
"webpack": "^5.70.0"
},
"engines": {
"node": "12.* || 14.* || >= 16"
Expand Down Expand Up @@ -99,7 +98,7 @@
}
},
"volta": {
"node": "14.16.0",
"yarn": "1.22.10"
"node": "14.19.0",
"yarn": "1.22.17"
}
}
2 changes: 1 addition & 1 deletion tests/dummy/config/ember-cli-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
{
"name": "ember-cli",
"version": "3.28.3",
"version": "4.2.0",
"blueprints": [
{
"name": "addon",
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = function (environment) {
modulePrefix: 'dummy',
environment,
rootURL: '/',
locationType: 'auto',
locationType: 'history',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
Expand Down
15 changes: 0 additions & 15 deletions tests/dummy/config/targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@ const browsers = [
'last 1 Safari versions',
];

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

module.exports = {
browsers,
};
Loading

0 comments on commit ed33359

Please sign in to comment.