quicklook-kit 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,7 @@ Built-in support for SvelteKit, Astro, SolidStart, Nuxt and Analog. Any other fr
|
|
|
22
22
|
npm install --save-dev quicklook-kit
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
To start from scratch,
|
|
25
|
+
To start from scratch, run `pnpm create quicklook` instead.
|
|
26
26
|
|
|
27
27
|
## Setup
|
|
28
28
|
|
|
@@ -34,11 +34,11 @@ Create `quicklook.config.ts` in your project root:
|
|
|
34
34
|
import { defineConfig } from "quicklook-kit";
|
|
35
35
|
|
|
36
36
|
export default defineConfig({
|
|
37
|
-
name: "Example
|
|
38
|
-
bundleId: "com.example.
|
|
37
|
+
name: "QuickLook Example",
|
|
38
|
+
bundleId: "com.example.QuickLookExample",
|
|
39
39
|
types: [
|
|
40
40
|
{
|
|
41
|
-
id: "com.example.
|
|
41
|
+
id: "com.example.QuickLookExample.example",
|
|
42
42
|
description: "Example File",
|
|
43
43
|
extensions: ["example"],
|
|
44
44
|
conformsTo: ["public.plain-text"],
|
|
@@ -168,7 +168,7 @@ export default (options: { key: string }): Integration => ({
|
|
|
168
168
|
|
|
169
169
|
// Edit the generated XcodeGen spec: Info.plist keys, entitlements, targets.
|
|
170
170
|
"xcode:spec"(spec, config) {
|
|
171
|
-
spec.targets.
|
|
171
|
+
spec.targets.QuickLookExampleExtension.info.properties.MyKey = options.key;
|
|
172
172
|
},
|
|
173
173
|
|
|
174
174
|
// Add Vite plugins wherever quicklook() is used.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quicklook-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Build macOS QuickLook previews with any Vite-based web framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "24.19.2",
|
|
54
|
-
"tsdown": "0.23.
|
|
54
|
+
"tsdown": "0.23.1",
|
|
55
55
|
"typescript": "6.0.3",
|
|
56
|
-
"vite": "8.3.
|
|
56
|
+
"vite": "8.3.4"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"vite": ">=7"
|