@content-collections/vite 0.2.0 → 0.2.1
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 +3 -3
- package/CHANGELOG.md +9 -0
- package/dist/index.js +2 -2
- package/package.json +5 -5
- package/src/index.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @content-collections/vite@0.2.
|
|
3
|
+
> @content-collections/vite@0.2.1 build /Users/sdorra/Projects/sdorra/content-collections/packages/vite
|
|
4
4
|
> tsup src/index.ts --format esm --dts -d dist
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2022
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[32mESM[39m [1mdist/index.js [22m[32m2.07 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 12ms
|
|
13
13
|
[34mDTS[39m Build start
|
|
14
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
+
[32mDTS[39m ⚡️ Build success in 493ms
|
|
15
15
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m274.00 B[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @content-collections/vite
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @content-collections/integrations@0.1.1
|
|
11
|
+
|
|
3
12
|
## 0.2.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
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.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"@types/node": "20.x",
|
|
20
20
|
"tsup": "^7.2.0",
|
|
21
21
|
"typescript": "^5.3.2",
|
|
22
|
-
"vite": "^5",
|
|
23
|
-
"@content-collections/core": "0.
|
|
22
|
+
"vite": "^5.2.6",
|
|
23
|
+
"@content-collections/core": "0.4.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");
|