Releases: NxtLvLSoftware/alpine-typescript
Releases · NxtLvLSoftware/alpine-typescript
Release list
v0.0.5
pnpmis now used for package management instead ofnpm. This change only affects the development of the package and is not forced on consumers. Read more here: https://pnpm.io/pnpm-vs-npmnodev22 is now used for testing in GItHub actions (older versions are not tested against however, versions still under support/development can be requested by opening an issue/pull request.)- Improve caching of dependencies in GitHub Actions workflows.
- Update
typescriptpackage tov5.7.2(for project distribution build and examples.) - Perform
pnmp updateonexamples/packageandexamples/projectprojects. - Generated JavaScript code now targets
ES5, transpiling TypeScript sources for maximum compatibility. If desired, code size can be reduced by compiling the TypeScript sources to a more modern standard. AlpineBindingContext,AlpineDataandKnownGenericConstructortypes are now exported and covered by API versioning.
Changes from v0.0.4 (skipped release cycle):
- Move generated
index.jstodistdirectory for distribution (no longer in package root.) - 'alpine' dependency moved from
devDependenciestopeerDependencies. Component.ts/AlpineComponent: addbinding()helper method for declaring alpinex-bindobjects. Useful for immediately binding boolean property changes to modify state on in-scope elements. See: https://alpinejs.dev/directives/bind#binding-classes https://github.com/NxtLvLSoftware/alpine-typescript/blob/39598c13df0da8b08484eb8ceaac00754bc3e4a4/examples/package/src/components/AlertComponent.ts#L39
v0.0.3
v0.0.3
- Use ESModules in package and examples
- Add extra meta fields to package.json
- Doesn't enforce latest Alpine versions (now requires ^3.0.0)
- Add helpers to Globals for checking the existence of injected properties (
satisfiesAlpineWithComponents(),castToAlpineWithComponents()) bootstrapAlpineoption for conditionally importing and settingwindow.Alpinefor you- No longer strips comments/documentation from the
tscoutput
Documentation/Reference: https://nxtlvlsoftware.github.io/alpine-typescript/
v0.0.2
v0.0.1 can't be overridden on NPM registry (accidentally pushed & deleted in actions workflow debugging.)
v0.0.1
Initial release 🚀
Documentation/Reference: https://nxtlvlsoftware.github.io/alpine-typescript/