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

feat: rework query selector functions #24

Merged
merged 1 commit into from
May 28, 2024
Merged

feat: rework query selector functions #24

merged 1 commit into from
May 28, 2024

Conversation

43081j
Copy link
Owner

@43081j 43081j commented May 28, 2024

Reworks the query selector functions so they are now sync and do not require a dependency.

Instead of parsing the syntax, we require you to pass in an array of selectors:

// Finds `p` tags at any level below a `div`, cross boundary.
querySelector(['div', 'p'], document);

Also upgrades dependencies and what not:

  • Migrates to web test runner
  • Drops esbuild
  • Adds tshy for dual package stuff
  • Upgrades eslint
  • Introduces a publish workflow
  • Bumps CI node versions

Reworks the query selector functions so they are now sync and do not
require a dependency.

Instead of parsing the syntax, we require you to pass in an array of
selectors:

```ts
// Finds `p` tags at any level below a `div`, cross boundary.
querySelector(['div', 'p'], document);
```

Also upgrades dependencies and what not:
- Migrates to web test runner
- Drops esbuild
- Adds tshy for dual package stuff
- Upgrades eslint
- Introduces a publish workflow
- Bumps CI node versions
@43081j 43081j merged commit 5ed8b6b into master May 28, 2024
3 checks passed
@43081j 43081j deleted the v1 branch May 28, 2024 17:53
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.

1 participant