@content-collections/vite 0.2.4 → 0.2.6

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @content-collections/vite@0.2.4 build /home/runner/work/content-collections/content-collections/packages/vite
2
+ > @content-collections/vite@0.2.6 build /home/runner/work/content-collections/content-collections/packages/vite
3
3
  > tsup src/index.ts --format esm --dts -d dist
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
10
  ESM dist/index.js 2.08 KB
11
- ESM ⚡️ Build success in 42ms
11
+ ESM ⚡️ Build success in 76ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 3173ms
13
+ DTS ⚡️ Build success in 3364ms
14
14
  DTS dist/index.d.ts 279.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @content-collections/vite
2
2
 
3
+ ## 0.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`50aead7`](https://github.com/sdorra/content-collections/commit/50aead7572e3446a97ec3c3896363bdcc2610417) Thanks [@sdorra](https://github.com/sdorra)! - Allow vite 7 as peer dependency.
8
+
9
+ ## 0.2.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [#584](https://github.com/sdorra/content-collections/pull/584) [`66539f6`](https://github.com/sdorra/content-collections/commit/66539f6eea3738e3342a0ec7a85d26835b8b2602) Thanks [@sdorra](https://github.com/sdorra)! - Allow Vite 6 as peer dependency
14
+
3
15
  ## 0.2.4
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,8 +1,17 @@
1
1
  {
2
2
  "name": "@content-collections/vite",
3
- "description": "Use content-collections with Vite",
4
- "version": "0.2.4",
5
3
  "type": "module",
4
+ "version": "0.2.6",
5
+ "description": "Use content-collections with Vite",
6
+ "author": "Sebastian Sdorra <s.sdorra@gmail.com>",
7
+ "license": "MIT",
8
+ "homepage": "https://content-collections.dev",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/sdorra/content-collections.git",
12
+ "directory": "packages/vite"
13
+ },
14
+ "bugs": "https://github.com/sdorra/content-collections/issues",
6
15
  "main": "dist/index.js",
7
16
  "types": "./dist/index.d.ts",
8
17
  "exports": {
@@ -20,11 +29,11 @@
20
29
  "tsup": "^8.2.4",
21
30
  "typescript": "^5.5.4",
22
31
  "vite": "^5.4.6",
23
- "@content-collections/core": "0.8.0"
32
+ "@content-collections/core": "0.10.0"
24
33
  },
25
34
  "peerDependencies": {
26
35
  "@content-collections/core": "^0.x",
27
- "vite": "^5"
36
+ "vite": "^5 || ^6 || ^7"
28
37
  },
29
38
  "scripts": {
30
39
  "build": "tsup src/index.ts --format esm --dts -d dist"
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Builder, createBuilder } from "@content-collections/core";
2
2
  import { configureLogging } from "@content-collections/integrations";
3
3
  import path from "node:path";
4
- import { Plugin, UserConfig } from "vite";
4
+ import type { Plugin, UserConfig } from "vite";
5
5
 
6
6
  export type Options = {
7
7
  configPath: string;