Compare commits

...

2 Commits

Author SHA1 Message Date
9420e7af91 prep for alpha.2 2024-08-08 11:51:49 -04:00
590aeef770 upgrade ts-belt for mjs exports 2024-08-08 11:48:44 -04:00
4 changed files with 11 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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