1209 Commits

Author SHA1 Message Date
Danilo Britto
ef0c619fac
chore(docs): update tutorial tic tac toe (#2969)
* chore(docs): update tutorial tic tac toe

* chore(docs): update tutorial tic tac toe

* chore(docs): minor changes
2025-01-21 11:06:48 -05:00
SAMIR HEMBROM
37e1e3f193
docs(tutorial-tic-tac-toe.md): fix code to prevent infinite loops (#2963) 2025-01-16 22:45:58 +09:00
Ziad Beyens
adf084f85b
docs (#2958) 2025-01-15 18:33:23 +09:00
Wonsuk Choi
f42e670471
docs: rename readme file to uppercase (#2956)
* docs(*): rename file to upppercase

* chore(package.json): rename 'readme.md' to uppercase in 'copy' script

* docs(.github): rename PR template to lowercase
2025-01-15 12:30:34 +09:00
Wonsuk Choi
2fc9f8d9f7
chore(package.json): use double quotes in scripts (#2954)
* chore(package.json): use double quotes in scripts

* chore(package.json): add curly braces in 'patch-d-ts' script
2025-01-14 10:29:48 +09:00
Wonsuk Choi
58d4b08051
chore(rollup): clarify the callback argument 'e' to 'entry' (#2952) 2025-01-12 20:47:51 +09:00
Wonsuk Choi
fc104c2c14
chore(examples): remove 'pnpm-lock.yaml' (#2951)
* chore(examples): remove 'pnpm-lock.yaml'

* chore(.gitignore): add lock file patterns related with 'examples'

* Update package.json

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-01-12 07:47:07 +09:00
HoberMin
2fbb477508
docs(create-with-equality-fn.md): fix typos in event handler type definitions (#2947) 2025-01-08 07:49:47 -05:00
Wonsuk Choi
524a7b5d55
chore(rollup): migrate commonjs to esmodule (#2946)
* chore(rollup): migrate commonjs to esmodule

* chore(package.json): change commonjs to esmodule style in 'patch-d-ts' script
2025-01-08 07:43:04 +09:00
daishi
3f9127f4eb 5.0.3 v5.0.3 2025-01-07 23:20:43 +09:00
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