@najemi-software/vitest-dom 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/esm/index.d.ts +18 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/matchers/to-be-checked.d.ts +8 -1
- package/esm/matchers/to-be-checked.d.ts.map +1 -1
- package/esm/matchers/to-be-checked.js +8 -1
- package/esm/matchers/to-be-checked.js.map +1 -1
- package/esm/matchers/to-be-disabled.d.ts +10 -2
- package/esm/matchers/to-be-disabled.d.ts.map +1 -1
- package/esm/matchers/to-be-disabled.js +10 -2
- package/esm/matchers/to-be-disabled.js.map +1 -1
- package/esm/matchers/to-be-empty-dom-element.d.ts +2 -1
- package/esm/matchers/to-be-empty-dom-element.d.ts.map +1 -1
- package/esm/matchers/to-be-empty-dom-element.js +2 -1
- package/esm/matchers/to-be-empty-dom-element.js.map +1 -1
- package/esm/matchers/to-be-empty.d.ts +5 -2
- package/esm/matchers/to-be-empty.d.ts.map +1 -1
- package/esm/matchers/to-be-empty.js +5 -2
- package/esm/matchers/to-be-empty.js.map +1 -1
- package/esm/matchers/to-be-in-the-document.d.ts +2 -1
- package/esm/matchers/to-be-in-the-document.d.ts.map +1 -1
- package/esm/matchers/to-be-in-the-document.js +2 -1
- package/esm/matchers/to-be-in-the-document.js.map +1 -1
- package/esm/matchers/to-be-in-the-dom.d.ts +6 -3
- package/esm/matchers/to-be-in-the-dom.d.ts.map +1 -1
- package/esm/matchers/to-be-in-the-dom.js +6 -3
- package/esm/matchers/to-be-in-the-dom.js.map +1 -1
- package/esm/matchers/to-be-invalid.d.ts +16 -2
- package/esm/matchers/to-be-invalid.d.ts.map +1 -1
- package/esm/matchers/to-be-invalid.js +16 -2
- package/esm/matchers/to-be-invalid.js.map +1 -1
- package/esm/matchers/to-be-partially-checked.d.ts +7 -1
- package/esm/matchers/to-be-partially-checked.d.ts.map +1 -1
- package/esm/matchers/to-be-partially-checked.js +7 -1
- package/esm/matchers/to-be-partially-checked.js.map +1 -1
- package/esm/matchers/to-be-required.d.ts +8 -1
- package/esm/matchers/to-be-required.d.ts.map +1 -1
- package/esm/matchers/to-be-required.js +8 -1
- package/esm/matchers/to-be-required.js.map +1 -1
- package/esm/matchers/to-be-visible.d.ts +2 -1
- package/esm/matchers/to-be-visible.d.ts.map +1 -1
- package/esm/matchers/to-be-visible.js +2 -1
- package/esm/matchers/to-be-visible.js.map +1 -1
- package/esm/matchers/to-contain-element.d.ts +2 -1
- package/esm/matchers/to-contain-element.d.ts.map +1 -1
- package/esm/matchers/to-contain-element.js +2 -1
- package/esm/matchers/to-contain-element.js.map +1 -1
- package/esm/matchers/to-contain-html.d.ts +2 -1
- package/esm/matchers/to-contain-html.d.ts.map +1 -1
- package/esm/matchers/to-contain-html.js +2 -1
- package/esm/matchers/to-contain-html.js.map +1 -1
- package/esm/matchers/to-have-accessible-description.d.ts +2 -1
- package/esm/matchers/to-have-accessible-description.d.ts.map +1 -1
- package/esm/matchers/to-have-accessible-description.js +2 -1
- package/esm/matchers/to-have-accessible-description.js.map +1 -1
- package/esm/matchers/to-have-accessible-errormessage.d.ts +6 -1
- package/esm/matchers/to-have-accessible-errormessage.d.ts.map +1 -1
- package/esm/matchers/to-have-accessible-errormessage.js +6 -1
- package/esm/matchers/to-have-accessible-errormessage.js.map +1 -1
- package/esm/matchers/to-have-accessible-name.d.ts +2 -1
- package/esm/matchers/to-have-accessible-name.d.ts.map +1 -1
- package/esm/matchers/to-have-accessible-name.js +2 -1
- package/esm/matchers/to-have-accessible-name.js.map +1 -1
- package/esm/matchers/to-have-attribute.d.ts +8 -1
- package/esm/matchers/to-have-attribute.d.ts.map +1 -1
- package/esm/matchers/to-have-attribute.js +8 -1
- package/esm/matchers/to-have-attribute.js.map +1 -1
- package/esm/matchers/to-have-class.d.ts +12 -3
- package/esm/matchers/to-have-class.d.ts.map +1 -1
- package/esm/matchers/to-have-class.js +8 -1
- package/esm/matchers/to-have-class.js.map +1 -1
- package/esm/matchers/to-have-description.d.ts +10 -3
- package/esm/matchers/to-have-description.d.ts.map +1 -1
- package/esm/matchers/to-have-description.js +10 -3
- package/esm/matchers/to-have-description.js.map +1 -1
- package/esm/matchers/to-have-display-value.d.ts +7 -1
- package/esm/matchers/to-have-display-value.d.ts.map +1 -1
- package/esm/matchers/to-have-display-value.js +7 -1
- package/esm/matchers/to-have-display-value.js.map +1 -1
- package/esm/matchers/to-have-errormessage.d.ts +3 -3
- package/esm/matchers/to-have-errormessage.js +3 -3
- package/esm/matchers/to-have-focus.d.ts +2 -1
- package/esm/matchers/to-have-focus.d.ts.map +1 -1
- package/esm/matchers/to-have-focus.js +2 -1
- package/esm/matchers/to-have-focus.js.map +1 -1
- package/esm/matchers/to-have-form-values.d.ts +8 -1
- package/esm/matchers/to-have-form-values.d.ts.map +1 -1
- package/esm/matchers/to-have-form-values.js +8 -1
- package/esm/matchers/to-have-form-values.js.map +1 -1
- package/esm/matchers/to-have-style.d.ts +8 -1
- package/esm/matchers/to-have-style.d.ts.map +1 -1
- package/esm/matchers/to-have-style.js +8 -1
- package/esm/matchers/to-have-style.js.map +1 -1
- package/esm/matchers/to-have-text-content.d.ts +2 -1
- package/esm/matchers/to-have-text-content.d.ts.map +1 -1
- package/esm/matchers/to-have-text-content.js +2 -1
- package/esm/matchers/to-have-text-content.js.map +1 -1
- package/esm/matchers/to-have-value.d.ts +2 -1
- package/esm/matchers/to-have-value.d.ts.map +1 -1
- package/esm/matchers/to-have-value.js +2 -1
- package/esm/matchers/to-have-value.js.map +1 -1
- package/esm/matchers/types.d.ts +15 -0
- package/esm/matchers/types.d.ts.map +1 -1
- package/esm/tsdoc-metadata.json +11 -0
- package/esm/vitest-dom.d.ts +882 -0
- package/package.json +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@najemi-software/vitest-dom",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Custom Vitest matchers to test the state of the DOM, forked from jest-dom.",
|
|
6
6
|
"homepage": "https://github.com/Najemi-Software/vitest-dom#readme",
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"
|
|
64
|
+
"api-extractor": "mkdir -p api && [ -z \"${CI}\" ] && (api-extractor run -l) || (api-extractor run)",
|
|
65
|
+
"build": "pnpm run clean && npm-run-all -p build-ts build-check && pnpm run api-extractor",
|
|
65
66
|
"build-check": "tsc",
|
|
66
67
|
"build-ts": "tsc -p tsconfig.build.json",
|
|
67
68
|
"clean": "rm -rf ./esm",
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
"devDependencies": {
|
|
84
85
|
"@gooddata/eslint-config": "11.59.0",
|
|
85
86
|
"@gooddata/oxlint-config": "11.59.0",
|
|
87
|
+
"@microsoft/api-extractor": "^7.59.2",
|
|
86
88
|
"@types/lodash-es": "^4.17.9",
|
|
87
89
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
88
90
|
"@typescript-eslint/parser": "8.58.0",
|