prep for alpha.2

This commit is contained in:
Yanick Champoux 2024-08-08 11:51:49 -04:00
parent 590aeef770
commit 9420e7af91
4 changed files with 10 additions and 10 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

@ -25,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';