adf2markdown 1.1.1 → 1.1.2
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/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { adf2markdown, type Adf } from "./src/adf2markdown";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Mark {
|
|
2
|
+
type: string;
|
|
3
|
+
attrs?: Record<string, unknown>;
|
|
4
|
+
}
|
|
5
|
+
interface Node {
|
|
6
|
+
type: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
content?: Node[];
|
|
9
|
+
marks?: Mark[];
|
|
10
|
+
attrs?: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export interface Adf extends Node {
|
|
13
|
+
version: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function adf2markdown(adf: Adf): string;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adf2markdown",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adf",
|
|
6
6
|
"atlassian",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"default": "./dist/index.js"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "bun build index.ts --outdir ./dist --format esm --target node --sourcemap=linked && tsc
|
|
28
|
+
"build": "bun build index.ts --outdir ./dist --format esm --target node --sourcemap=linked && tsc --declaration --emitDeclarationOnly --outDir dist --noEmit false",
|
|
29
29
|
"check": "bun audit && bun run format:check && bun run knip && bun run lint && bun run typeCheck && bun test",
|
|
30
30
|
"test": "bun test",
|
|
31
31
|
"lint": "oxlint",
|