-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: add a browser lib to produce sa11y minified JS bundle #32
Merged
Merged
Changes from 112 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
474aa7d
build(deps): add semantic release deps
b26f5fc
build(release): add semanic release config
c9f98f2
build: add cmds to list packages and its deps
bfd79e4
build(deps): add cmds for versioning, publishing, dep check
a0d8737
build: add cmds to list packages and its deps
805210a
build: fix dep check cmd, add lint:deps cmd
066522a
fix(deps): add missing dependencies in package json
922af5d
chore(release): bump versions
cef8a48
build: fix dep check cmd
521a197
build: add deps, config for semantic release github plugin
66ad552
build: add git hook to run yarn install when switching branches
dd2bb29
build: change release cmd, config in prep for merge to release branch
07fd558
docs(changelog): remove obsolete links, add PR links, cleanup
03d2888
Merge branch 'release-semantic' into release
384f46c
build: add test debug script and update corresponding docs
219f2c2
docs(contributing): add notes on release process
c6cc630
chore: update yarn lockfile
a58303e
docs(contributing): clarify about when to use release branch
20b209f
docs(jest): updates to readme for clarity
36241e3
docs(jest): add clarification on recommended ruleset
293fa02
test(cspell): add flagwords
b4e9a64
test(integ): add integ test to inject axe using wdio
b897c2c
docs(contrib): add note about yarn installing when changing branches
ef565c8
build(wdio): add scafolding for wdio package
7fe2de6
build(wdio): add dev deps for wdio using wdio cli
2fd6e4e
build(wdio): add pkgs,config for wdio typescript integration
95d5549
test(wdio): add tests to inject axe using wdio
23e50ae
feat(wdio): add assert accessible API for WDIO
ee0b97a
test(wdio): add tests using the wdio assert API
6db20b4
revert(wdio): revert obsolete code in integ tests package
31bfcf8
test(wdio): exclude wdio tests from jest config
d7c9ab3
build(test-integ): remove obsolete dev deps from test integ package
0db39cd
build(wdio): remove mocha type defs that were conflicting with jest
7116512
build(wdio): fix eslint config to include wdio config
1919b93
build(wdio): add wdio to test run scripts in package json
3141489
Merge branch 'master' of github.com:salesforce/sa11y into wdio
1b87f25
Merge branch 'update-docs-post-initial-release' into wdio
f2c423d
build(wdio): fix missing deps in package json
8c23ffb
docs: fix all Readme headings and structure for consistency
c7598db
build(wdio): add headless option for chromedriver
fe7b0d7
ci(circleci): add chrome browser and chrome driver to ci env
0aa8eb0
refactor(wdio): remove redundant run script, reorg imports
3d1aa24
build(wdio): add alpha suffix to version and move axe dep
980db91
chore: add version to root package json
4243266
build: update axe-core to 3.5.5
9bb714a
docs(wdio): add wdio section to root readme
b4b6f40
build: fix incorrect yarn registry
5161956
build: remove semantic release
ead0bc6
test(jest): add matcher test for non a11y error scenario
d079445
build(wdio): add test watch script, config for wdio tests
80cc8cb
fix(jest): handle a11y error being undefined when used with not matcher
5ecf8b6
fix(format): check explicitly for undefined to allow custom formatter
7928961
build(jest): add @sa11y/common as dev dep
2fc154f
build: move lint staged config to its own file
c6bff2b
fix(jest): fix a11y error being undefined when used with not matcher
76cce60
chore: update dependencies
5fc3734
build: add run script to do a clean build and run checks, tests
471bb11
build: unpin accidentally pinned dependencies
fe13959
build: replace ncu with yarn upgrade interactive
8795f4d
build: update dependencies using yarn upgrade
beabb66
build: remove obsolete ncu config file
81a0e4c
build(release): remove obsolete lerna config as we are not tagging, c…
24bdb34
build(release): modify changelog, version commands
90926a4
docs: add changelog for latest changes
21c3c30
refactor(wdio): extract common code out of assert, wdio
6c2181d
build(wdio): remove wdio sync dependency
f159b7c
fix(format): fix a11y error message to use formatted output
c9fed13
build(common): add axe core dependency
a9574af
refactor(preset-rules): rename recommended preset rule to base
d9fc379
refactor(preset-rules): rename extended ruleset to recommended
7d24809
ci(github): add codeowners file
6367dd7
feat(preset-rules): add a full ruleset with all rules from axe
bbf6918
docs: update changelog with preset rule name changes
ce1275a
refactor(test-utils): de-duplicate test html data between wdio and te…
8d3116d
chore(release): bump versions
ba7a85a
build(wdio): add test-utils as dev dep
70222d0
test(wdio): fix test file paths for wdio tests
ab1d3b3
build: add rollup dep and rollup plugins
6d85328
build(rollup): add rollup config, modify common tsconfig
616f244
build(rollup): fix and override module format in rollup config
a91fd9b
build(rollup): move rollup config to assert package
881c3c2
docs: replace blob/master in readme urls with tree/master
7eba333
feat(browser-lib): add a new package for producing bundled minified v…
c9b10dc
refactor(browser-lib): move rollup config from assert to browser-lib
aef1403
build(browser-lib): add deps for browser lib
9db422d
refactor(browser-lib): fix exports to be specific
75a48d7
test(wdio): move wdio config to root, add debug opts
b2d70b6
test(browser-lib): add test to inject min js and verify injection
dcb795c
build(browser-lib): fix rollup config to make the injection work
f09e137
test(browser-lib): refactor test to add pre and post condition checks
9de6776
test(wdio): add log output dir when in debug mode
4fcdf43
build: update deps
efb10cc
build: extract out common wdio dev deps to root
d2e84a2
test(browser-lib): include browser lib wdio test in root run script
0471aa2
refactor: move axe version const to common pkg
85d6c83
test(browser-lib): expand test to check for axe in addition to sa11y
3353149
build(browser-lib): add browser build step to build ci run script
mohanraj-r a3354b9
Merge remote-tracking branch 'origin/master' into add_browser_lib
mohanraj-r fca268e
refactor(wdio): move wdio config from wdio package to root to enable …
mohanraj-r 5ce25f6
build: rename script to build minified js bundle
mohanraj-r d47ddf8
test(browser-lib): refactor to remove redundant async
mohanraj-r cb50d6c
docs(browser-lib): add example illustrating usage
mohanraj-r d607d41
refactor(browser-lib): reuse namespace in rollup config
mohanraj-r 6f052e6
test(wdio): add support for debug flag
mohanraj-r a8420ec
build: update dependencies, changelog, version
mohanraj-r 4778508
ci: add code coverage config
mohanraj-r bfa6617
ci: add codecov badge to readme
mohanraj-r a6e8c2b
ci: use codecov npm pkg instead of circleci orb
mohanraj-r 301e2fc
ci: add CodeQL analysis by github
mohanraj-r be9d002
build: update deps - rollup, eslint
mohanraj-r 773a678
ci: remove obsolete github workflow configs
mohanraj-r a17818d
docs: add clarification on browser lib usage
mohanraj-r 2de8aa4
refactor(browserlib): remove camelcase in nameSpace
mohanraj-r 1f90e84
build(browserlib): add un-minified output in addition to minified bundle
mohanraj-r 40fc225
build: refactor build cmd to include minified bundle build
mohanraj-r acce56d
docs(browserlib): add Java example to illustrate usage
mohanraj-r ccec14f
build(browserlib): add a debug flag to build cmd
mohanraj-r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: 'CodeQL' | ||
|
||
on: | ||
push: | ||
branches: [master, media] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [master] | ||
schedule: | ||
- cron: '0 22 * * 2' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
|
||
# If this run was triggered by a pull request event, then checkout | ||
# the head of the pull request instead of the merge commit. | ||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
# Override language selection by uncommenting this and choosing your languages | ||
with: | ||
languages: javascript | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"ignorePaths": ["node_modules/**", "package.json"], | ||
"ignoreWords": ["circleci", "CNCF", "dlitem", "doctoc", "SPDX", "tsdoc", "wcag", "wdio", "webdriverio"], | ||
"ignoreWords": ["circleci", "CNCF", "dlitem", "doctoc", "iife", "SPDX", "tsdoc", "wcag", "wdio", "webdriverio"], | ||
"flagWords": ["master-slave", "slave", "blacklist", "whitelist"], | ||
"allowCompoundWords": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
comment: | ||
layout: 'reach, diff, files' | ||
branches: # branch names that can post comment | ||
- 'master' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect this to run during the normal
build
, instead of onlybuild:ci
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Fixed. Was trying to hold on to
tsc --build
being used only once and reusingyarn build
.