Repository navigation
@knitkode/node@3.0.0
·
17 commits
to main
since this release
Major Changes
-
2f0b11eThanks @kuus! - First release under the@knitkodenpm scope. These packages were previously published as@koine/*(last version2.0.0-beta.217). Follow the migration guide to upgrade.- Packages are renamed from
@koine/<name>to@knitkode/<name>.@koine/i18nand@koine/nextare not part of kit: internationalization now lives in the separate Koine project. - Packages are ESM-only, with no CommonJS builds. Bundlers need no changes. Node.js can still
require()them from 20.19 / 22.12. TypeScript users needmoduleResolutionset tobundler,node16ornodenext. - Only the documented entry points can be imported: the package root and one subpath per module, e.g.
@knitkode/utils/isArray. The old*.cjs.jsand*.esm.jsfiles and internal paths are gone. - Renamed exports:
KoineComponent→KitComponent,KoineComponentProps→KitComponentProps,KoineCalendar*→KitCalendar*(@knitkode/react), the globalKoine.Apinamespace →Kit.Api(@knitkode/api/typings),swcTransformsKoine→swcTransformsKit(@knitkode/node/swc). - Removed subpaths:
@koine/api/swr/createSwrApi(use@knitkode/api/swr),@koine/api/swr-mutation/createSwrApi(use@knitkode/api/swr-mutation) and the empty@koine/utils/without. @knitkode/domexports theEventCallbackandListenEventtypes (from the package root) used bylisten,listenOnce,unlistenandgetListeners. Their declarations used to reference these types without shipping them.@knitkode/api/typingsnow resolves undernode16andnodenextmodule resolution.- Packages are MIT licensed and published from CI with npm provenance.
- Packages are renamed from
Patch Changes
2f0b11eThanks @kuus! -getDependencyVersionreads the dependency's ownpackage.jsoninstead of the first one above its entry file. Dual packages that ship nestedpackage.jsonfiles, likeglob'sdist/commonjs/package.json, no longer return-1. Subpath specifiers such asreact-dom/clientresolve to their package version.- Updated dependencies [
2f0b11e]:- @knitkode/utils@3.0.0