Skip to content

Commit 28b5330

Browse files
authored
Merge pull request #114 from hkbertoson/changeset-release/main
2 parents 9921553 + 19e2b12 commit 28b5330

File tree

5 files changed

+33
-36
lines changed

5 files changed

+33
-36
lines changed

.changeset/fresh-glasses-begin.md

-5
This file was deleted.

.changeset/green-mails-report.md

-24
This file was deleted.

.changeset/real-hats-push.md

-5
This file was deleted.

package/CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# astro-turnstile
22

3+
## 1.2.0
4+
5+
### Minor Changes
6+
7+
- 9921553: Changeset for Type Updates
8+
- 508f6ad: Refactored component imports for TurnstileWidget and TurnstileForm:
9+
BREAKING: Direct package imports from 'astro-turnstile/components/TurnstileWidget' and 'astro-turnstile/components/TurnstileForm'.
10+
11+
```ts
12+
// Previously
13+
import { TurnstileForm } from "astro-turnstile/components";
14+
import { TurnstileWidget } from "astro-turnstile/components";
15+
16+
// Virtual modules Before
17+
import { TurnstileForm } from "astro-turnstile:components";
18+
import { TurnstileWidget } from "astro-turnstile:components";
19+
20+
// Now
21+
import TurnstileForm from "astro-turnstile/components/TurnstileForm";
22+
import TurnstileWidget from "astro-turnstile/components/TurnstileWidget";
23+
24+
// Virtual modules now
25+
import TurnstileForm from "astro-turnstile:components/TurnstileForm";
26+
import TurnstileWidget from "astro-turnstile:components/TurnstileWidget";
27+
```
28+
29+
- 16ae506: Updated Imports
30+
331
## 1.1.2
432

533
### Patch Changes

package/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astro-turnstile",
3-
"version": "1.1.2",
3+
"version": "1.2.0",
44
"description": "Astro cloudflare turnstile integration",
55
"author": {
66
"email": "[email protected]",
@@ -20,7 +20,10 @@
2020
"access": "public"
2121
},
2222
"sideEffects": false,
23-
"files": ["src", "lib"],
23+
"files": [
24+
"src",
25+
"lib"
26+
],
2427
"exports": {
2528
".": {
2629
"types": "./src/index.d.ts",

0 commit comments

Comments
 (0)