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

209 Коммитов

Автор SHA1 Сообщение Дата
Graphitation Service Account 870fe48f70 applying package updates 2024-10-28 16:18:07 +00:00
Stanisław 2824e713ba
feat(nova-react-test-utils): make types for reference entries stronger and error message more friendly (#128)
* make types for reference entries stronger and error message more friendly

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
Co-authored-by: Kerryn Frampton <56459261+kerrynf@users.noreply.github.com>
2024-10-28 09:12:17 -07:00
Graphitation Service Account 97e0e225e2 applying package updates 2024-10-25 16:58:53 +00:00
Stanisław 544e8218d9
fix(nova-react-test-utils): bump relay, relax generate types in relay case, add example and docs for working with client extensions (#127)
* bump relay to 18 and mention client extensions

* add story with extensions

* bump graphitation packages

* fix readme

* rearrange docs

* fix readme again

* fix one story

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-10-25 09:53:26 -07:00
Liviu S. Dima 4b4cfca90f
Updated for https://dev.azure.com/DomoreexpGithub/48875bf1-082b-425a-a124-7146354d472f/_build?definitionId=9 by using baselines generated in https://dev.azure.com/DomoreexpGithub/48875bf1-082b-425a-a124-7146354d472f/_build/results?buildId=1272 (#124)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2024-10-14 13:13:09 +03:00
Liviu S. Dima ffc2f101e0
Migrate release pipeline to governed template (#122)
* Migrate release pipeline to governed template

* Update Release task to 1ES

* Update to valid config.

* Use official template

* Remove manifest generation as it is part of publish artifacts.

* Simplify pipeline and remove unneeded files.
2024-10-14 11:34:26 +02:00
Graphitation Service Account cb8c46f18c applying package updates 2024-10-08 17:30:41 +00:00
Stanisław 366ed60373
fix(nova/react): bring back default import for invariant (#121)
* bring back default import for invariant

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-10-08 19:21:20 +02:00
Graphitation Service Account 937772bbf8 applying package updates 2024-10-07 17:16:09 +00:00
Stanisław 3d393aaea1
fix(nova-react-test-utils): replace default imports with * imports (#120)
* change to * as imports

* Change files
2024-10-07 10:07:19 -07:00
Graphitation Service Account 0eaf50c95e applying package updates 2024-10-03 12:29:24 +00:00
Stanisław f87954bbe0
chore(nova-react-test-utils): refactor for better dependency split (#119)
* move relay/apollo specific deps out of shared package

* update lock file

* fix imports in tests

* Change files

* rename for consitency

* rename for clarity

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-10-03 12:21:16 +00:00
Graphitation Service Account e005e3d087 applying package updates 2024-10-03 12:19:11 +00:00
Stanisław 0ff8fb479a
fix(nova-react-test-utils): fix issue with store being shared between stories (#118)
* fix issue with store being shared between stories

* Change files

* update readme

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-10-03 14:08:37 +02:00
Graphitation Service Account 0c08213339 applying package updates 2024-09-23 17:25:14 +00:00
Stanisław d8c4944fde
fix(nova-react-test-utils): prevent component unmount when using decorator with RTL rerender (#116)
* don't unmount on RTL rerender

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-23 10:13:36 -07:00
Graphitation Service Account cccbf3c596 applying package updates 2024-09-20 16:18:05 +00:00
Stanisław d75653a102
fix(nova-react-test-utils): fix StoryObjWithoutFragmentRefs type (#115)
* fix a type

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-20 18:09:35 +02:00
Graphitation Service Account d9f911bb8e applying package updates 2024-09-20 13:39:06 +00:00
Stanisław f58694195d
fix(nova-react-test-utils): improve types for WithoutFragmentRefs (#114)
* improve WithoutRefs type

* improve the type

* Change files

* add tests for types

* relax the check

* more utils and tests

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-20 15:28:12 +02:00
Graphitation Service Account 0f28fef85c applying package updates 2024-09-19 14:17:57 +00:00
Stanisław 9f8fe147f1
fix(nova-react-test-utils): throw error from apollo (#112)
* fix deps and improve comment

* throw error from apollo and add tests to assert unified behavior

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-19 14:09:50 +00:00
Graphitation Service Account 50dd52888b applying package updates 2024-09-19 14:05:02 +00:00
Stanisław 5199008c31
fix(nova-react-test-utils): adjust types to properly support pure Relay components (#113)
* support relay

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-19 15:56:15 +02:00
Graphitation Service Account 02451e6ef8 applying package updates 2024-09-18 22:06:51 +00:00
Stanisław 3fd09307e6
feat(nova-react-test-utils): implement EventingProvider utility (#111)
* implement EventingProvider

* Change files

* update readme

* bump duct tape

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-18 21:57:51 +00:00
Graphitation Service Account b68346cf49 applying package updates 2024-09-18 18:00:28 +00:00
Stanisław 09140595d2
fix(examples): improve handling of local jest config and remove RTL clean hack (#110)
* remove clean hack

* improve hadnling of jest config

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-18 10:51:30 -07:00
Graphitation Service Account c16fcb87b2 applying package updates 2024-09-17 19:04:52 +00:00
Stanisław 37d880dba4
fix(react-test-utils): fix remaining integration issues (#109)
* fix issues with dependencies

* Change files

* try to fix jest

* fix lock

* remove wrong imports

* add eslint

* fix build issues

* Change files

* update readme

* try removing preset

* try ts-jest bump

* use local tsconfigs for jest

* adjust lage config

* bring back files to prevent need from consumers to use moduleResolution bundler

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-17 11:56:25 -07:00
Graphitation Service Account 32118d3ee3 applying package updates 2024-09-16 16:02:38 +00:00
Stanisław 3d8bdd5959
feat(react-test-utils): fix some issues with dependenies (#108)
* fix issues with dependencies

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-16 08:51:49 -07:00
Graphitation Service Account 10eaca32c6 applying package updates 2024-09-06 08:14:42 +00:00
Stanisław 4bf1c3febd
chore(nova-react-test-utils): fix readme (#107)
* fix readme

* Change files

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-06 10:02:21 +02:00
Graphitation Service Account 0ab57ba29e applying package updates 2024-09-05 20:13:44 +00:00
Kerryn Frampton 68c1e47fe2
Update nova-facade-release.yml (#106)
Update pool for compliance checks
2024-09-05 20:59:27 +02:00
Kerryn Frampton 6b5458ea7d
Update nova-facade-release.yml (#105)
Change the pool again to see if this one works
2024-09-05 18:58:25 +02:00
Kerryn Frampton bfc13c0139
Update nova-facade-release.yml (#104)
Changing the pipeline pool to latest valid one.
2024-09-05 18:50:10 +02:00
Stanisław 5ed5ddccb9
breaking(nova-react-test-utils): add support for Relay (#103)
* Port Relay decorator from 1js into facade

* Fix @types/react conflict

* Setup relay store

* Temporary solution to Relay module declaration error

* Relay stories working

* Working relay and apollo stories in same package

* Move Feedback.stories.tsx

* Working mutations

* Some cleanup

* Extract decorator types to shared file

* Type-safety with shared decorator

* Apollo fragment-based stories

* almost working tests

* improve command and rename

* fix regex to work on windows

* get tests to run (3 failures remaining)

* apollo decorator working with shared code, time to reimplement MockPayloadGenerator for relay

* correct types and almost working impl

* more fixes, todo: independency of stories, error scenario

* fix mutation failure  story

* fix independency of stories

* fix tsc

* refactor some exports and fix todos

* add todos

* readme

* Add documentation of new properties

* Move sentence

* try to sort out dependencies

* move to folders

* cleanup: renames and exposing same utils

* test utils

* Change files

* working separate entry points

* fix path

* Change files

* use optional peer deps

* remove not needed change

* add missing option to pass generateFunction

* use lib version

* fix inconsistencies between apollo/relay stories

* fix tests

* cleanup

* Update docs and some imports

* Add FAQ for `generateFunction` and remove outdated fragment FAQ

* Add subpath to docs and make sure subpaths are used everywhere

* Fix CI

* update docs

* use stronger typings

---------

Co-authored-by: Jakob Hansen <jakobhansen@microsoft.com>
Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-09-04 18:33:58 +02:00
Graphitation Service Account fb34192416 applying package updates 2024-08-16 09:50:08 +00:00
DarynaAkhmedova f12fa1131a
Add onCompleted option to useMutation (#102)
* add onCompleted option to useMutation

* Change files
2024-08-16 11:40:00 +02:00
Graphitation Service Account 1010df3695 applying package updates 2024-08-05 00:10:12 +00:00
Stanisław ea871bbe03
feat: bump react to version 18 and run all tests/stories in strict mode (#101)
* bump react

* Change files

* use strict mode in stories and tests

* bump node version

* make strict mode hack a little clearer

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-07-26 18:07:45 +02:00
Kerryn Frampton a3380cdb77
Update nova-facade-release.yml to add weekly pipeline check (#99) 2024-05-27 09:58:08 +02:00
Graphitation Service Account 3370b6aadc applying package updates 2024-05-24 22:25:18 +00:00
Antony Njuguna 7bd7084a2f
Fix RefetchOptions onComplete function type (#100)
* Fix RefetchOptions onComplete type

* Change files

* Update change-file email
2024-05-24 15:18:19 -07:00
Graphitation Service Account d8d101babd applying package updates 2024-05-13 20:36:36 +00:00
Stanisław fcac2f11d5
feat: bump storybook to latest 7.x and adjust improts (#98)
* bump storybook

* Change files

* dedupe and skipLibCheck

---------

Co-authored-by: Stanislaw Wilczynski <Stanislaw.Wilczynski@microsoft.com>
2024-05-08 10:21:22 -07:00
Graphitation Service Account 6a593bc67c applying package updates 2024-04-05 04:20:11 +00:00
Iurii Kondratiuk f3910ccefd
Use FetchPolicy in useLazyLoadQuery (#97)
* Use FetchPolicy in useLazyLoadQuery

* Fix

* Change files

* Fix
2024-04-04 21:13:37 -07:00