Releases: NxtLvLSoftware/alpine-typescript
Releases · NxtLvLSoftware/alpine-typescript
v0.0.5
pnpm
is 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-npmnode
v22 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
typescript
package tov5.7.2
(for project distribution build and examples.) - Perform
pnmp update
onexamples/package
andexamples/project
projects. - 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
,AlpineData
andKnownGenericConstructor
types are now exported and covered by API versioning.
Changes from v0.0.4
(skipped release cycle):
- Move generated
index.js
todist
directory for distribution (no longer in package root.) - 'alpine' dependency moved from
devDependencies
topeerDependencies
. Component.ts
/AlpineComponent
: addbinding()
helper method for declaring alpinex-bind
objects. 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()
) bootstrapAlpine
option for conditionally importing and settingwindow.Alpine
for you- No longer strips comments/documentation from the
tsc
output
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/