Marcin Kulpa
5a8842fbc3
test: add jest-dom matchers and eslint plugin ( #2850 )
2024-11-13 11:06:56 +09:00
Daishi Kato
88ee69f3e1
chore: enable isolatedDeclarations ( #2738 )
2024-09-15 11:13:40 +09:00
Daishi Kato
66f3a029fb
chore: enable verbatimModuleSyntax in tsconfig ( #2649 )
2024-07-20 17:15:21 +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
5ec9c0d83b
chore(deps): update dev dependencies ( #2162 )
2023-10-31 23:25:36 +09:00
Daishi Kato
0504d4376a
chore(deps): update dev dependencies ( #2093 )
...
* chore(deps): update dev dependencies
* run prettier
* fix tsconfig
* fix workflow file
2023-10-02 22:28:51 +09:00
Tmk
5062de1310
chore: fix ide complaints ( #2032 )
2023-09-08 09:58:48 +09:00
Daishi Kato
f37530fc3d
chore: add extentsion in imports ( #1678 )
...
* chore: add extentsion in imports
* fix github workflow
* revert for zustand/context
* do not patch :)
* fix workflow file
* update ts 5
* patch tsconfig
* use old typescript for react 16
* downlevel-dts to 3.8
* Revert "downlevel-dts to 3.8"
This reverts commit d03e5266e14146ed4a7c92e8a5cd2cb295727f69.
* patch workflow file
* patch for react 16
* remove ts3.4 in workflow
* skipLibChecks
* revert changes in test-multiple-versions.yml
* fix sed
* wip: add allowJs
* Revert "wip: add allowJs"
This reverts commit fca34d7d2decc1e469a733224f7680ab37792dc8.
* use ts 495
* useESM false
* Revert "useESM false"
This reverts commit 07a91d8acb14bc5839013aad47d0606dec312d62.
* no coverage
* no coverage 2
* no coverage 3
* wip
* disable transform
* revert a change
* revert changes
* test: try ignoring tests with dynamic imports
* test: skip tests that require/tests modules in isolation
* test: remove dynamic import
* run skipped tests on CI
* test: add new devtools imports to ci-only tests
* revert CI-ONLY-* hack
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* wip: workaround for react 16
* CI-MATRIX- for devtools CI hacks
* test: add env variable to test multiple builds workflow
* hack await import
* hack await import for another one
* wip: experimenting workflow file
* wip: experimenting workflow file
* wip: experimenting workflow file
* use different env name
* wip: experimenting workflow file
* do not use two envs
* revert to NODE_ENV
---------
Co-authored-by: Arjun <14841132+arjunvegda@users.noreply.github.com>
2023-05-02 06:28:46 +09:00
Paul Pavlo Buidenkov
633c7dd7af
feat(middleware/devtools): Better redux devtools. One connection for all zustand stores ( #1435 )
...
* add example project for zustand devonly devtools with better rewind feature of redux devtools
* fix yarn install for demo
* remove lodash from demo
* adjust utils
* remove assets from demo project
* add codesandbox
* devtools for groups of stores
* remove command from .yml
* add tests
* cleanup
* Existing test cleanup
* Slight test cleanup; extract iife
* Slight cleanup
* Non-recursive S
* Remove initialState
Co-authored-by: Corin (CWStra) <cwstra@gmail.com>
2023-01-01 09:43:54 +09:00
Daishi Kato
bb26cd04c0
chore: enable exactOptionalPropertyTypes ( #671 )
...
* chore: enable exactOptionalPropertyTypes
* chore update dependencies
2021-11-22 20:38:51 +09:00
Daishi Kato
ae86695c44
refactor(test): use aliases ( #571 )
2021-09-29 00:55:12 +09:00
Daishi Kato
2a412500f5
refactor: stricter tsconfig ( #544 )
...
* refactor: stricter tsconfig
* update typescript
2021-09-11 21:55:21 +09:00
Daishi Kato
a402bc25fe
chore: run eslint for all ( #545 )
...
* chore: run eslint for all
* minor fix in scripts (related: #543 )
* simplify eslint scripts
2021-08-27 23:07:55 +09:00
Reaper
720a740c9b
Package all files into a single dist folder ( #537 )
...
* refactor: change config to resolve to single folder
* trigger build
* ci: nextjs sandbox
* remove `module` field
* Update tsconfig.json
* revert missed out change for tsconfig from rollup
2021-08-17 20:42:16 +09:00
Daishi Kato
e47ea038fd
chore: update eslintrc and use react-jsx ( #531 )
2021-08-15 19:44:06 +09:00
Munawwar
611551c409
#182 SSR data is shared ( #375 )
...
* context utils for SSR
* move useIsomorphicLayoutEffect to new file
* added build commands
* 1. remove the useEffect we dont need anymore 2. wrap context and hook into createZustand() function, but keep defaults
* issue #182 - changed name to createContext and useStore + added tests
* remove default Provider
* use alias to index file
* change 'createState' prop to 'initialStore'
that accepts useStore func/object from create().
This is needed as store access is needed for merging/memoizing, in next.js integration
* updated tests
* code review changes
* snapshot update
* add a section in readme
* chore imports and so on
Co-authored-by: daishi <daishi@axlight.com>
2021-05-05 23:54:29 +09:00
Joshua Coussard
1f66a1fc4a
Migrate to @rollup/* packages and make resolve plugin first to run ( #217 )
...
Co-authored-by: jcoussard <joshua@coussard.com>
2020-10-27 10:01:54 +09:00
Daishi Kato
bd1d775433
v3: unified api, vanilla store, and code clean up for v4 ( #148 )
...
* wip: no get subscriber
* wip: simplify subscribe
* feat: new unified api
* [v3] add slim subscribe and refactor useStore (#141 )
* [v3] [breaking change] slim api.subscribe
* subscribe in useEffect instead of in render
* shave some bytes
* prefer-const
* add backward compatible subscribe
* add vanilla api
* chore: update dependencies and tsconfig
* chore: format
* [v3] create from store (#147 )
* update readme
* update readme
* update readme
* update readme
* update readme
* update readme
* update readme
* update readme
* Update readme.md
* Update readme.md
Co-authored-by: Paul Henschel <drcmda@gmail.com>
2020-08-17 16:52:38 +02:00
Jeremy Holcomb
487dd317b3
Make StateListener simple type and clean up build configs ( #69 )
...
* Clean up build/update deps
* Fix StateListener type
2019-10-24 07:02:04 -07:00
JeremyHolcomb
9584223622
Add TypeScript
2019-04-17 19:30:57 -07:00