Skip to content

Commit

Permalink
run ember-cli-update and upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Sep 6, 2024
1 parent 69403a0 commit 32db93d
Show file tree
Hide file tree
Showing 11 changed files with 9,277 additions and 11,591 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/vendor/

# compiled output
/declarations/
/dist/
/tmp/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
fail-fast: false
matrix:
try-scenario:
- ember-lts-4.8
- ember-lts-4.12
- ember-lts-5.4
- ember-release
- ember-beta
- ember-canary
Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
/ember-cli-build.js
/testem.js
/tests/
/tsconfig.declarations.json
/tsconfig.json
/yarn-error.log
/yarn.lock
.gitkeep
Expand Down
20,781 changes: 9,236 additions & 11,545 deletions package-lock.json

Large diffs are not rendered by default.

47 changes: 24 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,52 @@
{
"author": "Zestia",
"dependencies": {
"@babel/core": "^7.23.9",
"@babel/core": "^7.25.2",
"@ember/test-waiters": "^3.1.0",
"@zestia/animation-utils": "^5.0.5",
"ember-auto-import": "^2.7.2",
"ember-auto-import": "^2.7.4",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-modifier": "^4.1.0",
"ember-template-imports": "^4.1.0"
"ember-modifier": "^4.2.0",
"ember-template-imports": "^4.1.1"
},
"description": "A simple modal dialog component for Ember apps",
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^3.2.1",
"@embroider/test-setup": "^3.0.3",
"@ember/optional-features": "^2.1.0",
"@ember/test-helpers": "^4.0.4",
"@embroider/test-setup": "^4.0.0",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@zestia/ember-auto-focus": "^5.1.3",
"@zestia/eslint-config": "^5.3.0",
"@zestia/ember-auto-focus": "^5.2.2",
"@zestia/eslint-config": "^6.0.0",
"@zestia/prettier-config": "^1.3.1",
"@zestia/stylelint-config": "^6.0.1",
"@zestia/template-lint-config": "^6.1.0",
"@zestia/stylelint-config": "^6.1.0",
"@zestia/template-lint-config": "^6.2.0",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^8.2.2",
"ember-cli": "^5.5.0",
"ember-cli": "^5.11.0",
"ember-cli-clean-css": "^3.0.0",
"ember-cli-dependency-checker": "^3.3.2",
"ember-cli-github-pages": "^0.2.2",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-load-initializers": "^2.1.2",
"ember-qunit": "^8.0.2",
"ember-resolver": "^11.0.1",
"ember-source": "~5.6.0",
"ember-qunit": "^8.1.0",
"ember-resolver": "^12.0.1",
"ember-source": "~5.11.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^5.13.0",
"ember-template-lint": "^6.0.0",
"ember-try": "^3.0.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-plugin-n": "^16.6.2",
"loader.js": "^4.7.0",
"prettier": "^3.2.5",
"qunit": "^2.20.0",
"qunit-dom": "^3.0.0",
"release-it": "^17.0.3",
"stylelint": "^16.2.1",
"webpack": "^5.90.1"
"prettier": "^3.3.3",
"qunit": "^2.22.0",
"qunit-dom": "^3.2.0",
"release-it": "^17.6.0",
"stylelint": "^16.9.0",
"webpack": "^5.94.0"
},
"directories": {
"doc": "doc",
Expand Down
5 changes: 5 additions & 0 deletions tests/dummy/app/controllers/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export default class ApplicationController extends Controller {
this.isEscapable = event.target.checked;
}

@action
setLoadDelay(event) {
this.loadDelay = event.target.checked;
}

@action
loadExampleModal() {
if (!this.loadDelay) {
Expand Down
8 changes: 2 additions & 6 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@

<p>
<label>
<Input
@type="checkbox"
@checked={{this.isEscapable}}
{{on "click" this.setEscapable}}
/>
<input type="checkbox" {{on "click" this.setEscapable}} />
Escapable
</label>
</p>

<p>
<label>
<Input @type="checkbox" @checked={{this.loadDelay}} />
<input type="checkbox" {{on "click" this.setLoadDelay}} />
Load delay
</label>
</p>
Expand Down
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": "5.5.0",
"version": "5.11.0",
"blueprints": [
{
"name": "addon",
Expand Down
8 changes: 4 additions & 4 deletions tests/dummy/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ module.exports = async function () {
return {
scenarios: [
{
name: 'ember-lts-4.8',
name: 'ember-lts-4.12',
npm: {
devDependencies: {
'ember-source': '~4.8.0'
'ember-source': '~4.12.0'
}
}
},
{
name: 'ember-lts-4.12',
name: 'ember-lts-5.4',
npm: {
devDependencies: {
'ember-source': '~4.12.0'
'ember-source': '~5.4.0'
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function setupApplicationTest(hooks, options) {
// This is also a good place to call test setup functions coming
// from other addons:
//
// setupIntl(hooks); // ember-intl
// setupIntl(hooks, 'en-us'); // ember-intl
// setupMirage(hooks); // ember-cli-mirage
}

Expand Down
10 changes: 0 additions & 10 deletions tsconfig.declarations.json

This file was deleted.

0 comments on commit 32db93d

Please sign in to comment.