Skip to content

Commit

Permalink
Fixing types
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerac4 committed Mar 31, 2022
1 parent 60a3d06 commit b1e910e
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 1,703 deletions.
260 changes: 131 additions & 129 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,131 +1,133 @@
{
"name": "@gavant/ember-validations",
"version": "2.1.3",
"description": "A form validator library using ember-changeset and ember-changeset-validations",
"keywords": [
"ember-addon",
"forms",
"input",
"validator",
"validations"
],
"repository": "https://github.com/Gavant/gavant-ember-validations",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build --environment=production",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"start": "ember serve",
"test": "npm-run-all lint test:*",
"test:ember": "ember test",
"test:ember-compatibility": "ember try:each",
"prepublishOnly": "ember ts:precompile",
"postpublish": "ember ts:clean",
"prepack": "ember ts:precompile",
"postpack": "ember ts:clean"
},
"dependencies": {
"@ember/render-modifiers": "^2.0.4",
"ember-changeset": "^4.0.0",
"ember-changeset-validations": "^4.0.0",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1",
"ember-cli-typescript": "^4.1.0",
"ember-decorators": "^6.1.1"
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.6.0",
"@embroider/test-setup": "^1.2.0",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@types/ember-data": "^4.0.0",
"@types/ember-data__model": "^4.0.0",
"@types/ember-qunit": "^5.0.0",
"@types/ember-resolver": "^5.0.11",
"@types/ember__application": "^4.0.0",
"@types/ember__array": "^4.0.1",
"@types/ember__component": "^4.0.6",
"@types/ember__controller": "^4.0.0",
"@types/ember__debug": "^4.0.1",
"@types/ember__engine": "^4.0.0",
"@types/ember__error": "^4.0.0",
"@types/ember__object": "^4.0.1",
"@types/ember__polyfills": "^4.0.0",
"@types/ember__routing": "^4.0.4",
"@types/ember__runloop": "^4.0.0",
"@types/ember__service": "^4.0.0",
"@types/ember__string": "^3.0.9",
"@types/ember__template": "^4.0.0",
"@types/ember__test": "^4.0.0",
"@types/ember__test-helpers": "^2.6.1",
"@types/ember__utils": "^4.0.0",
"@types/htmlbars-inline-precompile": "^3.0.0",
"@types/qunit": "^2.11.3",
"@types/rsvp": "^4.0.4",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"auto-changelog": "^2.2.1",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^2.4.0",
"ember-cli": "~4.2.0",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-github-pages": "^0.2.1",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sass": "^10.0.1",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-cli-typescript-blueprints": "^3.0.0",
"ember-data": "^4.3.0",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.5",
"ember-resolver": "^8.0.3",
"ember-source": "^4.2.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^4.2.0",
"ember-try": "^2.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.4.0",
"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.5.1",
"qunit": "^2.18.0",
"qunit-dom": "^2.0.0",
"release-it": "^14.4.1",
"sass": "^1.49.9",
"typescript": "^4.6.3",
"webpack": "^5.69.1"
},
"engines": {
"node": "14.* || >= 16"
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"volta": {
"node": "16.14.2"
},
"publishConfig": {
"access": "public"
}
"name": "@gavant/ember-validations",
"version": "2.1.3",
"description": "A form validator library using ember-changeset and ember-changeset-validations",
"keywords": [
"ember-addon",
"forms",
"input",
"validator",
"validations"
],
"repository": "https://github.com/Gavant/gavant-ember-validations",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build --environment=production",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"start": "ember serve",
"test": "npm-run-all lint test:*",
"test:ember": "ember test",
"test:ember-compatibility": "ember try:each",
"prepublishOnly": "ember ts:precompile",
"postpublish": "ember ts:clean",
"prepack": "ember ts:precompile",
"postpack": "ember ts:clean"
},
"dependencies": {
"@ember/render-modifiers": "^2.0.4",
"ember-changeset": "^4.0.0",
"ember-changeset-validations": "^4.0.0",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1",
"ember-cli-typescript": "^4.1.0",
"ember-decorators": "^6.1.1"
},
"devDependencies": {
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.6.0",
"@embroider/test-setup": "^1.2.0",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@types/ember-data": "^4.0.0",
"@types/ember-data__model": "^4.0.0",
"@types/ember-qunit": "^5.0.0",
"@types/ember-resolver": "^5.0.11",
"@types/ember__application": "^4.0.0",
"@types/ember__array": "^4.0.1",
"@types/ember__component": "^4.0.6",
"@types/ember__controller": "^4.0.0",
"@types/ember__debug": "^4.0.1",
"@types/ember__engine": "^4.0.0",
"@types/ember__error": "^4.0.0",
"@types/ember__object": "^4.0.1",
"@types/ember__polyfills": "^4.0.0",
"@types/ember__routing": "^4.0.4",
"@types/ember__runloop": "^4.0.0",
"@types/ember__service": "^4.0.0",
"@types/ember__string": "^3.0.9",
"@types/ember__template": "^4.0.0",
"@types/ember__test": "^4.0.0",
"@types/ember__test-helpers": "^2.6.1",
"@types/ember__utils": "^4.0.0",
"@types/eslint": "^8.4.1",
"@types/estree": "0.0.47",
"@types/htmlbars-inline-precompile": "^3.0.0",
"@types/qunit": "^2.11.3",
"@types/rsvp": "^4.0.4",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"auto-changelog": "^2.2.1",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^2.4.0",
"ember-cli": "~4.2.0",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-github-pages": "^0.2.1",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sass": "^10.0.1",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-cli-typescript-blueprints": "^3.0.0",
"ember-data": "^4.3.0",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.5",
"ember-resolver": "^8.0.3",
"ember-source": "^4.2.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^4.2.0",
"ember-try": "^2.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.4.0",
"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.5.1",
"qunit": "^2.18.0",
"qunit-dom": "^2.0.0",
"release-it": "^14.4.1",
"sass": "^1.49.9",
"typescript": "4.2.4",
"webpack": "^5.69.1"
},
"engines": {
"node": "14.* || >= 16"
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"volta": {
"node": "16.14.2"
},
"publishConfig": {
"access": "public"
}
}
1 change: 1 addition & 0 deletions tests/integration/components/input-validator-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module('Integration | Component | input-validator', function (hooks) {
</FormValidator>`);

element = this.element.textContent;
//@ts-ignore
assert.dom('input').exists();
});
});
2 changes: 1 addition & 1 deletion tests/integration/helpers/event-value-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module('Integration | Helper | event-value', function (hooks) {
// Replace this with your real tests.
test('it renders', async function (assert) {
this.set('inputValue', '1234');
const event = await render(hbs`
await render(hbs`
<input value="{{this.inputValue}}"
...attributes
{{on 'input' (event-value )}}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
"types/**/*",
"test-support/**/*",
"addon-test-support/**/*"
]
],
"exclude": ["node_modules"],
}
Loading

0 comments on commit b1e910e

Please sign in to comment.