File tree Expand file tree Collapse file tree 9 files changed +48
-51
lines changed Expand file tree Collapse file tree 9 files changed +48
-51
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @quarto/annotated-json" ,
3
- "version" : " 0.1.3 " ,
3
+ "version" : " 0.1.4 " ,
4
4
"description" : " A data structure for storing and manipulation a JSON object together with source locations of its constituent parts." ,
5
5
"license" : " MIT" ,
6
6
"author" : {
14
14
"type" : " git" ,
15
15
"url" : " git+https://github.com/quarto-dev/quarto.git"
16
16
},
17
- "main" : " dist/index.js" ,
18
- "types" : " dist/index.d.ts" ,
19
- "exports" : {
20
- "." : {
21
- "types" : " ./dist/index.d.ts" ,
22
- "import" : " ./dist/index.js" ,
23
- "require" : " ./dist/index.js"
24
- }
25
- },
17
+ "main" : " dist/cjs/index.js" ,
18
+ "types" : " dist/cjs/index.d.ts" ,
26
19
"files" : [" dist" ],
27
20
"dependencies" : {
28
21
"tsconfig" : " *" ,
29
22
"typescript" : " ^5.4.2" ,
30
- "@quarto/mapped-string" : " ^0.1.7 " ,
31
- "@quarto/tidyverse-errors" : " ^0.1.3 "
23
+ "@quarto/mapped-string" : " ^0.1.8 " ,
24
+ "@quarto/tidyverse-errors" : " ^0.1.9 "
32
25
},
33
26
"devDependencies" : {
34
27
"tsx" : " ^4.7.1"
35
28
},
36
29
"scripts" : {
37
- "build" : " tsc" ,
30
+ "build" : " npm run build:cjs" ,
31
+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
38
32
"test" : " node --import tsx --test test/*.test.ts"
39
33
}
40
34
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "module" : " commonjs" ,
5
+ "outDir" : " ./dist/cjs"
6
+ }
7
+ }
Original file line number Diff line number Diff line change 6
6
"declaration" : true ,
7
7
"declarationMap" : true ,
8
8
"rootDir" : " ./src" ,
9
- "outDir" : " ./dist" ,
10
- "module" : " commonjs" ,
11
9
"esModuleInterop" : true ,
12
- "target" : " es2018 " ,
10
+ "target" : " ES2020 " ,
13
11
"moduleResolution" : " node" ,
14
- "allowJs" : true
12
+ "allowJs" : true ,
15
13
},
16
14
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @quarto/json-validator" ,
3
- "version" : " 0.1.6 " ,
3
+ "version" : " 0.1.7 " ,
4
4
"description" : " A validation library for JSON objects with an emphasis on good error messages." ,
5
5
"author" : {
6
6
"name" : " Posit PBC"
14
14
"url" : " git+https://github.com/quarto-dev/quarto.git"
15
15
},
16
16
"license" : " MIT" ,
17
- "main" : " dist/index.js" ,
18
- "types" : " dist/index.d.ts" ,
19
- "exports" : {
20
- "." : {
21
- "types" : " ./dist/index.d.ts" ,
22
- "import" : " ./dist/index.js" ,
23
- "require" : " ./dist/index.js"
24
- }
25
- },
17
+ "main" : " dist/cjs/index.js" ,
18
+ "types" : " dist/cjs/index.d.ts" ,
26
19
"files" : [" dist" ],
27
20
"dependencies" : {
28
21
"tsconfig" : " *" ,
29
22
"build" : " *" ,
30
23
"typescript" : " ^5.4.2" ,
31
24
"regexpp" : " ^3.2.0" ,
32
25
"ansi-colors" : " ^4.1.3" ,
33
- "@quarto/mapped-string" : " ^0.1.7 " ,
34
- "@quarto/tidyverse-errors" : " ^0.1.3 " ,
35
- "@quarto/annotated-json" : " ^0.1.3 "
26
+ "@quarto/mapped-string" : " ^0.1.8 " ,
27
+ "@quarto/tidyverse-errors" : " ^0.1.9 " ,
28
+ "@quarto/annotated-json" : " ^0.1.4 "
36
29
},
37
30
"devDependencies" : {
38
31
"tsx" : " ^4.7.1"
39
32
},
40
33
"scripts" : {
41
- "build" : " tsc" ,
34
+ "build" : " npm run build:cjs" ,
35
+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
42
36
"test" : " node --import tsx --test test/*.test.ts"
43
37
}
44
38
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "module" : " commonjs" ,
5
+ "outDir" : " ./dist/cjs"
6
+ }
7
+ }
Original file line number Diff line number Diff line change 6
6
"declaration" : true ,
7
7
"declarationMap" : true ,
8
8
"rootDir" : " ./src" ,
9
- "outDir" : " ./dist" ,
10
- "module" : " commonjs" ,
11
9
"esModuleInterop" : true ,
12
- "target" : " es2018 " ,
10
+ "target" : " ES2020 " ,
13
11
"moduleResolution" : " node" ,
14
- "allowJs" : true
12
+ "allowJs" : true ,
15
13
},
16
14
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @quarto/mapped-string" ,
3
- "version" : " 0.1.7 " ,
3
+ "version" : " 0.1.8 " ,
4
4
"description" : " A string data structure with integrated source maps." ,
5
5
"license" : " MIT" ,
6
6
"author" : {
14
14
"type" : " git" ,
15
15
"url" : " git+https://github.com/quarto-dev/quarto.git"
16
16
},
17
- "main" : " dist/index.js" ,
18
- "types" : " dist/index.d.ts" ,
19
- "exports" : {
20
- "." : {
21
- "types" : " ./dist/index.d.ts" ,
22
- "import" : " ./dist/index.js" ,
23
- "require" : " ./dist/index.js"
24
- }
25
- },
17
+ "main" : " dist/cjs/index.js" ,
18
+ "types" : " dist/cjs/index.d.ts" ,
26
19
"files" : [" dist" ],
27
20
"dependencies" : {
28
21
"tsconfig" : " *" ,
29
22
"typescript" : " ^5.4.2" ,
30
23
"ansi-colors" : " ^4.1.3" ,
31
- "@quarto/tidyverse-errors" : " ^0.1.3 "
24
+ "@quarto/tidyverse-errors" : " ^0.1.9 "
32
25
},
33
26
"devDependencies" : {
34
27
"tsx" : " ^4.7.1"
35
28
},
36
29
"scripts" : {
37
- "build" : " tsc" ,
30
+ "build" : " npm run build:cjs" ,
31
+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
38
32
"test" : " node --import tsx --test test/*.test.ts"
39
33
}
40
34
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "module" : " commonjs" ,
5
+ "outDir" : " ./dist/cjs"
6
+ }
7
+ }
Original file line number Diff line number Diff line change 6
6
"declaration" : true ,
7
7
"declarationMap" : true ,
8
8
"rootDir" : " ./src" ,
9
- "outDir" : " ./dist" ,
10
- "module" : " commonjs" ,
11
9
"esModuleInterop" : true ,
12
- "target" : " es2018 " ,
10
+ "target" : " ES2020 " ,
13
11
"moduleResolution" : " node" ,
14
- "allowJs" : true
12
+ "allowJs" : true ,
15
13
},
16
14
}
You can’t perform that action at this time.
0 commit comments