-
Notifications
You must be signed in to change notification settings - Fork 7
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
Updates #101
Updates #101
Conversation
To make it more obvious what's happening when running commands.
"prepublishOnly": "npm run build", | ||
"pretest:integration": "npm run build && npm run demo:build", |
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 removed the pre
scripts, to make it more clear what's happening when running something like npm run integration
@@ -51,7 +51,7 @@ it('accepts a port to run on', () => { | |||
|
|||
return new Promise<void>((done) => { | |||
exec( | |||
'cd demo && npm run storybook:axeOnly -- --port 8111', | |||
'cd demo && npm run storybook:axeOnly -- --port 8112', |
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.
Changed the port because it turns out Chrome is already using 8111 (at least on my machine).
Per vitest-dev/eslint-plugin-vitest#537. Also resolves some peer deps issues.
@@ -1,5 +1,3 @@ | |||
import React from 'react'; |
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.
Updated lint rule config, and these imports are no longer needed.
import typescriptEslint from 'typescript-eslint'; | ||
|
||
/** @type {import("eslint").Linter.Config[]} */ | ||
export default [ |
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.
Converted to ESM config file
Updates