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

Updates #101

Merged
merged 9 commits into from
Sep 23, 2024
Merged

Updates #101

merged 9 commits into from
Sep 23, 2024

Conversation

ahuth
Copy link
Contributor

@ahuth ahuth commented Sep 23, 2024

Updates

  • Eslint to v9
  • All deps
  • Snapshots
  • Change test port so it doesn't conflict with Chrome
  • Refactor pre-* scripts

"prepublishOnly": "npm run build",
"pretest:integration": "npm run build && npm run demo:build",
Copy link
Contributor Author

@ahuth ahuth Sep 23, 2024

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',
Copy link
Contributor Author

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).

@@ -1,5 +1,3 @@
import React from 'react';
Copy link
Contributor Author

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 [
Copy link
Contributor Author

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

@ahuth ahuth merged commit e6d919f into main Sep 23, 2024
4 checks passed
@ahuth ahuth deleted the ah-updates branch September 23, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants