File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 30
30
],
31
31
"sideEffects" : false ,
32
32
"type" : " module" ,
33
- "main" : " index.js" ,
34
- "types" : " index.d.ts" ,
33
+ "exports" : " ./index.js" ,
35
34
"files" : [
36
35
" lib/" ,
37
36
" index.d.ts" ,
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('mdast').Root } Root
3
- * @typedef {import('../index.js ').Options } Options
3
+ * @typedef {import('remark-gfm ').Options } Options
4
4
*/
5
5
6
6
import assert from 'node:assert/strict'
@@ -9,12 +9,12 @@ import process from 'node:process'
9
9
import test from 'node:test'
10
10
import { isHidden } from 'is-hidden'
11
11
import { remark } from 'remark'
12
+ import remarkGfm from 'remark-gfm'
12
13
import stringWidth from 'string-width'
13
- import remarkGfm from '../index.js'
14
14
15
15
test ( 'remarkGfm' , async function ( t ) {
16
16
await t . test ( 'should expose the public api' , async function ( ) {
17
- assert . deepEqual ( Object . keys ( await import ( '../index.js ' ) ) . sort ( ) , [
17
+ assert . deepEqual ( Object . keys ( await import ( 'remark-gfm ' ) ) . sort ( ) , [
18
18
'default'
19
19
] )
20
20
} )
You can’t perform that action at this time.
0 commit comments