Skip to content

Commit

Permalink
chore(deps): upgrade to fix CI babel issues
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabauke committed Dec 23, 2021
1 parent 7cf0f40 commit 673d1fb
Show file tree
Hide file tree
Showing 4 changed files with 19,833 additions and 875 deletions.
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@
"ember-truth-helpers": "^3.0.0"
},
"devDependencies": {
"@adfinis-sygroup/eslint-config": "1.4.2",
"@adfinis-sygroup/semantic-release-config": "3.2.0",
"@babel/core": "7.15.8",
"@adfinis-sygroup/eslint-config": "1.5.0",
"@adfinis-sygroup/semantic-release-config": "3.2.1",
"@babel/core": "7.16.5",
"@babel/helper-environment-visitor": "^7.16.5",
"@ember/optional-features": "2.0.0",
"@ember/test-helpers": "2.5.0",
"@ember/test-helpers": "2.6.0",
"@embroider/test-setup": "0.45.0",
"@fortawesome/ember-fontawesome": "0.2.3",
"@fortawesome/free-solid-svg-icons": "5.15.4",
Expand All @@ -60,7 +61,7 @@
"ember-changeset": "3.15.0",
"ember-changeset-validations": "3.16.0",
"ember-cli": "3.28.1",
"ember-cli-addon-docs": "4.0.3",
"ember-cli-addon-docs": "4.2.1",
"ember-cli-dependency-checker": "3.2.0",
"ember-cli-deploy": "1.0.2",
"ember-cli-deploy-build": "2.0.0",
Expand All @@ -71,7 +72,7 @@
"ember-cli-sri": "2.1.1",
"ember-cli-terser": "4.0.2",
"ember-cli-test-loader": "3.0.0",
"ember-concurrency": "2.1.2",
"ember-concurrency": "2.2.0",
"ember-data": "3.28.3",
"ember-disable-prototype-extensions": "1.1.3",
"ember-load-initializers": "2.1.2",
Expand All @@ -81,17 +82,17 @@
"ember-resolver": "8.0.3",
"ember-source": "3.28.1",
"ember-source-channel-url": "3.0.0",
"ember-template-lint": "3.9.0",
"ember-template-lint": "3.15.0",
"ember-template-lint-plugin-prettier": "2.0.1",
"ember-try": "1.4.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-ember": "10.5.5",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-ember": "10.5.8",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-qunit": "6.2.0",
"husky": "7.0.2",
"husky": "7.0.4",
"lint-staged": "11.2.0",
"loader.js": "4.7.0",
"npm-run-all": "4.1.5",
Expand Down
22 changes: 13 additions & 9 deletions tests/dummy/app/templates/docs/components/validated-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ Specifies if the button is loading. Default: Automatic integration of `ember-con
<!-- prettier-ignore-start -->
{{#docs-demo as |demo|}}
{{#demo.example name='button-template.hbs'}}
{{#validated-form on-submit=(action (mut saved) true) as |f|}}
{{f.submit label='Save'}}
{{#f.submit}}Still save but in block style...{{/f.submit}}
{{if saved 'Saved!'}}
{{/validated-form}}
<ValidatedForm @on-submit={{fn (mut saved) true}} as |f|>
{{#let f.submit as |Submit|}}
<Submit @label={{"Save"}} />
<Submit>Save button in block style...</Submit>
{{/let}}
{{if saved 'Saved!'}}
</ValidatedForm>
{{/demo.example}}

{{demo.snippet 'button-template.hbs'}}
Expand All @@ -50,11 +52,13 @@ Passes a function which is triggered after clicking on the button and when the v
<!-- prettier-ignore-start -->
{{#docs-demo as |demo|}}
{{#demo.example name='button-advanced-template.hbs'}}
{{#validated-form as |f|}}
{{f.button label='Custom action' on-click=(action (mut triggered) true)}}
{{#f.button on-click=(action (mut triggered) true)}}Custom action button in block style...{{/f.button}}
<ValidatedForm as |f|>
{{#let f.button as |CustomButton|}}
<CustomButton @label="Real Custom" @on-click={{fn (mut triggered) true}}/>
<CustomButton @on-click={{fn (mut triggered) true}}>Custom action button in block style...</CustomButton>
{{/let}}
{{if triggered 'Action triggered!'}}
{{/validated-form}}
</ValidatedForm>
{{/demo.example}}

{{demo.snippet 'button-advanced-template.hbs'}}
Expand Down
Loading

0 comments on commit 673d1fb

Please sign in to comment.