0.0.19 • Published 5 months ago
@kirill.konshin/utils v0.0.19
Installation
$ npm install @kirill.konshin/utils// moduleResoliution: nodenext
import { createWindow } from '@kirill.konshin/utils/electron';
// moduleResoliution: node
import { createWindow } from '@kirill.konshin/utils/dist/electron';Building
https://jakeginnivan.medium.com/options-for-publishing-typescript-libraries-9c37bec28fe
'yarn build:bare': '4.7',
'yarn build:vite': '4.0',
'yarn build:rollup': '4.0',
'yarn build:tsup': '10.1',
'yarn build:unbuild': '4.5'
'yarn build:rslib': '3.9'tsup- slow
- ✅ Minimal config
swc+tsc- ❌ A bit slower than rollup/vite
- ⚠️ Lots of configs
rollup+swc- ⚠️ Quirks with watch mode
- ⚠️ Seem to reemit all files all the time
vite- ✅ Fast
- ✅ Comes with
vitest(reasoning https://youtu.be/w9xQRJXKrV0) - ✅ Comes with Storybook plugin
- ⚠️ Based on Rollup, inherits its quirks
- ⚠️ Awkward configuration, half Vite half Rollup
rslibakarsbuild, from MF authors- ✅ Fast
- ✅ Minimal config
- ⚠️ Something wrong with the types
unbuild- ❌ Slower than vite/rollup+swc
- ⚠️ Based on Rollup, inherits its quirks
- ✅ Minimal config
bun- ❌ DTS is slow
- ❌ Build failed
- ❌ Does not work as standalone bundler
turbopack- ❌ Not yet available outside Next.js https://turbo.build/pack/docs#quickstart
- https://qwik.dev/
- https://tsdx.io/ Jared Palmer, I know him
- ❌ Dead project
0.0.19
5 months ago
0.0.18
7 months ago
0.0.17
7 months ago
0.0.16
7 months ago
0.0.15
7 months ago
0.0.14
9 months ago
0.0.13
9 months ago
0.0.12
9 months ago
0.0.11
9 months ago
0.0.10
9 months ago
0.0.9
9 months ago
0.0.8
9 months ago
0.0.7
9 months ago
0.0.6
9 months ago
0.0.5
9 months ago
0.0.4
9 months ago
0.0.3
9 months ago
0.0.2
9 months ago