├── .commitlintrc.js ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierrc ├── .release-it.json ├── .vscode └── settings.json ├── CHANGELOG.md ├── DEVELOPERS.md ├── LICENSE ├── README.md ├── example ├── README.md ├── app.test.tsx ├── app.tsx ├── index.html ├── main.tsx ├── model.ts └── store-provider.tsx ├── jest.config.js ├── lib ├── compose-actions.test.ts ├── compose-actions.ts ├── create-derived.test.ts ├── create-derived.ts ├── index.ts ├── react.test.tsx ├── store-factory.test.ts ├── store-factory.ts └── types.ts ├── package.json ├── tsconfig.json └── yarn.lock /.commitlintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | }; 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | *.d.ts 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.prettierrc -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.release-it.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /DEVELOPERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/DEVELOPERS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/README.md -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/README.md -------------------------------------------------------------------------------- /example/app.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/app.test.tsx -------------------------------------------------------------------------------- /example/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/app.tsx -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/index.html -------------------------------------------------------------------------------- /example/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/main.tsx -------------------------------------------------------------------------------- /example/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/model.ts -------------------------------------------------------------------------------- /example/store-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/example/store-provider.tsx -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/jest.config.js -------------------------------------------------------------------------------- /lib/compose-actions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/compose-actions.test.ts -------------------------------------------------------------------------------- /lib/compose-actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/compose-actions.ts -------------------------------------------------------------------------------- /lib/create-derived.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/create-derived.test.ts -------------------------------------------------------------------------------- /lib/create-derived.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/create-derived.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- 1 | export * from './store-factory'; 2 | -------------------------------------------------------------------------------- /lib/react.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/react.test.tsx -------------------------------------------------------------------------------- /lib/store-factory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/store-factory.test.ts -------------------------------------------------------------------------------- /lib/store-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/store-factory.ts -------------------------------------------------------------------------------- /lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/lib/types.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfellner/valtio-factory/HEAD/yarn.lock --------------------------------------------------------------------------------