113 Commits

Author SHA1 Message Date
Daishi Kato
4a5e814a0e
chore: update dev dependencies (#3159)
* chore: update dev dependencies

* downgrade plugin-typescript
2025-06-26 23:07:40 +09:00
Daishi Kato
ceb9744ac7
chore: update dev dependencies (#3128) 2025-05-21 20:47:28 +09:00
Daishi Kato
2a53f2ec7e
chore(deps): update dev dependencies (#3104) 2025-05-02 08:32:49 +09:00
Wonsuk Choi
473cfbf5ad
ci(.github/workflows): rename 'cr' to 'preview-release' (#3069) 2025-04-15 20:12:20 +09:00
Wonsuk Choi
35f5cbff1f
ci(.github/workflows): rename 'compressed-size-action' to 'compressed-size' (#3070)
* ci(.github/workflows): rename 'compressed-size-action' to 'compressed-size'

* ci(.github/workflows/compressed-size.yml): rename the job name from 'compressed-size' to 'compressed_size'
2025-03-30 07:22:52 +09:00
Wonsuk Choi
45974540da
ci(.github/workflows): add 'test.yml' and rename job (#3059)
* ci(.github/workflows/lint-and-type.yml): add matrix strategy for parallel execution

* ci(.github/workflows/lint-and-type.yml): set 'fail-fast' to 'false'

* ci(.github/workflows): change jobs name

* ci(.github/workflows): add test.yml

* ci(.github/workflows/test.yml): add if condition

* ci(.github/workflows/test-old-typescript.yml): rename job to 'test_old_typescript'

* ci(.github/workflows/test.yml): remove matrix strategy

* ci(.github/workflows/test.yml): add comment in build script

* ci(.github/workflows/test.yml): change test script to sequentially
2025-03-19 10:52:22 +09:00
daishi
979ce7de92 disable blank issues 2025-03-01 08:19:40 +09:00
Marcin Kulpa
90f45eb076
Chore/enhance prettier config (#3022)
* chore: enhance prettier config

* chore: fix prettier issues

* Update package.json

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-02-20 10:28:40 +09:00
David Maskasky
7df4874200
add pnpm run fix script and update pr template (#2996) 2025-02-05 12:15:46 +09:00
Wonsuk Choi
49ee6313db
chore(*): replace 'pnpm <command>' with 'pnpm run <command>' (#2991) 2025-02-04 20:32:11 +09:00
daishi
4f64985b52 do not run test before publish 2025-01-23 22:18:26 +09:00
Daishi Kato
6eff6e7eec
chore(deps): update dev dependencies (#2944) 2025-01-07 23:17:07 +09:00
David Maskasky
07b32d68ad
change prettier to fix:format (#2936)
* change prettier to fix:format

* empty commit

---------

Co-authored-by: daishi <daishi@axlight.com>
2025-01-06 12:36:20 +09:00
Wonsuk Choi
6759fcbb58
chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' (#2933)
* chore(.github/workflows): update 'node-version' to 22 in 'actions/setup-node'

* Update .github/workflows/compressed-size-action.yml

Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>

* chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node'

* chore(.github/workflows): add single quote for consistency

* Update .github/workflows/test-multiple-versions.yml

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

---------

Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-01-04 11:27:41 +09:00
Wonsuk Choi
5d92ad2767
chore(.github/workflows/test-multiple-versions.yml): improve workflow with removing duplicated configs (#2920) 2024-12-20 09:43:51 +09:00
Wonsuk Choi
a7f51283a2
chore(.github/workflows): improve workflow with removing duplicated configs (#2918) 2024-12-19 22:00:49 +09:00
Mohammad Bagher Abiyat
382eeaca0a
chore: pkg.pr.new (#2904)
* init

* add a new line

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-16 16:25:30 +09:00
Wonsuk Choi
fb6fb3595e
chore(.github/workflows): unify format style (#2894) 2024-12-13 11:56:49 +09:00
Wonsuk Choi
afe9c6161a
chore(.github/workflows): update actions/setup-node's node-version 18 to 20 (#2893) 2024-12-12 21:17:54 +09:00
Danilo Britto
5a4d771272
feat(vitest): update vitest config (#2881) 2024-12-06 13:18:45 +09:00
Daishi Kato
d4549134e3
chore(deps): update dev dependencies (#2880) 2024-12-04 23:55:19 +09:00
Daishi Kato
1068ff9d7f
chore(deps): update dev dependencies (#2826) 2024-10-30 20:58:49 +09:00
Daishi Kato
803d1c8e4f
chore: update dev dependencies (#2787) 2024-10-14 22:49:31 +09:00
Daishi Kato
d77974992a
chore(deps): update dev dependencies (#2743) 2024-09-15 12:02:18 +09:00
Daishi Kato
88ee69f3e1
chore: enable isolatedDeclarations (#2738) 2024-09-15 11:13:40 +09:00
Antoine BERNIER
9e8b7a5eea
chore: using pmndrs/docs v2 2024-08-29 09:28:36 +02:00
Daishi Kato
08aadaffc1
chore(deps): update dev dependencies (#2702)
* chore(deps): update dev dependencies

* typescript vers
2024-08-27 10:19:40 +09:00
Antoine BERNIER
e051a8254a
fixing pmndrs/docs workflow to @v1 2024-08-22 16:45:22 +02:00
Daishi Kato
4c5cb7c6cc
website: add github link (#2687) 2024-08-18 21:27:50 +09:00
Daishi Kato
9b26718d6f
chore: bear.jpg in ./docs (#2684) 2024-08-16 09:48:22 +09:00
Daishi Kato
e247220ece
v5 (#2138)
* prepare for the next major version

* [v5] breaking: drop default exports (#2238)

* fix: drop default exports for v5

* chore: remove default from cjs build

* refactor: export shallow in v5

* fix: remove `addModuleExport` option for cjs.

* [v5] breaking: drop deprecated features (#2235)

* fix: remove deprecated v4 features

* chore(build): remove context

* docs(typescript): remove deprecated equals api

* docs(persist): remove old persist api

* chore: run yarn prettier on typescript docs

* Discard changes to docs/guides/typescript.md

* Discard changes to docs/integrations/persisting-store-data.md

* Discard changes to tests/shallow.test.tsx

* Discard changes to tests/vanilla/subscribe.test.tsx

* [v5] breaking: make React 18 as minimal requirement (#2236)

* fix: update package.json to require react 18+

* chore: update github actions to test on react 18+

* chore: remove devtools-skip hack from actions

* chore(test): remove CI-SKIP from devtools tests

* [v5] breaking: make use-sync-external-store an optional peer dependency (#2237)

* chore: make use-sync-external-store optional peerDep

* fix: use correct versions in package.json

* [v5] breaking: require TypeScript 4.5 and update tests (#2257)

* breaking(types): TS requirement

* wip: latest only

* wip: latest only 2

* drop ts <4.4

* wip: do not skip lib checkes

* use latest node types

* drop ts 4.4

* [v5]: drop "module" condition  (#2270)

* Update package json in order to remove module

* Update rollup config in order to remove module config

* Update patch esm script

* Update package json to general exports and update node version (#2272)

* [v5]: drop UMD/SystemJS builds (#2287)

* Update rollup config in order to drop system js and umd builds

* Update packages

* Clean up files

* Update rollup config

* Update gh workflows

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Testing

* Minor changes

* Minor fixes

* remove `WithReact` type (#2300)

* 5.0.0-alpha.0

* [v5]: do not depend on use-sync-external-store (#2301)

* [v5]: do not depend on use-sync-external-store

* memo get(server)snapshot

* 5.0.0-alpha.1

* [v5]: refactor useMemoSelector (#2302)

* [v5]: refactor useMemoSelector

* add a test

* Revert "[v5]: refactor useMemoSelector"

This reverts commit b3c8b15586a270d12c335e566975021adf86c815.

* Revert "Revert "[v5]: refactor useMemoSelector""

This reverts commit 3c47301d23e18dffb7d72df36595f83570d15d08.

* [v5]: separate react entry point (#2303)

* 5.0.0-alpha.2

* 5.0.0-alpha.3

* refactor: Switch to Object.hasOwn (#2365)

* [v5] drop es5 (#2380)

* update yarn lock

* 5.0.0-alpha.4

* [v5]: follow React "standard" way with breaking behavioral change (#2395)

* [v5]: follow React "standard" way with breaking behavioral change

* add test

* 5.0.0-alpha.5

* [v5] Rewrite shallow to support iterables (#2427)

* [v5] fix rollup config for cjs (#2433)

* 5.0.0-alpha.6

* no production build test

* recover types that are dropped in #2462

* remove unused replacement

* [v5] Remove Devtools warning (#2466)

* chore: remove devtools extension warning

* docs: add devtools link to readme

* chore: remove unused test

* chrome: remove unused tests

* chore: remove unused test

* Revert "chore: remove unused test"

This reverts commit 0fa2a75f4936d960f703bf19e8f3505962cd628e.

* update test name

* update pnpm lock

* fix merge main

* add migration guide

* fix typos

* 5.0.0-beta.0

* update migration doc

* fix merge main

* fix merge main (prettier)

* 5.0.0-beta.1

* fix(types)!: require complete state if `setState`'s `replace` flag is set (#2580)

* fix(types): require complete state if `setState`'s `replace` flag is set

* switch to variant 2

* fix type errors

* update setState types for devtools and immer

* make devtools setState non-generic

* add migration guide

* merge migration guides

* run prettier

* Update tests/middlewareTypes.test.tsx

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: daishi <daishi@axlight.com>

* 5.0.0-beta.2

* move v5 migration doc

* fix ci

* missing commmit

* remove unused rule exclusion

* comment about react compiler

* revert eslint config

---------

Co-authored-by: Charles Kornoelje <33156025+charkour@users.noreply.github.com>
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
Co-authored-by: Ekin Dursun <ekindursun@gmail.com>
Co-authored-by: Simon Farshid <simon.farshid@outlook.com>
2024-08-16 09:41:00 +09:00
Antoine BERNIER
24542f6664
chore: pmndrs/docs workflow (#2674)
* Create docs.yml

* home_redirect

* Update docs.yml

* Add files via upload

* Update docs.yml

* Rename bear.jpg to logo.jpg

* Add files via upload

* Update docs.yml

* Update docs.yml
2024-08-15 23:53:30 +02:00
Daishi Kato
a00f3fa1ff
chore(deps): update dependencies (#2680) 2024-08-15 11:13:14 +09:00
Daishi Kato
66f3a029fb
chore: enable verbatimModuleSyntax in tsconfig (#2649) 2024-07-20 17:15:21 +09:00
daishi
688ddc9f92 update compressed-size-action.yml 2024-07-17 11:34:59 +09:00
Alex Yang
33cd0c0dd1
ci: fix pnpm setup (#2628)
* ci: fix pnpm setup

* ci: update

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-07-09 11:00:34 +09:00
Daishi Kato
48a4d8742d
chore(deps): update dev dependencies (#2620)
* chore(deps): update dev dependencies

* update old ts

* use eslint 8
2024-06-26 12:35:56 +09:00
daishi
7e15364dea chore: discussion template 2024-06-22 23:42:35 +09:00
daishi
18043c12a3 chore: issue template 2024-06-19 21:01:31 +09:00
Daishi Kato
88ef3407ee
chore(deps): update dev dependencies (#2582)
* chore(deps): update dev dependencies

* empty commit
2024-06-05 11:04:35 +09:00
Daishi Kato
6750ac19c9
chore: publish workflow (#2569)
* chore: publish workflow

* trigger with release

* fix
2024-05-27 21:10:53 +09:00
Daishi Kato
92a340a31a
chore(deps): update dev dependencies (#2565)
* chore(deps): update dev dependencies

* update react@rc
2024-05-22 09:25:21 +09:00
Daishi Kato
6d6383054f
Migrate to pnpm (#2545)
* migrate to pnpm

* some fixes

* simplify

* some more adjustments
2024-05-12 14:43:45 +09:00
Daishi Kato
e00c69f82b
chore: old ts versions to test in ci (#2469) 2024-04-07 20:41:09 +09:00
Daishi Kato
d57072caf5
update vitest (#2462)
* update vitest

* use resolve

* patch for older ts

* for older ts

* hack with any

* for other builds

* wip: for umd

* Revert "wip: for umd"

This reverts commit a5c0d6beaa80cbbdcad7961b77d593effd6a83c8.

* wip: esm

* wip: system

* Revert "wip: system"

This reverts commit aa919631a94a5b321fa9f2ec6c26b826c37ca3b0.

* wip: umd

* wip: hack cjs

* system cannot be tested
2024-04-06 20:48:21 +09:00
Daishi Kato
96d6bb2ae9
chore(deps): update dev dependencies (#2379) 2024-03-02 11:33:31 +09:00
Daishi Kato
e174cc8910
chore(deps): update dependencies (#2345) 2024-02-17 11:05:36 +09:00
Daishi Kato
d12b4fb13d
chore(deps): update dev dependencies (#2297)
* chore(deps): update dev dependencies

* fix lock file
2024-01-20 10:22:24 +09:00
Daishi Kato
15635ab789
chore(deps): update dev dependencies (#2217)
* chore(deps): update dev dependencies

* more typescript versions

* downgrade vite 4.5.0
2023-11-28 09:24:30 +09:00
Daishi Kato
5ec9c0d83b
chore(deps): update dev dependencies (#2162) 2023-10-31 23:25:36 +09:00