Compare commits

..

No commits in common. "9420e7af91bea9c227c565e00083073bfe88f8a5" and "55376db1c2ed417831913c56e9ad335c34174a16" have entirely different histories.

4 changed files with 13 additions and 11 deletions

View File

@ -7,22 +7,20 @@ vars:
tasks: tasks:
pack: pack:
desc: bundle the distro
deps: [build, checks]
cmds: cmds:
- npm pack --pack-destination releases - npm pack --pack-destination releases
build: build: tsc
sources:
- src/**/*.ts
generates:
- dist/**/*.js
cmds:
- tsc
checks: checks:
deps: [test, build] deps: [test, build]
prepare:
desc: build and bundle the package
cmds:
- { task: build }
- { task: pack }
integrate: integrate:
deps: [checks] deps: [checks]
cmds: cmds:

View File

@ -1,8 +1,10 @@
{ {
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@mobily/ts-belt": "4.0.0-rc.5", "@mobily/ts-belt": "^3.13.1",
"@yanick/updeep-remeda": "^2.3.1", "@yanick/updeep-remeda": "^2.3.1",
"ajv": "^8.12.0",
"expect-type": "^0.16.0",
"immer": "^9.0.15", "immer": "^9.0.15",
"json-schema-shorthand": "^2.0.0", "json-schema-shorthand": "^2.0.0",
"json-schema-to-ts": "^2.9.2", "json-schema-to-ts": "^2.9.2",
@ -25,7 +27,7 @@
"scripts": { "scripts": {
"docsify:serve": "docsify serve docs" "docsify:serve": "docsify serve docs"
}, },
"version": "4.0.0-alpha.2", "version": "4.0.0-alpha.1",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/yanick/updux.git" "url": "git+https://github.com/yanick/updux.git"

View File

@ -1,4 +1,5 @@
import { test, expect } from 'vitest'; import { test, expect } from 'vitest';
import { expectTypeOf } from 'expect-type';
import Updux from './Updux.js'; import Updux from './Updux.js';
import { buildEffectsMiddleware } from './effects.js'; import { buildEffectsMiddleware } from './effects.js';
import { createAction, withPayload } from './index.js'; import { createAction, withPayload } from './index.js';

View File

@ -1,4 +1,5 @@
import { createAction } from '@reduxjs/toolkit'; import { createAction } from '@reduxjs/toolkit';
import { expectTypeOf } from 'expect-type';
import { test, expect } from 'vitest'; import { test, expect } from 'vitest';
import Updux from './Updux.js'; import Updux from './Updux.js';