@uniweb/build 0.1.30 → 0.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -60,7 +60,7 @@
60
60
  "@tailwindcss/vite": "^4.0.0",
61
61
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
62
62
  "vite-plugin-svgr": "^4.0.0",
63
- "@uniweb/core": "0.1.13"
63
+ "@uniweb/core": "0.1.14"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "vite": {
@@ -5,7 +5,7 @@
5
5
  * Collections are defined in site.yml and processed at build time.
6
6
  *
7
7
  * Features:
8
- * - Discovers markdown files in content folders
8
+ * - Discovers markdown files in collection folders
9
9
  * - Parses frontmatter for metadata
10
10
  * - Converts markdown body to ProseMirror JSON
11
11
  * - Supports filtering, sorting, and limiting
@@ -17,7 +17,7 @@
17
17
  * // site.yml
18
18
  * collections:
19
19
  * articles:
20
- * path: content/articles
20
+ * path: library/articles
21
21
  * sort: date desc
22
22
  *
23
23
  * // Usage
@@ -58,11 +58,11 @@ try {
58
58
  *
59
59
  * @example
60
60
  * // Simple form
61
- * parseCollectionConfig('articles', 'content/articles')
61
+ * parseCollectionConfig('articles', 'library/articles')
62
62
  *
63
63
  * // Extended form
64
64
  * parseCollectionConfig('articles', {
65
- * path: 'content/articles',
65
+ * path: 'library/articles',
66
66
  * sort: 'date desc',
67
67
  * filter: 'published != false',
68
68
  * limit: 100
@@ -301,8 +301,8 @@ async function collectItems(siteDir, config) {
301
301
  *
302
302
  * @example
303
303
  * const collections = await processCollections('/path/to/site', {
304
- * articles: { path: 'content/articles', sort: 'date desc' },
305
- * products: 'content/products'
304
+ * articles: { path: 'library/articles', sort: 'date desc' },
305
+ * products: 'library/products'
306
306
  * })
307
307
  * // { articles: [...], products: [...] }
308
308
  */