Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4.9 KiB
@astrojs/alpinejs
0.4.0
Minor Changes
-
#9751
1153331cbbaa66a88645d15c6e949432210d4acc
Thanks @florian-lefebvre! - Allows extending Alpine using the newentrypoint
configurationYou can extend Alpine by setting the
entrypoint
option to a root-relative import specifier (for example,entrypoint: "/src/entrypoint"
).The default export of this file should be a function that accepts an Alpine instance prior to starting, allowing the use of custom directives, plugins and other customizations for advanced use cases.
// astro.config.mjs import { defineConfig } from 'astro/config'; import alpine from '@astrojs/alpinejs'; export default defineConfig({ // ... integrations: [alpine({ entrypoint: '/src/entrypoint' })], });
// src/entrypoint.ts import type { Alpine } from 'alpinejs' export default (Alpine: Alpine) => { Alpine.directive('foo', el => { el.textContent = 'bar'; }) }
0.3.2
Patch Changes
- #9479
1baf0b0d3cbd0564954c2366a7278794fad6726e
Thanks @sarah11918! - Updates README
0.3.1
Patch Changes
- #8737
6f60da805
Thanks @ematipico! - Add provenance statement when publishing the library from CI
0.3.0
Minor Changes
-
#8188
d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. -
#8179
6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate
0.3.0-rc.1
Minor Changes
0.3.0-beta.0
Minor Changes
1eae2e3f7
Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
0.2.2
Patch Changes
0.2.1
Patch Changes
- #6494
a13e9d7e3
Thanks @Yan-Thomas! - Consistency improvements to several package descriptions
0.2.0
Minor Changes
- #6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
0.1.3
Patch Changes
0.1.2
Patch Changes
- #4622
63cd9d89e
Thanks @mohammed-elhaouari! - Update homepage link
0.1.1
Patch Changes
- #4501
17e217856
Thanks @mohammed-elhaouari! - add renderer category to alpinejs package keywords
0.1.0
Minor Changes
- #4406
7310e8a17
Thanks @FredKSchott! - Add new official Alpine.js integration