create-quicklook 0.2.1 → 0.5.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.
package/LICENSE CHANGED
@@ -1,3 +1,7 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jan T. Sott
4
+
1
5
  Permission is hereby granted, free of charge, to any
2
6
  person obtaining a copy of this software and associated
3
7
  documentation files (the "Software"), to deal in the
package/README.markdown CHANGED
@@ -1,10 +1,10 @@
1
1
  # create-quicklook
2
2
 
3
- ![License](https://img.shields.io/npm/l/quicklook-kit?style=for-the-badge)
4
- [![Version](https://img.shields.io/npm/v/quicklook-kit?style=for-the-badge)](https://www.npmjs.org/package/quicklook-kit)
5
- [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/quicklook-kit/ci.yml?style=for-the-badge)](https://github.com/idleberg/quicklook-kit/actions)
3
+ ![License](https://img.shields.io/npm/l/create-quicklook?style=for-the-badge)
4
+ [![Version](https://img.shields.io/npm/v/create-quicklook?style=for-the-badge)](https://www.npmjs.org/package/create-quicklook)
5
+ [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/create-quicklook/ci.yml?style=for-the-badge)](https://github.com/idleberg/create-quicklook/actions)
6
6
 
7
- > Create a macOS QuickLook preview with any Vite-based web framework
7
+ > Create a macOS Quick Look preview with any Vite-based web framework
8
8
 
9
9
  ```sh
10
10
  pnpm create quicklook my-preview
package/dist/index.mjs CHANGED
@@ -75,7 +75,7 @@ note([
75
75
  `cd ${relative(process.cwd(), dir)}`,
76
76
  "mise install # or: pnpm install, with Xcode and XcodeGen installed",
77
77
  "pnpm dev # drop a file on the page to preview it",
78
- "pnpm register # build the app and register it with QuickLook"
78
+ "pnpm register # build the app and register it with Quick Look"
79
79
  ].join("\n"), "Next steps");
80
80
  outro(`Created from the ${template} template.`);
81
81
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-quicklook",
3
- "version": "0.2.1",
4
- "description": "Create a macOS QuickLook preview with any Vite-based web framework",
3
+ "version": "0.5.0",
4
+ "description": "Create a macOS Quick Look preview with any Vite-based web framework",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "quicklook",
@@ -20,7 +20,7 @@
20
20
  "@angular/core": "22.2.2",
21
21
  "@angular/platform-browser": "22.2.2",
22
22
  "@biomejs/biome": "2.5.15",
23
- "quicklook-kit": "^0.4.0",
23
+ "quicklook-kit": "^0.5.0",
24
24
  "rxjs": "7.8.2",
25
25
  "tslib": "2.8.1",
26
26
  "typescript": "6.0.3",
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'quicklook-kit';
2
2
 
3
3
  export default defineConfig({
4
- name: 'QuickLook Example',
4
+ name: 'Quick Look Example',
5
5
  bundleId: 'com.example.QuickLookExample',
6
6
  types: [
7
7
  {
@@ -10,7 +10,7 @@ import { FileViewer } from './file-viewer';
10
10
  @if (file(); as file) {
11
11
  <app-file-viewer [file]="file" />
12
12
  } @else {
13
- <!-- Only reachable in the browser: QuickLook always injects a file. -->
13
+ <!-- Only reachable in the browser: Quick Look always injects a file. -->
14
14
  <label class="drop">
15
15
  Drop a file here, or click to pick one
16
16
  <input type="file" hidden (change)="open($any($event.target).files)" />
@@ -15,7 +15,7 @@
15
15
  "@astrojs/check": "0.9.10",
16
16
  "@biomejs/biome": "2.5.15",
17
17
  "astro": "7.3.8",
18
- "quicklook-kit": "^0.4.0",
18
+ "quicklook-kit": "^0.5.0",
19
19
  "typescript": "6.0.3"
20
20
  }
21
21
  }
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'quicklook-kit';
2
2
 
3
3
  export default defineConfig({
4
- name: 'QuickLook Example',
4
+ name: 'Quick Look Example',
5
5
  bundleId: 'com.example.QuickLookExample',
6
6
  types: [
7
7
  {
@@ -11,7 +11,7 @@ import FileViewer from '../components/FileViewer.astro';
11
11
  </head>
12
12
  <body>
13
13
  <FileViewer />
14
- <!-- Only reachable in the browser: QuickLook always injects a file. -->
14
+ <!-- Only reachable in the browser: Quick Look always injects a file. -->
15
15
  <label id="drop">
16
16
  Drop a file here, or click to pick one
17
17
  <input type="file" hidden />
@@ -23,7 +23,7 @@ onMounted(() => {
23
23
 
24
24
  <template>
25
25
  <FileViewer v-if="file" :file="file" />
26
- <!-- Only reachable in the browser: QuickLook always injects a file. -->
26
+ <!-- Only reachable in the browser: Quick Look always injects a file. -->
27
27
  <label v-else class="drop">
28
28
  Drop a file here, or click to pick one
29
29
  <input type="file" hidden @change="open(($event.target as HTMLInputElement).files)" />
@@ -15,7 +15,7 @@
15
15
  "devDependencies": {
16
16
  "@biomejs/biome": "2.5.15",
17
17
  "nuxt": "4.6.1",
18
- "quicklook-kit": "^0.4.0",
18
+ "quicklook-kit": "^0.5.0",
19
19
  "typescript": "6.0.3",
20
20
  "vue": "3.5.43",
21
21
  "vue-tsc": "3.3.13"
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'quicklook-kit';
2
2
 
3
3
  export default defineConfig({
4
- name: 'QuickLook Example',
4
+ name: 'Quick Look Example',
5
5
  bundleId: 'com.example.QuickLookExample',
6
6
  types: [
7
7
  {
@@ -16,7 +16,7 @@
16
16
  "@solidjs/router": "1.0.0",
17
17
  "@solidjs/start": "2.0.6",
18
18
  "nitro": "3.0.260903-beta",
19
- "quicklook-kit": "^0.4.0",
19
+ "quicklook-kit": "^0.5.0",
20
20
  "solid-js": "1.9.17",
21
21
  "typescript": "6.0.3",
22
22
  "vite": "8.3.4"
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'quicklook-kit';
2
2
 
3
3
  export default defineConfig({
4
- name: 'QuickLook Example',
4
+ name: 'Quick Look Example',
5
5
  bundleId: 'com.example.QuickLookExample',
6
6
  types: [
7
7
  {
@@ -22,7 +22,7 @@ export default function Home() {
22
22
  <Show
23
23
  when={file()}
24
24
  fallback={
25
- // Only reachable in the browser: QuickLook always injects a file.
25
+ // Only reachable in the browser: Quick Look always injects a file.
26
26
  <label class="drop">
27
27
  Drop a file here, or click to pick one
28
28
  <input type="file" hidden={true} onChange={(event) => open(event.currentTarget.files)} />
@@ -16,7 +16,7 @@
16
16
  "@sveltejs/adapter-static": "4.0.0",
17
17
  "@sveltejs/kit": "3.0.1",
18
18
  "@sveltejs/vite-plugin-svelte": "7.3.1",
19
- "quicklook-kit": "^0.4.0",
19
+ "quicklook-kit": "^0.5.0",
20
20
  "svelte": "5.57.2",
21
21
  "svelte-check": "4.7.6",
22
22
  "typescript": "6.0.3",
@@ -1,7 +1,7 @@
1
1
  import { defineConfig } from 'quicklook-kit';
2
2
 
3
3
  export default defineConfig({
4
- name: 'QuickLook Example',
4
+ name: 'Quick Look Example',
5
5
  bundleId: 'com.example.QuickLookExample',
6
6
  types: [
7
7
  {
@@ -12,7 +12,7 @@
12
12
  }
13
13
  </script>
14
14
 
15
- <!-- Only reachable in the browser: QuickLook always injects a file. -->
15
+ <!-- Only reachable in the browser: Quick Look always injects a file. -->
16
16
  <svelte:window
17
17
  ondragover={(e) => e.preventDefault()}
18
18
  ondrop={(e) => {