Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set package node engines #228

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -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)
Expand All @@ -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

Expand All @@ -72,13 +74,15 @@ 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

### [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
Expand All @@ -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
Expand All @@ -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.

Expand Down
3 changes: 3 additions & 0 deletions packages/assert/package.json
Expand Up @@ -32,5 +32,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/browser-lib/package.json
Expand Up @@ -53,5 +53,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/common/package.json
Expand Up @@ -23,5 +23,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/format/package.json
Expand Up @@ -34,5 +34,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/jest/package.json
Expand Up @@ -39,5 +39,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/preset-rules/package.json
Expand Up @@ -30,5 +30,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/test-integration/package.json
Expand Up @@ -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"
}
}
3 changes: 3 additions & 0 deletions packages/test-utils/package.json
Expand Up @@ -21,5 +21,8 @@
},
"devDependencies": {
"@jest/globals": "28.1.3"
},
"engines": {
"node": "^14 || ^16"
}
}
3 changes: 3 additions & 0 deletions packages/wdio/package.json
Expand Up @@ -43,5 +43,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^14 || ^16"
}
}