@content-collections/vite 0.2.0 → 0.2.2
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/.turbo/turbo-build.log +14 -15
- package/CHANGELOG.md +16 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +8 -8
- package/src/index.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m274.00 B[39m
|
|
1
|
+
|
|
2
|
+
> @content-collections/vite@0.2.2 build /home/runner/work/content-collections/content-collections/packages/vite
|
|
3
|
+
> tsup src/index.ts --format esm --dts -d dist
|
|
4
|
+
|
|
5
|
+
CLI Building entry: src/index.ts
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v8.0.2
|
|
8
|
+
CLI Target: es2022
|
|
9
|
+
ESM Build start
|
|
10
|
+
ESM dist/index.js 2.07 KB
|
|
11
|
+
ESM ⚡️ Build success in 51ms
|
|
12
|
+
DTS Build start
|
|
13
|
+
DTS ⚡️ Build success in 2544ms
|
|
14
|
+
DTS dist/index.d.ts 279.00 B
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @content-collections/vite
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`207a3de`](https://github.com/sdorra/content-collections/commit/207a3deaa95e34902c262ed8abc6320880b43dc2), [`2af05da`](https://github.com/sdorra/content-collections/commit/2af05da080720c16a02565cac9228d1ebcd9f649), [`a1dd55b`](https://github.com/sdorra/content-collections/commit/a1dd55bcfe198487de40402284d907b977eedcec)]:
|
|
8
|
+
- @content-collections/integrations@0.2.0
|
|
9
|
+
|
|
10
|
+
## 0.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#22](https://github.com/sdorra/content-collections/pull/22) [`17d17b4`](https://github.com/sdorra/content-collections/commit/17d17b4461d7877ce2301ecbca426520e86b8445) Thanks [@sdorra](https://github.com/sdorra)! - Do not proceed if configResolved was not executed before buildStart or configureServer
|
|
15
|
+
|
|
16
|
+
- Updated dependencies []:
|
|
17
|
+
- @content-collections/integrations@0.1.1
|
|
18
|
+
|
|
3
19
|
## 0.2.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ function contentCollectionsPlugin(options = {}) {
|
|
|
60
60
|
return;
|
|
61
61
|
},
|
|
62
62
|
async buildStart() {
|
|
63
|
-
if (!
|
|
63
|
+
if (!builder) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
console.log("Start initial build");
|
|
@@ -68,7 +68,7 @@ function contentCollectionsPlugin(options = {}) {
|
|
|
68
68
|
return;
|
|
69
69
|
},
|
|
70
70
|
async configureServer() {
|
|
71
|
-
if (!
|
|
71
|
+
if (!builder) {
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
console.log("Start watching");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@content-collections/vite",
|
|
3
3
|
"description": "Use content-collections with Vite",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@content-collections/integrations": "0.
|
|
16
|
+
"@content-collections/integrations": "0.2.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "20.x",
|
|
20
|
-
"tsup": "^
|
|
21
|
-
"typescript": "^5.
|
|
22
|
-
"vite": "^5",
|
|
23
|
-
"@content-collections/core": "0.
|
|
20
|
+
"tsup": "^8.0.2",
|
|
21
|
+
"typescript": "^5.5.4",
|
|
22
|
+
"vite": "^5.3.2",
|
|
23
|
+
"@content-collections/core": "0.7.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"@content-collections/core": "^0.x",
|
|
27
|
+
"vite": "^5"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsup src/index.ts --format esm --dts -d dist"
|
package/src/index.ts
CHANGED
|
@@ -87,7 +87,7 @@ export default function contentCollectionsPlugin(
|
|
|
87
87
|
},
|
|
88
88
|
|
|
89
89
|
async buildStart() {
|
|
90
|
-
if (!
|
|
90
|
+
if (!builder) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
console.log("Start initial build");
|
|
@@ -96,7 +96,7 @@ export default function contentCollectionsPlugin(
|
|
|
96
96
|
},
|
|
97
97
|
|
|
98
98
|
async configureServer() {
|
|
99
|
-
if (!
|
|
99
|
+
if (!builder) {
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
console.log("Start watching");
|