@ztl-uwu/nuxt-content 2.13.5
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/LICENSE +21 -0
- package/README.md +64 -0
- package/dist/module.d.mts +1176 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +696 -0
- package/dist/runtime/app.vue +3 -0
- package/dist/runtime/app.vue.d.ts +2 -0
- package/dist/runtime/components/ContentDoc.vue +108 -0
- package/dist/runtime/components/ContentDoc.vue.d.ts +118 -0
- package/dist/runtime/components/ContentList.vue +59 -0
- package/dist/runtime/components/ContentList.vue.d.ts +59 -0
- package/dist/runtime/components/ContentNavigation.vue +61 -0
- package/dist/runtime/components/ContentNavigation.vue.d.ts +35 -0
- package/dist/runtime/components/ContentQuery.vue +212 -0
- package/dist/runtime/components/ContentQuery.vue.d.ts +0 -0
- package/dist/runtime/components/ContentRenderer.vue +78 -0
- package/dist/runtime/components/ContentRenderer.vue.d.ts +56 -0
- package/dist/runtime/components/ContentRendererMarkdown.vue +69 -0
- package/dist/runtime/components/ContentRendererMarkdown.vue.d.ts +73 -0
- package/dist/runtime/components/ContentSlot.vue +25 -0
- package/dist/runtime/components/ContentSlot.vue.d.ts +37 -0
- package/dist/runtime/components/DocumentDrivenEmpty.vue +18 -0
- package/dist/runtime/components/DocumentDrivenEmpty.vue.d.ts +17 -0
- package/dist/runtime/components/DocumentDrivenNotFound.vue +9 -0
- package/dist/runtime/components/DocumentDrivenNotFound.vue.d.ts +5 -0
- package/dist/runtime/components/Markdown.vue +29 -0
- package/dist/runtime/components/Markdown.vue.d.ts +31 -0
- package/dist/runtime/components/Prose/ProseCode.vue +32 -0
- package/dist/runtime/components/Prose/ProseCode.vue.d.ts +110 -0
- package/dist/runtime/components/Prose/ProseCodeInline.vue +3 -0
- package/dist/runtime/components/Prose/ProseCodeInline.vue.d.ts +14 -0
- package/dist/runtime/components/Prose/ProsePre.vue +42 -0
- package/dist/runtime/components/Prose/ProsePre.vue.d.ts +146 -0
- package/dist/runtime/composables/client-db.d.ts +14 -0
- package/dist/runtime/composables/client-db.js +105 -0
- package/dist/runtime/composables/content.d.ts +19 -0
- package/dist/runtime/composables/content.js +41 -0
- package/dist/runtime/composables/head.d.ts +4 -0
- package/dist/runtime/composables/head.js +94 -0
- package/dist/runtime/composables/helpers.d.ts +7 -0
- package/dist/runtime/composables/helpers.js +66 -0
- package/dist/runtime/composables/navigation.d.ts +2 -0
- package/dist/runtime/composables/navigation.js +34 -0
- package/dist/runtime/composables/preview.d.ts +5 -0
- package/dist/runtime/composables/preview.js +41 -0
- package/dist/runtime/composables/query.d.ts +10 -0
- package/dist/runtime/composables/query.js +64 -0
- package/dist/runtime/composables/search.d.ts +130 -0
- package/dist/runtime/composables/search.js +59 -0
- package/dist/runtime/composables/useUnwrap.d.ts +5 -0
- package/dist/runtime/composables/useUnwrap.js +5 -0
- package/dist/runtime/composables/utils.d.ts +6 -0
- package/dist/runtime/composables/utils.js +36 -0
- package/dist/runtime/composables/web-socket.d.ts +3 -0
- package/dist/runtime/composables/web-socket.js +65 -0
- package/dist/runtime/legacy/composables/client-db.d.ts +12 -0
- package/dist/runtime/legacy/composables/client-db.js +105 -0
- package/dist/runtime/legacy/composables/navigation.d.ts +2 -0
- package/dist/runtime/legacy/composables/navigation.js +34 -0
- package/dist/runtime/legacy/composables/query.d.ts +10 -0
- package/dist/runtime/legacy/composables/query.js +61 -0
- package/dist/runtime/legacy/plugins/documentDriven.d.ts +2 -0
- package/dist/runtime/legacy/plugins/documentDriven.js +231 -0
- package/dist/runtime/legacy/server.d.ts +3 -0
- package/dist/runtime/legacy/server.js +3 -0
- package/dist/runtime/legacy/types.d.ts +5 -0
- package/dist/runtime/pages/document-driven.vue +27 -0
- package/dist/runtime/pages/document-driven.vue.d.ts +2 -0
- package/dist/runtime/plugins/documentDriven.d.ts +2 -0
- package/dist/runtime/plugins/documentDriven.js +222 -0
- package/dist/runtime/plugins/ws.d.ts +2 -0
- package/dist/runtime/plugins/ws.js +7 -0
- package/dist/runtime/query/match/index.d.ts +6 -0
- package/dist/runtime/query/match/index.js +123 -0
- package/dist/runtime/query/match/pipeline-legacy.d.ts +2 -0
- package/dist/runtime/query/match/pipeline-legacy.js +22 -0
- package/dist/runtime/query/match/pipeline.d.ts +2 -0
- package/dist/runtime/query/match/pipeline.js +104 -0
- package/dist/runtime/query/match/utils.d.ts +35 -0
- package/dist/runtime/query/match/utils.js +65 -0
- package/dist/runtime/query/query.d.ts +12 -0
- package/dist/runtime/query/query.js +61 -0
- package/dist/runtime/server/api/cache.d.ts +7 -0
- package/dist/runtime/server/api/cache.js +18 -0
- package/dist/runtime/server/api/navigation-qid-params.d.ts +1 -0
- package/dist/runtime/server/api/navigation-qid-params.js +1 -0
- package/dist/runtime/server/api/navigation-qid.d.ts +1 -0
- package/dist/runtime/server/api/navigation-qid.js +1 -0
- package/dist/runtime/server/api/navigation.d.ts +2 -0
- package/dist/runtime/server/api/navigation.js +42 -0
- package/dist/runtime/server/api/query-qid-params.d.ts +1 -0
- package/dist/runtime/server/api/query-qid-params.js +1 -0
- package/dist/runtime/server/api/query-qid.d.ts +1 -0
- package/dist/runtime/server/api/query-qid.js +1 -0
- package/dist/runtime/server/api/query.d.ts +2 -0
- package/dist/runtime/server/api/query.js +32 -0
- package/dist/runtime/server/api/search.d.ts +8 -0
- package/dist/runtime/server/api/search.js +16 -0
- package/dist/runtime/server/content-index.d.ts +4 -0
- package/dist/runtime/server/content-index.js +37 -0
- package/dist/runtime/server/index.d.ts +1 -0
- package/dist/runtime/server/index.js +1 -0
- package/dist/runtime/server/navigation.d.ts +5 -0
- package/dist/runtime/server/navigation.js +96 -0
- package/dist/runtime/server/plugins/refresh-cache.d.ts +2 -0
- package/dist/runtime/server/plugins/refresh-cache.js +15 -0
- package/dist/runtime/server/preview.d.ts +5 -0
- package/dist/runtime/server/preview.js +9 -0
- package/dist/runtime/server/search.d.ts +14 -0
- package/dist/runtime/server/search.js +70 -0
- package/dist/runtime/server/storage.d.ts +35 -0
- package/dist/runtime/server/storage.js +238 -0
- package/dist/runtime/transformers/component-resolver.d.ts +2 -0
- package/dist/runtime/transformers/component-resolver.js +44 -0
- package/dist/runtime/transformers/csv/create-tokenizer.d.ts +39 -0
- package/dist/runtime/transformers/csv/create-tokenizer.js +307 -0
- package/dist/runtime/transformers/csv/from-csv.d.ts +13 -0
- package/dist/runtime/transformers/csv/from-csv.js +203 -0
- package/dist/runtime/transformers/csv/index.d.ts +2 -0
- package/dist/runtime/transformers/csv/index.js +50 -0
- package/dist/runtime/transformers/csv/parser.d.ts +24 -0
- package/dist/runtime/transformers/csv/parser.js +154 -0
- package/dist/runtime/transformers/index.d.ts +7 -0
- package/dist/runtime/transformers/index.js +50 -0
- package/dist/runtime/transformers/json.d.ts +2 -0
- package/dist/runtime/transformers/json.js +29 -0
- package/dist/runtime/transformers/markdown.d.ts +2 -0
- package/dist/runtime/transformers/markdown.js +88 -0
- package/dist/runtime/transformers/path-meta.d.ts +27 -0
- package/dist/runtime/transformers/path-meta.js +59 -0
- package/dist/runtime/transformers/utils.d.ts +3 -0
- package/dist/runtime/transformers/utils.js +12 -0
- package/dist/runtime/transformers/yaml.d.ts +2 -0
- package/dist/runtime/transformers/yaml.js +21 -0
- package/dist/runtime/utils/config.d.ts +4 -0
- package/dist/runtime/utils/config.js +7 -0
- package/dist/runtime/utils/html-tags.d.ts +2 -0
- package/dist/runtime/utils/html-tags.js +119 -0
- package/dist/runtime/utils/json.d.ts +10 -0
- package/dist/runtime/utils/json.js +20 -0
- package/dist/runtime/utils/query.d.ts +5 -0
- package/dist/runtime/utils/query.js +77 -0
- package/dist/runtime/virtual/transformers.d.ts +2 -0
- package/dist/types.d.mts +9 -0
- package/dist/web-types.json +572 -0
- package/package.json +111 -0
package/package.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ztl-uwu/nuxt-content",
|
|
3
|
+
"version": "2.13.5",
|
|
4
|
+
"description": "Write your content inside your Nuxt app",
|
|
5
|
+
"homepage": "https://content.nuxt.com",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"nuxt",
|
|
8
|
+
"content",
|
|
9
|
+
"module"
|
|
10
|
+
],
|
|
11
|
+
"repository": "nuxt/content",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/module.mjs"
|
|
17
|
+
},
|
|
18
|
+
"./transformers": "./dist/runtime/transformers/index.js",
|
|
19
|
+
"./transformers/*": "./dist/runtime/transformers/*.js"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/module.mjs",
|
|
22
|
+
"module": "./dist/module.mjs",
|
|
23
|
+
"web-types": "./dist/web-types.json",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"dev": "./scripts/playground.sh",
|
|
29
|
+
"dev:build": "nuxi build playground/basic",
|
|
30
|
+
"prepare": "nuxi prepare playground/basic",
|
|
31
|
+
"dev:fixtures": "./scripts/fixture.sh",
|
|
32
|
+
"build": "nuxt-module-build build && pnpm build:web-types",
|
|
33
|
+
"build:docs": "(cd docs && nuxi build)",
|
|
34
|
+
"build:web-types": "vue-docgen-web-types src/runtime/components/ ./dist/web-types.json",
|
|
35
|
+
"example": "./scripts/example.sh",
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"release": "npm run lint; release-it",
|
|
38
|
+
"prepack": "pnpm build",
|
|
39
|
+
"test:coverage": "vitest --coverage",
|
|
40
|
+
"test:types": "tsc --build tsconfig.json",
|
|
41
|
+
"test": "./scripts/test.sh",
|
|
42
|
+
"test:unit": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/document-driven && vitest run"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@nuxt/kit": "^3.16.2",
|
|
46
|
+
"@nuxtjs/mdc": "^0.16.1",
|
|
47
|
+
"@vueuse/core": "^13.1.0",
|
|
48
|
+
"@vueuse/head": "^2.0.0",
|
|
49
|
+
"@vueuse/nuxt": "^13.1.0",
|
|
50
|
+
"consola": "^3.4.2",
|
|
51
|
+
"defu": "^6.1.4",
|
|
52
|
+
"destr": "^2.0.5",
|
|
53
|
+
"json5": "^2.2.3",
|
|
54
|
+
"knitwork": "^1.2.0",
|
|
55
|
+
"listhen": "^1.9.0",
|
|
56
|
+
"mdast-util-to-string": "^4.0.0",
|
|
57
|
+
"mdurl": "^2.0.0",
|
|
58
|
+
"micromark": "^4.0.2",
|
|
59
|
+
"micromark-util-sanitize-uri": "^2.0.1",
|
|
60
|
+
"micromark-util-types": "^2.0.2",
|
|
61
|
+
"minisearch": "^7.1.2",
|
|
62
|
+
"ohash": "^2.0.11",
|
|
63
|
+
"pathe": "^2.0.3",
|
|
64
|
+
"scule": "^1.3.0",
|
|
65
|
+
"shiki": "^3.2.2",
|
|
66
|
+
"slugify": "^1.6.6",
|
|
67
|
+
"socket.io-client": "^4.8.1",
|
|
68
|
+
"ufo": "^1.6.1",
|
|
69
|
+
"unist-util-stringify-position": "^4.0.0",
|
|
70
|
+
"unstorage": "^1.15.0",
|
|
71
|
+
"ws": "^8.18.1"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@nuxt/content": "link:",
|
|
75
|
+
"@nuxt/eslint-config": "^1.3.0",
|
|
76
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
77
|
+
"@nuxt/schema": "3.16.2",
|
|
78
|
+
"@nuxt/test-utils": "3.17.2",
|
|
79
|
+
"@nuxthq/studio": "^2.2.1",
|
|
80
|
+
"@nuxtjs/tailwindcss": "^6.13.2",
|
|
81
|
+
"@types/ws": "^8.18.1",
|
|
82
|
+
"c8": "^10.1.3",
|
|
83
|
+
"csvtojson": "^2.0.10",
|
|
84
|
+
"eslint": "^9.24.0",
|
|
85
|
+
"globby": "^14.1.0",
|
|
86
|
+
"husky": "^9.1.7",
|
|
87
|
+
"jiti": "^2.4.2",
|
|
88
|
+
"lint-staged": "^15.5.0",
|
|
89
|
+
"nuxt": "3.16.2",
|
|
90
|
+
"rehype-figure": "^1.0.1",
|
|
91
|
+
"rehype-wrap-all": "^1.1.0",
|
|
92
|
+
"release-it": "^18.1.2",
|
|
93
|
+
"remark-oembed": "^1.2.2",
|
|
94
|
+
"vitest": "^3.1.1",
|
|
95
|
+
"vue-docgen-web-types": "^0.1.8",
|
|
96
|
+
"vue-tsc": "2.2.8"
|
|
97
|
+
},
|
|
98
|
+
"packageManager": "pnpm@9.15.0",
|
|
99
|
+
"release-it": {
|
|
100
|
+
"git": {
|
|
101
|
+
"commitMessage": "chore(release): release v${version}"
|
|
102
|
+
},
|
|
103
|
+
"github": {
|
|
104
|
+
"release": true,
|
|
105
|
+
"releaseName": "v${version}"
|
|
106
|
+
},
|
|
107
|
+
"hooks": {
|
|
108
|
+
"after:bump": "npx changelogen@latest --no-commit --no-tag --output --r $(node -p \"require('./package.json').version\")"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|