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: tasks:
pack: pack:
desc: bundle the distro
deps: [build, checks]
cmds: cmds:
- npm pack --pack-destination releases - npm pack --pack-destination releases
build: tsc build:
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,10 +1,8 @@
{ {
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@mobily/ts-belt": "^3.13.1", "@mobily/ts-belt": "4.0.0-rc.5",
"@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",
@ -27,7 +25,7 @@
"scripts": { "scripts": {
"docsify:serve": "docsify serve docs" "docsify:serve": "docsify serve docs"
}, },
"version": "4.0.0-alpha.1", "version": "4.0.0-alpha.2",
"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,5 +1,4 @@
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,5 +1,4 @@
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';