Skip to content

Commit 688858b

Browse files
committed
ts -> js for reorg
1 parent 12fcaa6 commit 688858b

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed

packages/reorg/index.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/// <reference types="reorg-parse" />
2+
3+
import type { Document } from 'orga'
4+
import type { Processor } from 'unified'
5+
6+
/**
7+
* Create a new unified processor that already uses `reorg-parse`.
8+
*/
9+
export const remark: Processor<
10+
Document,
11+
undefined,
12+
undefined,
13+
undefined,
14+
undefined
15+
>
File renamed without changes.

packages/reorg/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"version": "4.1.2",
44
"description": "orga processor for unifiedjs",
55
"files": [
6-
"dist"
6+
"index.js",
7+
"index.d.ts"
78
],
8-
"main": "dist/index.js",
9+
"main": "index.js",
10+
"exports": "./index.js",
911
"type": "module",
1012
"author": "Xiaoxing Hu <[email protected]>",
1113
"license": "MIT",
@@ -15,10 +17,7 @@
1517
"url": "https://github.com/orgapp/orgajs.git",
1618
"directory": "packages/reorg"
1719
},
18-
"scripts": {
19-
"clean": "tsc --build --clean",
20-
"build": "tsc --build"
21-
},
20+
"scripts": {},
2221
"dependencies": {
2322
"@orgajs/reorg-parse": "workspace:^",
2423
"unified": "^11.0.5"

packages/reorg/tsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)