@vulppi/toolbelt
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -15,13 +15,2 @@ export * from './functions'; | ||
/** | ||
* Svelte directive typing | ||
*/ | ||
export declare interface SvelteDirective<P extends any = any, E extends NodeElement = NodeElement> { | ||
(node: E, params: P): { | ||
update?: (params: P) => void; | ||
destroy?: () => void; | ||
} | undefined | void; | ||
} | ||
export declare type VoidFunction = () => void; | ||
export declare type UnsubscribeList = (() => void)[]; | ||
/** | ||
* Union of values of an array | ||
@@ -28,0 +17,0 @@ */ |
{ | ||
"name": "@vulppi/toolbelt", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"license": "MIT", | ||
@@ -13,7 +13,13 @@ "private": false, | ||
"url": "git+https://github.com/vulppi-dev/libs.git", | ||
"directory": "libs/template" | ||
"directory": "libs/toolbelt" | ||
}, | ||
"keywords": [ | ||
"tree", | ||
"node" | ||
"node", | ||
"typescript", | ||
"toolbelt", | ||
"vulppi", | ||
"tools", | ||
"utils", | ||
"utilities", | ||
"helpers" | ||
], | ||
@@ -24,27 +30,23 @@ "type": "module", | ||
"module": "dist/index.mjs", | ||
"bin": { | ||
"vp-build": "bin/builder.mjs" | ||
}, | ||
"scripts": { | ||
"build": "run-s clear build:all", | ||
"build": "run-s clear build:*", | ||
"clear": "rimraf dist", | ||
"build:all": "run-p build:bundle build:types", | ||
"build:bundle": "scripts-build", | ||
"build:esm": "esbuild --bundle --minify --target=node18 --platform=node --format=esm --packages=external --out-extension:.js=.mjs --outdir=dist src/index.ts", | ||
"build:cjs": "esbuild --bundle --minify --target=node18 --platform=node --format=cjs --packages=external --out-extension:.js=.cjs --outdir=dist src/index.ts", | ||
"build:types": "tsc", | ||
"pub": "npm publish --access public", | ||
"pub:alpha": "npm publish --access public --tag alpha", | ||
"pub:beta": "npm publish --access public --tag beta" | ||
"pub:tag": "npm publish --access public --tag" | ||
}, | ||
"dependencies": { | ||
"esbuild": "^0.17.19" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.16.3", | ||
"@types/node": "^20.2.4", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^5.0.0", | ||
"scripts": "workspace:*", | ||
"rimraf": "^5.0.1", | ||
"typescript": "^5.0.4" | ||
}, | ||
"dependencies": { | ||
"esbuild": "^0.17.18", | ||
"esbuild-node-externals": "^1.7.0", | ||
"minimist": "^1.2.8" | ||
"engines": { | ||
"node": ">=18.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1
4
8451
9
101
- Removedesbuild-node-externals@^1.7.0
- Removedminimist@^1.2.8
- Removedesbuild-node-externals@1.17.0(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedtslib@2.8.1(transitive)
- Removedyocto-queue@0.1.0(transitive)
Updatedesbuild@^0.17.19