Граф коммитов

603 Коммитов

Автор SHA1 Сообщение Дата
Keith Cirkel b74432c0b9
run lint & size as part of CI, but not before `npm run test`
The build step is no longer needed for tests, which in part allows us to
drop these.
2022-04-28 09:36:54 +01:00
Keith Cirkel 21e83d3a12
import TS files directly in tests
Now we're using the Web Test Runner, it can consume/transpile TS files
at runtime, so we can import them without the TS build step.
2022-04-28 09:36:49 +01:00
Kristján Oddsson 9326e8dd6c
Merge pull request #202 from github/dependabot/npm_and_yarn/async-2.6.4
chore(deps): bump async from 2.6.3 to 2.6.4
2022-04-26 13:28:12 +01:00
dependabot[bot] b4091fb65d
chore(deps): bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 12:07:27 +00:00
Kristján Oddsson 70021bfc66
Merge pull request #203 from github/add-size-limit
add size-limit test
2022-04-26 13:06:34 +01:00
Keith Cirkel 95d5463c43
add size-limit test 2022-04-26 13:00:16 +01:00
Kristján Oddsson aa18d3a5ac
Merge pull request #201 from github/typescript-tests
Convert tests to TypeScript
2022-04-26 12:37:31 +01:00
Keith Cirkel e2623f9035
Merge branch 'main' into typescript-tests 2022-04-26 12:34:52 +01:00
Kristján Oddsson 8c89b3b908 Use decorators in tests 2022-04-26 11:12:49 +01:00
Kristján Oddsson 3b59357c9f Convert all javascript tests to typescript tests 2022-04-26 11:12:47 +01:00
Kristján Oddsson 3c6c115d2a Convert TypeScript test files using esbuild 2022-04-26 11:12:44 +01:00
Kristján Oddsson f697d51917 Test for all files regardless of extension 2022-04-26 11:12:39 +01:00
Kristján Oddsson fa444dde22 Remove old karma config 2022-04-26 11:12:36 +01:00
Keith Cirkel 00fc037461
Merge pull request #200 from github/catalyst-delegate
Move controller responsibility into delegate
2022-04-26 10:36:31 +01:00
Keith Cirkel 6ad8c13152
Merge branch 'main' into catalyst-delegate 2022-04-26 10:30:43 +01:00
Kristján Oddsson cc5b7c3610 Move controller responsibility into delegate
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-04-25 13:12:13 +01:00
Kristján Oddsson a0f3855697
Merge pull request #199 from github/marky-mark
Introduce extension API
2022-04-25 12:07:32 +01:00
Kristján Oddsson 4d53986af2 Use meta function for attr and target decorators
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-04-25 12:00:23 +01:00
Kristján Oddsson 3bb722f656 Implement meta function
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-04-25 12:00:21 +01:00
Kristján Oddsson 03b11911e7
Delete CNAME 2022-04-12 12:44:55 +00:00
Kristján Oddsson eefd901b92
Create CNAME 2022-04-12 12:44:42 +00:00
Kristján Oddsson c29bbf538e
Merge pull request #196 from github/web-test-runner
Use Modern Webs Test Runner instead of karma
2022-04-07 09:36:23 +01:00
Kristján Oddsson 460f3f1862 Remove all the testing packages that we don't need any more
Co-authored-by: Ned Schwartz <ned@theinterned.net>
2022-04-04 17:29:21 +01:00
Kristján Oddsson 4508bfb375 Replace `chai-spies` with `sinon`
Co-authored-by: Ned Schwartz <ned@theinterned.net>
2022-04-04 17:26:50 +01:00
Kristján Oddsson 5d8fb45028 Don't try to run the karma config as a test
Co-authored-by: Ned Schwartz <ned@theinterned.net>
2022-04-04 17:21:07 +01:00
Kristján Oddsson 972f566abd Import `expect` from `@open-wc/testing`
Co-authored-by: Ned Schwartz <ned@theinterned.net>
2022-04-04 16:40:14 +01:00
Kristján Oddsson c14b9b90db Install `@open-wc/testing`
Co-authored-by: Ned Schwartz <ned@theinterned.net>
2022-04-04 16:37:50 +01:00
Kristján Oddsson 0f01217c25 Install `@web/test-runner` 2022-04-04 16:18:40 +01:00
Kristján Oddsson a8fb3ba59a
Merge pull request #195 from jdanyow/target
Return void from target decorators
2022-04-04 09:27:42 +01:00
Jeremy Danyow 1ace40786a
Return void from target decorators
Fixes #194
2022-04-03 17:55:42 -07:00
Kristján Oddsson d5b55c2bc5
Merge pull request #192 from github/dependabot/npm_and_yarn/ansi-regex-3.0.1
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1
2022-03-29 14:50:37 +01:00
dependabot[bot] 08e776cf8a
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 10:09:43 +00:00
Kristján Oddsson 9ec1b7a935
Merge pull request #184 from github/dependabot/npm_and_yarn/karma-6.3.16
chore(deps-dev): bump karma from 6.3.14 to 6.3.16
2022-03-29 11:09:14 +01:00
dependabot[bot] 99c6131658
chore(deps-dev): bump karma from 6.3.14 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 10:06:39 +00:00
Kristján Oddsson d16d8852dd
Merge pull request #191 from github/initialize-attrs-on-attributechangedcallback
Initialize attrs on attributechangedcallback
2022-03-28 12:58:09 +01:00
Keith Cirkel 4ba1d72ff5
Merge branch 'main' into initialize-attrs-on-attributechangedcallback 2022-03-28 12:44:29 +01:00
Keith Cirkel da15330c56
avoid costly re-initialization of attrs
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:43:51 +01:00
Keith Cirkel 13c78ef953
initialize attrs on attributeChangedCallback
If attrs are used, and attributeChangedCallback fires before
connectedCallback, attrs will be in their initially set state, rather
than reflected from the attribute value, likewise attributes will be
null rather than their attr value.

Initializing attrs on the first attributeChangedCallback call fixes
this.

Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:43:43 +01:00
Kristján Oddsson 18387a4dc9
Merge pull request #190 from github/update-eslint
Update eslint and friends
2022-03-28 12:43:37 +01:00
Keith Cirkel 1935501b3e
fix typescript errors
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:38:10 +01:00
Keith Cirkel 4cf4f01e25
fix lint errors
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:38:04 +01:00
Keith Cirkel dd352bb6c3
turn off unecessary lint rules for this package
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:37:54 +01:00
Keith Cirkel 9d3f328c1f
upgrade eslint and friends
Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
2022-03-28 12:34:00 +01:00
Kristján Oddsson 9de05573a0
Merge pull request #189 from github/add-reuse-note-to-abortcontroller
Add note on AbortController reuse
2022-03-28 10:08:23 +01:00
Keith Cirkel c92fad544a
Update patterns.md 2022-03-28 09:59:53 +01:00
Kristján Oddsson ca46c2903e
Merge pull request #188 from github/add-release-action
Add a release action
2022-03-25 15:58:00 +00:00
Kristján Oddsson 311dd4dbfb Create .github/workflows/publish.yml 2022-03-25 14:52:01 +00:00
Kristján Oddsson f09e423d14
Merge pull request #182 from github/dependabot/npm_and_yarn/follow-redirects-1.14.9
chore(deps): bump follow-redirects from 1.14.7 to 1.14.9
2022-03-25 09:38:56 +00:00
Kristján Oddsson d07f3d6488
Merge branch 'main' into dependabot/npm_and_yarn/follow-redirects-1.14.9 2022-03-25 09:23:03 +00:00
Keith Cirkel 6f595c3aca
Merge pull request #185 from github/document-abortcontroller-with-addeventlistener
document Abortcontroller with addEventListener
2022-03-08 14:44:58 +00:00