Skip to content

Commit 42c43df

Browse files
committed
Created the first version
1 parent 0a5a2bf commit 42c43df

File tree

17 files changed

+4439
-5360
lines changed

17 files changed

+4439
-5360
lines changed

.eslintrc.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
env: {
3+
es2021: true,
4+
node: true,
5+
},
6+
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
7+
overrides: [
8+
{
9+
env: {
10+
node: true,
11+
},
12+
files: [".eslintrc.{js,cjs}"],
13+
parserOptions: {
14+
sourceType: "script",
15+
},
16+
},
17+
],
18+
parser: "@typescript-eslint/parser",
19+
parserOptions: {
20+
ecmaVersion: "latest",
21+
sourceType: "module",
22+
},
23+
plugins: ["@typescript-eslint"],
24+
rules: {
25+
"@typescript-eslint/no-explicit-any": "off",
26+
"@typescript-eslint/no-var-requires": "off",
27+
},
28+
ignorePatterns: ["tests/*", "dev-kit/*", "build/*"],
29+
};

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
open_collective: https://opencollective.com/axe-api
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: NPM Release Publish
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 20
15+
- run: npm install
16+
- run: npm test
17+
- run: npm run build
18+
- uses: JS-DevTools/npm-publish@v1
19+
with:
20+
token: ${{ secrets.NPM_TOKEN }}

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- develop
8+
- rc
9+
10+
jobs:
11+
units:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [16.x, 18.x, 20.x]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm ci
23+
- run: npm run build --if-present
24+
- run: npm run test
25+
26+
linting:
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
node-version: [20.x]
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Use Node.js ${{ matrix.node-version }}
34+
uses: actions/setup-node@v1
35+
with:
36+
node-version: ${{ matrix.node-version }}
37+
- run: npm install
38+
- run: npm run lint

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Release Notes
22

3-
## [0.1.0 (2023-04-05)](https://github.com/axe-api/axe-api/compare/0.30.0...0.22.0)
3+
## [0.1.0 (2023-07-23)]
44

5-
-
5+
### Features
6+
7+
Initial version of the package

0 commit comments

Comments
 (0)