diff --git a/README.md b/README.md index 6a0ee944..2b8e4d12 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ This repo contains the following packages for automated accessibility testing: ### [Jest integration](./packages/jest/README.md) [![published npm version of @sa11y/jest](https://img.shields.io/npm/v/@sa11y/jest)](https://www.npmjs.com/package/@sa11y/jest) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/jest) - Provides a `toBeAccessible()` accessibility matcher for Jest - integrates the [assertAccessible API](./packages/assert/README.md) with the [Jest assertion API](https://jestjs.io/docs/en/using-matchers) @@ -64,6 +65,7 @@ This repo contains the following packages for automated accessibility testing: ### [WDIO integration](./packages/wdio/README.md) [![published npm version of @sa11y/wdio](https://img.shields.io/npm/v/@sa11y/wdio)](https://www.npmjs.com/package/@sa11y/wdio) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/wdio) - Provides `assertAccessible()`, `assertAccessibleSync()` APIs that can be used with [WebdriverIO](https://webdriver.io/) to check accessibility of web pages rendered in browsers @@ -72,6 +74,7 @@ This repo contains the following packages for automated accessibility testing: ### [assertAccessible API](./packages/assert/README.md) [![published npm version of @sa11y/assert](https://img.shields.io/npm/v/@sa11y/assert)](https://www.npmjs.com/package/@sa11y/assert) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/assert) - Checks DOM or HTML Element for accessibility issues and throws an error if a11y issues are found - To add accessibility testing to your Javascript unit tests _not_ using Jest, use this package @@ -79,6 +82,7 @@ This repo contains the following packages for automated accessibility testing: ### [a11y results formatter](./packages/format/README.md) [![published npm version of @sa11y/format](https://img.shields.io/npm/v/@sa11y/format)](https://www.npmjs.com/package/@sa11y/format) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/format) - Formats raw JSON output of a11y issues from [axe] into an easy to consume format by consolidating and cross-referencing - Used by assert Accessible API and Jest a11y matcher @@ -87,6 +91,7 @@ This repo contains the following packages for automated accessibility testing: ### [Preset accessibility rules](./packages/preset-rules/README.md) [![published npm version of @sa11y/preset-rules](https://img.shields.io/npm/v/@sa11y/preset-rules)](https://www.npmjs.com/package/@sa11y/preset-rules) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/preset-rules) - Provides Base, Extended, Full accessibility preset rules as [axe] configuration - The Base preset rule is used by default in the Jest a11y matcher and assert Accessible APIs @@ -95,6 +100,7 @@ This repo contains the following packages for automated accessibility testing: ### [Minified bundle for testing in browser](./packages/browser-lib/README.md) [![published npm version of @sa11y/browser-lib](https://img.shields.io/npm/v/@sa11y/browser-lib)](https://www.npmjs.com/package/@sa11y/browser-lib) +![node-current (scoped)](https://img.shields.io/node/v/@sa11y/browser-lib) - Provides a minified version of selected `@sa11y` libraries to be injected into a browser (using webdriver) and executed from integration testing workflows. diff --git a/packages/assert/package.json b/packages/assert/package.json index 37a602bc..ab1a3879 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -32,5 +32,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/browser-lib/package.json b/packages/browser-lib/package.json index 4f312232..4d6d6ff1 100644 --- a/packages/browser-lib/package.json +++ b/packages/browser-lib/package.json @@ -53,5 +53,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/common/package.json b/packages/common/package.json index d556eaa9..e05269f2 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -23,5 +23,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/format/package.json b/packages/format/package.json index 75cad9f5..b197b63d 100644 --- a/packages/format/package.json +++ b/packages/format/package.json @@ -34,5 +34,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/jest/package.json b/packages/jest/package.json index e51ba1b6..3dd63161 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -39,5 +39,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/preset-rules/package.json b/packages/preset-rules/package.json index 6e69a161..d4d07c32 100644 --- a/packages/preset-rules/package.json +++ b/packages/preset-rules/package.json @@ -30,5 +30,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/test-integration/package.json b/packages/test-integration/package.json index 026c325e..a4bc7648 100644 --- a/packages/test-integration/package.json +++ b/packages/test-integration/package.json @@ -16,5 +16,8 @@ "@sa11y/jest": "4.0.0-alpha.0", "@sa11y/test-utils": "4.0.0-alpha.0", "@sa11y/wdio": "4.0.0-alpha.0" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 52eb29e0..8ebeebf3 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -21,5 +21,8 @@ }, "devDependencies": { "@jest/globals": "28.1.3" + }, + "engines": { + "node": "^14 || ^16" } } diff --git a/packages/wdio/package.json b/packages/wdio/package.json index 3e2c17a4..bacd4e4b 100644 --- a/packages/wdio/package.json +++ b/packages/wdio/package.json @@ -43,5 +43,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^14 || ^16" } }