@osdlc/corpus-site 0.0.1-stage → 0.1.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/CHANGELOG.md +17 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
1
|
# @osdlc/corpus-site
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3fe69f6: The first release of `@osdlc/corpus-site`: an Astro integration that publishes a corpus-schema
|
|
8
|
+
corpus as a static site. `corpusSite({ root })` adds a home page, a page for each type with
|
|
9
|
+
filters, sorting and pages, a page for each record with its fields, body, files and backlinks, and
|
|
10
|
+
a search page. `defineCorpusSite` describes types and fields: labels, help, notes and longer
|
|
11
|
+
explanations in the filter controls, badge colours, columns, filters and sections. It also
|
|
12
|
+
describes object and list values as columns, counts worked out at build time, tables of related
|
|
13
|
+
records on a record page, a matrix page that crosses two fields of a type, default filters,
|
|
14
|
+
fields of a referenced record shown beside its link, URLs as links out, and search weights and
|
|
15
|
+
synonyms. The build
|
|
16
|
+
writes the corpus as JSON files with a fixed layout, and `@osdlc/corpus-site/client` and
|
|
17
|
+
`@osdlc/corpus-site/components` export the composables and Vue components for pages of your own.
|
|
18
|
+
It needs `astro` 7, `@astrojs/vue` 7 and `vue` 3.5. Licence `MIT OR Apache-2.0`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdlc/corpus-site",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "An Astro integration that publishes a corpus-schema corpus as a static site: a page per type and per record, filters and search in the browser with Vue, field metadata from a typed config, and the data as static JSON for small apps.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"author": "sksizer",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"rehype-stringify": "^10.0.1",
|
|
63
|
-
"@osdlc/corpus-schema": "^0.
|
|
64
|
-
"@osdlc/
|
|
65
|
-
"@osdlc/
|
|
63
|
+
"@osdlc/corpus-schema": "^0.5.0",
|
|
64
|
+
"@osdlc/frontmatter-lossless": "^1.1.2",
|
|
65
|
+
"@osdlc/markdown-render": "^0.8.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@astrojs/vue": "^7.0.0",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"typescript": "~6.0.3",
|
|
82
82
|
"vitest": "^5.0.5",
|
|
83
83
|
"vue": "^3.5.25",
|
|
84
|
-
"@osdlc/
|
|
85
|
-
"@osdlc/
|
|
84
|
+
"@osdlc/prettier-config": "^0.3.1",
|
|
85
|
+
"@osdlc/tsconfig": "^0.4.1"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|
|
88
88
|
"build": "tsc -p tsconfig.build.json && node scripts/copy-assets.mjs",
|