Daishi Kato
6eff6e7eec
chore(deps): update dev dependencies ( #2944 )
2025-01-07 23:17:07 +09:00
Daishi Kato
4378abe0a4
fix(build): alias entries in rollup config ( #2942 )
2025-01-07 23:03:11 +09:00
Mordechai Dror
d2ac8205ec
feat(types): Make ExtractState public ( #2935 )
...
* make ExtractState public and move it to vanilla
* add docs on the matter
* Update vanilla.ts
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-01-07 22:57:18 +09:00
HoberMin
929b547054
docs(create-store.md): fix incorrect usage of create function in example ( #2940 )
2025-01-07 09:14:08 +09:00
HoberMin
efaf416de4
docs(create.md): fix state selector syntax in troubleshooting example ( #2938 )
2025-01-06 07:14:27 -05: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
2e6d881309
chore(eslint): change 'dist' area in 'ignores', sort rules ( #2924 )
...
* chore(eslint): change 'dist' area in 'ignores'
* chore(eslint): sort by the order 'plugins' were added and by name
* Update eslint.config.mjs
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-31 09:17:25 +09:00
Wonsuk Choi
55a7d0a15b
chore(eslint): migrate to flat config and simplify ( #2912 )
...
* chore(package.json): update related eslint library, update script for eslint.config.js
* chore(pnpm-lock.yaml): reflect changes in package.json
* chore(eslint): migrate eslint configuration .eslintrc.json to eslint.config.js
* chore(examples/demo/package.json): update related eslint library, update script for eslint.config.js
* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json
* chore(examples/demo/eslint): migrate eslint configuration .eslintrc.cjs to eslint.config.js
* style(examples/demo/utils/copy-to-clipboard.js): add global comment for eslint
* chore(eslint): change file extension 'js' to 'mjs'
* chore(package.json): consise 'lint' scripts
* chore(examples/demo): remove eslint.config.js
* chore(examples/demo/package.json): remove libraries associated wiht eslint, update lint script
* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json
* chore(examples/demo): reflect 'eslint . --fix' changes based on main 'eslint.config.mjs'
* chore(examples/demo/package.json): add libraries associated wiht eslint, update lint script
* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json
* chore(examples/demo): add eslint.config.js
* chore(package.json): add mjs in 'eslint', 'test:lint' script
* Update eslint.config.mjs
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* Update examples/demo/eslint.config.js
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* chore(eslint): remove eslint configuration related to prettier
* chore(package.json): remove eslint-{config,plugin}-prettier
* chore(package.json): add tslib in devDependencies
* chore(eslint): remove duplicate shared-node-browser from globals
* chore(eslint): change 'eslint-import-resolver-alias' to 'eslint-import-resolver-typescript'
* chore(eslint): add 'import/no-named-as-default-member' off
* chore(eslint): remove duplicate rules, rearrange sequentially within a rule
* chore(eslint): remove the ‘off’ settings in ‘eslint-plugin-import’ to ensure clearer usage.
* chore(eslint): remove 'no-console' in rules
* chore(eslint): simplify settings 'import/resolver'
* chore(eslint): remove 'globals' config
* chore(rollup): add 'eslint-disable no-undef'
* chore(package.json): remove 'globals' library
* chore(pnpm-lock.yaml): reflect changes in package.json
* chore(eslint): add 'importPlugin.flatConfigs.recommended'
* chore(eslint): remove duplicate 'languageOptions'
* chore(eslint): remove 'import/extensions', 'import/parsers' to simplify
* chore(eslint): add 'examples/**' in 'ignores'
* chore(package.json): simplify 'lint' scripts
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-29 22:18:02 +09:00
Daryl Castro
ebf2b7ab16
feat: starter example ( #2913 )
...
* feat: add starter example
* fix: (starter-example) remove jotai reference
* fix: small refinements
* fix: format code
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-29 08:18:09 +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
Wonsuk Choi
51c00d22c3
docs(readme.md): change 'npm i' to 'npm install' ( #2905 )
2024-12-16 07:18:55 -05: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
52eae2b874
chore(.eslintrc.json): remove unnecessary elements from the plugins, add react/jsx-runtime ( #2902 )
2024-12-16 09:35:34 +09:00
Wonsuk Choi
459d789bf6
chore(.eslintrc.json): modifying eslint-plugin-react-compiler to react-compiler in the plugins array ( #2899 )
2024-12-14 11:09:42 +09:00
Wonsuk Choi
429cb7ec53
chore(.eslintrc.json): remove prettier in extends ( #2898 )
2024-12-13 22:39:28 +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
𝑾𝒖𝒙𝒉
a958de910f
docs: typo & improve ( #2891 )
...
* chore: typo
* docs: update
2024-12-10 08:48:39 -05:00
Wonsuk Choi
3fdf3c9b20
docs(CONTRIBUTING.md): change 'pnpm' to 'pnpm install' for installing dependencies ( #2890 )
2024-12-09 21:13:42 -05:00
Atticus White
19cb8797bd
Update devtools.md ( #2883 )
2024-12-06 14:53:22 +09:00
Danilo Britto
5a4d771272
feat(vitest): update vitest config ( #2881 )
2024-12-06 13:18:45 +09:00
daishi
2b7b09e2f9
5.0.2
v5.0.2
2024-12-05 00:02:29 +09:00
Daishi Kato
d4549134e3
chore(deps): update dev dependencies ( #2880 )
2024-12-04 23:55:19 +09:00
Danilo Britto
9bae06922a
fix(persist): fix async migrate on persist middleware ( #2877 )
...
* fix(perist): add support for async migrate on persist middleware
* feat(vitest): rename vitest.config.ts to vitest.config.mts
* fix: fix minor issues
* fix: fix minor issues
* feat: minor changes
* feat: revert vitest changes
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-04 22:06:36 +09:00
Andy Zhou
af7ff21190
fix(middleware): devtools type error #2700 ( #2875 )
...
* fix: add an inferred generic U to CreateStoreImpl
* fix: add inferred generic U variables to both Devtools and DevtoolsImpl
* test: add tests for issue #2700
* revert impl types
* code styling
---------
Co-authored-by: daishi <daishi@axlight.com>
2024-12-04 22:00:01 +09:00
daishi
5ed67ec1a9
chore: remove single quote
2024-11-29 22:26:26 +09:00
marcomendoza
3a7a7fb221
Fix migrating to v5 doc ( #2874 )
...
Replace middlware with middleware in md file
2024-11-29 10:49:39 +09:00
Alexander Mordvinov
9281ec1990
fix hydrateRoot args order ( #2869 )
2024-11-26 16:45:35 -05:00
Facundo J Gonzalez
f540ca8294
chore(docs): Fix the link to devtools ( #2861 )
2024-11-21 09:14:02 +09:00
Charles Kornoelje
7980a7b9cb
match the typescript docs ( #2856 )
2024-11-18 08:28:55 +09:00
Marcin Kulpa
5a8842fbc3
test: add jest-dom matchers and eslint plugin ( #2850 )
2024-11-13 11:06:56 +09:00
Minsup Lee
15eaeb7aad
chore(docs): fix typo ( #2847 )
2024-11-10 10:42:32 -05:00
Marcin Kulpa
8b9c374565
test: use @vitest/eslint-plugin ( #2845 )
2024-11-10 10:27:01 +09:00
Marcin Kulpa
f689d78a31
test: incorporate eslint-plugin-testing-library and fix reported issues ( #2844 )
2024-11-09 09:46:15 +09:00
ytraddan
9782058029
docs: fix typo in tutorial-tic-tac-toe.md ( #2836 )
2024-11-05 11:30:26 -05:00
ennjin
7fcd59b10d
chore: update third-party-libraries.md ( #2834 )
2024-11-05 16:46:01 +09:00
Danilo Britto
795528efb5
fix(doc): update tutorial guide and fix doc build ( #2835 )
...
* fix(doc): update tutorial guide
* fix(doc): update tutorial guide
2024-11-04 19:43:35 -05:00
Danilo Britto
bf4bcf20c5
chore(docs): update docs content ( #2831 )
...
* chore(docs): update docs content
* chore(docs): update types
* chore: update import types
2024-11-05 09:27:34 +09:00
Marcin Kulpa
dcc4c098ab
test: use screen exposed by React Testing Library ( #2832 )
2024-11-04 13:17:52 +09:00
daishi
c87a5d69ad
5.0.1
v5.0.1
2024-10-30 19:59:43 +08:00
Daishi Kato
1068ff9d7f
chore(deps): update dev dependencies ( #2826 )
2024-10-30 20:58:49 +09:00
Daishi Kato
9525f9264d
fix(shallow): iterable-like insensitive keys order comparison (alternate implementation) ( #2821 )
...
* alternate implementation for shallow
* test with pure iterable
* refactor
* another refactor
---------
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2024-10-30 20:52:43 +09:00
Steven Wexler
dfbed9c6c9
docs: add leo-query to third-party libraries list ( #2824 )
...
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2024-10-28 23:12:31 -05:00
Marcin Kulpa
064be30bcb
test: calculate coverage for src files only ( #2822 )
2024-10-28 16:31:42 +09:00
Daishi Kato
259c19ff2d
fix(shallow): fallback map-like iterator comparison ( #2795 )
...
* add failing test
* add a fallback
2024-10-27 16:38:59 +09:00
Prince Raj
f9b5538402
Update use-store.md ( #2799 )
...
there is a typo mistake while importing the setposition from positionstore
wrong : const setPosition = useStore(positionStore, (state) => state.setPositionStore)
correct : const setPosition = useStore(positionStore, (state) => state.setPosition)
2024-10-18 20:55:13 +09:00
Danilo Britto
cce8d5b22e
chore: fix middleware imports ( #2798 )
2024-10-16 09:12:01 -05:00
daishi
0007ef43a8
remove tag:next packageConfig
2024-10-14 23:19:54 +09:00