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 11{
22 "name" : " @quarto/annotated-json" ,
3- "version" : " 0.1.3 " ,
3+ "version" : " 0.1.4 " ,
44 "description" : " A data structure for storing and manipulation a JSON object together with source locations of its constituent parts." ,
55 "license" : " MIT" ,
66 "author" : {
1414 "type" : " git" ,
1515 "url" : " git+https://github.com/quarto-dev/quarto.git"
1616 },
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" ,
2619 "files" : [" dist" ],
2720 "dependencies" : {
2821 "tsconfig" : " *" ,
2922 "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 "
3225 },
3326 "devDependencies" : {
3427 "tsx" : " ^4.7.1"
3528 },
3629 "scripts" : {
37- "build" : " tsc" ,
30+ "build" : " npm run build:cjs" ,
31+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
3832 "test" : " node --import tsx --test test/*.test.ts"
3933 }
4034}
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 66 "declaration" : true ,
77 "declarationMap" : true ,
88 "rootDir" : " ./src" ,
9- "outDir" : " ./dist" ,
10- "module" : " commonjs" ,
119 "esModuleInterop" : true ,
12- "target" : " es2018 " ,
10+ "target" : " ES2020 " ,
1311 "moduleResolution" : " node" ,
14- "allowJs" : true
12+ "allowJs" : true ,
1513 },
1614}
Original file line number Diff line number Diff line change 11{
22 "name" : " @quarto/json-validator" ,
3- "version" : " 0.1.6 " ,
3+ "version" : " 0.1.7 " ,
44 "description" : " A validation library for JSON objects with an emphasis on good error messages." ,
55 "author" : {
66 "name" : " Posit PBC"
1414 "url" : " git+https://github.com/quarto-dev/quarto.git"
1515 },
1616 "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" ,
2619 "files" : [" dist" ],
2720 "dependencies" : {
2821 "tsconfig" : " *" ,
2922 "build" : " *" ,
3023 "typescript" : " ^5.4.2" ,
3124 "regexpp" : " ^3.2.0" ,
3225 "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 "
3629 },
3730 "devDependencies" : {
3831 "tsx" : " ^4.7.1"
3932 },
4033 "scripts" : {
41- "build" : " tsc" ,
34+ "build" : " npm run build:cjs" ,
35+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
4236 "test" : " node --import tsx --test test/*.test.ts"
4337 }
4438}
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 66 "declaration" : true ,
77 "declarationMap" : true ,
88 "rootDir" : " ./src" ,
9- "outDir" : " ./dist" ,
10- "module" : " commonjs" ,
119 "esModuleInterop" : true ,
12- "target" : " es2018 " ,
10+ "target" : " ES2020 " ,
1311 "moduleResolution" : " node" ,
14- "allowJs" : true
12+ "allowJs" : true ,
1513 },
1614}
Original file line number Diff line number Diff line change 11{
22 "name" : " @quarto/mapped-string" ,
3- "version" : " 0.1.7 " ,
3+ "version" : " 0.1.8 " ,
44 "description" : " A string data structure with integrated source maps." ,
55 "license" : " MIT" ,
66 "author" : {
1414 "type" : " git" ,
1515 "url" : " git+https://github.com/quarto-dev/quarto.git"
1616 },
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" ,
2619 "files" : [" dist" ],
2720 "dependencies" : {
2821 "tsconfig" : " *" ,
2922 "typescript" : " ^5.4.2" ,
3023 "ansi-colors" : " ^4.1.3" ,
31- "@quarto/tidyverse-errors" : " ^0.1.3 "
24+ "@quarto/tidyverse-errors" : " ^0.1.9 "
3225 },
3326 "devDependencies" : {
3427 "tsx" : " ^4.7.1"
3528 },
3629 "scripts" : {
37- "build" : " tsc" ,
30+ "build" : " npm run build:cjs" ,
31+ "build:cjs" : " tsc -p tsconfig.cjs.json" ,
3832 "test" : " node --import tsx --test test/*.test.ts"
3933 }
4034}
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 66 "declaration" : true ,
77 "declarationMap" : true ,
88 "rootDir" : " ./src" ,
9- "outDir" : " ./dist" ,
10- "module" : " commonjs" ,
119 "esModuleInterop" : true ,
12- "target" : " es2018 " ,
10+ "target" : " ES2020 " ,
1311 "moduleResolution" : " node" ,
14- "allowJs" : true
12+ "allowJs" : true ,
1513 },
1614}
You can’t perform that action at this time.
0 commit comments