forked from denoland/docland
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
158 lines (143 loc) · 4.44 KB
/
deps.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
// Copyright 2021 the Deno authors. All rights reserved. MIT license.
// Provide more structured JSX types than nano_jsx provides as well as provide
// URLPattern which is not currently in the DOM lib for TypeScript but supported
// by Deno and Deploy.
import type {} from "./types.d.ts";
// std library colors are used in logging to the console
export * as colors from "https://deno.land/[email protected]/fmt/colors.ts";
// WASM bindings to the comrak markdown rendering library
export * as comrak from "https://deno.land/x/[email protected]/mod.ts";
// WASM bindings to swc/deno_graph/deno_doc which generates the documentation
// structures
export {
doc,
type DocOptions,
type LoadResponse,
} from "https://deno.land/x/[email protected]/mod.ts";
export type {
Accessibility,
ClassConstructorDef,
ClassIndexSignatureDef,
ClassMethodDef,
ClassPropertyDef,
DecoratorDef,
DocNode,
DocNodeClass,
DocNodeEnum,
DocNodeFunction,
DocNodeImport,
DocNodeInterface,
DocNodeKind,
DocNodeModuleDoc,
DocNodeNamespace,
DocNodeTypeAlias,
DocNodeVariable,
EnumMemberDef,
InterfaceCallSignatureDef,
InterfaceIndexSignatureDef,
InterfaceMethodDef,
InterfacePropertyDef,
JsDoc,
JsDocTag,
JsDocTagDoc,
JsDocTagKind,
JsDocTagNamed,
JsDocTagNamedTyped,
JsDocTagOnly,
JsDocTagParam,
JsDocTagReturn,
JsDocTagTyped,
LiteralCallSignatureDef,
LiteralIndexSignatureDef,
LiteralMethodDef,
LiteralPropertyDef,
Location,
ObjectPatPropAssignDef,
ObjectPatPropDef,
ObjectPatPropKeyValueDef,
ObjectPatPropRestDef,
ParamArrayDef,
ParamAssignDef,
ParamDef,
ParamIdentifierDef,
ParamObjectDef,
ParamRestDef,
TruePlusMinus,
TsTypeArrayDef,
TsTypeConditionalDef,
TsTypeDef,
TsTypeDefLiteral,
TsTypeFnOrConstructorDef,
TsTypeImportTypeDef,
TsTypeIndexedAccessDef,
TsTypeInferDef,
TsTypeIntersectionDef,
TsTypeKeywordDef,
TsTypeMappedDef,
TsTypeOptionalDef,
TsTypeParamDef,
TsTypeParenthesizedDef,
TsTypeQueryDef,
TsTypeRestDef,
TsTypeTupleDef,
TsTypeTypeLiteralDef,
TsTypeTypeOperatorDef,
TsTypeTypePredicateDef,
TsTypeTypeRefDef,
TsTypeUnionDef,
} from "https://deno.land/x/[email protected]/lib/types.d.ts";
// Used to report measurements to Google Analytics
export { createReportMiddleware } from "https://deno.land/x/[email protected]/mod.ts";
// Used to convert lowlight trees to HTML
export { toHtml } from "https://esm.sh/[email protected]?pin=v91";
// Used to sanitize some output, ensuring html entities are encoded.
export * as htmlEntities from "https://esm.sh/[email protected]?pin=v91";
export * as JSONC from "https://esm.sh/[email protected]?pin=v91";
// Used to do SSR of code block highlighting
export { lowlight } from "https://esm.sh/[email protected]?pin=v91";
// Used when overriding proxies content types when serving up static content
export { lookup } from "https://deno.land/x/[email protected]/mod.ts";
// Importing the parts of NanoJSX which we are using in the application.
export { Helmet } from "https://deno.land/x/[email protected]/components/helmet.ts";
export { h } from "https://deno.land/x/[email protected]/core.ts";
export { Fragment } from "https://deno.land/x/[email protected]/fragment.ts";
export { renderSSR } from "https://deno.land/x/[email protected]/ssr.ts";
export { Store } from "https://deno.land/x/[email protected]/store.ts";
export {
getState,
setState,
} from "https://deno.land/x/[email protected]/hooks/useState.ts";
// The middleware server used to provide the application
export {
Application,
type Context,
HttpError,
httpErrors,
type Middleware,
type RouteParams,
Router,
type RouterContext,
type RouterMiddleware,
Status,
STATUS_TEXT,
} from "https://deno.land/x/[email protected]/mod.ts";
// resvg WASM bindings that allow conversion of an SVG to a PNG. Open graph and
// twitter do not support SVGs for card images.
export { render } from "https://deno.land/x/[email protected]/mod.ts";
// Used to strip markdown when adding to a card image.
export { default as removeMarkdown } from "https://esm.sh/[email protected]?pin=v91";
// twind provides server side rendered CSS leveraging tailwind functional
// classes.
export {
apply,
type CSSRules,
type Directive,
setup,
tw,
} from "https://esm.sh/[email protected]?pin=v91";
export { css } from "https://esm.sh/[email protected]/css?pin=v91";
export {
getStyleTag,
virtualSheet,
} from "https://esm.sh/[email protected]/sheets?pin=v91";
export * as twColors from "https://esm.sh/[email protected]/colors?pin=v91";